PageSourceSearch

https://osarkitektur.herokuapp.com/main-es2015.4dd9a5b39bb78b0dcc52.js

js osarkitektur.herokuapp.com collected 2026-10-03 14:50:47 UTC 516,431 bytes, 1 lines download raw bytes

vendor: 5,558 bytes, line 1
1(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},CUlp:function(t,e,n){var r,s;"undefined"!=typeof window&&window,void 0===(s="function"==typeof(r=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},r=n[t]=n[t]||[];return-1==r.indexOf(e)&&r.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var r=n.indexOf(e);return-1!=r&&n.splice(r,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var r=this._onceEvents&&this._onceEvents[t],s=0;s<n.length;s++){var i=n[s];r&&r[i]&&(this.off(t,i),delete r[i]),i.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?r.call(e,n,e,t):r)||(t.exports=s)},Hy43:function(t,e,n){var r,s;!function(i,o){"use strict";r=[n("CUlp"),n("QK1G"),n("YVj6"),n("KK1e")],void 0===(s=(function(t,e,n,r){return function(t,e,n,r,s){var i=t.console,o=t.jQuery,a=function(){},l=0,c={};function u(t,e){var n=r.getQueryElement(t);if(n){this.element=n,o&&(this.$element=o(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e);var s=++l;this.element.outlayerGUID=s,c[s]=this,this._create(),this._getOption("initLayout")&&this.layout()}else i&&i.error("Bad element for "+this.constructor.namespace+": "+(n||t))}u.namespace="outlayer",u.Item=s,u.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var h=u.prototype;function d(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e,e}r.extend(h,e.prototype),h.option=function(t){r.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},u.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,r=[],s=0;s<e.length;s++){var i=new n(e[s],this);r.push(i)}return r},h._filterFindItemElements=function(t){return r.filterFindElements(t,this.options.itemSelector)},h.getItemElements=function(){return this.items.map((function(t){return t.element}))},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant");this.layoutItems(this.items,void 0!==t?t:!this._isLayoutInited),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=n(this.element)},h._getMeasurement=function(t,e){var r,s=this.options[t];s?("string"==typeof s?r=this.element.querySelector(s):s instanceof HTMLElement&&(r=s),this[t]=r?n(r)[e]:s):this[t]=0},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h._getItemsForLayout=function(t){return t.filter((function(t){return!t.isIgnored}))},h._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var n=[];t.forEach((function(t){var r=this._getItemLayoutPosition(t);r.item=t,r.isInstant=e||t.isLayoutInstant,n.push(r)}),this),this._processLayoutQueue(n)}},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(t){this.updateStagger(),t.forEach((function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)}),this)},h.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),n=e&&e[1],r=e&&e[2];return n.length?(n=parseFloat(n))*(f[r]||1):0}(t),this.stagger;this.stagger=0},h._positionItem=function(t,e,n,r,s){r?t.goTo(e,n):(t.stagger(s*this.stagger),t.moveTo(e,n))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},h._getContainerSize=a,h._setContainerMeasure=function(t,e){if(void 0!==t){var n=this.size;n.isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},h._emitCompleteOnItems=function(t,e){var n=this;function r(){n.dispatchEvent(t+"Complete",null,[e])}var s=e.length;if(e&&s){var i=0;e.forEach((function(e){e.once(t,o)}))}else r();function o(){++i==s&&r()}},h.dispatchEvent=function(t,e,n){var r=e?[e].concat(n):n;if(this.emitEvent(t,r),o)if(this.$element=this.$element||o(this.element),e){var s=o.Event(e);s.type=t,this.$element.trigger(s,n)}else this.$element.trigger(t,n)},h.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},h.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},h.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.
vendor: 10,091 bytes, line 1
1concat(t),t.forEach(this.ignore,this))},h.unstamp=function(t){(t=this._find(t))&&t.forEach((function(t){r.removeFrom(this.stamps,t),this.unignore(t)}),this)},h._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),r.makeArray(t)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h._manageStamp=a,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),r=this._boundingRect,s=n(t);return{left:e.left-r.left-s.marginLeft,top:e.top-r.top-s.marginTop,right:r.right-e.right-s.marginRight,bottom:r.bottom-e.bottom-s.marginBottom}},h.handleEvent=r.handleEvent,h.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},r.debounceMethod(u,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},h.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prepended=function(t){var e=this._itemize(t);if(e.length){var n=this.items.slice(0);this.items=e.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(n)}},h.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach((function(t,n){t.stagger(n*e),t.reveal()}))}},h.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach((function(t,n){t.stagger(n*e),t.hide()}))}},h.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},h.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var n=this.items[e];if(n.element==t)return n}},h.getItems=function(t){t=r.makeArray(t);var e=[];return t.forEach((function(t){var n=this.getItem(t);n&&e.push(n)}),this),e},h.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach((function(t){t.remove(),r.removeFrom(this.items,t)}),this)},h.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach((function(t){t.destroy()})),this.unbindResize(),delete c[this.element.outlayerGUID],delete this.element.outlayerGUID,o&&o.removeData(this.element,this.constructor.namespace)},u.data=function(t){var e=(t=r.getQueryElement(t))&&t.outlayerGUID;return e&&c[e]},u.create=function(t,e){var n=d(u);return n.defaults=r.extend({},u.defaults),r.extend(n.defaults,e),n.compatOptions=r.extend({},u.compatOptions),n.namespace=t,n.data=u.data,n.Item=d(s),r.htmlInit(n,t),o&&o.bridget&&o.bridget(t,n),n};var f={ms:1,s:1e3};return u.Item=s,u}(i,t,e,n,r)}).apply(e,r))||(t.exports=s)}(window)},KK1e:function(t,e,n){var r,s,i;window,s=[n("CUlp"),n("QK1G")],void 0===(i="function"==typeof(r=function(t,e){"use strict";var n=document.documentElement.style,r="string"==typeof n.transition?"transition":"WebkitTransition",s="string"==typeof n.transform?"transform":"WebkitTransform",i={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],o={transform:s,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var l=a.prototype=Object.create(t.prototype);l.constructor=a,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var n in t)e[o[n]||n]=t[n]},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),r=t[e?"left":"right"],s=t[n?"top":"bottom"],i=parseFloat(r),o=parseFloat(s),a=this.layout.size;-1!=r.indexOf("%")&&(i=i/100*a.width),-1!=s.indexOf("%")&&(o=o/100*a.height),i=isNaN(i)?0:i,o=isNaN(o)?0:o,o-=n?a.paddingTop:a.paddingBottom,this.position.x=i-=e?a.paddingLeft:a.paddingRight,this.position.y=o},l.layoutPosition=function(){var t=this.layout.size,e={},n=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop"),s=n?"right":"left";e[n?"left":"right"]=this.getXValue(this.position.x+t[n?"paddingLeft":"paddingRight"]),e[s]="";var i=r?"bottom":"top";e[r?"top":"bottom"]=this.getYValue(this.position.y+t[r?"paddingTop":"paddingBottom"]),e[i]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var n=this.position.x,r=this.position.y,s=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!s||this.isTransitioning){var i={};i.transform=this.getTranslate(t-n,e-r),this.transition({to:i,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var n in t.onTransitionEnd)e.onEnd[n]=t.onTransitionEnd[n];for(n in t.to)e.ingProperties[n]=!0,t.isCleaning&&(e.clean[n]=!0);t.from&&this.css(t.from),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var c="opacity,"+s.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}));l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;this.css({transitionProperty:c,transitionDuration:t="number"==typeof t?t+"ms":t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(i,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var u={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=u[t.propertyName]||t.propertyName;delete e.ingProperties[n],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd&&(e.onEnd[n].call(this),delete e.onEnd[n]),this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(i,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var n in t)e[n]="";this.css(e)};var h={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(h)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),this.hide()):this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var n in e)return n},l.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a})?r.apply(e,s):r)||(t.exports=i)},QK1G:function(t,e,n){var r,s;window,void 0===(s="function"==typeof(r=function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],r=n.length;function s(t){var n=getComputedStyle(t);return n||e("Style returned "+n+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),n}var i,o=!1;return function e(a){if(function(){if(!o){o=!0;var n=document.createElement("div");n.style.width="200px",n.style.padding="1px 2px 3px 4px",n.style.borderStyle="solid",n.style.borderWidth="1px 2px 3px 4px",n.style.boxSizing="border-box";var r=document.body||document.documentElement;r.appendChild(n);var a=s(n);
1i=200==Math.round(t(a.width)),e.isBoxSizeOuter=i,r.removeChild(n)}}(),"string"==typeof a&&(a=document.querySelector(a)),a&&"object"==typeof a&&a.nodeType){var l=s(a);if("none"==l.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<r;e++)t[n[e]]=0;return t}();var c={};c.width=a.offsetWidth,c.height=a.offsetHeight;for(var u=c.isBorderBox="border-box"==l.boxSizing,h=0;h<r;h++){var d=n[h],f=parseFloat(l[d]);c[d]=isNaN(f)?0:f}var p=c.paddingLeft+c.paddingRight,m=c.paddingTop+c.paddingBottom,g=c.marginLeft+c.marginRight,y=c.marginTop+c.marginBottom,v=c.borderLeftWidth+c.borderRightWidth,_=c.borderTopWidth+c.borderBottomWidth,w=u&&i,x=t(l.width);!1!==x&&(c.width=x+(w?0:p+v));var b=t(l.height);return!1!==b&&(c.height=b+(w?0:m+_)),c.innerWidth=c.width-(p+v),c.innerHeight=c.height-(m+_),c.outerWidth=c.width+g,c.outerHeight=c.height+y,c}}})?r.call(e,n,e,t):r)||(t.exports=s)},YVj6:function(t,e,n){var r,s;!function(i,o){r=[n("x0Ue")],void 0===(s=(function(t){return function(t,e){"use strict";var n={extend:function(t,e){for(var n in e)t[n]=e[n];return t},modulo:function(t,e){return(t%e+e)%e}},r=Array.prototype.slice;n.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?r.call(t):[t]},n.removeFrom=function(t,e){var n=t.indexOf(e);-1!=n&&t.splice(n,1)},n.getParent=function(t,n){for(;t.parentNode&&t!=document.body;)if(e(t=t.parentNode,n))return t},n.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.filterFindElements=function(t,r){t=n.makeArray(t);var s=[];return t.forEach((function(t){if(t instanceof HTMLElement)if(r){e(t,r)&&s.push(t);for(var n=t.querySelectorAll(r),i=0;i<n.length;i++)s.push(n[i])}else s.push(t)})),s},n.debounceMethod=function(t,e,n){n=n||100;var r=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];clearTimeout(t);var e=arguments,i=this;this[s]=setTimeout((function(){r.apply(i,e),delete i[s]}),n)}},n.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},n.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,n){return e+"-"+n})).toLowerCase()};var s=t.console;return n.htmlInit=function(e,r){n.docReady((function(){var i=n.toDashed(r),o="data-"+i,a=document.querySelectorAll("["+o+"]"),l=document.querySelectorAll(".js-"+i),c=n.makeArray(a).concat(n.makeArray(l)),u=o+"-options",h=t.jQuery;c.forEach((function(t){var n,i=t.getAttribute(o)||t.getAttribute(u);try{n=i&&JSON.parse(i)}catch(l){return void(s&&s.error("Error parsing "+o+" on "+t.className+": "+l))}var a=new e(t,n);h&&h.data(t,r,a)}))}))},n}(i,t)}).apply(e,r))||(t.exports=s)}(window)},crnd:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},hNNL:function(t,e,n){var r,s,i;window,s=[n("Hy43"),n("QK1G")],void 0===(i="function"==typeof(r=function(t,e){"use strict";var n=t.create("masonry");n.compatOptions.fitWidth="isFitWidth";var r=n.prototype;return r._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},r.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],n=t&&t.element;this.columnWidth=n&&e(n).outerWidth||this.containerWidth}var r=this.columnWidth+=this.gutter,s=this.containerWidth+this.gutter,i=s/r,o=r-s%r;i=Math[o&&o<1?"round":"floor"](i),this.cols=Math.max(i,1)},r.getContainerWidth=function(){var t=this._getOption("fitWidth"),n=e(t?this.element.parentNode:this.element);this.containerWidth=n&&n.innerWidth},r._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var r=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,t),s={x:this.columnWidth*r.col,y:r.y},i=r.y+t.size.outerHeight,o=n+r.col,a=r.col;a<o;a++)this.colYs[a]=i;return s},r._getTopColPosition=function(t){var e=this._getTopColGroup(t),n=Math.min.apply(Math,e);return{col:e.indexOf(n),y:n}},r._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,r=0;r<n;r++)e[r]=this._getColGroupY(r,t);return e},r._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var n=this.colYs.slice(t,t+e);return Math.max.apply(Math,n)},r._getHorizontalColPosition=function(t,e){var n=this.horizontalColIndex%this.cols;return n=t>1&&n+t>this.cols?0:n,this.horizontalColIndex=e.size.outerWidth&&e.size.outerHeight?n+t:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,t)}},r._manageStamp=function(t){var n=e(t),r=this._getElementOffset(t),s=this._getOption("originLeft")?r.left:r.right,i=s+n.outerWidth,o=Math.floor(s/this.columnWidth);o=Math.max(0,o);var a=Math.floor(i/this.columnWidth);a-=i%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?r.top:r.bottom)+n.outerHeight,c=o;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},r._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},r._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},r.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},n})?r.apply(e,s):r)||(t.exports=i)},vX6Q:function(t,e,n){var r,s;!function(i,o){"use strict";r=[n("CUlp")],void 0===(s=(function(t){return function(t,e){var n=t.jQuery,r=t.console;function s(t,e){for(var n in e)t[n]=e[n];return t}var i=Array.prototype.slice;function o(t,e,a){if(!(this instanceof o))return new o(t,e,a);var l,c=t;"string"==typeof t&&(c=document.querySelectorAll(t)),c?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?
1i.call(l):[l]),this.options=s({},this.options),"function"==typeof e?a=e:s(this.options,e),a&&this.on("always",a),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(c||t))}(o.prototype=Object.create(e.prototype)).options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&a[e]){for(var n=t.querySelectorAll("img"),r=0;r<n.length;r++)this.addImage(n[r]);if("string"==typeof this.options.background){var s=t.querySelectorAll(this.options.background);for(r=0;r<s.length;r++)this.addElementBackgroundImages(s[r])}}};var a={1:!0,9:!0,11:!0};function l(t){this.img=t}function c(t,e){this.url=t,this.element=e,this.img=new Image}return o.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(e.backgroundImage);null!==r;){var s=r&&r[2];s&&this.addBackground(s,t),r=n.exec(e.backgroundImage)}},o.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},o.prototype.addBackground=function(t,e){var n=new c(t,e);this.images.push(n)},o.prototype.check=function(){var t=this;function e(e,n,r){setTimeout((function(){t.progress(e,n,r)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},o.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+n,t,e)},o.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred&&this.jqDeferred[this.hasAnyBroken?"reject":"resolve"](this)},(l.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(c.prototype=Object.create(l.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((n=e).fn.imagesLoaded=function(t,e){return new o(this,t,e).jqDeferred.promise(n(this))})},o.makeJQueryPlugin(),o}(i,t)}).apply(e,r))||(t.exports=s)}("undefined"!=typeof window?window:this)},x0Ue:function(t,e,n){var r,s;!function(i,o){"use strict";void 0===(s="function"==typeof(r=o)?r.call(e,n,e,t):r)||(t.exports=s)}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],n=0;n<e.length;n++){var r=e[n]+"MatchesSelector";if(t[r])return r}}();return function(e,n){return e[t](n)}}))},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior b
1y code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:s,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(r(s))try{s.call(this)}catch(o){e=o instanceof u?d(o.errors):[o]}if(l(i)){let t=-1,n=i.length;for(;++t<n;){const n=i[t];if(c(n))try{n.unsubscribe()}catch(o){e=e||[],o instanceof u?e=e.concat(d(o.errors)):e.push(o)}}}if(e)throw new u(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function d(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,t,e,n)}}[f](){return this}static create(t,e,n){const r=new p(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class m extends p{constructor(t,e,n,s){let i;super(),this._parentSubscriber=t;let o=this;r(e)?i=e:e&&(i=e.next,n=e.error,s=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const g=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(t){return t}function v(...t){return _(t)}function _(t){return 0===t.length?y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}let w=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,s=function(t,e,n){if(t){if(t instanceof p)return t;if(t[f])return t[f]()}return t||e||n?new p(t,e,n):new p(a)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof p?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=x(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[g](){return this}pipe(...t){return 0===t.length?this:_(t)(this)}toPromise(t){return new(t=x(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function x(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const b=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class C extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}
vendor: 11,554 bytes, line 1
1unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class S extends p{constructor(t){super(t),this.destination=t}}let O=(()=>{class t extends w{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new S(this)}lift(t){const e=new E(this,this);return e.operator=t,e}next(t){if(this.closed)throw new b;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].next(t)}}error(t){if(this.closed)throw new b;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new b;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new b;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new b;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new C(this,t))}asObservable(){const t=new w;return t.source=this,t}}return t.create=(t,e)=>new E(t,e),t})();class E extends O{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function P(t){return t&&"function"==typeof t.schedule}class k extends p{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const T=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()};function M(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const I=M(),A=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function L(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const R=t=>{if(t&&"function"==typeof t[g])return r=t,t=>{const e=r[g]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(A(t))return T(t);if(L(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[I])return e=t,t=>{const n=e[I]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,r};function F(t,e,n,r,s=new k(t,n,r)){if(!s.closed)return e instanceof w?e.subscribe(s):R(e)(s)}class N extends p{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function D(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new j(t,e))}}class j{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new H(t,this.project,this.thisArg))}}class H extends p{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function U(t,e){return new w(n=>{const r=new h;let s=0;return r.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function z(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[g]}(t))return function(t,e){return new w(n=>{const r=new h;return r.add(e.schedule(()=>{const s=t[g]();r.add(s.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(L(t))return function(t,e){return new w(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(A(t))return U(t,e);if(function(t){return t&&"function"==typeof t[I]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new w(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[I](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof w?t:new w(R(t))}function B(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(B((n,r)=>z(t(n,r)).pipe(D((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new V(t,n)))}class V{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new $(t,this.project,this.concurrent))}}class $ extends N{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)}_innerSub(t,e,n){const r=new k(this,e,n),s=this.destination;s.add(r);const i=F(this,t,void 0,void 0,r);i!==r&&s.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,r,s){this.destination.next(e)}notifyComplete(t){const e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function q(t=Number.POSITIVE_INFINITY){return B(y,t)}function W(t,e){return e?U(t,e):new w(T(t))}function Q(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return P(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof w?t[0]:q(e)(W(t,n))}function G(){return function(t){return t.lift(new Y(t))}}class Y{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new K(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class K extends p{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class Z extends w{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new J(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return G()(this)}}const X=(()=>{const t=Z.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class J extends S{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function tt(){return new O}function et(t){return{toString:t}.toString()}function nt(t,e,n){return et(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}const rt=nt("Inject",t=>({token:t})),st=nt("Optional"),it=nt("Self"),ot=nt("SkipSelf");var at=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function lt(t){for(let e in t)if(t[e]===lt)return e;throw Error("Could not find renamed property on target object.")}function ct(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function ut(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const ht=ut;function dt(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function ft(t){return pt(t,t[gt])||pt(t,t[_t])}function pt(t,e){return e&&e.token===t?e:null}function mt(t){return t&&(t.hasOwnProperty(yt)||t.hasOwnProperty(wt))?t[yt]:null}const gt=lt({"\u0275prov":lt}),yt=lt({"\u0275inj":lt}),vt=lt({"\u0275provFallback":lt}),_t=lt({ngInjectableDef:lt}),wt=lt({ngInjectorDef:lt});function xt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(xt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function bt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Ct=lt({__forward_ref__:lt});function St(t){return t.__forward_ref__=St,t.toString=function(){return xt(this())},t}function Ot(t){return Et(t)?t():t}function Et(t){return"function"==typeof t&&t.hasOwnProperty(Ct)&&t.__forward_ref__===St}const Pt="undefined"!=typeof globalThis&&globalThis,kt="undefined"!=typeof window&&window,Tt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Mt="undefined"!=typeof global&&global,It=Pt||Mt||kt||Tt,At=lt({"\u0275cmp":lt}),Lt=lt({"\u0275dir":lt}),Rt=lt({"\u0275pipe":lt}),Ft=lt({"\u0275mod":lt}),Nt=lt({"\u0275loc":lt}),Dt=lt({"\u0275fac":lt}),jt=lt({__NG_ELEMENT_ID__:lt});class Ht{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ut({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}
1const Ut=new Ht("INJECTOR",-1),zt={},Bt=/\n/gm,Vt=lt({provide:String,useValue:lt});let $t,qt=void 0;function Wt(t){const e=qt;return qt=t,e}function Qt(t){const e=$t;return $t=t,e}function Gt(t,e=at.Default){if(void 0===qt)throw new Error("inject() must be called from an injection context");return null===qt?Zt(t,void 0,e):qt.get(t,e&at.Optional?null:void 0,e)}function Yt(t,e=at.Default){return($t||Gt)(Ot(t),e)}const Kt=Yt;function Zt(t,e,n){const r=ft(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&at.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${xt(t)}]`)}function Xt(t){const e=[];for(let n=0;n<t.length;n++){const r=Ot(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=at.Default;for(let e=0;e<r.length;e++){const s=r[e];s instanceof st||"Optional"===s.ngMetadataName||s===st?n|=at.Optional:s instanceof ot||"SkipSelf"===s.ngMetadataName||s===ot?n|=at.SkipSelf:s instanceof it||"Self"===s.ngMetadataName||s===it?n|=at.Self:t=s instanceof rt||s===rt?s.token:s}e.push(Yt(t,n))}else e.push(Yt(r))}return e}class Jt{get(t,e=zt){if(e===zt){const e=new Error(`NullInjectorError: No provider for ${xt(t)}!`);throw e.name="NullInjectorError",e}return e}}class te{}class ee{}function ne(t,e){t.forEach(t=>Array.isArray(t)?ne(t,e):e(t))}function re(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function se(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ie(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function oe(t,e,n){let r=le(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let s=t.length;if(s==e)t.push(n,r);else if(1===s)t.push(r,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function ae(t,e){const n=le(t,e);if(n>=0)return t[1|n]}function le(t,e){return function(t,e,n){let r=0,s=t.length>>1;for(;s!==r;){const n=r+(s-r>>1),i=t[n<<1];if(e===i)return n<<1;i>e?s=n:r=n+1}return~(s<<1)}(t,e)}const ce=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),ue=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),he={},de=[];let fe=0;function pe(t){return et(()=>{const e=t.type,n=e.prototype,r={},s={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===ce.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||de,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ue.Emulated,id:"c",styles:t.styles||de,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,o=t.features,a=t.pipes;return s.id+=fe++,s.inputs=_e(t.inputs,r),s.outputs=_e(t.outputs),o&&o.forEach(t=>t(s)),s.directiveDefs=i?()=>("function"==typeof i?i():i).map(me):null,s.pipeDefs=a?()=>("function"==typeof a?a():a).map(ge):null,s})}function me(t){return be(t)||function(t){return t[Lt]||null}(t)}function ge(t){return function(t){return t[Rt]||null}(t)}const ye={};function ve(t){const e={type:t.type,bootstrap:t.bootstrap||de,declarations:t.declarations||de,imports:t.imports||de,exports:t.exports||de,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&et(()=>{ye[t.id]=t.type}),e}function _e(t,e){if(null==t)return he;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const we=pe;function xe(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function be(t){return t[At]||null}function Ce(t,e){return t.hasOwnProperty(Dt)?t[Dt]:null}function Se(t,e){const n=t[Ft]||null;if(!n&&!0===e)throw new Error(`Type ${xt(t)} does not have '\u0275mod' property.`);return n}function Oe(t){return Array.isArray(t)&&"object"==typeof t[1]}function Ee(t){return Array.isArray(t)&&!0===t[1]}function Pe(t){return 0!=(8&t.flags)}function ke(t){return 2==(2&t.flags)}function Te(t){return 1==(1&t.flags)}function Me(t){return null!==t.template}function Ie(t){return 0!=(512&t[2])}let Ae=void 0;function Le(){return void 0!==Ae?Ae:"undefined"!=typeof document?document:void 0}function Re(t){return!!t.listen}const Fe={createRenderer:(t,e)=>Le()};function Ne(t){for(;Array.isArray(t);)t=t[0];return t}function De(t,e){return Ne(e[t+20])}function je(t,e){return Ne(e[t.index])}function He(t,e){return t.data[e+20]}function Ue(t,e){const n=e[t];return Oe(n)?n:n[0]}function ze(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Be(t){return 4==(4&t[2])}function Ve(t){return 128==(128&t[2])}function $e(t,e){return null===t||null==e?null:t[e]}function qe(t){t[18]=0}function We(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}
1const Qe={lFrame:gn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Ge(){return Qe.bindingsEnabled}function Ye(){return Qe.lFrame.lView}function Ke(){return Qe.lFrame.tView}function Ze(t){Qe.lFrame.contextLView=t}function Xe(){return Qe.lFrame.previousOrParentTNode}function Je(t,e){Qe.lFrame.previousOrParentTNode=t,Qe.lFrame.isParent=e}function tn(){return Qe.lFrame.isParent}function en(){Qe.lFrame.isParent=!1}function nn(){return Qe.checkNoChangesMode}function rn(t){Qe.checkNoChangesMode=t}function sn(){const t=Qe.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function on(){return Qe.lFrame.bindingIndex}function an(){return Qe.lFrame.bindingIndex++}function ln(t){const e=Qe.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function cn(t,e){const n=Qe.lFrame;n.bindingIndex=n.bindingRootIndex=t,un(e)}function un(t){Qe.lFrame.currentDirectiveIndex=t}function hn(){return Qe.lFrame.currentQueryIndex}function dn(t){Qe.lFrame.currentQueryIndex=t}function fn(t,e){const n=mn();Qe.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function pn(t,e){const n=mn(),r=t[1];Qe.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function mn(){const t=Qe.lFrame,e=null===t?null:t.child;return null===e?gn(t):e}function gn(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function yn(){const t=Qe.lFrame;return Qe.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const vn=yn;function _n(){const t=yn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function wn(){return Qe.lFrame.selectedIndex}function xn(t){Qe.lFrame.selectedIndex=t}function bn(){const t=Qe.lFrame;return He(t.tView,t.selectedIndex)}function Cn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n];e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked)),e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked)),null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}}function Sn(t,e,n){Pn(t,e,3,n)}function On(t,e,n,r){(3&t[2])===n&&Pn(t,e,n,r)}function En(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Pn(t,e,n,r){const s=null!=r?r:-1;let i=0;for(let o=void 0!==r?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(i=e[o],null!=r&&i>=r)break}else e[o]<0&&(t[18]+=65536),(i<s||-1==s)&&(kn(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function kn(t,e,n,r){const s=n[r]<0,i=n[r+1],o=t[s?-n[r]:n[r]];s?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,i.call(o)):i.call(o)}class Tn{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Mn(t,e,n){const r=Re(t);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],l=n[s++];r?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=i,a=n[++s];An(o)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),s++}}return s}function In(t){return 3===t||4===t||6===t}function An(t){return 64===t.charCodeAt(0)}function Ln(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const s=e[r];"number"==typeof s?n=s:0===n||Rn(t,n,s,null,-1===n||2===n?e[++r]:null)}}return t}function Rn(t,e,n,r,s){let i=0,o=t.length;if(-1===e)o=-1;else for(;i<t.length;){const n=t[i++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=i-1;break}}}for(;i<t.length;){const e=t[i];if("number"==typeof e)break;
1if(e===n){if(null===r)return void(null!==s&&(t[i+1]=s));if(r===t[i+1])return void(t[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(t.splice(o,0,e),i=o+1),t.splice(i++,0,n),null!==r&&t.splice(i++,0,r),null!==s&&t.splice(i++,0,s)}function Fn(t){return-1!==t}function Nn(t){return 32767&t}function Dn(t){return t>>16}function jn(t,e){let n=Dn(t),r=e;for(;n>0;)r=r[15],n--;return r}function Hn(t){return"string"==typeof t?t:null==t?"":""+t}function Un(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Hn(t)}const zn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(It))();function Bn(t){return t instanceof Function?t():t}let Vn=!0;function $n(t){const e=Vn;return Vn=t,e}let qn=0;function Wn(t,e){const n=Gn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Qn(r.data,t),Qn(e,null),Qn(r.blueprint,null));const s=Yn(t,e),i=t.injectorIndex;if(Fn(s)){const t=Nn(s),n=jn(s,e),r=n[1].data;for(let s=0;s<8;s++)e[i+s]=n[t+s]|r[t+s]}return e[i+8]=s,i}function Qn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Gn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Yn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Kn(t,e,n){!function(t,e,n){let r="string"!=typeof n?n[jt]:n.charCodeAt(0)||0;null==r&&(r=n[jt]=qn++);const s=255&r,i=1<<s,o=64&s,a=32&s,l=e.data;128&s?o?a?l[t+7]|=i:l[t+6]|=i:a?l[t+5]|=i:l[t+4]|=i:o?a?l[t+3]|=i:l[t+2]|=i:a?l[t+1]|=i:l[t]|=i}(t,e,n)}function Zn(t,e,n,r=at.Default,s){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t[jt];return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof s){fn(e,t);try{const t=s();if(null!=t||r&at.Optional)return t;throw new Error(`No provider for ${Un(n)}!`)}finally{vn()}}else if("number"==typeof s){if(-1===s)return new sr(t,e);let i=null,o=Gn(t,e),a=-1,l=r&at.Host?e[16][6]:null;for((-1===o||r&at.SkipSelf)&&(a=-1===o?Yn(t,e):e[o+8],rr(r,!1)?(i=e[1],o=Nn(a),e=jn(a,e)):o=-1);-1!==o;){a=e[o+8];const t=e[1];if(nr(s,o,t.data)){const t=Jn(o,e,n,i,r,l);if(t!==Xn)return t}rr(r,e[1].data[o+8]===l)&&nr(s,o,e)?(i=t,o=Nn(a),e=jn(a,e)):o=-1}}}if(r&at.Optional&&void 0===s&&(s=null),0==(r&(at.Self|at.Host))){const t=e[9],i=Qt(void 0);try{return t?t.get(n,s,r&at.Optional):Zt(n,s,r&at.Optional)}finally{Qt(i)}}if(r&at.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${Un(n)}]`)}const Xn={};function Jn(t,e,n,r,s,i){const o=e[1],a=o.data[t+8],l=tr(a,o,n,null==r?ke(a)&&Vn:r!=o&&3===a.type,s&at.Host&&i===a);return null!==l?er(e,o,l,a):Xn}function tr(t,e,n,r,s){const i=t.providerIndexes,o=e.data,a=65535&i,l=t.directiveStart,c=i>>16,u=s?a+c:t.directiveEnd;for(let h=r?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(s){const t=o[l];if(t&&Me(t)&&t.type===n)return l}return null}function er(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof Tn){const o=s;if(o.resolving)throw new Error("Circular dep for "+Un(i[n]));const a=$n(o.canSeeViewProviders);let l;o.resolving=!0,o.injectImpl&&(l=Qt(o.injectImpl)),fn(t,r);try{s=t[n]=o.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{onChanges:r,onInit:s,doCheck:i}=e;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{o.injectImpl&&Qt(l),$n(a),o.resolving=!1,vn()}}return s}function nr(t,e,n){const r=64&t,s=32&t;let i;return i=128&t?r?s?n[e+7]:n[e+6]:s?n[e+5]:n[e+4]:r?s?n[e+3]:n[e+2]:s?n[e+1]:n[e],!!(i&1<<t)}function rr(t,e){return!(t&at.Self||t&at.Host&&e)}class sr{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Zn(this._tNode,this._lView,t,void 0,e)}}function ir(t){const e=t;if(Et(t))return()=>{const t=ir(Ot(e));return t?t():null};let n=Ce(e);if(null===n){const t=mt(e);n=t&&t.factory}return n||null}function or(t){return et(()=>{const e=t.prototype.constructor,n=e[Dt]||ir(e),r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;){const t=s[Dt]||ir(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function ar(t){return t.ngDebugContext}function lr(t){return t.ngOriginalError}function cr(t,...e){t.error(...e)}class ur{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||cr}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?ar(t)?ar(t):this._findContext(lr(t)):null}_findOriginalError(t){let e=lr(t);for(;e&&lr(e);)e=lr(e);return e}}class hr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class dr extends hr{getTypeName(){return"HTML"}}class fr extends hr{getTypeName(){return"Style"}}
1class pr extends hr{getTypeName(){return"Script"}}class mr extends hr{getTypeName(){return"URL"}}class gr extends hr{getTypeName(){return"ResourceURL"}}function yr(t){return t instanceof hr?t.changingThisBreaksApplicationSecurity:t}function vr(t,e){const n=_r(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function _r(t){return t instanceof hr&&t.getTypeName()||null}let wr=!0,xr=!1;function br(){return xr=!0,wr}class Cr{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),e=this.inertDocument.createElement("body"),t.appendChild(e)}e.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!e.querySelector||e.querySelector("svg")?(e.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=e.querySelector&&e.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t="<body><remove></remove>"+t+"</body>";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const n=e.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Sr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Or=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Er(t){return(t=String(t)).match(Sr)||t.match(Or)?t:(br()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function Pr(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function kr(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Tr=Pr("area,br,col,hr,img,wbr"),Mr=Pr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ir=Pr("rp,rt"),Ar=kr(Ir,Mr),Lr=kr(Tr,kr(Mr,Pr("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")),kr(Ir,Pr("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")),Ar),Rr=Pr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fr=Pr("srcset"),Nr=kr(Rr,Fr,Pr("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Pr("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")),Dr=Pr("script,style,template");class jr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Lr.hasOwnProperty(e))return this.sanitizedSomething=!0,!Dr.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let s=0;s<n.length;s++){const t=n.item(s),e=t.name,i=e.toLowerCase();if(!Nr.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=t.value;Rr[i]&&(o=Er(o)),Fr[i]&&(r=o,o=(r=String(r)).split(",").map(t=>Er(t.trim())).join(", ")),this.buf.push(" ",e,'="',zr(o),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Lr.hasOwnProperty(e)&&!Tr.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(zr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const Hr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ur=/([^\#-~ |!])/g;function zr(t){return t.replace(/&/g,"&amp;").replace(Hr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Ur,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Br;function Vr(t,e){let n=null;try{Br=Br||new Cr(t);let r=e?String(e):"";n=Br.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=Br.getInertBodyElement(r)}while(r!==i);const o=new jr,a=o.sanitizeChildren($r(n)||n);return br()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=$r(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function $r(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const qr=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}(),Wr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Qr=/^url\(([^)]+)\)$/;function Gr(t){const e=Zr();return e?e.sanitize(qr.HTML,t)||"":vr(t,"HTML")?yr(t):Vr(Le(),Hn(t))}function Yr(t){const e=Zr();return e?e.sanitize(qr.URL,t)||"":vr(t,"URL")?yr(t):Er(Hn(t))}function Kr(t){const e=Zr();if(e)return e.sanitize(qr.RESOURCE_URL,t)||"";if(vr(t,"ResourceURL"))return yr(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function Zr(){const t=Ye();return t&&t[12]}function Xr(t,e){t.__ngContext__=e}function Jr(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function ts(){throw new Error("Cannot mix multi providers and regular providers")}function es(t,e,n){let r=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===r||t.charCodeAt(s+n)<=32)return s}n=s+1}}function ns(t,e,n){let r=0;for(;r<t.length;){let s=t[r++];if(n&&"class"===s){if(s=t[r],-1!==es(s.toLowerCase(),e,0))return!0}else if(1===s){for(;r<t.length&&"string"==typeof(s=t[r++]);)if(s.toLowerCase()===e)return!0;return!1}}return!1}function rs(t){return 0===t.type&&"ng-template"!==t.tagName}function ss(t,e,n){return e===(0!==t.type||n?t.tagName:"ng-template")}function is(t,e,n){let r=4;const s=t.attrs||[],i=function(t){for(let e=0;e<t.length;e++)if(In(t[e]))return e;return t.length}(s);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!ss(t,l,n)||""===l&&1===e.length){if(os(r))return!1;o=!0}}else{const c=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!ns(t.attrs,c,n)){if(os(r))return!1;o=!0}continue}const u=as(8&r?"class":l,s,rs(t),n);if(-1===u){if(os(r))return!1;o=!0;continue}if(""!==c){let t;t=u>i?"":s[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==es(e,c,0)||2&r&&c!==t){if(os(r))return!1;o=!0}}}}else{if(!o&&!os(r)&&!os(l))return!1;if(o&&os(l))continue;o=!1,r=l|1&r}}return os(r)||o}function os(t){return 0==(1&t)}function as(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s<e.length;){const r=e[s];if(r===t)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===r)break;
1if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function ls(t,e,n=!1){for(let r=0;r<e.length;r++)if(is(t,e[r],n))return!0;return!1}function cs(t,e){return t?":not("+e.trim()+")":e}function us(t){let e=t[0],n=1,r=2,s="",i=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const e=t[++n];s+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||os(o)||(e+=cs(i,s),s=""),r=o,i=i||!os(r);n++}return""!==s&&(e+=cs(i,s)),e}const hs={};function ds(t){const e=t[3];return Ee(e)?e[3]:e}function fs(t){return ms(t[13])}function ps(t){return ms(t[4])}function ms(t){for(;null!==t&&!Ee(t);)t=t[4];return t}function gs(t){ys(Ke(),Ye(),wn()+t,nn())}function ys(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Sn(e,r,n)}else{const r=t.preOrderHooks;null!==r&&On(e,r,0,n)}xn(n)}function vs(t,e){return t<<17|e<<2}function _s(t){return t>>17&32767}function ws(t){return 2|t}function xs(t){return(131068&t)>>2}function bs(t,e){return-131069&t|e<<2}function Cs(t){return 1|t}function Ss(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const n=t.data[i];dn(s),n.contentQueries(2,e[i],i)}}}function Os(t,e,n){return Re(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Es(t,e,n,r,s,i,o,a,l,c){const u=e.blueprint.slice();return u[0]=s,u[2]=140|r,qe(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=i,u[16]=2==e.type?t[16]:u,u}function Ps(t,e,n,r,s,i){const o=n+20,a=t.data[o]||function(t,e,n,r,s,i){const o=Xe(),a=tn(),l=a?o:o&&o.parent,c=t.data[n]=Ds(0,l&&l!==e?l:null,r,n,s,i);return null===t.firstChild&&(t.firstChild=c),o&&(!a||null!=o.child||null===c.parent&&2!==o.type?a||(o.next=c):o.child=c),c}(t,e,o,r,s,i);return Je(a,!0),a}function ks(t,e,n){pn(e,e[6]);try{const r=t.viewQuery;null!==r&&ii(1,r,n);const s=t.template;null!==s&&Is(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Ss(t,e),t.staticViewQueries&&ii(2,t.viewQuery,n);const i=t.components;null!==i&&function(t,e){for(let n=0;n<e.length;n++)ti(t,e[n])}(e,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,_n()}}function Ts(t,e,n,r){const s=e[2];if(256==(256&s))return;pn(e,e[6]);const i=nn();try{qe(e),Qe.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Is(t,e,n,2,r);const o=3==(3&s);if(!i)if(o){const n=t.preOrderCheckHooks;null!==n&&Sn(e,n,null)}else{const n=t.preOrderHooks;null!==n&&On(e,n,0,null),En(e,0)}if(function(t){for(let e=fs(t);null!==e;e=ps(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&We(r,1),n[2]|=1024}}}(e),function(t){for(let e=fs(t);null!==e;e=ps(e))for(let t=10;t<e.length;t++){const n=e[t],r=n[1];Ve(n)&&Ts(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&Ss(t,e),!i)if(o){const n=t.contentCheckHooks;null!==n&&Sn(e,n)}else{const n=t.contentHooks;null!==n&&On(e,n,1),En(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let r=t.expandoStartIndex,s=-1,i=-1;for(let t=0;t<n.length;t++){const o=n[t];"number"==typeof o?o<=0?(i=0-o,xn(i),r+=9+n[++t],s=r):r+=o:(null!==o&&(cn(r,s),o(2,e[s])),s++)}}}finally{xn(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Js(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&ii(2,l,r),!i)if(o){const n=t.viewCheckHooks;null!==n&&Sn(e,n)}else{const n=t.viewHooks;null!==n&&On(e,n,2),En(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),i||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,We(e[3],-1))}finally{_n()}}function Ms(t,e,n,r){const s=e[10],i=!nn(),o=Be(e);try{i&&!o&&s.begin&&s.begin(),o&&ks(t,e,r),Ts(t,e,n,r)}finally{i&&!o&&s.end&&s.end()}}function Is(t,e,n,r,s){const i=wn();try{xn(-1),2&r&&e.length>20&&ys(t,e,0,nn()),n(r,s)}finally{xn(i)}}function As(t,e,n){if(Pe(e)){const r=e.directiveEnd;for(let s=e.directiveStart;s<r;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}}function Ls(t,e,n){Ge()&&(function(t,e,n,r){const s=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||Wn(n,e),Xr(r,e);const o=n.initialInputs;for(let a=s;a<i;a++){const r=t.data[a],i=Me(r);i&&Ys(e,n,r);const l=er(e,t,a,n);Xr(l,e),null!==o&&Ks(0,a-s,l,r,0,o),i&&(Ue(n.index,e)[8]=l)}}(t,e,n,je(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,s=n.directiveEnd,i=t.expandoInstructions,o=t.firstCreatePass,a=n.index-20,l=Qe.lFrame.currentDirectiveIndex;try{xn(a);for(let n=r;n<s;n++){const r=t.data[n],s=e[n];un(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Vs(r,s):o&&i.push(null)}}finally{xn(-1),un(l)}}(t,e,n))}function Rs(t,e,n=je){const r=e.localNames;if(null!==r){let s=e.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(e,t):t[o];t[s++]=a}}}function Fs(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Ns(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Ns(t,e,n,r,s,i,o,a,l,c){const u=20+r,h=u+s,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:hs);return n}(u,h);return d[1]={type:t,id:e,blueprint:d,template:n,queries:null,viewQuery:a,node:null,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:c,incompleteFirstPass:!1}
1}function Ds(t,e,n,r,s,i){return{type:n,index:r,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function js(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const s=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,s):n[r]=[e,s]}return n}function Hs(t,e,n,r,s,i,o,a){const l=je(e,n);let c,u=e.inputs;var h;!a&&null!=u&&(c=u[r])?(ui(t,n,c,r,s),ke(e)&&function(t,e){const n=Ue(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3===e.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,s=null!=o?o(s,e.tagName||"",r):s,Re(i)?i.setProperty(l,r,s):An(r)||(l.setProperty?l.setProperty(r,s):l[r]=s))}function Us(t,e,n,r){let s=!1;if(Ge()){const i=function(t,e,n){const r=t.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];ls(n,o.selectors,!1)&&(s||(s=[]),Kn(Wn(n,e),t,o.type),Me(o)?(2&n.flags&&Jr(n),qs(t,n),s.unshift(o)):s.push(o))}return s}(t,e,n),o=null===r?null:{"":-1};if(null!==i){let r=0;s=!0,Qs(n,t.data.length,i.length);for(let t=0;t<i.length;t++){const e=i[t];e.providersResolver&&e.providersResolver(e)}$s(t,n,i.length);let a=!1,l=!1;for(let s=0;s<i.length;s++){const c=i[s];n.mergedAttrs=Ln(n.mergedAttrs,c.hostAttrs),Gs(t,e,c),Ws(t.data.length-1,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128),!a&&(c.onChanges||c.onInit||c.doCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-20),a=!0),l||!c.onChanges&&!c.doCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-20),l=!0),zs(t,c),r+=c.hostVars}!function(t,e){const n=e.directiveEnd,r=t.data,s=e.attrs,i=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=r[l],n=t.inputs,c=null===s||rs(e)?null:Zs(n,s);i.push(c),o=js(n,l,o),a=js(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=i,e.inputs=o,e.outputs=a}(t,n),Bs(t,e,r)}o&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new Error(`Export of name '${e[t+1]}' not found!`);r.push(e[t],s)}}}(n,r,o)}return n.mergedAttrs=Ln(n.mergedAttrs,n.attrs),s}function zs(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function Bs(t,e,n){for(let r=0;r<n;r++)e.push(hs),t.blueprint.push(hs),t.data.push(null)}function Vs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function $s(t,e,n){const r=20-e.index,s=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,s,n)}function qs(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Ws(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Me(e)&&(n[""]=t)}}function Qs(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Gs(t,e,n){t.data.push(n);const r=n.factory||(n.factory=Ce(n.type)),s=new Tn(r,Me(n),null);t.blueprint.push(s),e.push(s)}function Ys(t,e,n){const r=je(e,t),s=Fs(n),i=t[10],o=ei(t,Es(t,s,null,n.onPush?64:16,r,e,i,i.createRenderer(r,n)));t[e.index]=o}function Ks(t,e,n,r,s,i){const o=i[e];if(null!==o){const t=r.setInput;for(let e=0;e<o.length;){const s=o[e++],i=o[e++],a=o[e++];null!==t?r.setInput(n,a,s,i):n[i]=a}}}function Zs(t,e){let n=null,r=0;for(;r<e.length;){const s=e[r];if(0!==s)if(5!==s){if("number"==typeof s)break;t.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,t[s],e[r+1])),r+=2}else r+=2;else r+=4}return n}function Xs(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function Js(t,e){const n=Ue(e,t);if(Ve(n)){const t=n[1];80&n[2]?Ts(t,n,t.template,n[8]):n[5]>0&&function t(e){for(let r=fs(e);null!==r;
1r=ps(r))for(let e=10;e<r.length;e++){const n=r[e];if(1024&n[2]){const t=n[1];Ts(t,n,t.template,n[8])}else n[5]>0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=Ue(n[r],e);Ve(s)&&s[5]>0&&t(s)}}(n)}}function ti(t,e){const n=Ue(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),ks(r,n,n[8])}function ei(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function ni(t){for(;t;){t[2]|=64;const e=ds(t);if(Ie(t)&&!e)return t;t=e}return null}function ri(t,e,n){const r=e[10];r.begin&&r.begin();try{Ts(t,e,t.template,n)}catch(s){throw ci(e,s),s}finally{r.end&&r.end()}}function si(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=ze(n),s=r[1];Ms(s,r,s.template,n)}}(t[8])}function ii(t,e,n){dn(0),e(t,n)}const oi=(()=>Promise.resolve(null))();function ai(t){return t[7]||(t[7]=[])}function li(t){return t.cleanup||(t.cleanup=[])}function ci(t,e){const n=t[9],r=n?n.get(ur,null):null;r&&r.handleError(e)}function ui(t,e,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,s,r,a):l[a]=s}}function hi(t,e,n){const r=De(e,t),s=t[11];Re(s)?s.setValue(r,n):r.textContent=n}function di(t,e){const n=e[3];return-1===t.index?Ee(n)?n:null:n}function fi(t,e){const n=di(t,e);return n?Oi(e[11],n[7]):null}function pi(t,e,n,r,s){if(null!=r){let i,o=!1;Ee(r)?i=r:Oe(r)&&(o=!0,r=r[0]);const a=Ne(r);0===t&&null!==n?null==s?Ci(e,n,a):bi(e,n,a,s||null):1===t&&null!==n?bi(e,n,a,s||null):2===t?function(t,e,n){const r=Oi(t,e);r&&function(t,e,n,r){Re(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,r,s){const i=n[7];i!==Ne(n)&&pi(e,t,r,i,s);for(let o=10;o<n.length;o++){const s=n[o];Mi(s[1],s,t,e,r,i)}}(e,t,i,n,s)}}function mi(t,e,n,r){const s=fi(t.node,e);s&&Mi(t,e,e[11],n?1:2,s,r)}function gi(t,e){const n=t[9],r=n.indexOf(e);1024&e[2]&&We(e[3],-1),n.splice(r,1)}function yi(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const s=r[17];null!==s&&s!==t&&gi(s,r),e>0&&(t[n-1][4]=r[4]);const i=se(t,10+e);mi(r[1],r,!1,null);const o=i[19];null!==o&&o.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function vi(t,e){if(!(256&e[2])){const n=e[11];Re(n)&&n.destroyNode&&Mi(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return wi(t[1],t);for(;e;){let n=null;if(Oe(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Oe(e)&&wi(e[1],e),e=_i(e,t);null===e&&(e=t),Oe(e)&&wi(e[1],e),n=e&&e[4]}e=n}}(e)}}function _i(t,e){let n;return Oe(t)&&(n=t[6])&&2===n.type?di(n,t):t[3]===e?null:t[3]}function wi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof Tn)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const s=n[r+1],i="function"==typeof s?s(e):Ne(e[s]),o=t[n[r+2]],a=n[r+3];"boolean"==typeof a?i.removeEventListener(n[r],o,a):a>=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&Re(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&Ee(e[3])){r!==e[3]&&gi(r,e);const n=e[19];null!==n&&n.detachView(t)}}}function xi(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?fi(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return je(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==ue.ShadowDom&&n!==ue.Native)return null}return je(r,n)}function bi(t,e,n,r){Re(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Ci(t,e,n){Re(t)?t.appendChild(e,n):e.appendChild(n)}function Si(t,e,n,r){null!==r?bi(t,e,n,r):Ci(t,e,n)}function Oi(t,e){return Re(t)?t.parentNode(e):e.parentNode}function Ei(t,e){if(2===t.type){const n=di(t,e);return null===n?null:ki(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?je(t,e):null}function Pi(t,e,n,r){const s=xi(t,r,e);if(null!=s){const t=e[11],i=Ei(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)Si(t,s,n[e],i);else Si(t,s,n,i)}}function ki(t,e){const n=10+t+1;
1if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return function t(e,n){if(null!==n){const r=n.type;if(3===r)return je(n,e);if(0===r)return ki(-1,e[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return t(e,r);{const t=e[n.index];return Ee(t)?ki(-1,t):Ne(t)}}{const r=e[16],s=r[6],i=ds(r),o=s.projection[n.projection];return null!=o?t(i,o):t(e,n.next)}}return null}(t,r)}return e[7]}function Ti(t,e,n,r,s,i,o){for(;null!=n;){const a=r[n.index],l=n.type;o&&0===e&&(a&&Xr(Ne(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(Ti(t,e,n.child,r,s,i,!1),pi(e,t,s,a,i)):1===l?Ii(t,e,r,n,s,i):pi(e,t,s,a,i)),n=o?n.projectionNext:n.next}}function Mi(t,e,n,r,s,i){Ti(n,r,t.node.child,e,s,i,!1)}function Ii(t,e,n,r,s,i){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)pi(e,t,s,a[l],i);else Ti(t,e,a,o[3],s,i,!0)}function Ai(t,e,n){Re(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Li(t,e,n){Re(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class Ri{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,n,r,s,i=!1){for(;null!==r;){const o=n[r.index];if(null!==o&&s.push(Ne(o)),Ee(o))for(let e=10;e<o.length;e++){const n=o[e],r=n[1].firstChild;null!==r&&t(n[1],n,r,s)}const a=r.type;if(4===a||5===a)t(e,n,r.child,s);else if(1===a){const e=n[16],i=e[6].projection[r.projection];if(Array.isArray(i))s.push(...i);else{const n=ds(e);t(n[1],n,i,s,!0)}}r=i?r.projectionNext:r.next}return s}(t[1],t,t[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}vi(this._lView[1],this._lView)}onDestroy(t){var e,n,r;e=this._lView[1],r=t,ai(n=this._lView).push(r),e.firstCreatePass&&li(e).push(n[7].length-1,null)}markForCheck(){ni(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ri(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){rn(!0);try{ri(t,e,n)}finally{rn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Mi(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Fi extends Ri{constructor(t){super(t),this._view=t}detectChanges(){si(this._view)}checkNoChanges(){!function(t){rn(!0);try{si(t)}finally{rn(!1)}}(this._view)}get context(){return null}}let Ni,Di,ji;function Hi(t,e,n){return Ni||(Ni=class extends t{}),new Ni(je(e,n))}function Ui(t,e,n,r){return Di||(Di=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Es(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),ks(e,n,t),new Ri(n)}}),0===n.type?new Di(r,n,Hi(e,n,r)):null}function zi(t,e,n,r){let s;ji||(ji=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return Hi(e,this._hostTNode,this._hostView)}get injector(){return new sr(this._hostTNode,this._hostView)}get parentInjector(){const t=Yn(this._hostTNode,this._hostView),e=jn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let r=Dn(t),s=e,i=e[6];for(;r>1;)s=s[15],i=s[6],r--;return i}(t,this._hostView,this._hostTNode);return Fn(t)&&null!=n?new sr(n,e):new sr(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const i=n||this.parentInjector;if(!s&&null==t.ngModule&&i){const t=i.get(te,null);t&&(s=t)}const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}
1insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Ee(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new ji(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e);return function(t,e,n,r){const s=10+r,i=n.length;r>0&&(n[s-1][4]=e),r<i-10?(e[4]=n[s],re(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,n,this._lContainer,s),mi(r,n,!0,ki(s,this._lContainer)),t.attachToViewContainerRef(this),re(this._lContainer[8],s,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);!function(t,e){const n=yi(t,e);n&&vi(n[1],n)}(this._lContainer,e),se(this._lContainer[8],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=yi(this._lContainer,e);return n&&null!=se(this._lContainer[8],e)?new Ri(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const i=r[n.index];if(Ee(i))s=i;else{let t;if(4===n.type)t=Ne(i);else if(t=r[11].createComment(""),Ie(r)){const e=r[11],s=je(n,r);bi(e,Oi(e,s),t,function(t,e){return Re(t)?t.nextSibling(e):e.nextSibling}(e,s))}else Pi(r[1],r,t,n);r[n.index]=s=Xs(i,r,t,n),ei(r,s)}return new ji(s,n,r)}let Bi=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Vi(),t})();const Vi=function(t=!1){return function(t,e,n){if(!n&&ke(t)){const n=Ue(t.index,e);return new Ri(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new Ri(e[16],e):null}(Xe(),Ye(),t)},$i=new Ht("Set Injector scope."),qi={},Wi={},Qi=[];let Gi=void 0;function Yi(){return void 0===Gi&&(Gi=new Jt),Gi}function Ki(t,e=null,n=null,r){return new Zi(t,n,e||Yi(),r)}class Zi{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&ne(e,n=>this.processProvider(n,t,e)),ne([t],t=>this.processInjectorType(t,[],s)),this.records.set(Ut,Ji(void 0,this));const i=this.records.get($i);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof t?null:xt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=zt,n=at.Default){this.assertNotDestroyed();const r=Wt(this);try{if(!(n&at.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Ht)&&ft(t);e=n&&this.injectableDefInScope(n)?Ji(Xi(t),qi):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&at.Self?Yi():this.parent).get(t,e=n&at.Optional&&e===zt?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(xt(t)),r)throw i;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=xt(e);if(Array.isArray(e))s=e.map(xt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):xt(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(Bt,"\n  ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{Wt(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(xt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=Ot(t)))return!1;let r=mt(t);const s=null==r&&t.ngModule||void 0,i=void 0===s?t:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=mt(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{ne(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];ne(r,t=>this.processProvider(t,n,r||Qi))}}this.injectorDefTypes.add(i),this.records.set(i,Ji(r.factory,qi));const a=r.providers;if(null!=a&&!o){const e=t;ne(a,t=>this.processProvider(t,e,a))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=eo(t=Ot(t))?t:Ot(t&&t.provide);const s=function(t,e,n){return to(t)?Ji(void 0,t.useValue):Ji(function(t,e,n){let r=void 0;if(eo(t)){const e=Ot(t);return Ce(e)||Xi(e)}if(to(t))r=()=>Ot(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...Xt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Yt(Ot(t.useExisting));else{const s=Ot(t&&(t.useClass||t.provide));if(s||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${xt(t)}
1'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return Ce(s)||Xi(s);r=()=>new s(...Xt(t.deps))}var s;return r}(t,e,n),qi)}(t,e,n);if(eo(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&ts()}else{let e=this.records.get(r);e?void 0===e.multi&&ts():(e=Ji(void 0,qi,!0),e.factory=()=>Xt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===Wi?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(xt(t)):e.value===qi&&(e.value=Wi,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Xi(t){const e=ft(t),n=null!==e?e.factory:Ce(t);if(null!==n)return n;const r=mt(t);if(null!==r)return r.factory;if(t instanceof Ht)throw new Error(`Token ${xt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=ie(e,"?");throw new Error(`Can't resolve all parameters for ${xt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[gt]||t[_t]||t[vt]&&t[vt]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Ji(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function to(t){return null!==t&&"object"==typeof t&&Vt in t}function eo(t){return"function"==typeof t}const no=function(t,e,n){return function(t,e=null,n=null,r){const s=Ki(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let ro=(()=>{class t{static create(t,e){return Array.isArray(t)?no(t,e,""):no(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=zt,t.NULL=new Jt,t.\u0275prov=ut({token:t,providedIn:"any",factory:()=>Yt(Ut)}),t.__NG_ELEMENT_ID__=-1,t})();const so=new Ht("AnalyzeForEntryComponents");let io=new Map;const oo=new Set;function ao(t){return"string"==typeof t?t:t.text()}function lo(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,i=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?i=t:1==i?s=bt(s,t):2==i&&(r=bt(r,t+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=s:t.classesWithoutHost=s}let co=null;function uo(){if(!co){const t=It.Symbol;if(t&&t.iterator)co=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(co=n)}}}return co}function ho(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}class fo{constructor(t){this.wrapped=t}static wrap(t){return new fo(t)}static unwrap(t){return fo.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof fo}}function po(t){return!!mo(t)&&(Array.isArray(t)||!(t instanceof Map)&&uo()in t)}function mo(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function go(t,e,n){return t[e]=n}function yo(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function vo(t,e,n,r){const s=yo(t,e,n);return yo(t,e+1,r)||s}function _o(t,e,n,r){const s=Ye();return yo(s,an(),e)&&(Ke(),function(t,e,n,r,s,i){const o=je(t,e),a=e[11];if(null==r)Re(a)?a.removeAttribute(o,n,i):o.removeAttribute(n);else{const e=null==s?Hn(r):s(r,t.tagName||"",n);Re(a)?a.setAttribute(o,n,e,i):i?o.setAttributeNS(i,n,e):o.setAttribute(n,e)}}(bn(),s,t,e,n,r)),_o}function wo(t,e,n,r,s,i,o,a){const l=Ye(),c=Ke(),u=t+20,h=c.firstCreatePass?function(t,e,n,r,s,i,o,a,l){const c=e.consts,u=Ps(e,n[6],t,0,o||null,$e(c,a));Us(e,n,u,$e(c,l)),Cn(e,u);const h=u.tViews=Ns(2,-1,r,s,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),d=Ds(0,null,2,-1,null,null);return d.injectorIndex=u.injectorIndex,h.node=d,null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(t,c,l,e,n,r,s,i,o):c.data[u];Je(h,!1);const d=l[11].createComment("");Pi(c,l,d,h),Xr(d,l),ei(l,l[u]=Xs(d,l,d,h)),Te(h)&&Ls(c,l,h),null!=o&&Rs(l,h,a)}function xo(t,e=at.Default){const n=Ye();return null==n?Yt(t,e):Zn(Xe(),n,Ot(t),e)}function bo(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const s=n[r];if(In(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(s===e)return n[r+1];r+=2}}}return null}(Xe(),t)}function Co(){throw new Error("invalid")}function So(t,e,n){const r=Ye();return yo(r,an(),e)&&Hs(Ke(),bn(),r,t,e,r[11],n,!1),So}function Oo(t,e,n,r,s){const i=s?"class":"style";ui(t,n,e.inputs[i],i,r)}function Eo(t,e,n,r){const s=Ye(),i=Ke(),o=20+t,a=s[11],l=s[o]=Os(e,a,Qe.lFrame.currentNamespace),c=i.firstCreatePass?function(t,e,n,r,s,i,o){const a=e.consts,l=$e(a,i),c=Ps(e,n[6],t,3,s,l);return Us(e,n,c,$e(a,o)),null!==c.attrs&&lo(c,c.attrs,!1),null!==c.mergedAttrs&&lo(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(t,i,s,0,e,n,r):i.data[o];Je(c,!0);const u=c.mergedAttrs;null!==u&&Mn(a,l,u);const h=c.classes;null!==h&&Li(a,l,h);const d=c.styles;null!==d&&Ai(a,l,d),Pi(i,s,l,c),0===Qe.lFrame.elementDepthCount&&Xr(l,s),Qe.lFrame.elementDepthCount++,Te(c)&&(Ls(i,s,c),As(i,c,s)),null!==r&&Rs(s,c)}function Po(){let t=Xe();tn()?en():(t=t.parent,Je(t,!1));const e=t;Qe.lFrame.elementDepthCount--;const n=Ke();n.firstCreatePass&&(Cn(n,t),Pe(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Oo(n,e,Ye(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Oo(n,e,Ye(),e.stylesWithoutHost,!1)}function ko(t,e,n,r){Eo(t,e,n,r),Po()}function To(t,e,n){const r=Ye(),s=Ke(),i=t+20,o=s.firstCreatePass?function(t,e,n,r,s){const i=e.consts,o=$e(i,r),a=Ps(e,n[6],t,4,"ng-container",o);return null!==o&&lo(a,o,!0),Us(e,n,a,$e(i,s)),null!==e.queries&&e.queries.elementStart(e,a),a}
1(t,s,r,e,n):s.data[i];Je(o,!0);const a=r[i]=r[11].createComment("");Pi(s,r,a,o),Xr(a,r),Te(o)&&(Ls(s,r,o),As(s,o,r)),null!=n&&Rs(r,o)}function Mo(){let t=Xe();const e=Ke();tn()?en():(t=t.parent,Je(t,!1)),e.firstCreatePass&&(Cn(e,t),Pe(t)&&e.queries.elementEnd(t))}function Io(){return Ye()}function Ao(t){return!!t&&"function"==typeof t.then}function Lo(t,e,n=!1,r){const s=Ye(),i=Ke(),o=Xe();return function(t,e,n,r,s,i,o=!1,a){const l=Te(r),c=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),u=ai(e);let h=!0;if(3===r.type){const d=je(r,e),f=a?a(d):he,p=f.target||d,m=u.length,g=a?t=>a(Ne(t[r.index])).target:r.index;if(Re(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const t=s[i];if(t===n&&s[i+1]===r){const t=e[7],n=s[i+2];return t.length>n?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=Fo(r,e,i,!1);const t=n.listen(f.name||p,s,i);u.push(i,t),c&&c.push(s,g,m,m+1)}}else i=Fo(r,e,i,!0),p.addEventListener(s,i,o),u.push(i),c&&c.push(s,g,m,o)}const d=r.outputs;let f;if(h&&null!==d&&(f=d[s])){const t=f.length;if(t)for(let n=0;n<t;n+=2){const t=e[f[n]][f[n+1]].subscribe(i),o=u.length;u.push(i,t),c&&c.push(s,r.index,o,-(o+1))}}}(i,s,s[11],o,t,e,n,r),Lo}function Ro(t,e,n){try{return!1!==e(n)}catch(r){return ci(t,r),!1}}function Fo(t,e,n,r){return function s(i){if(i===Function)return n;const o=2&t.flags?Ue(t.index,e):e;0==(32&e[2])&&ni(o);let a=Ro(e,n,i),l=s.__ngNextListenerFn__;for(;l;)a=Ro(e,l,i)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(i.preventDefault(),i.returnValue=!1),a}}function No(t=1){return function(t){return(Qe.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Qe.lFrame.contextLView))[8]}(t)}const Do=[];function jo(t,e,n,r,s){const i=t[n+1],o=null===e;let a=r?_s(i):xs(i),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];Ho(t[a],e)&&(l=!0,t[a+1]=r?Cs(n):ws(n)),a=r?_s(n):xs(n)}l&&(t[n+1]=r?ws(i):Cs(i))}function Ho(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&le(t,e)>=0}function Uo(t,e,n){return function(t,e,n,r){const s=Ye(),i=Ke(),o=ln(2);if(i.firstUpdatePass&&function(t,e,n,r){const s=t.data;if(null===s[n+1]){const r=s[wn()+20],i=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(32&t.flags)})(r)&&null===e&&!i&&(e=!1),e=function(t,e,n,r){const s=function(t){const e=Qe.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=e.residualStyles;if(null===s)0===e.styleBindings&&(n=Bo(n=zo(null,t,e,n,!1),e.attrs,!1),i=null);else{const r=e.directiveStylingLast;if(-1===r||t[r]!==s)if(n=zo(s,t,e,n,!1),null===i){let n=function(t,e,n){const r=e.styleBindings;if(0!==xs(r))return t[_s(r)]}(t,e);void 0!==n&&Array.isArray(n)&&(n=zo(null,t,e,n[1],!1),n=Bo(n,e.attrs,!1),function(t,e,n,r){t[_s(e.styleBindings)]=r}(t,e,0,n))}else i=function(t,e,n){let r=void 0;const s=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<s;i++)r=Bo(r,t[i].hostAttrs,!1);return Bo(r,e.attrs,!1)}(t,e)}return void 0!==i&&(e.residualStyles=i),n}(s,r,e),function(t,e,n,r,s,i){let o=e.styleBindings,a=_s(o),l=xs(o);t[r]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||le(t,c)>0)&&(u=!0)}else c=n;if(s)if(0!==l){const e=_s(t[a+1]);t[r+1]=vs(e,a),0!==e&&(t[e+1]=bs(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=vs(a,0),0!==a&&(t[a+1]=bs(t[a+1],r)),a=r;else t[r+1]=vs(l,0),0===a?a=r:t[l+1]=bs(t[l+1],r),l=r;u&&(t[r+1]=ws(t[r+1])),jo(t,c,r,!0),jo(t,c,r,!1),function(t,e,n,r,s){const i=t.residualStyles;null!=i&&"string"==typeof e&&le(i,e)>=0&&(n[r+1]=Cs(n[r+1]))}(e,c,t,r),o=vs(a,l),e.styleBindings=o}(s,r,e,n,i)}}(i,t,o),e!==hs&&yo(s,o,e)){let r;null==n&&(r=function(){const t=Qe.lFrame;return null===t?null:t.currentSanitizer}())&&(n=r),function(t,e,n,r,s,i,o,a){if(3!==e.type)return;const l=t.data,c=l[a+1];$o(1==(1&c)?Vo(l,e,n,s,xs(c),!1):void 0)||($o(i)||function(t){return 2==(2&t)}(c)&&(i=Vo(l,null,n,s,a,!1)),function(t,e,n,r,s){const i=Re(t);{const e=-1==r.indexOf("-")?void 0:2;null==s?i?t.removeStyle(n,r,e):n.style.removeProperty(r):i?t.setStyle(n,r,s,e):n.style.setProperty(r,s)}}(r,0,De(wn(),n),s,i))}(i,i.data[wn()+20],s,s[11],t,s[o+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=xt(yr(t)))),t}(e,n),0,o)}}(t,e,n),Uo}function zo(t,e,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;
1for(-1===a?a=n.directiveStart:a++;a<o&&(i=e[a],r=Bo(r,i.hostAttrs,s),i!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function Bo(t,e,n){const r=n?1:2;let s=-1;if(null!==e)for(let i=0;i<e.length;i++){const o=e[i];"number"==typeof o?s=o:s===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),oe(t,o,!!n||e[++i]))}return void 0===t?null:t}function Vo(t,e,n,r,s,i){const o=null===e;let a=void 0;for(;s>0;){const e=t[s],i=Array.isArray(e),l=i?e[1]:e,c=null===l;let u=n[s+1];u===hs&&(u=c?Do:void 0);let h=c?ae(u,r):l===r?u:void 0;if(i&&!$o(h)&&(h=ae(e,r)),$o(h)&&(a=h,o))return a;const d=t[s+1];s=o?_s(d):xs(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(a=ae(t,r))}return a}function $o(t){return void 0!==t}function qo(t,e=""){const n=Ye(),r=Ke(),s=t+20,i=r.firstCreatePass?Ps(r,n[6],t,3,null,null):r.data[s],o=n[s]=function(t,e){return Re(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);Pi(r,n,o,i),Je(i,!1)}function Wo(t){return Qo("",t,""),Wo}function Qo(t,e,n){const r=Ye(),s=function(t,e,n,r){return yo(t,an(),n)?e+Hn(n)+r:hs}(r,t,e,n);return s!==hs&&hi(r,wn(),s),Qo}function Go(t,e,n,r,s){const i=Ye(),o=function(t,e,n,r,s,i){const o=vo(t,on(),n,s);return ln(2),o?e+Hn(n)+r+Hn(s)+i:hs}(i,t,e,n,r,s);return o!==hs&&hi(i,wn(),o),Go}function Yo(t,e,n){const r=Ye();return yo(r,an(),e)&&Hs(Ke(),bn(),r,t,e,r[11],n,!0),Yo}function Ko(t,e){const n=ze(t)[1],r=n.data.length-1;Cn(n,{directiveStart:r,directiveEnd:r+1})}function Zo(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let s=void 0;if(Me(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){r.push(s);const e=t;e.inputs=Xo(t.inputs),e.declaredInputs=Xo(t.declaredInputs),e.outputs=Xo(t.outputs);const n=s.hostBindings;n&&ea(t,n);const i=s.viewQuery,o=s.contentQueries;if(i&&Jo(t,i),o&&ta(t,o),ct(t.inputs,s.inputs),ct(t.declaredInputs,s.declaredInputs),ct(t.outputs,s.outputs),Me(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}e.afterContentChecked=e.afterContentChecked||s.afterContentChecked,e.afterContentInit=t.afterContentInit||s.afterContentInit,e.afterViewChecked=t.afterViewChecked||s.afterViewChecked,e.afterViewInit=t.afterViewInit||s.afterViewInit,e.doCheck=t.doCheck||s.doCheck,e.onDestroy=t.onDestroy||s.onDestroy,e.onInit=t.onInit||s.onInit}const e=s.features;if(e)for(let r=0;r<e.length;r++){const s=e[r];s&&s.ngInherit&&s(t),s===Zo&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=Ln(s.hostAttrs,n=Ln(n,s.hostAttrs))}}(r)}function Xo(t){return t===he?{}:t===de?[]:t}function Jo(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function ta(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function ea(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}class na{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ra(t){t.type.prototype.ngOnChanges&&(t.setInput=sa,t.onChanges=function(){const t=ia(this),e=t&&t.current;if(e){const n=t.previous;if(n===he)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function sa(t,e,n,r){const s=ia(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:he,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new na(l&&l.currentValue,e,o===he),t[r]=e}function ia(t){return t.__ngSimpleChanges__||null}ra.ngInherit=!0;class oa{}class aa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${xt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let la=(()=>{class t{}return t.NULL=new aa,t})(),ca=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>ua(t),t})();const ua=function(t){return Hi(t,Xe(),Ye())};class ha{}const da=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let fa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>pa(),t})();const pa=function(){const t=Ye(),e=Ue(Xe().index,t);
vendor: 7,971 bytes, line 1
1return function(t){const e=t[11];if(Re(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Oe(e)?e:t)};let ma=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>null}),t})();class ga{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ya=new ga("9.1.13");class va{constructor(){}supports(t){return po(t)}create(t){return new wa(t)}}const _a=(t,e)=>e;class wa{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||_a}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const i=!n||e&&e.currentIndex<Sa(n,r,s)?e:n,o=Sa(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{s||(s=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;e<=i&&i<t&&(s[n]=r+1)}s[i.previousIndex]=e-t}}o!==a&&t(i,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!po(t))throw new Error(`Error trying to diff '${xt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,s=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==s&&ho(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,e)),ho(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,e),i=!0),s=s._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[uo()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==s&&ho(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),ho(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(ho(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ho(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):t=this._addAfter(new xa(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ca),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ca),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class xa{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ba{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&ho(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Ca{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ba,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Sa(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+e+s}class Oa{constructor(){}supports(t){return t instanceof Map||mo(t)}create(){return new Ea}}class Ea{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;
1e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||mo(t)))throw new Error(`Error trying to diff '${xt(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new Pa(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){ho(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Pa{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let ka=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ot,new st]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new t([new va])}),t})(),Ta=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ot,new st]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new t([new Oa])}),t})();const Ma=[new Oa],Ia=new ka([new va]),Aa=new Ta(Ma);let La=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ra(t,ca),t})();const Ra=function(t,e){return Ui(t,e,Xe(),Ye())};let Fa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Na(t,ca),t})();const Na=function(t,e){return zi(t,e,Xe(),Ye())},Da={};class ja extends la{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=be(t);return new za(e,this.ngModule)}}function Ha(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Ua=new Ht("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>zn});class za extends oa{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(us).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ha(this.componentDef.inputs)}get outputs(){return Ha(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const i=t.get(n,Da,s);return i!==Da||r===Da?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(ha,Fe),o=s.get(ma,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Re(t))return t.selectRootElement(e,n===ue.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Os(l,i.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d={components:[],scheduler:zn,clean:oi,playerHandler:null,flags:0},f=Ns(0,-1,null,1,0,null,null,null,null,null),p=Es(null,f,d,u,null,null,i,a,o,s);let m,g;pn(p,null);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=Ps(o,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(lo(a,l,!0),null!==t&&(Mn(s,t,l),null!==a.classes&&Li(s,t,a.classes),null!==a.styles&&Ai(s,t,a.styles)));const c=r.createRenderer(t,e),u=Es(n,Fs(e),null,e.onPush?64:16,n[20],a,r,c,void 0);return o.firstCreatePass&&(Kn(Wn(a,n),o,e.type),qs(o,a),Qs(a,n.length,1)),ei(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)Mn(a,c,["ng-version",ya.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;
1for(;r<t.length;){let i=t[r];if("string"==typeof i)2===s?""!==i&&e.push(i,t[++r]):8===s&&n.push(i);else{if(!os(s))break;s=i}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Mn(a,c,t),e&&e.length>0&&Li(a,c,e.join(" "))}if(g=He(f,0),void 0!==e){const t=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}m=function(t,e,n,r,s){const i=n[1],o=function(t,e,n){const r=Xe();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),$s(t,r,1),Gs(t,e,n));const s=er(e,t,e.length-1,r);Xr(s,e);const i=je(r,e);return i&&Xr(i,e),s}(i,n,e);r.components.push(o),t[8]=o,s&&s.forEach(t=>t(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=Xe();if(i.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){xn(a.index-20);const t=n[1];zs(t,e),Bs(t,n,e.hostVars),Vs(e,o)}return o}(t,this.componentDef,p,d,[Ko]),ks(f,p,null)}finally{_n()}const y=new Ba(this.componentType,m,Hi(ca,g,p),p,g);return n&&!h||(f.node.child=g),y}}class Ba extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Fi(r),function(t,e,n,r){let s=t.node;null==s&&(t.node=s=Ds(0,null,2,-1,null,null)),r[6]=s}(r[1],0,0,r),this.componentType=t}get injector(){return new sr(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Va=void 0;var $a=["en",[["a","p"],["AM","PM"],Va],[["AM","PM"],Va,Va],[["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"]],Va,[["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"]],Va,[["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}",Va,"{1} 'at' {0}",Va],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let qa={};function Wa(t){return t in qa||(qa[t]=It.ng&&It.ng.common&&It.ng.common.locales&&It.ng.common.locales[t]),qa[t]}const Qa=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.Directionality]="Directionality",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}();let Ga="en-US";function Ya(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Ga=t.toLowerCase().replace(/_/g,"-"))}const Ka=new Map;class Za extends te{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ja(this);const n=Se(t),r=t[Nt]||null;r&&Ya(r),this._bootstrapComponents=Bn(n.bootstrap),this._r3Injector=Ki(t,e,[{provide:te,useValue:this},{provide:la,useValue:this.componentFactoryResolver}],xt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=ro.THROW_IF_NOT_FOUND,n=at.Default){return t===ro||t===te||t===Ut?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;
1!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Xa extends ee{constructor(t){super(),this.moduleType=t,null!==Se(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${xt(e)} vs ${xt(e.name)}`)})(t,Ka.get(t),e),Ka.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new Za(this.moduleType,t)}}function Ja(t,e,n){const r=sn()+t,s=Ye();return s[r]===hs?go(s,r,n?e.call(n):e()):function(t,e){return t[e]}(s,r)}function tl(t,e,n,r){return nl(Ye(),sn(),t,e,n,r)}function el(t,e){const n=t[e];return n===hs?void 0:n}function nl(t,e,n,r,s,i){const o=e+n;return yo(t,o,s)?go(t,o+1,i?r.call(i,s):r(s)):el(t,o+1)}function rl(t,e){const n=Ke();let r;const s=t+20;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=Ce(r.type)),o=Qt(xo),a=$n(!1),l=i();return $n(a),Qt(o),function(t,e,n,r){const s=n+20;s>=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),e[s]=r}(n,Ye(),t,l),l}function sl(t,e,n){const r=Ye(),s=function(t,e){return t[e+20]}(r,t);return function(t,e){return fo.isWrapped(e)&&(e=fo.unwrap(e),t[on()]=hs),e}(r,function(t,e){return t[1].data[e+20].pure}(r,t)?nl(r,sn(),e,s.transform,n,s):s.transform(n))}class il extends O{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,s=t=>null,i=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(i=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,s,i);return t instanceof h&&t.add(o),o}}function ol(){return this._results[uo()]()}class al{constructor(){this.dirty=!0,this._results=[],this.changes=new il,this.length=0;const t=uo(),e=al.prototype;e[t]||(e[t]=ol)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r<e.length;r++){let s=e[r];Array.isArray(s)?(n===e&&(n=e.slice(0,r)),t(s,n)):n!==e&&n.push(s)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class ll{constructor(t){this.queryList=t,this.matches=null}clone(){return new ll(this.queryList)}setDirty(){this.queryList.setDirty()}}class cl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new cl(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==xl(t,e).matches&&this.queries[e].setDirty()}}class ul{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class hl{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,s=this.getByIndex(n).embeddedTView(t,r);s&&(s.indexInDeclarationView=n,null!==e?e.push(s):e=[s])}return null!==e?new hl(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class dl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new dl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}
1matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let r=0;r<n.length;r++)this.matchTNodeWithReadOption(t,e,fl(e,n[r]))}else{const n=this.metadata.predicate;n===La?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,tr(e,t,n,!1,!1))}}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===ca||r===Fa||r===La&&0===e.type)this.addMatch(e.index,-2);else{const n=tr(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function fl(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function pl(t,e,n,r){return-1===n?function(t,e){return 3===t.type||4===t.type?Hi(ca,t,e):0===t.type?Ui(La,ca,t,e):null}(e,t):-2===n?function(t,e,n){return n===ca?Hi(ca,e,t):n===La?Ui(La,ca,e,t):n===Fa?zi(Fa,ca,e,t):void 0}(t,e,r):er(t,t[1],n,e)}function ml(t,e,n,r){const s=e[19].queries[r];if(null===s.matches){const r=t.data,i=n.matches,o=[];for(let t=0;t<i.length;t+=2){const s=i[t];o.push(s<0?null:pl(e,r[s],i[t+1],n.metadata.read))}s.matches=o}return s.matches}function gl(t){const e=Ye(),n=Ke(),r=hn();dn(r+1);const s=xl(n,r);if(t.dirty&&Be(e)===s.metadata.isStatic){if(null===s.matches)t.reset([]);else{const i=s.crossesNgTemplate?function t(e,n,r,s){const i=e.queries.getByIndex(r),o=i.matches;if(null!==o){const a=ml(e,n,i,r);for(let e=0;e<o.length;e+=2){const r=o[e];if(r>0)s.push(a[e/2]);else{const i=o[e+1],a=n[-r];for(let e=10;e<a.length;e++){const n=a[e];n[17]===n[3]&&t(n[1],n,i,s)}if(null!==a[9]){const e=a[9];for(let n=0;n<e.length;n++){const r=e[n];t(r[1],r,i,s)}}}}}return s}(n,e,r,[]):ml(n,e,s,r);t.reset(i),t.notifyOnChanges()}return!0}return!1}function yl(t,e,n,r){!function(t,e,n,r,s,i,o,a){t.firstCreatePass&&(wl(t,new ul(n,r,!1,s),o.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,a)),_l(t,e)}(Ke(),Ye(),e,n,r,0,Xe(),t)}function vl(){return t=Ye(),e=hn(),t[19].queries[e].queryList;var t,e}function _l(t,e){const n=new al;!function(t,e,n,r){const s=ai(e);s.push(n),t.firstCreatePass&&li(t).push(r,s.length-1)}(t,e,n,n.destroy),null===e[19]&&(e[19]=new cl),e[19].queries.push(new ll(n))}function wl(t,e,n){null===t.queries&&(t.queries=new hl),t.queries.track(new dl(e,n))}function xl(t,e){return t.queries.getByIndex(e)}const bl=new Ht("Application Initializer");let Cl=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();Ao(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Yt(bl,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Sl=new Ht("AppId"),Ol={provide:Sl,useFactory:function(){return`${El()}${El()}${El()}`},deps:[]};function El(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Pl=new Ht("Platform Initializer"),kl=new Ht("Platform ID"),Tl=new Ht("appBootstrapListener");let Ml=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Il=new Ht("LocaleId"),Al=new Ht("DefaultCurrencyCode");class Ll{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Rl=function(t){return new Xa(t)},Fl=Rl,Nl=function(t){return Promise.resolve(Rl(t))},Dl=function(t){const e=Rl(t),n=Bn(Se(t).declarations).reduce((t,e)=>{const n=be(e);return n&&t.push(new za(n)),t},[]);return new Ll(e,n)},jl=Dl,Hl=function(t){return Promise.resolve(Dl(t))};let Ul=(()=>{class t{constructor(){this.compileModuleSync=Fl,this.compileModuleAsync=Nl,this.compileModuleAndAllComponentsSync=jl,this.compileModuleAndAllComponentsAsync=Hl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const zl=new Ht("compilerOptions"),Bl=(()=>Promise.resolve(0))();function Vl(t){"undefined"==typeof Zone?Bl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class $l{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new il(!1),this.onMicrotaskEmpty=new il(!1),this.onStable=new il(!1),this.onError=ne
vendor: 4,740 bytes, line 1
1w il(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=It.requestAnimationFrame,e=It.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(It,()=>{t.lastRequestAnimationFrameId=-1,Gl(t),Ql(t)}),Gl(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,s,i,o,a)=>{try{return Yl(t),n.invokeTask(s,i,o,a)}finally{e&&"eventTask"===i.type&&e(),Kl(t)}},onInvoke:(e,n,r,s,i,o,a)=>{try{return Yl(t),e.invoke(r,s,i,o,a)}finally{Kl(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Gl(t),Ql(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!$l.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if($l.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,t,Wl,ql,ql);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function ql(){}const Wl={};function Ql(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Gl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Yl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Kl(t){t._nesting--,Ql(t)}class Zl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new il,this.onMicrotaskEmpty=new il,this.onStable=new il,this.onError=new il}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let Xl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{$l.assertNotInAngularZone(),Vl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Vl(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())}
1,e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Yt($l))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Jl=(()=>{class t{constructor(){this._applications=new Map,nc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return nc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class tc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let ec,nc=new tc,rc=function(t,e,n){const r=t.get(zl,[]).concat(e),s=new Xa(n);if(0===io.size)return Promise.resolve(s);const i=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(r.map(t=>t.providers));if(0===i.length)return Promise.resolve(s);const o=function(){const t=It.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),a=ro.create({providers:i}).get(o.ResourceLoader);return function(t){const e=[],n=new Map;function r(t){let e=n.get(t);if(!e){const r=(t=>Promise.resolve(a.get(t)))(t);n.set(t,e=r.then(ao))}return e}return io.forEach((t,n)=>{const s=[];t.templateUrl&&s.push(r(t.templateUrl).then(e=>{t.template=e}));const i=t.styleUrls,o=t.styles||(t.styles=[]),a=t.styles.length;i&&i.forEach((e,n)=>{o.push(""),s.push(r(e).then(r=>{o[a+n]=r,i.splice(i.indexOf(e),1),0==i.length&&(t.styleUrls=void 0)}))});const l=Promise.all(s).then(()=>function(t){oo.delete(t)}(n));e.push(l)}),io=new Map,Promise.all(e).then(()=>{})}().then(()=>s)};const sc=new Ht("AllowMultipleToken");class ic{constructor(t,e){this.name=t,this.token=e}}function oc(t,e,n=[]){const r="Platform: "+e,s=new Ht(r);return(e=[])=>{let i=ac();if(!i||i.injector.get(sc,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:$i,useValue:"platform"});!function(t){if(ec&&!ec.destroyed&&!ec.injector.get(sc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ec=t.get(lc);const e=t.get(Pl,null);e&&e.forEach(t=>t())}(ro.create({providers:t,name:r}))}return function(t){const e=ac();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function ac(){return ec&&!ec.destroyed?ec:null}let lc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Zl:("zone.js"===t?void 0:t)||new $l({enableLongStackTrace:br(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:$l,useValue:n}];return n.run(()=>{const e=ro.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(ur,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>hc(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{i.handleError(t)}})),function(t,e,n){try{const r=n();return Ao(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(Cl);
1return t.runInitializers(),t.donePromise.then(()=>(Ya(s.injector.get(Il,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=cc({},e);return rc(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(uc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${xt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Yt(ro))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function cc(t,e){return Array.isArray(e)?e.reduce(cc,t):Object.assign(Object.assign({},t),e)}let uc=(()=>{class t{constructor(t,e,n,r,s,i){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=br(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new w(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new w(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{$l.assertNotInAngularZone(),Vl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{$l.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Q(o,a.pipe(t=>{return G()((e=tt,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,X);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof oa?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(te),s=n.create(ro.NULL,[],e||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(Xl,null);return i&&s.injector.get(Jl).registerApplication(s.location.nativeElement,i),this._loadComponent(s),br()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;hc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Tl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),hc(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Yt($l),Yt(Ml),Yt(ro),Yt(ur),Yt(la),Yt(Cl))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function hc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class dc{}class fc{}const pc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let mc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||pc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("crnd")(e).then(t=>t[r]).then(t=>gc(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n("crnd")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>gc(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(Yt(Ul),Yt(fc,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function gc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const yc=oc(null,"core",[{provide:kl,useValue:"unknown"},{provide:lc,deps:[ro]},{provide:Jl,deps:[]},{provide:Ml,deps:[]}]),vc=[{provide:uc,useClass:uc,deps:[$l,Ml,ro,ur,la,Cl]},{provide:Ua,deps:[$l],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Cl,useClass:Cl,deps:[[new st,bl]]},{provide:Ul,useClass:Ul,deps:[]},Ol,{provide:ka,useFactory:function(){return Ia},deps:[]},{provide:Ta,useFactory:function(){return Aa},deps:[]},{provide:Il,useFactory:function(t){return Ya(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new rt(Il),new st,new ot]]},{provide:Al,useValue:"USD"}];let _c=(()=>{class t{constructor(t){}}return t.\u0275mod=ve({type:t}
1),t.\u0275inj=dt({factory:function(e){return new(e||t)(Yt(uc))},providers:vc}),t})(),wc=null;function xc(){return wc}const bc=new Ht("DocumentToken");let Cc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:Sc,token:t,providedIn:"platform"}),t})();function Sc(){return Yt(Ec)}const Oc=new Ht("Location Initialized");let Ec=(()=>{class t extends Cc{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=xc().getLocation(),this._history=xc().getHistory()}getBaseHrefFromDOM(){return xc().getBaseHref(this._doc)}onPopState(t){xc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){xc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}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(t){this.location.pathname=t}pushState(t,e,n){Pc()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){Pc()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc))},t.\u0275prov=ut({factory:kc,token:t,providedIn:"platform"}),t})();function Pc(){return!!window.history.pushState}function kc(){return new Ec(Yt(bc))}function Tc(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function Mc(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function Ic(t){return t&&"?"!==t[0]?"?"+t:t}let Ac=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:Lc,token:t,providedIn:"root"}),t})();function Lc(t){const e=Yt(bc).location;return new Fc(Yt(Cc),e&&e.origin||"")}const Rc=new Ht("appBaseHref");let Fc=(()=>{class t extends Ac{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}
1getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Tc(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Ic(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+Ic(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+Ic(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Yt(Cc),Yt(Rc,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Nc=(()=>{class t extends Ac{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=Tc(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+Ic(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+Ic(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(Yt(Cc),Yt(Rc,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Dc=(()=>{class t{constructor(t,e){this._subject=new il,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Mc(Hc(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Ic(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Hc(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ic(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ic(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(Yt(Ac),Yt(Cc))},t.normalizeQueryParams=Ic,t.joinWithSlash=Tc,t.stripTrailingSlash=Mc,t.\u0275prov=ut({factory:jc,token:t,providedIn:"root"}),t})();function jc(){return new Dc(Yt(Ac),Yt(Cc))}function Hc(t){return t.replace(/\/index.html$/,"")}const Uc=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}();class zc{}let Bc=(()=>{class t extends zc{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Wa(e);if(n)return n;const r=e.split("-")[0];if(n=Wa(r),n)return n;if("en"===r)return $a;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Qa.PluralCase]}(e||this.locale)(t)){case Uc.Zero:return"zero";case Uc.One:return"one";case Uc.Two:return"two";case Uc.Few:return"few";case Uc.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(Yt(Il))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Vc(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}let $c=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(po(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>
vendor: 2,620 bytes, line 1
1{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+xt(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(xo(ka),xo(Ta),xo(ca),xo(fa))},t.\u0275dir=we({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class qc{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Wc=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){br()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new qc(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new Qc(t,n);e.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new Qc(t,s);e.push(i)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);
1t.context.index=n,t.context.count=r,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(xo(Fa),xo(La),xo(ka))},t.\u0275dir=we({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Qc{constructor(t,e){this.record=t,this.view=e}}let Gc=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new Yc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Kc("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Kc("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(xo(Fa),xo(La))},t.\u0275dir=we({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class Yc{constructor(){this.$implicit=null,this.ngIf=null}}function Kc(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${xt(e)}'.`)}let Zc=(()=>{class t{}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[{provide:zc,useClass:Bc}]}),t})();function Xc(t){return"browser"===t}function Jc(t){return"server"===t}let tu=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new eu(Yt(bc),window,Yt(ur))}),t})();class eu{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}class nu extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new nu,wc||(wc=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=su||(su=document.querySelector("base"),su)?su.getAttribute("href"):null;
vendor: 29,244 bytes, line 1
1return null==e?null:(n=e,ru||(ru=document.createElement("a")),ru.setAttribute("href",n),"/"===ru.pathname.charAt(0)?ru.pathname:"/"+ru.pathname);var n}resetBaseElement(){su=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Vc(document.cookie,t)}}let ru,su=null;const iu=new Ht("TRANSITION_ID"),ou=[{provide:bl,useFactory:function(t,e,n){return()=>{n.get(Cl).donePromise.then(()=>{const n=xc();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[iu,bc,ro],multi:!0}];class au{static init(){var t;t=new au,nc=t}addToWindow(t){It.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},It.getAllAngularTestabilities=()=>t.getAllTestabilities(),It.getAllAngularRootElements=()=>t.getAllRootElements(),It.frameworkStabilizers||(It.frameworkStabilizers=[]),It.frameworkStabilizers.push(t=>{const e=It.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?xc().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const lu=new Ht("EventManagerPlugins");let cu=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}return t.\u0275fac=function(e){return new(e||t)(Yt(lu),Yt($l))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class uu{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=xc().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let hu=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),du=(()=>{class t extends hu{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>xc().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const fu={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/"},pu=/%COMP%/g;function mu(t,e,n){for(let r=0;r<e.length;r++){let s=e[r];Array.isArray(s)?mu(t,s,n):(s=s.replace(pu,t),n.push(s))}return n}function gu(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let yu=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new vu(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case ue.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new _u(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case ue.Native:case ue.ShadowDom:return new wu(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=mu(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(Yt(cu),Yt(du),Yt(Sl))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class vu{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(fu[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=fu[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=fu[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&da.DashCase?t.style.setProperty(e,n,r&da.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&da.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,gu(n)):this.eventManager.addEventListener(t,e,gu(n))}}class _u extends vu{constructor(t,e,n,r){super(t),this.component=n;const s=mu(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(pu,r+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(pu,t)}(r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class wu extends vu{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===ue.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=mu(r.id,r.styles,[]);for(let i=0;i<s.length;i++){const t=document.createElement("style");t.textContent=s[i],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let xu=(()=>{class t extends uu{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const bu=["alt","control","meta","shift"],Cu={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Su={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ou={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Eu=(()=>{class t extends uu{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),i=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xc().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let i="";if(bu.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Su.hasOwnProperty(e)&&(e=Su[e]))}return Cu[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),bu.forEach(r=>{r!=n&&(0,Ou[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Pu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return Yt(ku)},token:t,providedIn:"root"}),t})(),ku=(()=>{class t extends Pu{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case qr.NONE:return e;case qr.HTML:return vr(e,"HTML")?yr(e):Vr(this._doc,String(e));case qr.STYLE:return vr(e,"Style")?yr(e):function(t){if(!(t=String(t).trim()))return"";const e=t.match(Qr);return e&&Er(e[1])===e[1]||t.match(Wr)&&function(t){let e=!0,n=!0;for(let r=0;r<t.length;r++){const s=t.charAt(r);"'"===s&&n?e=!e:'"'===s&&e&&(n=!n)}return e&&n}(t)?t:(br()&&console.warn(`WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).`),"unsafe")}(e);case qr.SCRIPT:if(vr(e,"Script"))return yr(e);throw new Error("unsafe value used in a script context");case qr.URL:return _r(e),vr(e,"URL")?yr(e):Er(String(e));case qr.RESOURCE_URL:if(vr(e,"ResourceURL"))return yr(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return new dr(t)}bypassSecurityTrustStyle(t){return new fr(t)}bypassSecurityTrustScript(t){return new pr(t)}bypassSecurityTrustUrl(t){return new mr(t)}bypassSecurityTrustResourceUrl(t){return new gr(t)}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc))},t.\u0275prov=ut({factory:function(){return t=Yt(Ut),new ku(t.get(bc));var t},token:t,providedIn:"root"}),t})();const Tu=oc(yc,"browser",[{provide:kl,useValue:"browser"},{provide:Pl,useValue:function(){nu.makeCurrent(),au.init()},multi:!0},{provide:bc,useFactory:function(){return function(t){Ae=t}(document),document},deps:[]}]),Mu=[[],{provide:$i,useValue:"root"},{provide:ur,useFactory:function(){return new ur},deps:[]},{provide:lu,useClass:xu,multi:!0,deps:[bc,$l,kl]},{provide:lu,useClass:Eu,multi:!0,deps:[bc]},[],{provide:yu,useClass:yu,deps:[cu,du,Sl]},{provide:ha,useExisting:yu},{provide:hu,useExisting:du},{provide:du,useClass:du,deps:[bc]},{provide:Xl,useClass:Xl,deps:[$l]},{provide:cu,useClass:cu,deps:[lu,$l]},[]];let Iu=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:Sl,useValue:e.appId},{provide:iu,useExisting:Sl},ou]}}}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)(Yt(t,12))},providers:Mu,imports:[Zc,_c]}),t})();function Au(){return new Lu(Yt(bc))}let Lu=(()=>{class t{constructor(t){this._doc=t,this._dom=xc()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTag(e);if(n&&this._containsAttributes(t,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(t,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(n=>e.setAttribute(n,t[n])),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(n=>e.getAttribute(n)===t[n])}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc))},t.\u0275prov=ut({factory:Au,token:t,providedIn:"root"}),t})();function Ru(){return new Fu(Yt(bc))}let Fu=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc))},t.\u0275prov=ut({factory:Ru,token:t,providedIn:"root"}),t})();function Nu(...t){let e=t[t.length-1];return P(e)?(t.pop(),U(t,e)):W(t)}function Du(t,e){return B(t,e,1)}function ju(t,e){return function(n){return n.lift(new Hu(t,e))}}"undefined"!=typeof window&&window;class Hu{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Uu(t,this.predicate,this.thisArg))}}class Uu extends p{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}class zu{}class Bu{}class Vu{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Vu?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Vu;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Vu?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class $u{encodeKey(t){return qu(t)}encodeValue(t){return qu(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function qu(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Wu{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new $u,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const r=t.indexOf("="),[s,i]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(s)||[];o.push(i),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Wu({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function Qu(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Gu(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Yu(t){return"undefined"!=typeof FormData&&t instanceof FormData}class Ku{constructor(t,e,n,r){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new Vu),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new Wu,this.urlWithParams=e}serializeBody(){return null===this.body?null:Qu(this.body)||Gu(this.body)||Yu(this.body)||"string"==typeof this.body?this.body:this.body instanceof Wu?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Yu(this.body)?null:Gu(this.body)?this.body.type||null:Qu(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Wu?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,r=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,i=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new Ku(e,n,s,{params:l,headers:a,reportProgress:o,responseType:r,withCredentials:i})}}const Zu=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}();class Xu{constructor(t,e=200,n="OK"){this.headers=t.headers||new Vu,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Ju extends Xu{constructor(t={}){super(t),this.type=Zu.ResponseHeader}clone(t={}){return new Ju({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class th extends Xu{constructor(t={}){super(t),this.type=Zu.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new th({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class eh extends Xu{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function nh(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let rh=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof Ku)r=t;else{let s=void 0;s=n.headers instanceof Vu?n.headers:new Vu(n.headers);let i=void 0;n.params&&(i=n.params instanceof Wu?n.params:new Wu({fromObject:n.params})),r=new Ku(t,e,void 0!==n.body?n.body:null,{headers:s,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Nu(r).pipe(Du(t=>this.handler.handle(t)));if(t instanceof Ku||"events"===n.observe)return s;const i=s.pipe(ju(t=>t instanceof th));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return i.pipe(D(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return i.pipe(D(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return i.pipe(D(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return i.pipe(D(t=>t.body))}case"response":return i;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new Wu).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,nh(n,e))}post(t,e,n={}){return this.request("POST",t,nh(n,e))}put(t,e,n={}){return this.request("PUT",t,nh(n,e))}}return t.\u0275fac=function(e){return new(e||t)(Yt(zu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class sh{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const ih=new Ht("HTTP_INTERCEPTORS");let oh=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const ah=/^\)\]\}',?\n/;class lh{}let ch=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),uh=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new w(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const r=t.serializeBody();let s=null;const i=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,r=n.statusText||"OK",i=new Vu(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new Ju({headers:i,status:e,statusText:r,url:o}),s},o=()=>{let{headers:r,status:s,statusText:o,url:a}=i(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(ah,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new th({body:l,headers:r,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new eh({error:l,headers:r,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=i(),s=new eh({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(s)};let l=!1;const c=r=>{l||(e.next(i()),l=!0);let s={type:Zu.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:Zu.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:Zu.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(Yt(lh))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const hh=new Ht("XSRF_COOKIE_NAME"),dh=new Ht("XSRF_HEADER_NAME");class fh{}let ph=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vc(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc),Yt(kl),Yt(hh))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),mh=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(Yt(fh),Yt(dh))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),gh=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(ih,[]);this.chain=t.reduceRight((t,e)=>new sh(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(Yt(Bu),Yt(ro))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),yh=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:mh,useClass:oh}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:hh,useValue:e.cookieName}:[],e.headerName?{provide:dh,useValue:e.headerName}:[]]}}}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[mh,{provide:ih,useExisting:mh,multi:!0},{provide:fh,useClass:ph},{provide:hh,useValue:"XSRF-TOKEN"},{provide:dh,useValue:"X-XSRF-TOKEN"}]}),t})(),vh=(()=>{class t{}return t.\u0275mod=ve({type:t}
1),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[rh,{provide:zu,useClass:gh},uh,{provide:Bu,useExisting:uh},ch,{provide:lh,useExisting:ch}],imports:[[yh.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();class _h extends O{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new b;return this._value}next(t){super.next(this._value=t)}}let wh=1;const xh=(()=>Promise.resolve())(),bh={};function Ch(t){return t in bh&&(delete bh[t],!0)}const Sh={setImmediate(t){const e=wh++;return bh[e]=!0,xh.then(()=>Ch(e)&&t()),e},clearImmediate(t){Ch(t)}};class Oh extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class Eh extends Oh{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,r=void 0;try{this.work(t)}catch(s){n=!0,r=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}
1class Ph extends Eh{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=Sh.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(Sh.clearImmediate(e),t.scheduled=void 0)}}let kh=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class Th extends kh{constructor(t,e=kh.now){super(t,()=>Th.delegate&&Th.delegate!==this?Th.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Th.delegate&&Th.delegate!==this?Th.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}class Mh extends Th{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,r=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++r<s&&(t=e.shift()));if(this.active=!1,n){for(;++r<s&&(t=e.shift());)t.unsubscribe();throw n}}}const Ih=new Mh(Ph),Ah=new Th(Eh);class Lh{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new Rh(t,this.dueTime,this.scheduler))}}class Rh extends p{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Fh,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function Fh(t){t.debouncedNext()}function Nh(t,e){return"function"==typeof e?n=>n.pipe(Nh((n,r)=>z(t(n,r)).pipe(D((t,s)=>e(n,t,r,s))))):e=>e.lift(new Dh(t))}class Dh{constructor(t){this.project=t}call(t,e){return e.subscribe(new jh(t,this.project))}}class jh extends N{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)}_innerSub(t,e,n){const r=this.innerSubscription;r&&r.unsubscribe();const s=new k(this,e,n),i=this.destination;i.add(s),this.innerSubscription=F(this,t,void 0,void 0,s),this.innerSubscription!==s&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,r,s){this.destination.next(e)}}function Hh(t){return e=>e.lift(new Uh(t))}class Uh{constructor(t){this.notifier=t}call(t,e){const n=new zh(t),r=F(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class zh extends N{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,r,s){this.seenValue=!0,this.complete()}notifyComplete(){}}const Bh=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})(),Vh=new w(t=>t.complete());function $h(t){return t?function(t){return new w(e=>t.schedule(()=>e.complete()))}(t):Vh}function qh(t){return e=>0===t?$h():e.lift(new Wh(t))}class Wh{constructor(t){if(this.total=t,this.total<0)throw new Bh}call(t,e){return e.subscribe(new Qh(t,this.total))}}class Qh extends p{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function Gh(){}function Yh(t,e,n){return function(r){return r.lift(new Kh(t,e,n))}}class Kh{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Zh(t,this.nextOrObserver,this.error,this.complete))}}class Zh extends p{constructor(t,e,n,s){super(t),this._tapNext=Gh,this._tapError=Gh,this._tapComplete=Gh,this._tapError=n||Gh,this._tapComplete=s||Gh,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Gh,this._tapError=e.error||Gh,this._tapComplete=e.complete||Gh)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}const Xh={provide:Tl,useFactory:function(t,e){return()=>{if(Xc(e)){const e=Array.from(t.querySelectorAll(`[class*=${Jh}]`)),n=/\bflex-layout-.+?\b/g;e.forEach(t=>{t.classList.contains(Jh+"ssr")&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(n,"")})}}},deps:[bc,kl],multi:!0},Jh="flex-layout-";let td=(()=>{class t{}return t.\u0275mod=ve({type:t}
1),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[Xh]}),t})();class ed{constructor(t=!1,e="all",n="",r="",s=0){this.matches=t,this.mediaQuery=e,this.mqAlias=n,this.suffix=r,this.priority=s,this.property=""}clone(){return new ed(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let nd=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(t,e,n){const r=this.stylesheet.get(t);r?r.set(e,n):this.stylesheet.set(t,new Map([[e,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,e){const n=this.stylesheet.get(t);let r="";if(n){const t=n.get(e);"number"!=typeof t&&"string"!=typeof t||(r=t+"")}return r}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const rd={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},sd=new Ht("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>rd}),id=new Ht("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),od=new Ht("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ad(t,e){return t=t?t.clone():new ed,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const ld=["row","column","row-reverse","column-reverse"];function cd(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let ud=(()=>{class t{constructor(t,e,n,r){this.elementRef=t,this.styleBuilder=e,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new O,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const n=e.split(".").slice(1).join(".");this.setValue(t[e].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,e){const n=this.styleBuilder,r=n.shouldCache;let s=this.styleCache.get(t);s&&r||(s=n.buildStyles(t,e),r&&this.styleCache.set(t,s)),this.mru=Object.assign({},s),this.applyStyleToElement(s),n.sideEffect(t,s,e)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,e=!1){if(t){const[n,r]=this.styler.getFlowDirection(t);if(!r&&e){const e=function(t){let[e,n,r]=function(t){t=t?t.toLowerCase():"";let[e,n,r]=t.split(" ");return ld.find(t=>t===e)||(e=ld[0]),"inline"===n&&(n="inline"!==r?r:"",r="inline"),[e,cd(n),!!r]}(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,r)}(n);this.styler.applyStyleToElements(e,[t])}return n.trim()}return"row"}hasWrap(t){return this.styler.hasWrap(t)}applyStyleToElement(t,e,n=this.nativeElement){this.styler.applyStyleToElement(n,t,e)}setValue(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)}updateWithValue(t){this.currentValue!==t&&(this.addStyles(t),this.currentValue=t)}}return t.\u0275fac=function(t){Co()},t.\u0275dir=we({type:t,features:[ra]}),t})();const hd=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],dd="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",fd="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",pd="(orientation: portrait) and (min-width: 840px)",md="(orientation: landscape) and (min-width: 1280px)",gd={HANDSET:"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)",TABLET:`${dd} , ${fd}`,WEB:`${pd}, ${md} `,HANDSET_PORTRAIT:"(orientation: portrait) and (max-width: 599.9px)",TABLET_PORTRAIT:dd+" ",WEB_PORTRAIT:""+pd,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.9px)",TABLET_LANDSCAPE:""+fd,WEB_LANDSCAPE:""+md},yd=[{alias:"handset",priority:2e3,mediaQuery:gd.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:gd.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:gd.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:gd.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:gd.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:gd.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:gd.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:gd.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:gd.WEB_PORTRAIT,overlapping:!0}],vd=/(\.|-|_)/g;function _d(t){let e=t.length>0?t.charAt(0):"",n=t.length>1?t.slice(1):"";return e.toUpperCase()+n}const wd=new Ht("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=Kt(od),e=Kt(sd),n=[].concat.apply([],(t||[]).map(t=>Array.isArray(t)?t:[t]));return function(t,e=[]){const n={};return t.forEach(t=>{n[t.alias]=t}),e.forEach(t=>{n[t.alias]?function(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}(n[t.alias],t):n[t.alias]=t}),(r=Object.keys(n).map(t=>
1n[t])).forEach(t=>{t.suffix||(t.suffix=t.alias.replace(vd,"|").split("|").map(_d).join(""),t.overlapping=!!t.overlapping)}),r;var r}((e.disableDefaultBps?[]:hd).concat(e.addOrientationBps?yd:[]),n)}});function xd(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function bd(t,e){return(t.priority||0)-(e.priority||0)}let Cd=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(bd)}findByAlias(t){return t?this.findWithPredicate(t,e=>e.alias==t):null}findByQuery(t){return this.findWithPredicate(t,e=>e.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:"")}findWithPredicate(t,e){let n=this.findByMap.get(t);return n||(n=this.items.find(e)||null,this.findByMap.set(t,n)),n||null}}return t.\u0275fac=function(e){return new(e||t)(Yt(wd))},t.\u0275prov=ut({factory:function(){return new t(Yt(wd))},token:t,providedIn:"root"}),t})(),Sd=(()=>{class t{constructor(t,e,n){this._zone=t,this._platformId=e,this._document=n,this.source=new _h(new ed(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((e,n)=>{e.matches&&t.push(n)}),t}isActive(t){const e=this.registry.get(t);return e?e.matches:this.registerQuery(t).some(t=>t.matches)}observe(t,e=!1){if(t&&t.length){const n=this._observable$.pipe(ju(n=>!e||t.indexOf(n.mediaQuery)>-1));return Q(new w(e=>{const n=this.registerQuery(t);if(n.length){const t=n.pop();n.forEach(t=>{e.next(t)}),this.source.next(t)}e.complete()}),n)}return this._observable$}registerQuery(t){const e=Array.isArray(t)?t:[t],n=[];return function(t,e){const n=t.filter(t=>!Od[t]);if(n.length>0){const t=n.join(", ");try{const r=e.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(e.createTextNode(`\n/*\n  @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n  see http://bit.ly/2sd4HMP\n*/\n@media ${t} {.fx-query-test{ }}\n`)),e.head.appendChild(r),n.forEach(t=>Od[t]=r)}catch(r){console.error(r)}}}(e,this._document),e.forEach(t=>{const e=e=>{this._zone.run(()=>this.source.next(new ed(e.matches,t)))};let r=this.registry.get(t);r||(r=this.buildMQL(t),r.addListener(e),this.pendingRemoveListenerFns.push(()=>r.removeListener(e)),this.registry.set(t,r)),r.matches&&n.push(new ed(!0,t))}),n}ngOnDestroy(){let t;for(;t=this.pendingRemoveListenerFns.pop();)t()}buildMQL(t){return function(t,e){return e&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(t,Xc(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(Yt($l),Yt(kl),Yt(bc))},t.\u0275prov=ut({factory:function(){return new t(Yt($l),Yt(kl),Yt(bc))},token:t,providedIn:"root"}),t})();const Od={},Ed={alias:"print",mediaQuery:"print",priority:1e3};let Pd=(()=>{class t{constructor(t,e,n){this.breakpoints=t,this.layoutConfig=e,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new kd,this.deactivations=[]}withPrintQuery(t){return[...t,"print"]}isPrintEvent(t){return t.mediaQuery.startsWith("print")}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const e=this.breakpoints.findByQuery(t);return(e?[...this.printBreakPoints,e]:this.printBreakPoints).sort(xd)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),ad(t,e)}registerBeforeAfterPrintHooks(t){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const e=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new ed(!0,"print"))),t.updateStyles())},n=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())};this._document.defaultView.addEventListener("beforeprint",e),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(e),this.afterPrintEventListeners.push(n)}interceptEvents(t){return this.registerBeforeAfterPrintHooks(t),e=>{this.isPrintEvent(e)?e.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(e)),t.updateStyles()):e.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(t),t.updateStyles()):this.collectActivations(e)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(t.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(xd))}}
1ngOnDestroy(){this.beforePrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("beforeprint",t)),this.afterPrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("afterprint",t))}}return t.\u0275fac=function(e){return new(e||t)(Yt(Cd),Yt(sd),Yt(bc))},t.\u0275prov=ut({factory:function(){return new t(Yt(Cd),Yt(sd),Yt(bc))},token:t,providedIn:"root"}),t})();class kd{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(Ed),t.sort(xd),t.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(e=>e.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith("print")}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}let Td=(()=>{class t{constructor(t,e,n){this.breakpoints=t,this.matchMedia=e,this.hook=n,this.filterOverlaps=!1,this.destroyed$=new O,this._media$=this.watchActivations(),this.media$=this._media$.pipe(ju(t=>t.length>0),D(t=>t[0]))}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}asObservable(){return this._media$}isActive(t){return function(t){return Array.isArray(t)?t:[t]}(t).map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim()).some(t=>{const e=function(t,e){const n=e.findByAlias(t)||e.findByQuery(t);return n?n.mediaQuery:null}(t,this.breakpoints);return null!==e&&this.matchMedia.isActive(e)})}watchActivations(){const t=this.breakpoints.items.map(t=>t.mediaQuery);return this.buildObservable(t)}buildObservable(t){return this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(ju(t=>t.matches),function(t,e=Ah){return n=>n.lift(new Lh(t,e))}(0,Ih),Nh(t=>Nu(this.findAllActivations())),D(t=>this.filterOverlaps?t.filter(t=>{const e=this.breakpoints.findByQuery(t.mediaQuery);return!e||!e.overlapping}):t),ju(t=>t.filter(t=>t.mediaQuery.length>0).length>0),Hh(this.destroyed$))}findAllActivations(){return this.matchMedia.activations.map(t=>new ed(!0,t)).map(t=>this.hook.isPrintEvent(t)?this.hook.updateEvent(t):t).map(t=>ad(t,this.breakpoints.findByQuery(t.mediaQuery))).sort(xd)}}return t.\u0275fac=function(e){return new(e||t)(Yt(Cd),Yt(Sd),Yt(Pd))},t.\u0275prov=ut({factory:function(){return new t(Yt(Cd),Yt(Sd),Yt(Pd))},token:t,providedIn:"root"}),t})();function Md(t){for(let e in t){let n=t[e]||"";switch(e){case"display":t.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":t["-webkit-"+e]=n;break;case"flex-direction":n=n||"row",t["-webkit-flex-direction"]=n,t["flex-direction"]=n;break;case"order":t.order=t["-webkit-"+e]=isNaN(+n)?"0":n}}return t}let Id=(()=>{class t{constructor(t,e,n,r){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=n,this.layoutConfig=r}applyStyleToElement(t,e,n=null){let r={};"string"==typeof e&&(r[e]=n,e=r),r=this.layoutConfig.disableVendorPrefixes?e:Md(e),this._applyMultiValueStyleToElement(r,t)}applyStyleToElements(t,e=[]){const n=this.layoutConfig.disableVendorPrefixes?t:Md(t);e.forEach(t=>{this._applyMultiValueStyleToElement(n,t)})}getFlowDirection(t){let e=this.lookupStyle(t,"flex-direction");return[e||"row",this.lookupInlineStyle(t,"flex-direction")||Jc(this._platformId)&&this._serverModuleLoaded?e:""]}hasWrap(t){return"wrap"===this.lookupStyle(t,"flex-wrap")}lookupAttributeValue(t,e){return t.getAttribute(e)||""}lookupInlineStyle(t,e){return Xc(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,n=!1){let r="";return t&&((r=this.lookupInlineStyle(t,e))||(Xc(this._platformId)?n||(r=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(t,e)))),r?r.trim():""}_applyMultiValueStyleToElement(t,e){Object.keys(t).sort().forEach(n=>{const r=t[n],s=Array.isArray(r)?r:[r];s.sort();for(let t of s)t=t?t+"":"",Xc(this._platformId)||!this._serverModuleLoaded?Xc(this._platformId)?e.style.setProperty(n,t):this._setServerStyle(e,n,t):this._serverStylesheet.addStyleToElement(e,n,t)})}_setServerStyle(t,e,n){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const r=this._readStyleAttribute(t);r[e]=n||"",this._writeStyleAttribute(t,r)}_getServerStyle(t,e){return this._readStyleAttribute(t)[e]||""}_readStyleAttribute(t){const e={},n=t.getAttribute("style");if(n){const t=n.split(/;+/g);for(let n=0;n<t.length;n++){const r=t[n].trim();if(r.length>0){const t=r.indexOf(":");if(-1===t)throw new Error("Invalid CSS style: "+r);e[r.substr(0,t).trim()]=r.substr(t+1).trim()}}}return e}_writeStyleAttribute(t,e){let n="";for(const r in e)e[r]&&(n+=r+":"+e[r]+";");t.setAttribute("style",n)}}return t.\u0275fac=function(e){return new(e||t)(Yt(nd),Yt(id),Yt(kl),Yt(sd))},t.\u0275prov=ut({factory:function(){return new t(Yt(nd),Yt(id),Yt(kl),Yt(sd))},token:t,providedIn:"root"}),t})();class Ad{constructor(){this.shouldCache=!0}sideEffect(t,e,n){}}
1function Ld(t,e="1",n="1"){let r=[e,n,t],s=t.indexOf("calc");if(s>0){r[2]=Rd(t.substring(s).trim());let e=t.substr(0,s).trim().split(" ");2==e.length&&(r[0]=e[0],r[1]=e[1])}else if(0==s)r[2]=Rd(t.trim());else{let s=t.split(" ");r=3===s.length?s:[e,n,t]}return r}function Rd(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let Fd=(()=>{class t{constructor(t,e,n){this.matchMedia=t,this.breakpoints=e,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new O,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(t){const e=this.findByQuery(t.mediaQuery);e&&((t=ad(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(xd),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(xd),this.updateStyles()))}init(t,e,n,r,s=[]){Nd(this.updateMap,t,e,n),Nd(this.clearMap,t,e,r),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,s)}getValue(t,e,n){const r=this.elementMap.get(t);if(r){const t=void 0!==n?r.get(n):this.getActivatedValues(r,e);if(t)return t.get(e)}}hasValue(t,e){const n=this.elementMap.get(t);if(n){const t=this.getActivatedValues(n,e);if(t)return void 0!==t.get(e)||!1}return!1}setValue(t,e,n,r){let s=this.elementMap.get(t);if(s){const i=(s.get(r)||new Map).set(e,n);s.set(r,i),this.elementMap.set(t,s)}else s=(new Map).set(r,(new Map).set(e,n)),this.elementMap.set(t,s);const i=this.getValue(t,e);void 0!==i&&this.updateElement(t,e,i)}trackValue(t,e){return this.subject.asObservable().pipe(ju(n=>n.element===t&&n.key===e))}updateStyles(){this.elementMap.forEach((t,e)=>{const n=new Set(this.elementKeyMap.get(e));let r=this.getActivatedValues(t);r&&r.forEach((t,r)=>{this.updateElement(e,r,t),n.delete(r)}),n.forEach(n=>{if(r=this.getActivatedValues(t,n),r){const t=r.get(n);this.updateElement(e,n,t)}else this.clearElement(e,n)})})}clearElement(t,e){const n=this.clearMap.get(t);if(n){const r=n.get(e);r&&(r(),this.subject.next({element:t,key:e,value:""}))}}updateElement(t,e,n){const r=this.updateMap.get(t);if(r){const s=r.get(e);s&&(s(n),this.subject.next({element:t,key:e,value:n}))}}releaseElement(t){const e=this.watcherMap.get(t);e&&(e.forEach(t=>t.unsubscribe()),this.watcherMap.delete(t));const n=this.elementMap.get(t);n&&(n.forEach((t,e)=>n.delete(e)),this.elementMap.delete(t))}triggerUpdate(t,e){const n=this.elementMap.get(t);if(n){const r=this.getActivatedValues(n,e);r&&(e?this.updateElement(t,e,r.get(e)):r.forEach((e,n)=>this.updateElement(t,n,e)))}}buildElementKeyMap(t,e){let n=this.elementKeyMap.get(t);n||(n=new Set,this.elementKeyMap.set(t,n)),n.add(e)}watchExtraTriggers(t,e,n){if(n&&n.length){let r=this.watcherMap.get(t);if(r||(r=new Map,this.watcherMap.set(t,r)),!r.get(e)){const s=Q(...n).subscribe(()=>{const n=this.getValue(t,e);this.updateElement(t,e,n)});r.set(e,s)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let r=0;r<this.activatedBreakpoints.length;r++){const n=t.get(this.activatedBreakpoints[r].alias);if(n&&(void 0===e||n.has(e)&&null!=n.get(e)))return n}const n=t.get("");return void 0===e||n&&n.has(e)?n:void 0}observeActivations(){const t=this.breakpoints.items.map(t=>t.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(Yh(this.hook.interceptEvents(this)),ju(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(Yt(Sd),Yt(Cd),Yt(Pd))},t.\u0275prov=ut({factory:function(){return new t(Yt(Sd),Yt(Cd),Yt(Pd))},token:t,providedIn:"root"}),t})();function Nd(t,e,n,r){if(void 0!==r){let s=t.get(e);s||(s=new Map,t.set(e,s)),s.set(n,r)}}let Dd=(()=>{class t extends ud{constructor(t,e,n,r,s,i,o){super(t,null,e,n),this.ngClassInstance=o,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new $c(r,s,t,i)),this.init(),this.setValue("","")}set klass(t){this.ngClassInstance.klass=t,this.setValue(t,"")}updateWithValue(t){this.ngClassInstance.ngClass=t,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(xo(ca),xo(Id),xo(Fd),xo(ka),xo(Ta),xo(fa),xo($c,10))},t.\u0275dir=we({type:t,inputs:{klass:["class","klass"]},features:[Zo]}),t})();const jd=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let Hd=(()=>{class t extends Dd{constructor(){super(...arguments),this.inputs=jd}}return t.\u0275fac=function(e){return Ud(e||t)},t.\u0275dir=we({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[Zo]}),t})();const Ud=or(Hd);let zd=(()=>{class t extends Ad{buildStyles(t,e){return{display:"true"===t?e.display||(e.isServer?"initial":""):"none"}}}return t.\u0275fac=function(e){return Bd(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Bd=or(zd);let Vd=(()=>{class t extends ud{constructor(t,e,n,r,s,i,o){super(t,e,n,r),this.layoutConfig=s,this.platformId=i,this.serverModuleLoaded=o,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const t=Array.from(this.nativeElement.children);for(let n=0;n<t.length;n++)if(this.marshal.hasValue(t[n],"flex")){this.hasFlexChild=!0;break}$d.has(this.nativeElement)?this.display=$d.get(this.nativeElement):(this.display=this.getDisplayStyle(),$d.set(this.nativeElement,this.display)),this.init();const e=this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY,"");void 0===e||""===e?this.setValue(!0,""):this.triggerUpdate()}
1ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const r=e.split("."),s=r.slice(1).join("."),i=t[e].currentValue;let o=""===i||0!==i&&null!=(n=i)&&""+n!="false";"fxHide"===r[0]&&(o=!o),this.setValue(o,s)}var n})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(t=>{this.marshal.trackValue(this.nativeElement,t).pipe(Hh(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(t=!0){if(""===t)return;const e=Jc(this.platformId);this.addStyles(t?"true":"false",{display:this.display,isServer:e}),e&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return t.\u0275fac=function(e){return new(e||t)(xo(ca),xo(zd),xo(Id),xo(Fd),xo(sd),xo(kl),xo(id))},t.\u0275dir=we({type:t,features:[Zo,ra]}),t})();const $d=new WeakMap,qd=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];let Wd=(()=>{class t extends Vd{constructor(){super(...arguments),this.inputs=qd}}return t.\u0275fac=function(e){return Qd(e||t)},t.\u0275dir=we({type:t,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[Zo]}),t})();const Qd=or(Wd);let Gd=(()=>{class t{}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[td]]}),t})();const Yd=new Ht("cdk-dir-doc",{providedIn:"root",factory:function(){return Kt(bc)}});let Kd=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new il,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(Yt(Yd,8))},t.\u0275prov=ut({factory:function(){return new t(Yt(Yd,8))},token:t,providedIn:"root"}),t})(),Zd=(()=>{class t{}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})();const Xd=["row","column","row-reverse","column-reverse"];function Jd(t){t=t?t.toLowerCase():"";let[e,n,r]=t.split(" ");return Xd.find(t=>t===e)||(e=Xd[0]),"inline"===n&&(n="inline"!==r?r:"",r="inline"),[e,ef(n),!!r]}function tf(t){let[e]=Jd(t);return e.indexOf("row")>-1}function ef(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let nf=(()=>{class t extends Ad{buildStyles(t){return function(t){let[e,n,r]=Jd(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,r)}(t)}}return t.\u0275fac=function(e){return rf(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const rf=or(nf),sf=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let of=(()=>{class t extends ud{constructor(t,e,n,r){super(t,n,e,r),this.DIRECTIVE_KEY="layout",this.styleCache=cf,this.init()}}return t.\u0275fac=function(e){return new(e||t)(xo(ca),xo(Id),xo(nf),xo(Fd))},t.\u0275dir=we({type:t,features:[Zo]}),t})(),af=(()=>{class t extends of{constructor(){super(...arguments),this.inputs=sf}}return t.\u0275fac=function(e){return lf(e||t)},t.\u0275dir=we({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl"
1:"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[Zo]}),t})();const lf=or(af),cf=new Map,uf={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let hf=(()=>{class t extends Ad{constructor(t){super(),this._styler=t}buildStyles(t,e){return t.endsWith(wf)?function(t,e){const[n,r]=t.split(" "),s=t=>"-"+t;let i="0px",o=s(r||n),a="0px";return"rtl"===e?a=s(n):i=s(n),{margin:`0px ${i} ${o} ${a}`}}(t=t.slice(0,t.indexOf(wf)),e.directionality):{}}sideEffect(t,e,n){const r=n.items;if(t.endsWith(wf)){const e=function(t,e){const[n,r]=t.split(" ");let s="0px",i="0px";return"rtl"===e?i=n:s=n,{padding:`0px ${s} ${r||n} ${i}`}}(t=t.slice(0,t.indexOf(wf)),n.directionality);this._styler.applyStyleToElements(e,n.items)}else{const e=r.pop(),s=function(t,e){const n=xf(e.directionality,e.layout),r=Object.assign({},uf);return r[n]=t,r}(t,n);this._styler.applyStyleToElements(s,r),this._styler.applyStyleToElements(uf,[e])}}}return t.\u0275fac=function(e){return new(e||t)(Yt(Id))},t.\u0275prov=ut({factory:function(){return new t(Yt(Id))},token:t,providedIn:"root"}),t})();const df=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let ff=(()=>{class t extends ud{constructor(t,e,n,r,s,i){super(t,s,r,i),this.zone=e,this.directionality=n,this.styleUtils=r,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new O;const o=[this.directionality.change,this.observerSubject.asObservable()];this.init(o),this.marshal.trackValue(this.nativeElement,"layout").pipe(Hh(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const t=this.nativeElement.children,e=[];for(let n=t.length;n--;)e[n]=t[n];return e}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(t){const e=t.value.split(" ");this.layout=e[0],Xd.find(t=>t===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(t){const e=this.childrenNodes.filter(t=>1===t.nodeType&&this.willDisplay(t)).sort((t,e)=>{const n=+this.styler.lookupStyle(t,"order"),r=+this.styler.lookupStyle(e,"order");return isNaN(n)||isNaN(r)||n===r?0:n>r?1:-1});if(e.length>0){const n=this.directionality.value,r=this.layout;"row"===r&&"rtl"===n?this.styleCache=gf:"row"===r&&"rtl"!==n?this.styleCache=vf:"column"===r&&"rtl"===n?this.styleCache=yf:"column"===r&&"rtl"!==n&&(this.styleCache=_f),this.addStyles(t,{directionality:n,items:e,layout:r})}}clearStyles(){const t=Object.keys(this.mru).length>0,e=t?"padding":xf(this.directionality.value,this.layout);t&&super.clearStyles(),this.styleUtils.applyStyleToElements({[e]:""},this.childrenNodes)}
1willDisplay(t){const e=this.marshal.getValue(t,"show-hide");return!0===e||void 0===e&&"none"!==this.styleUtils.lookupStyle(t,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{"undefined"!=typeof MutationObserver&&(this.observer=new MutationObserver(t=>{t.some(t=>t.addedNodes&&t.addedNodes.length>0||t.removedNodes&&t.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return t.\u0275fac=function(e){return new(e||t)(xo(ca),xo($l),xo(Kd),xo(Id),xo(hf),xo(Fd))},t.\u0275dir=we({type:t,features:[Zo]}),t})(),pf=(()=>{class t extends ff{constructor(){super(...arguments),this.inputs=df}}return t.\u0275fac=function(e){return mf(e||t)},t.\u0275dir=we({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[Zo]}),t})();const mf=or(pf),gf=new Map,yf=new Map,vf=new Map,_f=new Map,wf=" grid";function xf(t,e){switch(e){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return"rtl"===t?"margin-left":"margin-right";case"row-reverse":return"rtl"===t?"margin-right":"margin-left";default:return"rtl"===t?"margin-left":"margin-right"}}function bf(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}let Cf=(()=>{class t extends Ad{constructor(t){super(),this.layoutConfig=t}buildStyles(t,e){let[n,r,...s]=t.split(" "),i=s.join(" ");const o=e.direction.indexOf("column")>-1?"column":"row",a=tf(o)?"max-width":"max-height",l=tf(o)?"min-width":"min-height",c=String(i).indexOf("calc")>-1,u=c||"auto"===i,h=String(i).indexOf("%")>-1&&!c,d=String(i).indexOf("px")>-1||String(i).indexOf("rem")>-1||String(i).indexOf("em")>-1||String(i).indexOf("vw")>-1||String(i).indexOf("vh")>-1;let f=c||d;n="0"==n?0:n,r="0"==r?0:r;const p=!n&&!r;let m={};const g={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(i||""){case"":const t=!1!==this.layoutConfig.useColumnBasisZero;i="row"===o?"0%":t?"0.000000001px":"auto";break;case"initial":case"nogrow":n=0,i="auto";break;case"grow":i="100%";break;case"noshrink":r=0,i="auto";break;case"auto":break;case"none":n=0,r=0,i="auto";break;default:f||h||isNaN(i)||(i+="%"),"0%"===i&&(f=!0),"0px"===i&&(i="0%"),m=bf(g,c?{"flex-grow":n,"flex-shrink":r,"flex-basis":f?i:"100%"}:{flex:`${n} ${r} ${f?i:"100%"}`})}return m.flex||m["flex-grow"]||(m=bf(g,c?{"flex-grow":n,"flex-shrink":r,"flex-basis":i}:{flex:`${n} ${r} ${i}`})),"0%"!==i&&"0px"!==i&&"0.000000001px"!==i&&"auto"!==i&&(m[l]=p||f&&n?i:null,m[a]=p||!u&&r?i:null),m[l]||m[a]?e.hasWrap&&(m[c?"flex-basis":"flex"]=m[a]?c?m[a]:`${n} ${r} ${m[a]}`:c?m[l]:`${n} ${r} ${m[l]}`):m=bf(g,c?{"flex-grow":n,"flex-shrink":r,"flex-basis":i}:{flex:`${n} ${r} ${i}`}),bf(m,{"box-sizing":"border-box"})}}return t.\u0275fac=function(e){return new(e||t)(Yt(sd))},t.\u0275prov=ut({factory:function(){return new t(Yt(sd))},token:t,providedIn:"root"}),t})();const Sf=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let Of=(()=>{class t extends ud{constructor(t,e,n,r,s){super(t,r,e,s),this.layoutConfig=n,this.marshal=s,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(t){this.flexShrink=t||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(t){this.flexGrow=t||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Hh(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Hh(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(t){const e=t.value.split(" ");this.direction=e[0],this.wrap=void 0!==e[1]&&"wrap"===e[1],this.triggerUpdate()}updateWithValue(t){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const e=this.direction,n=e.startsWith("row"),r=this.wrap;n&&r?this.styleCache=Mf:n&&!r?this.styleCache=kf:!n&&r?this.styleCache=If:n||r||(this.styleCache=Tf);const s=Ld(String(t).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(s.join(" "),{direction:e,hasWrap:r})}triggerReflow(){const t=this.activatedValue;if(void 0!==t){const e=Ld(t+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,e.join(" "))}}}return t.\u0275fac=function(e){return new(e||t)(xo(ca),xo(Id),xo(sd),xo(Cf),xo(Fd))},t.\u0275dir=we({type:t,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[Zo]}),t})(),Ef=(()=>{class t extends Of{constructor(){super(...arguments),this.inputs=Sf}}return t.\u0275fac=function(e){return Pf(e||t)},t.\u0275dir=we({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[Zo]}),t})();const Pf=or(Ef),kf=new Map,Tf=new Map,Mf=new Map,If=new Map;let Af=(()=>{class t extends Ad{buildStyles(t,e){""===t&&(t="0");const n=String(t).indexOf("%")>-1;String(t).indexOf("px")>-1||n||isNaN(+t)||(t+="%");const r=e.isRtl?"margin-right":"margin-left";return tf(e.layout)?{[r]:""+t}:{"margin-top":""+t}}}return t.\u0275fac=function(e){return Lf(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Lf=or(Af),Rf=["fxFlexOffset","fxFlexOffset.xs","fxFlexOffset.sm","fxFlexOffset.md","fxFlexOffset.lg","fxFlexOffset.xl","fxFlexOffset.lt-sm","fxFlexOffset.lt-md","fxFlexOffset.lt-lg","fxFlexOffset.lt-xl","fxFlexOffset.gt-xs","fxFlexOffset.gt-sm","fxFlexOffset.gt-md","fxFlexOffset.gt-lg"];let Ff=(()=>{class t extends ud{constructor(t,e,n,r,s){super(t,n,s,r),this.directionality=e,this.DIRECTIVE_KEY="flex-offset",this.init([this.directionality.change]),this.parentElement&&this.marshal.trackValue(this.parentElement,"layout-gap").pipe(Hh(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))}updateWithValue(t=""){const e=this.getFlexFlowDirection(this.parentElement,!0),n="rtl"===this.directionality.value;"row"===e&&n?this.styleCache=jf:"row"!==e||n?"column"===e&&n?this.styleCache=Hf:"
1column"!==e||n||(this.styleCache=zf):this.styleCache=Uf,this.addStyles(t+"",{layout:e,isRtl:n})}}return t.\u0275fac=function(e){return new(e||t)(xo(ca),xo(Kd),xo(Af),xo(Fd),xo(Id))},t.\u0275dir=we({type:t,features:[Zo]}),t})(),Nf=(()=>{class t extends Ff{constructor(){super(...arguments),this.inputs=Rf}}return t.\u0275fac=function(e){return Df(e||t)},t.\u0275dir=we({type:t,selectors:[["","fxFlexOffset",""],["","fxFlexOffset.xs",""],["","fxFlexOffset.sm",""],["","fxFlexOffset.md",""],["","fxFlexOffset.lg",""],["","fxFlexOffset.xl",""],["","fxFlexOffset.lt-sm",""],["","fxFlexOffset.lt-md",""],["","fxFlexOffset.lt-lg",""],["","fxFlexOffset.lt-xl",""],["","fxFlexOffset.gt-xs",""],["","fxFlexOffset.gt-sm",""],["","fxFlexOffset.gt-md",""],["","fxFlexOffset.gt-lg",""]],inputs:{fxFlexOffset:"fxFlexOffset","fxFlexOffset.xs":"fxFlexOffset.xs","fxFlexOffset.sm":"fxFlexOffset.sm","fxFlexOffset.md":"fxFlexOffset.md","fxFlexOffset.lg":"fxFlexOffset.lg","fxFlexOffset.xl":"fxFlexOffset.xl","fxFlexOffset.lt-sm":"fxFlexOffset.lt-sm","fxFlexOffset.lt-md":"fxFlexOffset.lt-md","fxFlexOffset.lt-lg":"fxFlexOffset.lt-lg","fxFlexOffset.lt-xl":"fxFlexOffset.lt-xl","fxFlexOffset.gt-xs":"fxFlexOffset.gt-xs","fxFlexOffset.gt-sm":"fxFlexOffset.gt-sm","fxFlexOffset.gt-md":"fxFlexOffset.gt-md","fxFlexOffset.gt-lg":"fxFlexOffset.gt-lg"},features:[Zo]}),t})();const Df=or(Nf),jf=new Map,Hf=new Map,Uf=new Map,zf=new Map;let Bf=(()=>{class t extends Ad{buildStyles(t,e){const n={},[r,s]=t.split(" ");switch(r){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(s){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return bf(n,{display:e.inline?"inline-flex":"flex","flex-direction":e.layout,"box-sizing":"border-box","max-width":"stretch"===s?tf(e.layout)?null:"100%":null,"max-height":"stretch"===s&&tf(e.layout)?"100%":null})}}return t.\u0275fac=function(e){return Vf(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Vf=or(Bf),$f=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let qf=(()=>{class t extends ud{constructor(t,e,n,r){super(t,n,e,r),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(Hh(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(t){const e=this.layout||"row",n=this.inline;"row"===e&&n?this.styleCache=Xf:"row"!==e||n?"row-reverse"===e&&n?this.styleCache=tp:"row-reverse"!==e||n?"column"===e&&n?this.styleCache=Jf:"column"!==e||n?"column-reverse"===e&&n?this.styleCache=ep:"column-reverse"!==e||n||(this.styleCache=Zf):this.styleCache=Yf:this.styleCache=Kf:this.styleCache=Gf,this.addStyles(t,{layout:e,inline:n})}onLayoutChange(t){const e=t.value.split(" ");this.layout=e[0],this.inline=t.value.includes("inline"),Xd.find(t=>t===this.layout)||(this.layout="row"),this.triggerUpdate()}}return t.\u0275fac=function(e){return new(e||t)(xo(ca),xo(Id),xo(Bf),xo(Fd))},t.\u0275dir=we({type:t,features:[Zo]}),t})(),Wf=(()=>{class t extends qf{constructor(){super(...arguments),this.inputs=$f}}return t.\u0275fac=function(e){return Qf(e||t)},t.\u0275dir=we({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm"
1:"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[Zo]}),t})();const Qf=or(Wf),Gf=new Map,Yf=new Map,Kf=new Map,Zf=new Map,Xf=new Map,Jf=new Map,tp=new Map,ep=new Map;let np=(()=>{class t{}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[td,Zd]]}),t})(),rp=(()=>{class t{}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[td]]}),t})(),sp=(()=>{class t{constructor(t,e){Jc(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,n=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:sd,useValue:Object.assign(Object.assign({},rd),e)},{provide:od,useValue:n,multi:!0},{provide:id,useValue:!0}]:[{provide:sd,useValue:Object.assign(Object.assign({},rd),e)},{provide:od,useValue:n,multi:!0}]}}}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)(Yt(id),Yt(kl))},imports:[[np,Gd,rp],np,Gd,rp]}),t})();class ip{}function op(t,e){return{type:7,name:t,definitions:e,options:{}}}function ap(t,e=null){return{type:4,styles:e,timings:t}}function lp(t,e=null){return{type:2,steps:t,options:e}}function cp(t){return{type:6,styles:t,offset:null}}function up(t,e,n){return{type:0,name:t,styles:e,options:n}}function hp(t){return{type:5,steps:t}}function dp(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function fp(t){Promise.resolve(null).then(t)}class pp{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){fp(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class mp{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const s=this.players.length;0==s?fp(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;
1this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function gp(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function yp(t){switch(t.length){case 0:return new pp;case 1:return t[0];default:return new mp(t)}}function vp(t,e,n,r,s={},i={}){const o=[],a=[];let l=-1,c=null;if(r.forEach(t=>{const n=t.offset,r=n==l,u=r&&c||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,o),a){case"!":a=s[n];break;case"*":a=i[n];break;default:a=e.normalizeStyleValue(n,r,a,o)}u[r]=a}),r||a.push(u),c=u,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function _p(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&wp(n,"start",t)));break;case"done":t.onDone(()=>r(n&&wp(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&wp(n,"destroy",t)))}}function wp(t,e,n){const r=n.totalTime,s=xp(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),i=t._data;return null!=i&&(s._data=i),s}function xp(t,e,n,r,s="",i=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:s,totalTime:i,disabled:!!o}}function bp(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function Cp(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let Sp=(t,e)=>!1,Op=(t,e)=>!1,Ep=(t,e,n)=>[];const Pp=gp();(Pp||"undefined"!=typeof Element)&&(Sp=(t,e)=>t.contains(e),Op=(()=>{if(Pp||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):Op}})(),Ep=(t,e,n)=>{let r=[];if(n)r.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&r.push(n)}return r});let kp=null,Tp=!1;function Mp(t){kp||(kp=("undefined"!=typeof document?document.body:null)||{},Tp=!!kp.style&&"WebkitAppearance"in kp.style);let e=!0;return kp.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in kp.style,!e&&Tp)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in kp.style),e}const Ip=Op,Ap=Sp,Lp=Ep;function Rp(t){const e={};return Object.keys(t).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let Fp=(()=>{class t{validateStyleProperty(t){return Mp(t)}matchesElement(t,e){return Ip(t,e)}containsElement(t,e){return Ap(t,e)}query(t,e,n){return Lp(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,s,i=[],o){return new pp(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Np=(()=>{class t{}return t.NOOP=new Fp,t})();function Dp(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:jp(parseFloat(e[1]),e[2])}function jp(t,e){switch(e){case"s":return 1e3*t;default:return t}}function Hp(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,s=0,i="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};r=jp(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=jp(parseFloat(o),n[4]));const a=n[5];a&&(i=a)}else r=t;if(!n){let n=!1,i=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(i,0,`The provided timing value "${t}" is invalid.`)}return{duration:r,delay:s,easing:i}}(t,e,n)}function Up(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function zp(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else Up(t,n);return n}function Bp(t,e,n){return n?e+":"+n+";":""}function Vp(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=Bp(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=Bp(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function $p(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const s=Xp(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[s]),t.style[s]=e[r]}),gp()&&Vp(t))}
1function qp(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=Xp(e);t.style[n]=""}),gp()&&Vp(t))}function Wp(t){return Array.isArray(t)?1==t.length?t[0]:lp(t):t}const Qp=new RegExp("{{\\s*(.+?)\\s*}}","g");function Gp(t){let e=[];if("string"==typeof t){let n;for(;n=Qp.exec(t);)e.push(n[1]);Qp.lastIndex=0}return e}function Yp(t,e,n){const r=t.toString(),s=r.replace(Qp,(t,r)=>{let s=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),s=""),s.toString()});return s==r?t:s}function Kp(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Zp=/-+([a-z0-9])/g;function Xp(t){return t.replace(Zp,(...t)=>t[1].toUpperCase())}function Jp(t,e){return 0===t||0===e}function tm(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let i=e[0],o=[];if(r.forEach(t=>{i.hasOwnProperty(t)||o.push(t),i[t]=n[t]}),o.length)for(var s=1;s<e.length;s++){let n=e[s];o.forEach((function(e){n[e]=nm(t,e)}))}}return e}function em(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function nm(t,e){return window.getComputedStyle(t)[e]}function rm(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=r[1],i=r[2],o=r[3];e.push(om(s,o)),"<"!=i[0]||"*"==s&&"*"==o||e.push(om(o,s))}(t,n,e)):n.push(t),n}const sm=new Set(["true","1"]),im=new Set(["false","0"]);function om(t,e){const n=sm.has(t)||im.has(t),r=sm.has(e)||im.has(e);return(s,i)=>{let o="*"==t||t==s,a="*"==e||e==i;return!o&&n&&"boolean"==typeof s&&(o=s?sm.has(t):im.has(t)),!a&&r&&"boolean"==typeof i&&(a=i?sm.has(e):im.has(e)),o&&a}}const am=new RegExp("s*:selfs*,?","g");function lm(t,e,n){return new cm(t).build(e,n)}class cm{constructor(t){this._driver=t}build(t,e){const n=new um(e);return this._resetContextStyleTimingState(n),em(this,Wp(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const s=[],i=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,r+=s.depCount,i.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:i,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,i=r||{};if(n.styles.forEach(t=>{if(hm(t)){const e=t;Object.keys(e).forEach(t=>{Gp(e[t]).forEach(t=>{i.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=Kp(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=em(this,Wp(t.animation),e);return{type:1,matchers:rm(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:dm(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>em(this,t,e)),options:dm(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const s=t.steps.map(t=>{e.currentTime=n;const s=em(this,t,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:s,options:dm(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return fm(Hp(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=fm(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||Hp(r,e),fm(n.duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let s=t.styles?t.styles:cp({});if(5==s.type)r=this.visitKeyframes(s,e);else{let s=t.styles,i=!1;if(!s){i=!0;const t={};n.easing&&(t.easing=n.easing),s=cp(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(s,e);o.isEmptyStep=i,r=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);
1return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?"*"==t?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,s=null;return n.forEach(t=>{if(hm(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],o=i[n];let a=!0;o&&(s!=r&&s>=o.startTime&&r<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${r}ms"`),a=!1),s=o.startTime),a&&(i[n]={startTime:s,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},s=Gp(t);s.length&&s.forEach(t=>{r.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const s=[];let i=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(hm(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(hm(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,i=i||c<a,a=c,s.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),i&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(c-1));const h=c-1,d=e.currentTime,f=e.currentAnimateTimings,p=f.duration;return l.forEach((t,r)=>{const i=u>0?r==h?1:u*r:s[r],o=i*p;e.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(t,e),t.offset=i,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:em(this,Wp(t.animation),e),options:dm(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:dm(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:dm(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[s,i]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(am,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,bp(e.collectedStyles,e.currentQuerySelector,{});const o=em(this,Wp(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:o,originalSelector:t.selector,options:dm(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:Hp(t.timings,e.errors,!0);return{type:12,animation:em(this,Wp(t.animation),e),timings:n,options:null}}}class um{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function hm(t){return!Array.isArray(t)&&"object"==typeof t}function dm(t){var e;return t?(t=Up(t)).params&&(t.params=(e=t.params)?Up(e):null):t={},t}function fm(t,e,n){return{duration:t,delay:e,easing:n}}function pm(t,e,n,r,s,i,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:s,delay:i,totalTime:s+i,easing:o,subTimeline:a}}class mm{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const gm=new RegExp(":enter","g"),ym=new RegExp(":leave","g");function vm(t,e,n,r,s,i={},o={},a,l,c=[]){return(new _m).buildKeyframes(t,e,n,r,s,i,o,a,l,c)}class _m{buildKeyframes(t,e,n,r,s,i,o,a,l,c=[]){l=l||new mm;const u=new xm(t,e,l,r,s,c,[]);u.options=a,u.currentTimeline.setStyles([i],null,u.errors,a),em(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[pm(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}
vendor: 4,129 bytes, line 1
1visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),s=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);s!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let r=e.currentTimeline.currentTime;const s=null!=n.duration?Dp(n.duration):null,i=null!=n.delay?Dp(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,i);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),em(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const s=t.options;if(s&&(s.params||s.delay)&&(r=e.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=wm);const t=Dp(s.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>em(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?Dp(t.options.delay):0;t.steps.forEach(i=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),em(this,i,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return Hp(e.params?Yp(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,s=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(t=>{i.forwardTime((t.offset||0)*s),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(r+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},s=r.delay?Dp(r.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=wm);let i=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),em(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,s=t.timings,i=Math.abs(s.duration),o=i*(e.currentQueryTotal-1);let a=i*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;em(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const wm={};class xm{constructor(t,e,n,r,s,i,o,a){this._driver=t,this.element=e,this.subInstru
1ctions=n,this._enterClassName=r,this._leaveClassName=s,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new bm(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=Dp(n.duration)),null!=n.delay&&(r.delay=Dp(n.delay));const s=n.params;if(s){let t=r.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=Yp(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,s=new xm(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=wm,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new Cm(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,s,i){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(gm,"."+this._enterClassName)).replace(ym,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return s||0!=o.length||i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class bm{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new bm(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEac
1h(t=>{this._backFill[t]=this._globalTimelineStyles[t]||"*",this._currentKeyframe[t]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},i=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]="*"})):zp(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(i).forEach(t=>{const e=Yp(i[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:"*"),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,i)=>{const o=zp(s,!0);Object.keys(o).forEach(n=>{const r=o[n];"!"==r?t.add(n):"*"==r&&e.add(n)}),n||(o.offset=i/this.duration),r.push(o)});const s=t.size?Kp(t.values()):[],i=e.size?Kp(e.values()):[];if(n){const t=r[0],e=Up(t);t.offset=0,e.offset=1,r=[t,e]}return pm(this.element,r,s,i,this.duration,this.startTime,this.easing,!1)}}class Cm extends bm{constructor(t,e,n,r,s,i,o=!1){super(t,e,i.delay),this.element=e,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],i=n+e,o=e/i,a=zp(t[0],!1);a.offset=0,s.push(a);const l=zp(t[0],!1);l.offset=Sm(o),s.push(l);const c=t.length-1;for(let r=1;r<=c;r++){let o=zp(t[r],!1);o.offset=Sm((e+o.offset*n)/i),s.push(o)}n=i,e=0,r="",t=s}return pm(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function Sm(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Om{}class Em extends Om{normalizePropertyName(t,e){return Xp(t)}normalizeStyleValue(t,e,n,r){let s="";const i=n.toString().trim();if(Pm[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return i+s}}const Pm=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function km(t,e,n,r,s,i,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Tm={};class Mm{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,s){return t.some(t=>t(e,n,r,s))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],s=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return s?s.buildStyles(e,n):i}build(t,e,n,r,s,i,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Tm,d=this.buildStyles(n,o&&o.params||Tm,u),f=a&&a.params||Tm,p=this.buildStyles(r,f,u),m=new Set,g=new Map,y=new Map,v="void"===r,_={params:Object.assign(Object.assign({},h),f)},w=c?[]:vm(t,e,this.ast.animation,s,i,d,p,_,l,u);let x=0;if(w.forEach(t=>{x=Math.max(t.duration+t.delay,x)}),u.length)return km(e,this._triggerName,n,r,v,d,p,[],[],g,y,x,u);
1w.forEach(t=>{const n=t.element,r=bp(g,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const s=bp(y,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&m.add(n)});const b=Kp(m.values());return km(e,this._triggerName,n,r,v,d,p,w,b,g,y,x)}}class Im{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},r=Up(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let i=s[t];i.length>1&&(i=Yp(i,r,e)),n[t]=i})}}),n}}class Am{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Im(t.style,t.options&&t.options.params||{})}),Lm(this.states,"true","1"),Lm(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Mm(t,e,this.states))}),this.fallbackTransition=new Mm(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(s=>s.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Lm(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Rm=new mm;class Fm{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=lm(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r}_buildPlayer(t,e,n){const r=t.element,s=vp(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],s=this._animations[t];let i;const o=new Map;if(s?(i=vm(this._driver,e,s,"ng-enter","ng-leave",{},{},n,Rm,r),i.forEach(t=>{const e=bp(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),i=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,"*")})});const a=yp(i.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,r){const s=xp(e,"","","");return _p(this._getPlayer(t),n,s,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const Nm=[],Dm={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},jm={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Hm{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=Up(t);delete e.value,this.options=e}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Um=new Hm("void");class zm{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+t,Gm(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const i=bp(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};i.push(o);const a=bp(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Gm(t,"ng-trigger"),Gm(t,"ng-trigger-"+e),a[e]=Um),()=>{this._engine.afterFlush(()=>{const t=i.indexOf(o);t>=0&&i.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,r=!0){const s=this._getTrigger(e),i=new Vm(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Gm(t,"ng-trigger"),Gm(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Hm(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=Um),"void"!==l.value&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let s=0;s<n.length;s++){const r=n[s];if(!e.hasOwnProperty(r)||t[r]!==e[r])return!1}return!0}(a.params,l.params)){const e=[],n=s.matchStyles(a.value,a.params,e),r=s.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{qp(t,n),$p(t,r)})}return}const c=bp(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!r)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:i,isFallbackTransition:h}),h||(Gm(t,"ng-animate-queued"),i.onStart(()=>{Ym(t,"ng-animate-queued")})),i.onDone(()=>{let e=this.players.indexOf(i);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(i);t>=0&&n.splice(t,1)}}),this.players.push(i),c.push(i),i}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,r){const s=this._engine.statesByElement.get(t);if(s){const i=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",r);n&&i.push(n)}}),i.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&yp(i).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const r=e.name;if(n.has(r))return;n.add(r);const s=this._triggers[r].fallbackTransition,i=this._engine.statesByElement.get(t)[r]||Um,o=new Hm("void"),a=new Vm(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:s,fromState:i,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t.__ng_removed;r&&r!==Dm||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Gm(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const s=n.element,i=this._elementListeners.get(s);
1i&&i.forEach(e=>{if(e.name==n.triggerName){const r=xp(s,n.triggerName,n.fromState.value,n.toState.value);r._data=t,_p(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Bm{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new zm(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let r=0;r<t.length;r++){const s=n[t[r]].namespaceId;if(s){const t=this._fetchNamespace(s);t&&e.add(t)}}}return e}trigger(t,e,n,r){if($m(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!$m(e))return;const s=e.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Gm(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ym(t,"ng-animate-disabled"))}removeNode(t,e,n,r){if($m(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,s){return $m(e)?this._fetchNamespace(t).listen(e,n,r,s):()=>{}}_buildInstruction(t,e,n,r,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return yp(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Dm,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEac
1h(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Gm(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?yp(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new mm,r=[],s=new Map,i=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)c.add(e[n])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=Qm(h,this.collectedEnterElements),f=new Map;let p=0;d.forEach((t,e)=>{const n="ng-enter"+p++;f.set(e,n),t.forEach(t=>Gm(t,n))});const m=[],g=new Set,y=new Set;for(let M=0;M<this.collectedLeaveElements.length;M++){const t=this.collectedLeaveElements[M],e=t.__ng_removed;e&&e.setForRemoval&&(m.push(t),g.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>g.add(t)):y.add(t))}const v=new Map,_=Qm(h,Array.from(g));_.forEach((t,e)=>{const n="ng-leave"+p++;v.set(e,n),t.forEach(t=>Gm(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=f.get(e);t.forEach(t=>Ym(t,n))}),_.forEach((t,e)=>{const n=v.get(e);t.forEach(t=>Ym(t,n))}),m.forEach(t=>{this.processLeaveNode(t)})});const w=[],x=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(w.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,s),h=v.get(s),d=f.get(s),p=this._buildInstruction(t,n,d,h,c);if(p.errors&&p.errors.length)x.push(p);else{if(c)return e.onStart(()=>qp(s,p.fromStyles)),e.onDestroy(()=>$p(s,p.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>qp(s,p.fromStyles)),e.onDestroy(()=>$p(s,p.toStyles)),void r.push(e);p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,p.timelines),i.push({instruction:p,player:e,element:s}),p.queriedElements.forEach(t=>bp(o,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),p.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=l.get(e);r||l.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(x.length){const t=[];x.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}
1),w.forEach(t=>t.destroy()),this.reportError(t)}const b=new Map,C=new Map;i.forEach(t=>{const e=t.element;n.has(e)&&(C.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,b))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{bp(b,e,[]).push(t),t.destroy()})});const S=m.filter(t=>Zm(t,a,l)),O=new Map;Wm(O,this.driver,y,l,"*").forEach(t=>{Zm(t,a,l)&&S.push(t)});const E=new Map;d.forEach((t,e)=>{Wm(E,this.driver,new Set(t),a,"!")}),S.forEach(t=>{const e=O.get(t),n=E.get(t);O.set(t,Object.assign(Object.assign({},e),n))});const P=[],k=[],T={};i.forEach(t=>{const{element:e,player:i,instruction:o}=t;if(n.has(e)){if(c.has(e))return i.onDestroy(()=>$p(e,o.toStyles)),i.disabled=!0,i.overrideTotalTime(o.totalTime),void r.push(i);let t=T;if(C.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=C.get(n);if(e){t=e;break}r.push(n)}r.forEach(e=>C.set(e,t))}const n=this._buildAnimation(i.namespaceId,o,b,s,E,O);if(i.setRealPlayer(n),t===T)P.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=yp(e)),r.push(i)}}else qp(e,o.fromStyles),i.onDestroy(()=>$p(e,o.toStyles)),k.push(i),c.has(e)&&r.push(i)}),k.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=yp(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let M=0;M<m.length;M++){const t=m[M],e=t.__ng_removed;if(Ym(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(o.size){let e=o.get(t);e&&e.length&&n.push(...e);let r=this.driver.query(t,".ng-animating",!0);for(let t=0;t<r.length;t++){let e=o.get(r[t]);e&&e.length&&n.push(...e)}}const r=n.filter(t=>!t.destroyed);r.length?Km(this,t,r):this.processLeaveNode(t)}return m.length=0,P.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),P}elementContainsData(t,e){let n=!1;const r=e.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,s){let i=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(i=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==r)&&i.push(e)})}}return(n||r)&&(i=i.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),i}_beforeAnimationBuild(t,e,n){const r=e.element,s=e.isRemovalTransition?void 0:t,i=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==r,l=bp(n,t,[]);this._getPreviousPlayers(t,a,s,i,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}qp(r,e.fromStyles)}_buildAnimation(t,e,n,r,s,i){const o=e.triggerName,a=e.element,l=[],c=new Set,u=new Set,h=e.timelines.map(e=>{const h=e.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new pp(e.duration,e.delay);const f=h!==a,p=function(t){const e=[];return function t(e,n){for(let r=0;r<e.length;r++){const s=e[r];s instanceof mp?t(s.players,n):n.push(s)}}(t,e),e}((n.get(h)||Nm).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),m=s.get(h),g=i.get(h),y=vp(0,this._normalizer,0,e.keyframes,m,g),v=this._buildPlayer(e,y,p);if(e.subTimeline&&r&&u.add(h),f){const e=new Vm(t,o,h);e.setRealPlayer(v),l.push(e)}return v});l.forEach(t=>{bp(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>Gm(t,"ng-animating"));const d=yp(h);return d.onDestroy(()=>{c.forEach(t=>Ym(t,"ng-animating")),$p(a,e.toStyles)}),u.forEach(t=>{bp(r,t,[]).push(d)}),d}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new pp(t.duration,t.delay)}}class Vm{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new pp,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEac
1h(e=>{this._queuedCallbacks[e].forEach(n=>_p(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){bp(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function $m(t){return t&&1===t.nodeType}function qm(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Wm(t,e,n,r,s){const i=[];n.forEach(t=>i.push(qm(t)));const o=[];r.forEach((n,r)=>{const i={};n.forEach(t=>{const n=i[t]=e.computeStyle(r,t,s);n&&0!=n.length||(r.__ng_removed=jm,o.push(r))}),t.set(r,i)});let a=0;return n.forEach(t=>qm(t,i[a++])),o}function Qm(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),s=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let i=s.get(e);if(i)return i;const o=e.parentNode;return i=n.has(o)?o:r.has(o)?1:t(o),s.set(e,i),i}(t);1!==e&&n.get(e).push(t)}),n}function Gm(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Ym(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Km(t,e,n){yp(n).onDone(()=>t.processLeaveNode(e))}function Zm(t,e,n){const r=n.get(t);if(!r)return!1;let s=e.get(t);return s?r.forEach(t=>s.add(t)):e.set(t,r),n.delete(t),!0}class Xm{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Bm(t,e,n),this._timelineEngine=new Fm(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,s){const i=t+"-"+r;let o=this._triggerCache[i];if(!o){const t=[],e=lm(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Am(t,e)}(r,e),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,s]=Cp(n);this._timelineEngine.command(t,e,s,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,s){if("@"==n.charAt(0)){const[t,r]=Cp(n);return this._timelineEngine.listen(t,e,r,s)}return this._transitionEngine.listen(t,e,n,r,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Jm(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=eg(e[0]),e.length>1&&(r=eg(e[e.length-1]))):e&&(n=eg(e)),n||r?new tg(t,n,r):null}let tg=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&$p(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($p(this._element,this._initialStyles),this._endStyles&&($p(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(qp(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qp(this._element,this._endStyles),this._endStyles=null),$p(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function eg(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const s=n[r];ng(s)&&(e=e||{},e[s]=t[s])}return e}function ng(t){return"display"===t||"position"===t}class rg{constructor(t,e,n,r,s,i,o){this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=s,this._fillMode=i,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=cg(t,"").trim();n.length&&(function(t,e){let n=0;for(let r=0;r<t.length;r++)","===t.charAt(r)&&n++}(n),e=`${n}, ${e}`),lg(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),ag(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){sg(this._element,this._name,"paused")}resume(){sg(this._element,this._name,"running")}setPosition(t){const e=ig(this._element,this._name);this._position=t*this._duration,lg(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),ag(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=cg(t,"").split(","),r=og(n,e);r>=0&&(n.splice(r,1),lg(t,"",n.join(",")))}(this._element,this._name))}}function sg(t,e,n){lg(t,"PlayState",n,ig(t,e))}function ig(t,e){const n=cg(t,"");return n.indexOf(",")>0?og(n.split(","),e):og([n],e)}function og(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function ag(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function lg(t,e,n,r){const s="animation"+e;if(null!=r){const e=t.style[s];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[s]=n}function cg(t,e){return t.style["animation"+e]}class ug{constructor(t,e,n,r,s,i,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={}
1,this._state=0,this.easing=i||"linear",this.totalTime=r+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new rg(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:nm(this.element,n))})}this.currentSnapshot=t}}class hg extends pp{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=Rp(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class dg{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return Mp(t)}matchesElement(t,e){return Ip(t,e)}containsElement(t,e){return Ap(t,e)}query(t,e,n){return Lp(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>Rp(t));let r=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);r+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${s}animation-timing-function: ${n};\n`));default:return void(r+=`${s}${e}: ${n};\n`)}}),r+=s+"}\n"}),r+="}\n";const i=document.createElement("style");return i.innerHTML=r,i}animate(t,e,n,r,s,i=[],o){o&&this._notifyFaultyScrubber();const a=i.filter(t=>t instanceof ug),l={};Jp(n,r)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=tm(t,e,l));if(0==n)return new hg(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const d=Jm(t,e),f=new ug(t,e,u,n,r,s,c,d);return f.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),f}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class fg{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};
1this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:nm(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class pg{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(mg().toString()),this._cssKeyframesDriver=new dg}validateStyleProperty(t){return Mp(t)}matchesElement(t,e){return Ip(t,e)}containsElement(t,e){return Ap(t,e)}query(t,e,n){return Lp(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,s,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,s,i);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};s&&(a.easing=s);const l={},c=i.filter(t=>t instanceof fg);Jp(n,r)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=Jm(t,e=tm(t,e=e.map(t=>zp(t,!1)),l));return new fg(t,e,a,u)}}function mg(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let gg=(()=>{class t extends ip{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:ue.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?lp(t):t;return _g(this._renderer,null,e,"register",[n]),new yg(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(Yt(ha),Yt(bc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class yg extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new vg(this._id,t,e||{},this._renderer)}}class vg{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return _g(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function _g(t,e,n,r,s){return t.setProperty(e,`@@${n}:${r}`,s)}let wg=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new xg("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const i=e=>{Array.isArray(e)?e.forEach(i):this.engine.registerTrigger(r,s,t,e.name,e)};return e.data.animation.forEach(i),new bg(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(Yt(ha),Yt(Xm),Yt($l))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class xg{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}
1appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class bg extends xg{constructor(t,e,n,r){super(e,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),i="";return"@"!=s.charAt(0)&&([s,i]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,r,s,i,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let Cg=(()=>{class t extends Xm{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc),Yt(Np),Yt(Om))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Sg=[{provide:Np,useFactory:function(){return"function"==typeof mg()?new pg:new dg}},{provide:new Ht("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:ip,useClass:gg},{provide:Om,useFactory:function(){return new Em}},{provide:Xm,useClass:Cg},{provide:ha,useFactory:function(t,e,n){return new wg(t,e,n)},deps:[yu,Xm,$l]}];let Og=(()=>{class t{}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:Sg,imports:[Iu]}),t})();const Eg=["ngx-masonry",""],Pg=["*"];let kg,Tg,Mg=(()=>{let t=class{constructor(t,e){this.platformId=t,this._element=e,this.useImagesLoaded=!1,this.updateLayout=!1,this.layoutComplete=new il,this.removeComplete=new il}ngOnInit(){this.useImagesLoaded&&void 0===kg&&(kg=n("vX6Q")),Xc(this.platformId)&&void 0===Tg&&(Tg=n("hNNL")),this.options||(this.options={}),this.options.itemSelector||(this.options.itemSelector="[ngxMasonryItem], ngxMasonryItem"),Xc(this.platformId)&&(this._msnry=new Tg(this._element.nativeElement,this.options),this._msnry.on("layoutComplete",t=>{this.layoutComplete.emit(t)}),this._msnry.on("removeComplete",t=>{this.removeComplete.emit(t)}))}ngOnChanges(t){t.updateLayout&&(t.updateLayout.firstChange||this.layout())}ngOnDestroy(){this._msnry&&this._msnry.destroy()}layout(){setTimeout(()=>{this._msnry.layout()})}reloadItems(){setTimeout(()=>{this._msnry.reloadItems()})}add(t){let e=!1;0===this._msnry.items.length&&(e=!0),this.useImagesLoaded?(kg(t,n=>{this._element.nativeElement.appendChild(t),this._msnry.appended(t),e&&this.layout()}),this._element.nativeElement.removeChild(t)):(this._msnry.appended(t),e&&this.layout())}remove(t){this._msnry.remove(t),this.layout()}};return t.\u0275fac=function(e){return new(e||t)(xo(kl),xo(ca))},t.\u0275cmp=pe({type:t,selectors:[["","ngx-masonry",""],["ngx-masonry"]],inputs:{useImagesLoaded:"useImagesLoaded",updateLayout:"updateLayout",options:"options"},outputs:{layoutComplete:"layoutComplete",removeComplete:"removeComplete"},features:[ra],attrs:Eg,ngContentSelectors:Pg,decls:1,vars:0,template:function(t,e){1&t&&(function(t){const e=Ye()[16][6];if(!e.projection){const t=e.projection=ie(1,null),n=t.slice();let r=e.child;for(;null!==r;){const e=0;null!==e&&(n[e]?n[e].projectionNext=r:t[e]=r,n[e]=r),r=r.next}}}(),function(t,e=0,n){const r=Ye(),s=Ke(),i=Ps(s,r[6],t,1,null,n||null);null===i.projection&&(i.projection=e),en(),function(t,e,n){Ii(e[11],0,e,n,xi(t,n,e),Ei(n.parent||e[6],e))}(s,r,i)}(0))},styles:["[_nghost-%COMP%] {\n\t\t\tdisplay: block;\n\t\t}"]}),t})(),Ig=(()=>{let t=class{constructor(t,e,n){this._element=t,this._parent=e,this.platformId=n}ngAfterViewInit(){Xc(this.platformId)&&(this._parent.add(this._element.nativeElement),this.watchForHtmlChanges())}ngOnDestroy(){Xc(this.platformId)&&this._parent.remove(this._element.nativeElement)}watchForHtmlChanges(){if(MutationObserver=window.MutationObserver||window.WebKitMutationObserver,MutationObserver){const t=this;new MutationObserver((function(e,n){t._parent.layout()})).observe(this._element.nativeElement,{subtree:!0,childList:!0})}}};return t.\u0275fac=function(e){return new(e||t)(xo(ca),xo(St(()=>Mg)),xo(kl))},t.\u0275dir=we({type:t,selectors:[["","ngxMasonryItem",""],["ngxMasonryItem"]]}),t})(),Ag=(()=>{let t=class{};return t.\u0275mod=ve({type:t}
1),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[]]}),t})(),Lg=(()=>{class t{constructor(){this.delay=0,this.distance="0px",this.duration=600,this.easing="cubic-bezier(0.5, 0, 0, 1)",this.interval=0,this.opacity=0,this.origin="bottom",this.rotate={x:0,y:0,z:0},this.scale=.9,this.cleanup=!1,this.desktop=!0,this.mobile=!0,this.reset=!1,this.useDelay="always",this.viewFactor=.2,this.viewOffset={top:0,right:0,bottom:0,left:0}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=ht({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Rg=(()=>{class t{get nativeWindow(){return"undefined"!=typeof window?window:void 0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=ht({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Fg=(()=>{class t{constructor(t,e){this.beforeRevealSource=new O,this.afterRevealSource=new O,this.beforeResetSource=new O,this.afterResetSource=new O,this.beforeReveal$=this.beforeRevealSource.asObservable(),this.afterReveal$=this.afterRevealSource.asObservable(),this.beforeReset$=this.beforeResetSource.asObservable(),this.afterReset$=this.afterResetSource.asObservable(),this.window=e.nativeWindow,this.init(t)}init(t){this.window&&(this.config=t,this.config.beforeReveal=t=>this.beforeRevealSource.next(t),this.config.afterReveal=t=>this.afterRevealSource.next(t),this.config.beforeReset=t=>this.beforeResetSource.next(t),this.config.afterReset=t=>this.afterResetSource.next(t),this.sr=ScrollReveal(t))}getConfig(){return this.config}reveal(t,e){this.window&&t.nativeElement&&this.sr.reveal(t.nativeElement,e)}revealSet(t,e,n,r){if(this.window&&t.nativeElement){const t=Object.assign({},r,{interval:n});this.sr.reveal(e,t)}}sync(){this.window&&this.sr.sync()}destroy(){this.window&&this.sr.destroy()}}return t.\u0275fac=function(e){return new(e||t)(Yt(Lg),Yt(Rg))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=ht({factory:function(){return new t(Kt(Lg),Kt(Rg))},token:t,providedIn:"root"}),t})(),Ng=(()=>{class t extends class{constructor(t){this.ngsRevealService=t}_initConfig(t){t&&"string"==typeof t?this.config=JSON.parse(t):t&&"object"==typeof t&&(this.config=t)}}{constructor(t,e){super(e),this.elementRef=t,this.visibility="hidden"}set _config(t){this._initConfig(t)}ngOnInit(){this.ngsRevealService.reveal(this.elementRef,this.config)}}return t.\u0275fac=function(e){return new(e||t)(xo(ca),xo(Fg))},t.\u0275dir=we({type:t,selectors:[["","ngsReveal",""]],hostVars:2,hostBindings:function(t,e){2&t&&Uo("visibility",e.visibility)},inputs:{_config:["ngsReveal","_config"]},features:[Zo]}),t})(),Dg=(()=>{class t{}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Zc]]}),t})();class jg extends Eh{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}class Hg extends Th{}const Ug=new Hg(jg);function zg(t,e){return new w(e?n=>e.schedule(Bg,0,{error:t,subscriber:n}):e=>e.error(t))}function Bg({error:t,subscriber:e}){e.error(t)}let Vg=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Nu(this.value);case"E":return zg(this.error);case"C":return $h()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();
1class $g extends p{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule($g.dispatch,this.delay,new qg(t,this.destination)))}_next(t){this.scheduleMessage(Vg.createNext(t))}_error(t){this.scheduleMessage(Vg.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Vg.createComplete()),this.unsubscribe()}}class qg{constructor(t,e){this.notification=t,this.destination=e}}class Wg extends O{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new Qg(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=n.length;let i;if(this.closed)throw new b;if(this.isStopped||this.hasError?i=h.EMPTY:(this.observers.push(t),i=new C(this,t)),r&&t.add(t=new $g(t,r)),e)for(let o=0;o<s&&!t.closed;o++)t.next(n[o]);else for(let o=0;o<s&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),i}_getNow(){return(this.scheduler||Ug).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,s=r.length;let i=0;for(;i<s&&!(t-r[i].time<n);)i++;return s>e&&(i=Math.max(i,s-e)),i>0&&r.splice(0,i),r}}class Qg{constructor(t,e){this.time=t,this.value=e}}const Gg={target:null,action:"click",duration:650,easing:"easeInOutQuad",offset:0,offsetMap:new Map},Yg={easeInQuad:t=>t*t,easeOutQuad:t=>t*(2-t),easeInOutQuad:t=>t<.5?2*t*t:(4-2*t)*t-1,easeInCubic:t=>t*t*t,easeOutCubic:t=>--t*t*t+1,easeInOutCubic:t=>t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1,easeInQuart:t=>t*t*t*t,easeOutQuart:t=>1- --t*t*t*t,easeInOutQuart:t=>t<.5?8*t*t*t*t:1-8*--t*t*t*t,easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>1+--t*t*t*t*t,easeInOutQuint:t=>t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t,easeOutElastic:t=>Math.pow(2,-10*t)*Math.sin((t-1/4)*(2*Math.PI)/1)+1},Kg=["click","mouseenter","mouseover","mousedown","mouseup","dblclick","contextmenu","wheel","mouseleave","mouseout"];function Zg(t){return t===window}class Xg{constructor(t,e,n,r,s,i){this.container=t,this.listenerTarget=e,this.isWindow=n,this.to=r,this.options=s,this.isBrowser=i,this.loop=()=>{this.timeLapsed+=this.tick,this.percentage=this.timeLapsed/this.options.duration,this.percentage=this.percentage>1?1:this.percentage,this.position=this.startPosition+(this.startPosition-this.to<=0?1:-1)*this.distance*Yg[this.options.easing](this.percentage),null!==this.lastPosition&&this.position===this.lastPosition?this.stop():(this.source$.next(this.position),this.isWindow?this.listenerTarget.scrollTo(0,Math.floor(this.position)):this.container.scrollTop=Math.floor(this.position),this.lastPosition=this.position)},this.tick=16,this.interval=null,this.lastPosition=null,this.timeLapsed=0,this.windowScrollTop=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,this.startPosition=this.container?this.isWindow?this.windowScrollTop:this.container.scrollTop:this.windowScrollTop,this.container&&!this.isWindow&&(this.to=this.to-this.container.getBoundingClientRect().top+this.startPosition);const o=this.startPosition-this.to;this.distance=this.container?Math.abs(this.startPosition-this.to):this.to,this.mappedOffset=this.options.offset,this.isBrowser&&this.options.offsetMap.forEach((t,e)=>this.mappedOffset=window.innerWidth>e?t:this.mappedOffset),this.distance+=this.mappedOffset*(o<=0?1:-1),this.source$=new Wg}start(){return clearInterval(this.interval),this.interval=setInterval(this.loop,this.tick),this.source$.asObservable()}stop(){clearInterval(this.interval),this.interval=null,this.source$.complete()}}let Jg=(()=>{let t=class{constructor(t,e){this.document=t,this.platformId=e,this.interruptiveEvents=["mousewheel","DOMMouseScroll","touchstart"]}scrollTo(t){return Xc(this.platformId)?this.start(t):(new Wg).asObservable()}start(t){const e=Object.assign(Object.assign({},Gg),t);this.animation&&this.animation.stop();const n=this.getNode(e.target);if(e.target&&!n)return zg("Unable to find Target Element");const r=this.getContainer(e,n);if(e.container&&!r)return zg("Unable to find Container Element");const s=this.getListenerTarget(r)||window;let i=r?r.getBoundingClientRect().top:0;n&&(i=Zg(s)?window.scrollY+n.getBoundingClientRect().top:n.getBoundingClientRect().top),this.animation=new Xg(r,s,Zg(s),i,e,Xc(this.platformId));const o=()=>this.animation.stop();this.addInterruptiveEventListeners(s,o);const a=this.animation.start();return this.subscribeToAnimation(a,s,o),a}subscribeToAnimation(t,e,n){const r=t.subscribe(()=>{},()=>{},()=>{this.removeInterruptiveEventListeners(this.interruptiveEvents,e,n),r.unsubscribe()})}getContainer(t,e){let n=null;return t.container?n=this.getNode(t.container,!0):e&&(n=this.getFirstScrollableParent(e)),n}addInterruptiveEventListeners(t,e){t||(t=window),this.interruptiveEvents.forEac
1h(n=>t.addEventListener(n,e,!!this.supportPassive()&&{passive:!0}))}supportPassive(){let t=!1;try{const e=Object.defineProperty({},"passive",{get:()=>{t=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(e){}return t}removeInterruptiveEventListeners(t,e,n){e||(e=window),t.forEach(t=>e.removeEventListener(t,n))}getFirstScrollableParent(t){let e=window.getComputedStyle(t);const n=/(auto|scroll|overlay)/;if("fixed"===e.position)return null;let r=t;for(;r.parentElement;)if(r=r.parentElement,e=window.getComputedStyle(r),"absolute"!==e.position&&"hidden"!==e.overflow&&"hidden"!==e.overflowY&&(n.test(e.overflow+e.overflowY)||"BODY"===r.tagName))return r;return null}getNode(t,e=!1){let n;var r;return"string"==typeof(r=t)||r instanceof String?n=!e||"body"!==t&&"BODY"!==t?this.document.getElementById(function(t){return"#"===t.substring(0,1)?t.substring(1):t}(t)):this.document.body:function(t){return!isNaN(parseFloat(t))&&isFinite(t)}(t)?n=this.document.getElementById(String(t)):function(t){return t instanceof ca}(t)?n=t.nativeElement:function(t){return t instanceof HTMLElement}(t)&&(n=t),n}getListenerTarget(t){return t?this.isDocumentBody(t)?window:t:null}isDocumentBody(t){return"BODY"===t.tagName.toUpperCase()}};return t.\u0275fac=function(e){return new(e||t)(Yt(bc),Yt(kl))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),ty=(()=>{let t=class{constructor(t,e,n){this.elementRef=t,this.scrollToService=e,this.renderer2=n,this.ngxScrollTo=Gg.target,this.ngxScrollToEvent=Gg.action,this.ngxScrollToDuration=Gg.duration,this.ngxScrollToEasing=Gg.easing,this.ngxScrollToOffset=Gg.offset,this.ngxScrollToOffsetMap=Gg.offsetMap}ngAfterViewInit(){if(-1===Kg.indexOf(this.ngxScrollToEvent))throw new Error(`Unsupported Event '${this.ngxScrollToEvent}'`);this.renderer2.listen(this.elementRef.nativeElement,this.ngxScrollToEvent,t=>{this.options={target:this.ngxScrollTo,duration:this.ngxScrollToDuration,easing:this.ngxScrollToEasing,offset:this.ngxScrollToOffset,offsetMap:this.ngxScrollToOffsetMap},this.scrollToService.scrollTo(this.options)})}};return t.\u0275fac=function(e){return new(e||t)(xo(ca),xo(Jg),xo(fa))},t.\u0275dir=we({type:t,selectors:[["","ngxScrollTo",""]],inputs:{ngxScrollTo:"ngxScrollTo",ngxScrollToEvent:"ngxScrollToEvent",ngxScrollToDuration:"ngxScrollToDuration",ngxScrollToEasing:"ngxScrollToEasing",ngxScrollToOffset:"ngxScrollToOffset",ngxScrollToOffsetMap:"ngxScrollToOffsetMap"}}),t})();var ey;let ny=(()=>{let t=ey=class{static forRoot(){return{ngModule:ey,providers:[Jg]}}};return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})();const ry=new Ht("COOKIE_OPTIONS"),sy=new Ht("COOKIE_WRITER");function iy(t){return null==t}function oy(t){return!iy(t)}function ay(t,e){return e?{path:oy(e.path)?e.path:t.path,domain:oy(e.domain)?e.domain:t.domain,expires:oy(e.expires)?e.expires:t.expires,secure:oy(e.secure)?e.secure:t.secure,sameSite:oy(e.sameSite)?e.sameSite:t.sameSite,httpOnly:oy(e.httpOnly)?e.httpOnly:t.httpOnly,storeUnencoded:oy(e.storeUnencoded)?e.storeUnencoded:t.storeUnencoded}:t}function ly(t){try{return decodeURIComponent(t)}catch(e){return t}}let cy=(()=>{class t{constructor(t={},e){this.injector=e,this.defaultOptions={path:this.injector.get(Rc,"/"),domain:void 0,expires:void 0,secure:!1,httpOnly:!1},this.options=ay(this.defaultOptions,t)}}return t.\u0275fac=function(e){return new(e||t)(Yt(ry),Yt(ro))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),uy=(()=>{class t{constructor(t,e,n){this.document=t,this.optionsProvider=e,this.cookieWriterService=n,this.options=this.optionsProvider.options}hasKey(t){return oy(this.get(t))}get(t){var e;return null===(e=this.getAll())||void 0===e?void 0:e[t]}getObject(t){const e=this.get(t);if(!iy(e))return""===e?{}:JSON.parse(e)}getAll(){return function(t){let e,n,r,s,i,o={},a="";if(t!==a)for(a=t,e=a.split("; "),o={},r=0;r<e.length;r++)n=e[r],s=n.indexOf("="),s>0&&(i=ly(n.substring(0,s)),iy(o[i])&&(o[i]=ly(n.substring(s+1))));return o}(this.cookieWriterService.readAllAsString())}put(t,e,n){const r=ay(this.options,n);this.cookieWriterService.write(t,e,r)}putObject(t,e,n){this.put(t,JSON.stringify(e),n)}remove(t,e){this.put(t,void 0,e)}removeAll(t){const e=this.getAll();
1Object.keys(e).forEach(e=>this.remove(e,t))}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc),Yt(cy),Yt(sy))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),hy=(()=>{class t{constructor(t){this.document=t}readAllAsString(){return this.document.cookie||""}write(t,e,n){this.document.cookie=function(t,e,n){let r,s=null==n?void 0:n.expires;iy(e)?(s="Thu, 01 Jan 1970 00:00:00 GMT",r=""):r=e,"string"==typeof s&&(s=new Date(s));const i=(null==n?void 0:n.storeUnencoded)?e:encodeURIComponent(r);let o=encodeURIComponent(t)+"="+i;o+=(null==n?void 0:n.path)?";path="+n.path:"",o+=(null==n?void 0:n.domain)?";domain="+n.domain:"",o+=s?";expires="+s.toUTCString():"",o+=(null==n?void 0:n.sameSite)?"; SameSite="+n.sameSite:"",o+=(null==n?void 0:n.secure)?";secure":"",o+=(null==n?void 0:n.httpOnly)?"; HttpOnly":"";const a=o.length+1;return a>4096&&console.log("Cookie '"+t+"' possibly not set or overflowed because it was too large ("+a+" > 4096 bytes)!"),o}(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(Yt(bc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function dy(t,e,n){return new uy(t,e,n)}let fy=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[{provide:ry,useValue:e},{provide:sy,useClass:hy},{provide:uy,useFactory:dy,deps:[bc,cy,sy]}]}}static forChild(e={}){return t.forRoot(e)}}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[cy]}),t})(),py=(()=>{class t{get nativeWindow(){return"undefined"!=typeof window?window:void 0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),my=(()=>{class t{constructor(){this.enabled=!0,this.whitelistPage=[],this.blackl
1istPage=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),gy=(()=>{class t{constructor(t,e){this.popupOpenSource=new O,this.popupCloseSource=new O,this.initializeSource=new O,this.statusChangeSource=new O,this.revokeChoiceSource=new O,this.noCookieLawSource=new O,this.popupOpen$=this.popupOpenSource.asObservable(),this.popupClose$=this.popupCloseSource.asObservable(),this.initialize$=this.initializeSource.asObservable(),this.statusChange$=this.statusChangeSource.asObservable(),this.revokeChoice$=this.revokeChoiceSource.asObservable(),this.noCookieLaw$=this.noCookieLawSource.asObservable(),this.window=t.nativeWindow,this.init(e)}checkPopupInstantiated(t){if(null==this.popupInstance)throw new Error(`Cookie popup has not yet been instantiated. Cannot invoke ${t}()`)}init(t){this.window&&(this.cookieconsent=this.window.cookieconsent,this.config=t,this.config.onPopupOpen=()=>this.popupOpenSource.next(),this.config.onPopupClose=()=>this.popupCloseSource.next(),this.config.onInitialise=t=>this.initializeSource.next({status:t}),this.config.onStatusChange=(t,e)=>{this.statusChangeSource.next({status:t,chosenBefore:e})},this.config.onRevokeChoice=()=>this.revokeChoiceSource.next(),this.config.onNoCookieLaw=(t,e)=>{this.noCookieLawSource.next({countryCode:t,country:e})},this.cookieconsent.initialise(this.config,t=>this.popupInstance=t))}getConfig(){return this.config}getStatus(){return this.cookieconsent.status}getTransition(){return this.cookieconsent.hasTransition}clearStatus(){return this.checkPopupInstantiated("clearStatus"),this.popupInstance.clearStatus()}open(){return this.checkPopupInstantiated("open"),this.popupInstance.open()}close(t){return this.checkPopupInstantiated("close"),this.popupInstance.close(t)}destroy(){this.checkPopupInstantiated("destroy"),this.popupInstance.destroy()}fadeIn(){this.checkPopupInstantiated("fadeIn"),this.popupInstance.fadeIn()}fadeOut(){this.checkPopupInstantiated("fadeOut"),this.popupInstance.fadeOut()}isOpen(){return this.checkPopupInstantiated("isOpen"),this.popupInstance.isOpen()}toggleRevokeButton(t){this.checkPopupInstantiated("toggleRevokeButton"),this.popupInstance.toggleRevokeButton(t)}hasAnswered(){return this.checkPopupInstantiated("hasAnswered"),this.popupInstance.hasAnswered()}hasConsented(){return this.checkPopupInstantiated("hasConsented"),this.popupInstance.hasConsented()}}return t.\u0275fac=function(e){return new(e||t)(Yt(py),Yt(my))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),yy=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[py,{provide:my,useValue:e},gy]}}}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Zc]]}),t})();const vy=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),_y={};class wy{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new xy(t,this.resultSelector))}}class xy extends N{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(_y),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++){const e=t[n];this.add(F(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,r,s){const i=this.values,o=this.toRespond?i[n]===_y?--this.toRespond:this.toRespond:0;i[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function by(t){return new w(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?z(n):$h()).subscribe(e)})}function Cy(){return q(1)}function Sy(t){return function(e){return 0===t?$h():e.lift(new Oy(t))}}class Oy{constructor(t){if(this.total=t,this.total<0)throw new Bh}call(t,e){return e.subscribe(new Ey(t,this.total))}}class Ey extends p{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=e++%n;t.next(r[s])}}t.complete()}}function Py(t=My){return e=>e.lift(new ky(t))}class ky{constructor(t){this.errorFactory=t}
1call(t,e){return e.subscribe(new Ty(t,this.errorFactory))}}class Ty extends p{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function My(){return new vy}function Iy(t=null){return e=>e.lift(new Ay(t))}class Ay{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Ly(t,this.defaultValue))}}class Ly extends p{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Ry(t,e){const n=arguments.length>=2;return r=>r.pipe(t?ju((e,n)=>t(e,n,r)):y,Sy(1),n?Iy(e):Py(()=>new vy))}function Fy(t){return function(e){const n=new Ny(t),r=e.lift(n);return n.caught=r}}class Ny{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Dy(t,this.selector,this.caught))}}class Dy extends N{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new k(this,void 0,void 0);this.add(r);const s=F(this,n,void 0,void 0,r);s!==r&&this.add(s)}}}function jy(t,e){const n=arguments.length>=2;return r=>r.pipe(t?ju((e,n)=>t(e,n,r)):y,qh(1),n?Iy(e):Py(()=>new vy))}class Hy{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new Uy(t,this.predicate,this.thisArg,this.source))}}class Uy extends p{constructor(t,e,n,r){super(t),this.predicate=e,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function zy(...t){return Cy()(Nu(...t))}function By(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Vy(t,e,n))}}class Vy{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new $y(t,this.accumulator,this.seed,this.hasSeed))}}class $y extends p{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}class qy{constructor(t){this.callback=t}call(t,e){return e.subscribe(new Wy(t,this.callback))}}class Wy extends p{constructor(t,e){super(t),this.add(new h(e))}}class Qy{constructor(t,e){this.id=t,this.url=e}}class Gy extends Qy{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Yy extends Qy{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ky extends Qy{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Zy extends Qy{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Xy extends Qy{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Jy extends Qy{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tv extends Qy{constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ev extends Qy{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nv extends Qy{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rv{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sv{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class iv{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ov{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class av{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lv{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cv{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let uv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=pe({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&ko(0,"router-outlet")},directives:function(){return[mw]},encapsulation:2}),t})();class hv{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function dv(t){return new hv(t)}function fv(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function pv(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const s={};for(let i=0;i<r.length;i++){const e=r[i],n=t[i];if(e.startsWith(":"))s[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,r.length),posParams:s}}class mv{constructor(t,e){this.routes=t,this.module=e}}
1function gv(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];yv(r,vv(e,r))}}function yv(t,e){if(!t)throw new Error(`\n      Invalid configuration of route '${e}': 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(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&"primary"!==t.outlet)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&gv(t.children,e)}function vv(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function _v(t){const e=t.children&&t.children.map(_v),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=uv),n}function wv(t,e){const n=Object.keys(t),r=Object.keys(e);if(!n||!r||n.length!=r.length)return!1;let s;for(let i=0;i<n.length;i++)if(s=n[i],!xv(t[s],e[s]))return!1;return!0}function xv(t,e){return Array.isArray(t)&&Array.isArray(e)?t.length==e.length&&t.every(t=>e.indexOf(t)>-1):t===e}function bv(t){return Array.prototype.concat.apply([],t)}function Cv(t){return t.length>0?t[t.length-1]:null}function Sv(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Ov(t){return(e=t)&&"function"==typeof e.subscribe?t:Ao(t)?z(Promise.resolve(t)):Nu(t);var e}function Ev(t,e,n){return n?function(t,e){return wv(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Mv(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>xv(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,s){if(n.segments.length>s.length)return!!Mv(n.segments.slice(0,s.length),s)&&!r.hasChildren();if(n.segments.length===s.length){if(!Mv(n.segments,s))return!1;for(const e in r.children){if(!n.children[e])return!1;if(!t(n.children[e],r.children[e]))return!1}return!0}{const t=s.slice(0,n.segments.length),i=s.slice(n.segments.length);return!!Mv(n.segments,t)&&!!n.children.primary&&e(n.children.primary,r,i)}}(e,n,n.segments)}(t.root,e.root)}class Pv{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=dv(this.queryParams)),this._queryParamMap}toString(){return Rv.serialize(this)}}class kv{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Sv(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fv(this)}}class Tv{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=dv(this.parameters)),this._parameterMap}toString(){return zv(this)}}function Mv(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Iv(t,e){let n=[];return Sv(t.children,(t,r)=>{"primary"===r&&(n=n.concat(e(t,r)))}),Sv(t.children,(t,r)=>{"primary"!==r&&(n=n.concat(e(t,r)))}),n}class Av{}class Lv{parse(t){const e=new Wv(t);return new Pv(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return Fv(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",r=[];return Sv(e.children,(e,n)=>{"primary"!==n&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=Iv(e,(n,r)=>"primary"===r?[t(e.children.primary,!1)]:[`${r}:${t(n,!1)}`]);return`${Fv(e)}/(${n.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Dv(e)}=${Dv(t)}`).join("&"):`${Dv(e)}=${Dv(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const Rv=new Lv;function Fv(t){return t.segments.map(t=>zv(t)).join("/")}function Nv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dv(t){return Nv(t).replace(/%3B/gi,";")}function jv(t){return Nv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hv(t){return decodeURIComponent(t)}function Uv(t){return Hv(t.replace(/\+/g,"%20"))}function zv(t){return`${jv(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${jv(t)}=${jv(e[t])}`).join("")}`;var e}const Bv=/^[^\/()?;=#]+/;function Vv(t){const e=t.match(Bv);return e?e[0]:""}const $v=/^[^=?&#]+/,qv=/^[^?&#]+/;class Wv{constructor(t){this.url=t,this.remaining=t}
vendor: 25,064 bytes, line 1
1parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new kv([],{}):new kv([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new kv(t,e)),n}parseSegment(){const t=Vv(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Tv(Hv(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Vv(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Vv(this.remaining);t&&(n=t,this.capture(n))}t[Hv(e)]=Hv(n)}parseQueryParam(t){const e=function(t){const e=t.match($v);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(qv);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=Uv(e),s=Uv(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Vv(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s="primary");const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new kv([],i),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Qv{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Gv(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Gv(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Yv(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Yv(t,this._root).map(t=>t.value)}}function Gv(t,e){if(t===e.value)return e;for(const n of e.children){const e=Gv(t,n);if(e)return e}return null}function Yv(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Yv(t,n);if(r.length)return r.unshift(e),r}return[]}class Kv{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Zv(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Xv extends Qv{constructor(t,e){super(t),this.snapshot=e,s_(this,t)}toString(){return this.snapshot.toString()}}function Jv(t,e){const n=function(t,e){const n=new n_([],{},{},"",{},"primary",e,null,t.root,-1,{});return new r_("",new Kv(n,[]))}(t,e),r=new _h([new Tv("",{})]),s=new _h({}),i=new _h({}),o=new _h({}),a=new _h(""),l=new t_(r,s,o,a,i,"primary",e,n.root);return l.snapshot=n.root,new Xv(new Kv(l,[]),n)}class t_{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(D(t=>dv(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(D(t=>dv(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function e_(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class n_{constructor(t,e,n,r,s,i,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=dv(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=dv(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class r_ extends Qv{constructor(t,e){super(e),this.url=t,s_(this,e)}toString(){return i_(this._root)}}function s_(t,e){e.value._routerState=t,e.children.forEach(e=>s_(t,e))}function i_(t){const e=t.children.length>0?` { ${t.children.map(i_).join(", ")} } `:"";return`${t.value}${e}`}function o_(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,wv(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),wv(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!wv(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),wv(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function a_(t,e){var n,r;return wv(t.params,e.params)&&Mv(n=t.url,r=e.url)&&n.every((t,e)=>wv(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||a_(t.parent,e.parent))}function l_(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function c_(t,e,n,r,s){let i={};return r&&Sv(r,(t,e)=>{i[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new Pv(n.root===t?e:function t(e,n,r){const s={};return Sv(e.children,(e,i)=>{s[i]=e===n?r:t(e,n,r)}),new kv(e.segments,s)}(n.root,t,e),i,s)}class u_{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&l_(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(r&&r!==Cv(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class h_{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function d_(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function f_(t,e,n){if(t||(t=new kv([],{})),0===t.segments.length&&t.hasChildren())return p_(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(r>=n.length)return i;const e=t.segments[s],o=d_(n[r]),a=r<n.length-1?n[r+1]:null;if(s>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!v_(o,a,e))return i;r+=2}else{if(!v_(o,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new kv(t.segments.slice(0,r.pathIndex),{});return e.children.primary=new kv(t.segments.slice(r.pathIndex),t.children),p_(e,0,s)}return r.match&&0===s.length?new kv(t.segments,{}):r.match&&!t.hasChildren()?m_(t,e,n):r.match?p_(t,0,s):m_(t,e,n)}function p_(t,e,n){if(0===n.length)return new kv(t.segments,{});{const r=function(t){return"object"!=typeof t[0]||void 0===t[0].outlets?{primary:t}:t[0].outlets}(n),s={};return Sv(r,(n,r)=>{null!==n&&(s[r]=f_(t.children[r],e,n))}),Sv(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new kv(t.segments,s)}}function m_(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s<n.length;){if("object"==typeof n[s]&&void 0!==n[s].outlets){const t=g_(n[s].outlets);return new kv(r,t)}if(0===s&&l_(n[0])){r.push(new Tv(t.segments[e].path,n[0])),s++;continue}const i=d_(n[s]),o=s<n.length-1?n[s+1]:null;i&&o&&l_(o)?(r.push(new Tv(i,y_(o))),s+=2):(r.push(new Tv(i,{})),s++)}return new kv(r,{})}function g_(t){const e={};return Sv(t,(t,n)=>{null!==t&&(e[n]=m_(new kv([],{}),0,t))}),e}function y_(t){const e={};return Sv(t,(t,n)=>e[n]=""+t),e}function v_(t,e,n){return t==n.path&&wv(e,n.parameters)}class __{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),o_(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Zv(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Sv(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=Zv(t),s=t.value.component?n.children:e;Sv(r,(t,e)=>this.deactivateRouteAndItsChildren(t,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=Zv(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new lv(t.value.snapshot))}),t.children.length&&this.forwardEvent(new ov(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(o_(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),w_(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function w_(t){o_(t.value),t.children.forEach(w_)}function x_(t){return"function"==typeof t}function b_(t){return t instanceof Pv}class C_{constructor(t){this.segmentGroup=t||null}}class S_{constructor(t){this.urlTree=t}}function O_(t){return new w(e=>e.error(new C_(t)))}function E_(t){return new w(e=>e.error(new S_(t)))}function P_(t){return new w(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class k_{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(te)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(D(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Fy(t=>{if(t instanceof S_)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof C_)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(D(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Fy(t=>{if(t instanceof C_)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new kv([],{primary:t}):t;return new Pv(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(D(t=>new kv([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Nu({});const n=[],r=[],s={};return Sv(t,(t,i)=>{const o=e(i,t).pipe(D(t=>s[i]=t));"primary"===i?n.push(o):r.push(o)}),Nu.apply(null,n.concat(r)).pipe(Cy(),Ry(),D(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,s,i){return Nu(...n).pipe(D(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(Fy(t=>{if(t instanceof C_)return Nu(null);throw t}))),Cy(),jy(t=>!!t),Fy((t,n)=>{if(t instanceof vy||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,s))return Nu(new kv([],{}));throw new C_(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return A_(r)!==i?O_(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):O_(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?E_(s):this.lineralizeSegments(n,s).pipe(B(n=>{const s=new kv(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=T_(e,r,s);if(!o)return O_(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?E_(u):this.lineralizeSegments(r,u).pipe(B(r=>this.expandSegment(t,e,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(D(t=>(n._loadedConfig=t,new kv(r,{})))):Nu(new kv(r,{}));const{matched:s,consumedSegments:i,lastChild:o}=T_(e,n,r);if(!s)return O_(e);const a=r.slice(o);return this.getChildConfig(t,n,r).pipe(B(t=>{const n=t.module,r=t.routes,{segmentGroup:s,slicedSegments:o}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>I_(t,e,n)&&"primary"!==A_(n))}(t,n,r)?{segmentGroup:M_(new kv(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&"primary"!==A_(r)&&(n[A_(r)]=new kv([],{}));return n}(r,new kv(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>I_(t,e,n))}(t,n,r)?{segmentGroup:M_(new kv(t.segments,function(t,e,n,r){const s={};for(const i of n)I_(t,e,i)&&!r[A_(i)]&&(s[A_(i)]=new kv([],{}));return Object.assign(Object.assign({},r),s)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,i,a,r);return 0===o.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(D(t=>new kv(i,t))):0===r.length&&0===o.length?Nu(new kv(i,{})):this.expandSegment(n,s,r,o,"primary",!0).pipe(D(t=>new kv(i.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Nu(new mv(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Nu(e._loadedConfig):function(t,e,n){const r=e.canLoad;return r&&0!==r.length?z(r).pipe(D(r=>{const s=t.get(r);let i;if(function(t){return t&&x_(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!x_(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return Ov(i)})).pipe(Cy(),(s=t=>!0===t,t=>t.lift(new Hy(s,void 0,t)))):Nu(!0);var s}(t.injector,e,n).pipe(B(n=>n?this.configLoader.load(t.injector,e).pipe(D(t=>(e._loadedConfig=t,t))):function(t){return new w(e=>e.error(fv(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Nu(new mv([],t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Nu(n);if(r.numberOfChildren>1||!r.children.primary)return P_(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new Pv(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Sv(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return Sv(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new kv(s,i)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function T_(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||pv)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function M_(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new kv(t.segments.concat(e.segments),e.children)}return t}function I_(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function A_(t){return t.outlet||"primary"}class L_{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class R_{constructor(t,e){this.component=t,this.route=e}}function F_(t,e,n){const r=t._root;return function t(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Zv(n);return e.children.forEach(e=>{!function(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Mv(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Mv(t.url,e.url)||!wv(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!a_(t,e)||!wv(t.queryParams,e.queryParams);case"paramsChange":default:return!a_(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new L_(s)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?l?l.children:null:r,s,i),c&&i.canDeactivateChecks.push(new R_(l&&l.outlet&&l.outlet.component||null,a))}else a&&D_(n,l,i),i.canActivateChecks.push(new L_(s)),t(e,null,o.component?l?l.children:null:r,s,i)}(e,o[e.value.outlet],r,s.concat([e.value]),i),delete o[e.value.outlet]}),Sv(o,(t,e)=>D_(t,r.getContext(e),i)),i}(r,e?e._root:null,n,[r.value])}function N_(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function D_(t,e,n){const r=Zv(t),s=t.value;Sv(r,(t,r)=>{D_(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new R_(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}const j_=Symbol("INITIAL_VALUE");function H_(){return Nh(t=>function(...t){let e=null,n=null;return P(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),W(t,n).lift(new wy(e))}(...t.map(t=>t.pipe(qh(1),function(...t){const e=t[t.length-1];return P(e)?(t.pop(),n=>zy(t,n,e)):e=>zy(t,e)}(j_)))).pipe(By((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==j_)return t;if(r===j_&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||b_(r))return r}return t},t)},j_),ju(t=>t!==j_),D(t=>b_(t)?t:!0===t),qh(1)))}function U_(t,e){return null!==t&&e&&e(new av(t)),Nu(!0)}function z_(t,e){return null!==t&&e&&e(new iv(t)),Nu(!0)}function B_(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Nu(r.map(r=>by(()=>{const s=N_(r,e,n);let i;if(function(t){return t&&x_(t.canActivate)}(s))i=Ov(s.canActivate(e,t));else{if(!x_(s))throw new Error("Invalid CanActivate guard");i=Ov(s(e,t))}return i.pipe(jy())}))).pipe(H_()):Nu(!0)}function V_(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>by(()=>Nu(e.guards.map(s=>{const i=N_(s,e.node,n);let o;if(function(t){return t&&x_(t.canActivateChild)}(i))o=Ov(i.canActivateChild(r,t));else{if(!x_(i))throw new Error("Invalid CanActivateChild guard");o=Ov(i(r,t))}return o.pipe(jy())})).pipe(H_())));return Nu(s).pipe(H_())}class $_{}class q_{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){try{const t=G_(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new n_([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Kv(n,e),s=new r_(this.url,r);return this.inheritParamsAndData(s._root),Nu(s)}catch(t){return new w(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=e_(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Iv(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const i of t)try{return this.processSegmentAgainstRoute(i,e,n,r)}catch(s){if(!(s instanceof $_))throw s}if(this.noLeftoversInUrl(e,n,r))return[];throw new $_}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new $_;if((t.outlet||"primary")!==r)throw new $_;let s,i=[],o=[];if("**"===t.path){const i=n.length>0?Cv(n).parameters:{};s=new n_(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Z_(t),r,t.component,t,W_(e),Q_(e)+n.length,X_(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new $_;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||pv)(n,t,e);if(!r)throw new $_;const s={};Sv(r.posParams,(t,e)=>{s[e]=t.path});const i=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(e,t,n);i=a.consumedSegments,o=n.slice(a.lastChild),s=new n_(i,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Z_(t),r,t.component,t,W_(e),Q_(e)+i.length,X_(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=G_(e,i,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return[new Kv(s,t)]}
1if(0===a.length&&0===c.length)return[new Kv(s,[])];const u=this.processSegment(a,l,c,"primary");return[new Kv(s,u)]}}function W_(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Q_(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function G_(t,e,n,r,s){if(n.length>0&&function(t,e,n){return n.some(n=>Y_(t,e,n)&&"primary"!==K_(n))}(t,n,r)){const s=new kv(e,function(t,e,n,r){const s={};s.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&"primary"!==K_(i)){const n=new kv([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[K_(i)]=n}return s}(t,e,r,new kv(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Y_(t,e,n))}(t,n,r)){const i=new kv(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(Y_(t,n,a)&&!s[K_(a)]){const n=new kv([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[K_(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new kv(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function Y_(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function K_(t){return t.outlet||"primary"}function Z_(t){return t.data||{}}function X_(t){return t.resolve||{}}function J_(t,e,n,r){const s=N_(t,e,r);return Ov(s.resolve?s.resolve(e,n):s(e,n))}function tw(t){return function(e){return e.pipe(Nh(e=>{const n=t(e);return n?z(n).pipe(D(()=>e)):z([e])}))}}class ew{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const nw=new Ht("ROUTES");class rw{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(D(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new mv(bv(r.injector.get(nw)).map(_v),r)}))}loadModuleFactory(t){return"string"==typeof t?z(this.loader.load(t)):Ov(t()).pipe(B(t=>t instanceof ee?Nu(t):z(this.compiler.compileModuleAsync(t))))}}class sw{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function iw(t){throw t}function ow(t,e,n){return e.parse("/")}function aw(t,e){return Nu(null)}let lw=(()=>{class t{constructor(t,e,n,r,s,i,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new O,this.errorHandler=iw,this.malformedUriErrorHandler=ow,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:aw,afterPreactivation:aw},this.urlHandlingStrategy=new sw,this.routeReuseStrategy=new ew,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(te),this.console=s.get(Ml);const l=s.get($l);this.isNgZoneEnabled=l instanceof $l,this.resetConfig(a),this.currentUrlTree=new Pv(new kv([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new rw(i,o,t=>this.triggerEvent(new rv(t)),t=>this.triggerEvent(new sv(t))),this.routerState=Jv(this.currentUrlTree,this.rootComponentType),this.transitions=new _h({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(ju(t=>0!==t.id),D(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Nh(t=>{let n=!1,r=!1;return Nu(t).pipe(Yh(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Nh(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Nu(t).pipe(Nh(t=>{const n=this.transitions.getValue();return e.next(new Gy(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Vh:[t]}),Nh(t=>Promise.resolve(t)),(r=this.ngModule.injector,s=this.configLoader,i=this.urlSerializer,o=this.config,function(t){return t.pipe(Nh(t=>function(t,e,n,r,s){return new k_(t,e,n,r,s).apply()}(r,s,i,t.extractedUrl,o).pipe(D(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Yh(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return function(i){return i.pipe(B(i=>function(t,e,n,r,s="emptyOnly",i="legacy"){return new q_(t,e,n,r,s,i).recognize()}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(D(t=>Object.assign(Object.assign({},i),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Yh(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Yh(t=>{const n=new Xy(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,s,i,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new Gy(n,this.serializeUrl(r),s,i);e.next(a);const l=Jv(r,this.rootComponentType).snapshot;return Nu(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}
1))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Vh}),tw(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),Yh(t=>{const e=new Jy(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),D(t=>Object.assign(Object.assign({},t),{guards:F_(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(B(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?Nu(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return z(t).pipe(B(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Nu(i.map(i=>{const o=N_(i,e,s);let a;if(function(t){return t&&x_(t.canDeactivate)}(o))a=Ov(o.canDeactivate(t,e,n,r));else{if(!x_(o))throw new Error("Invalid CanDeactivate guard");a=Ov(o(t,e,n,r))}return a.pipe(jy())})).pipe(H_()):Nu(!0)}(t.component,t.route,n,e,r)),jy(t=>!0!==t,!0))}(o,r,s,t).pipe(B(n=>n&&"boolean"==typeof n?function(t,e,n,r){return z(e).pipe(Du(e=>z([z_(e.route.parent,r),U_(e.route,r),V_(t,e.path,n),B_(t,e.route,n)]).pipe(Cy(),jy(t=>!0!==t,!0))),jy(t=>!0!==t,!0))}(r,i,t,e):Nu(n)),D(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Yh(t=>{if(b_(t.guardsResult)){const e=fv(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Yh(t=>{const e=new tv(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),ju(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Ky(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),tw(t=>{if(t.guards.canActivateChecks.length)return Nu(t).pipe(Yh(t=>{const e=new ev(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(e=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(t){return t.pipe(B(t=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=t;return s.length?z(s).pipe(Du(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return Nu({});if(1===s.length){const i=s[0];return J_(t[i],e,n,r).pipe(D(t=>({[i]:t})))}const i={};return z(s).pipe(B(s=>J_(t[s],e,n,r).pipe(D(t=>(i[s]=t,t))))).pipe(Ry(),D(()=>i))}(t._resolve,t,e,r).pipe(D(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),e_(t,n).resolve),null)))}(t.route,r,e,n)),function(t,e){return arguments.length>=2?function(n){return v(By(t,e),Sy(1),Iy(e))(n)}:function(e){return v(By((e,n,r)=>t(e,n,r+1)),Sy(1))(e)}}((t,e)=>t),D(e=>t)):Nu(t)}))}),Yh(t=>{const e=new nv(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),tw(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),D(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const s=r.value;s._futureSnapshot=n.value;const i=function(e,n,r){return n.children.map(n=>{for(const s of r.children)if(e.shouldReuseRoute(s.value.snapshot,n.value))return t(e,n,s);return t(e,n)})}(e,n,r);return new Kv(s,i)}{const r=e.retrieve(n.value);if(r){const t=r.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,t),t}{const r=new t_(new _h((s=n.value).url),new _h(s.params),new _h(s.queryParams),new _h(s.fragment),new _h(s.data),s.outlet,s.component,s),i=n.children.map(n=>t(e,n));return new Kv(r,i)}}var s}(t,e._root,n?n._root:void 0);return new Xv(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Yh(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),D(t=>(new __(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),Yh({next(){
1n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Ky(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null},t=>t.lift(new qy(s))),Fy(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=b_(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new Ky(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new Zy(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return Vh}));var s,i,o,a}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",r=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){gv(t),this.config=t.map(_v),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,preserveQueryParams:i,queryParamsHandling:o,preserveFragment:a}=e;br()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,c=a?this.currentUrlTree.fragment:s;let u=null;if(o)switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=i?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,r,s){if(0===n.length)return c_(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new u_(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Sv(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new u_(n,e,r)}(n);if(i.toRoot())return c_(e.root,new kv([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new h_(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new h_(n.snapshot._urlSegment,!0,0);const r=l_(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new h_(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?p_(o.segmentGroup,o.index,i.commands):f_(o.segmentGroup,o.index,i.commands);return c_(o.segmentGroup,a,e,r,s)}(l,this.currentUrlTree,t,u,c)}navigateByUrl(t,e={skipLocationChange:!1}){br()&&this.isNgZoneEnabled&&!$l.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did 
1you forget to call 'ngZone.run()'?");const n=b_(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(b_(t))return Ev(this.currentUrlTree,t,e);const n=this.parseUrl(t);return Ev(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new Yy(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,s){const i=this.getTransition();if(i&&"imperative"!==e&&"imperative"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"hashchange"==e&&"popstate"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"popstate"==e&&"hashchange"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);let o,a,l;s?(o=s.resolve,a=s.reject,l=s.promise):l=new Promise((t,e)=>{o=t,a=e});const c=++this.navigationId;return this.setTransition({id:c,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:o,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const s=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(t){Co()},t.\u0275dir=we({type:t}),t})(),cw=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){br()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:hw(this.skipLocationChange),replaceUrl:hw(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:hw(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:hw(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(xo(lw),xo(t_),bo("tabindex"),xo(fa),xo(ca))},t.\u0275dir=we({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&Lo("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),t})(),uw=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof Yy&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){br()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r){if(0!==t||e||n||r)return!0;
1if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:hw(this.skipLocationChange),replaceUrl:hw(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:hw(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:hw(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(xo(lw),xo(t_),xo(Ac))},t.\u0275dir=we({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Lo("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)})),2&t&&(Yo("href",e.href,Yr),_o("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[ra]}),t})();function hw(t){return""===t||!!t}let dw=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.element=e,this.renderer=n,this.link=r,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(t=>{t instanceof Yy&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(t=>this.update()),this.linksWithHrefs.changes.subscribe(t=>this.update()),this.update()}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(xo(lw),xo(ca),xo(fa),xo(cw,8),xo(uw,8))},t.\u0275dir=we({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){var r;1&t&&(yl(n,cw,!0),yl(n,uw,!0)),2&t&&(gl(r=vl())&&(e.links=r),gl(r=vl())&&(e.linksWithHrefs=r))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[ra]}),t})();class fw{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new pw,this.attachRef=null}}class pw{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new fw,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let mw=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new il,this.deactivateEvents=new il,this.name=r||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;
1const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new gw(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(xo(pw),xo(Fa),xo(la),bo("name"),xo(Bi))},t.\u0275dir=we({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class gw{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===t_?this.route:t===pw?this.childContexts:this.parent.get(t,e)}}class yw{}class vw{preload(t,e){return Nu(null)}}let _w=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new rw(e,n,e=>t.triggerEvent(new rv(e)),e=>t.triggerEvent(new sv(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(ju(t=>t instanceof Yy),Du(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(te);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return z(n).pipe(q(),D(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(B(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(Yt(lw),Yt(dc),Yt(Ul),Yt(ro),Yt(yw))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),ww=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Gy?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Yy&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof cv&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new cv(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(t){Co()},t.\u0275dir=we({type:t}),t})();const xw=new Ht("ROUTER_CONFIGURATION"),bw=new Ht("ROUTER_FORROOT_GUARD"),Cw=[Dc,{provide:Av,useClass:Lv},{provide:lw,useFactory:function(t,e,n,r,s,i,o,a={},l,c){const u=new lw(null,t,e,n,r,s,i,bv(o));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),a.errorHandler&&(u.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(u.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=xc();u.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(u.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(u.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(u.relativeLinkResolution=a.relativeLinkResolution),u},deps:[Av,pw,Dc,ro,dc,Ul,nw,xw,[class{},new st],[class{},new st]]},pw,{provide:t_,useFactory:function(t){return t.routerState.root},deps:[lw]},{provide:dc,useClass:mc},_w,vw,class{preload(t,e){return e().pipe(Fy(()=>Nu(null)))}},{provide:xw,useValue:{enableTracing:!1}}];function Sw(){return new ic("Router",lw)}let Ow=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Cw,Tw(e),{provide:bw,useFactory:kw,deps:[[lw,new st,new ot]]},{provide:xw,useValue:n||{}},{provide:Ac,useFactory:Pw,deps:[Cc,[new rt(Rc),new st],xw]},{provide:ww,useFactory:Ew,deps:[lw,tu,xw]},{provide:yw,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:vw},{provide:ic,multi:!0,useFactory:Sw},[Mw,{provide:bl,multi:!0,useFactory:Iw,deps:[Mw]},{provide:Lw,useFactory:Aw,deps:[Mw]},{provide:Tl,multi:!0,useExisting:Lw}]]}}static forChild(e){return{ngModule:t,providers:[Tw(e)]}}}return t.\u0275mod=ve({type:t}
1),t.\u0275inj=dt({factory:function(e){return new(e||t)(Yt(bw,8),Yt(lw,8))}}),t})();function Ew(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new ww(t,e,n)}function Pw(t,e,n={}){return n.useHash?new Nc(t,e):new Fc(t,e)}function kw(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Tw(t){return[{provide:so,multi:!0,useValue:t},{provide:nw,multi:!0,useValue:t}]}let Mw=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new O}appInitializer(){return this.injector.get(Oc,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(lw),r=this.injector.get(xw);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Nu(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(xw),n=this.injector.get(_w),r=this.injector.get(ww),s=this.injector.get(lw),i=this.injector.get(uc);t===i.components[0]&&(this.isLegacyEnabled(e)?s.initialNavigation():this.isLegacyDisabled(e)&&s.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.\u0275fac=function(e){return new(e||t)(Yt(ro))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Iw(t){return t.appInitializer.bind(t)}function Aw(t){return t.bootstrapListener.bind(t)}const Lw=new Ht("Router Initializer");let Rw=(()=>{class t{constructor(){this.currentArea=""}isPrivateHouses(){return"privatehouses"===this.currentArea}isPublicRooms(){return"publicrooms"===this.currentArea}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Fw=function(){return["/projectoverview","privatehouses"]},Nw=function(){return["/publicrooms"]};let Dw=(()=>{class t{constructor(t,e,n,r,s,i,o){this.media=e,this.cookieService=n,this.router=r,this.route=s,this.globalConstants=i,this.ccService=o,this.animationState="bounce",this.isBrowser=Xc(t)}ngOnInit(){if(this.ccService.hasConsented()){var t=this.cookieService.get("area");void 0!==t&&(this.globalConstants.currentArea=t,this.router.navigate("privatehouses"===t?["projectoverview","privatehouses"]:[t],{relativeTo:this.route}))}}areaClicked(t){if(this.globalConstants.currentArea=t,this.ccService.hasConsented()){var e=new Date;e.setFullYear(e.getFullYear()+1),this.cookieService.put("area",t,{expires:e})}}}return t.\u0275fac=function(e){return new(e||t)(xo(kl),xo(Td),xo(uy),xo(lw),xo(t_),xo(Rw),xo(gy))},t.\u0275cmp=pe({type:t,selectors:[["app-home"]],decls:49,vars:10,consts:[[1,"container"],[1,"wrapper"],[1,"logo"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/osa_logotype_color.svg","alt","OS Arkitektur logotyp"],["fxLayout.gt-xs","row","fxLayout.xs","column","fxLayoutAlign","center stretch","fxLayoutGap.gt-xs","5rem","fxLayoutGap.xs","1rem"],["fxLayout","column","fxLayoutAlign.gt-xs","space-between end","fxLayoutGap.gt-xs","2.5rem","fxLayoutGap.xs","1rem"],[1,"scroll-rect",3,"routerLink","click"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/arrow.svg","alt","Scolla ner"],[1,"select-area","left",3,"routerLink","click"],[1,"red"],["fxLayout","column","fxLayoutAlign.gt-xs","space-between start","fxLayoutGap.gt-xs","2.5rem","fxLayoutGap.xs","1rem"],[1,"select-area",3,"routerLink","click"]],template:function(t,e){1&t&&(Eo(0,"div",0),Eo(1,"div",1),Eo(2,"div",2),ko(3,"img",3),Po(),Eo(4,"h1"),qo(5,"OS Arkitektur"),Po(),Eo(6,"div",4),Eo(7,"div",5),Eo(8,"div",6),Lo("click",(function(){return e.areaCl
1icked("privatehouses")})),ko(9,"img",7),Po(),Eo(10,"div",8),Lo("click",(function(){return e.areaClicked("privatehouses")})),Eo(11,"h2"),Eo(12,"span",9),qo(13,"Privata"),Po(),qo(14," hus"),Po(),Eo(15,"ul"),Eo(16,"li"),qo(17,"\u2014 NYBYGGNATION"),Po(),Eo(18,"li"),qo(19,"\u2014 TILLBYGGNADER"),Po(),Eo(20,"li"),qo(21,"\u2014 TAKLYFT"),Po(),Eo(22,"li"),qo(23,"\u2014 ATTEFALLSHUS"),Po(),Eo(24,"li"),qo(25,"\u2014 INREDNINGAR"),Po(),Eo(26,"li"),qo(27,"\xa0"),Po(),Po(),Po(),Po(),Eo(28,"div",10),Eo(29,"div",6),Lo("click",(function(){return e.areaClicked("publicrooms")})),ko(30,"img",7),Po(),Eo(31,"div",11),Lo("click",(function(){return e.areaClicked("publicrooms")})),Eo(32,"h2"),Eo(33,"span",9),qo(34,"Publika"),Po(),qo(35," rum"),Po(),Eo(36,"ul"),Eo(37,"li"),qo(38,"\u2014 RETAIL"),Po(),Eo(39,"li"),qo(40,"\u2014 BUTIKSKONCEPT"),Po(),Eo(41,"li"),qo(42,"\u2014 INTERI\xd6RER"),Po(),Eo(43,"li"),qo(44,"\u2014 POP-UP STORES"),Po(),Eo(45,"li"),qo(46,"\u2014 KOMMERSIELLA FASTIGHETER"),Po(),Eo(47,"li"),qo(48,"\u2014 VISUALISERINGAR"),Po(),Po(),Po(),Po(),Po(),Po(),Po()),2&t&&(gs(8),So("@hover",e.animationState)("routerLink",Ja(6,Fw)),gs(2),So("routerLink",Ja(7,Fw)),gs(19),So("@hover",e.animationState)("routerLink",Ja(8,Nw)),gs(2),So("routerLink",Ja(9,Nw)))},directives:[af,Wf,pf,cw],styles:[".container[_ngcontent-%COMP%]{background:rgba(119,103,90,.5);width:100%;height:100%;position:absolute}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{position:relative;left:50%;top:50%;transform:translate3d(-50%,-50%,0)}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{display:none}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:250px;margin:0 auto 3.75rem}@media only screen and (max-width:599px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:120px;margin:1rem auto 1.5rem}}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .scroll-rect[_ngcontent-%COMP%]{background:#ff3029;width:3.75rem;padding:1.25rem 0;border-radius:.125rem;cursor:pointer}@media only screen and (max-width:959px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .scroll-rect[_ngcontent-%COMP%]{width:3rem;padding:1rem 0;margin:0 auto}}@media only screen and (max-width:599px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .scroll-rect[_ngcontent-%COMP%]{width:2.8125rem;padding:.9375rem 0}}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .scroll-rect[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0 auto;transform:rotate(180deg)}@media only screen and (max-width:959px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .scroll-rect[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transform:rotate(180deg) scale(.8)}}@media only screen and (max-width:599px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .scroll-rect[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transform:rotate(180deg) scale(.75)}}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area[_ngcontent-%COMP%]{cursor:pointer}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area.left[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area.left[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area.left[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{text-align:right}@media only screen and (max-width:599px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area.left[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area.left[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{text-align:center}}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-bottom:1rem;color:#524742}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]   .red[_ngcontent-%COMP%]{color:#ff3029}@media only screen and (max-width:599px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.5rem;text-align:center;margin-bottom:.3rem}}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{color:#524742}@media only screen and (max-width:959px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{font-size:.8rem}}@media only screen and (max-width:599px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .select-area[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{text-align:center}}"],data:{animation:[op("hover",[up("bounce",cp({transform:"translateY(0)"})),dp("* => bounce",ap("18000ms",hp([cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"})])))])]}}),t})();
1class jw{constructor(t,e){this.hr=t,this.low=e}}let Hw=(()=>{class t{constructor(t,e){this.http=t,this.globalConstants=e,this.cases=new Array,this.imagePath="https://osawebb.s3.eu-north-1.amazonaws.com/images/",this.HERO_PATH="HERO",this.HR_PATH="HR",this.LR_PATH="LOW",this.SKETHES_PATH="PLANER",this.casePath="https://osawebb.s3.eu-north-1.amazonaws.com/data/cases.json"}getCases(t){return 0===this.cases.length?this.http.get(this.casePath).toPromise().then(t=>(this.cases=t,this.setPaths(),this.cases.filter(t=>t.area===this.globalConstants.currentArea))).catch(t=>this.handleError(t,this)):Promise.resolve(this.cases.filter(""!==t?e=>e.area===t:t=>t.area===this.globalConstants.currentArea))}getCase(t){const e=this.lookupCase(t);return null==e?this.http.get(this.casePath).toPromise().then(e=>(this.cases=e,this.setPaths(),this.lookupCase(t))).catch(t=>this.handleError(t,this)):Promise.resolve(e)}setPaths(){this.cases.forEach(t=>{const e=this.imagePath+t.id+"/"+this.HERO_PATH+"/",n=this.imagePath+t.id+"/"+this.HR_PATH+"/",r=this.imagePath+t.id+"/"+this.LR_PATH+"/";if(t.heroLow=e+this.LR_PATH+"/"+t.hero,t.hero=e+this.HR_PATH+"/"+t.hero,t.sections&&t.sections.forEach(t=>{t.imagePath=new jw(n+t.image,r+t.image)}),t.imagePaths=new Array(0),t.images)for(let s=0;s<t.images.length;s++)t.imagePaths.push(new jw(n+t.images[s],r+t.images[s]));if(t.overviewImagePaths=new Array(0),t.overviewImages)for(let s=0;s<t.overviewImages.length;s++)t.overviewImagePaths.push(new jw(n+t.overviewImages[s],r+t.overviewImages[s]));if(t.sketches){const e=this.imagePath+t.id+"/"+this.SKETHES_PATH+"/";t.sketches.forEach(t=>{t.imagePath=new jw(e+t.image,e+t.image)})}else t.sketches=new Array(0)})}lookupCase(t){t=t.toLocaleLowerCase();for(const e of this.cases)if(e.id.toLowerCase()===t)return e;return null}handleError(t,e){return Promise.reject(t.message||t)}}return t.\u0275fac=function(e){return new(e||t)(Yt(rh),Yt(Rw))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Uw(t){const{subscriber:e,counter:n,period:r}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}function zw(t,e){if(1&t&&ko(0,"img",15),2&t){const t=e.$implicit,n=No(2);Uo("height",n.cardHeight),So("src",null==t?null:t.hr,Yr)("alt",null==n.case?null:n.case.name)("@slide",n.slideDirection)}}function Bw(t,e){if(1&t&&ko(0,"img",16),2&t){const t=e.$implicit;So("src",null==t?null:t.hr,Yr)}}const Vw=function(t){return[t]};function $w(t,e){if(1&t&&(To(0),wo(1,zw,1,5,"img",13),wo(2,Bw,1,1,"img",14),Mo()),2&t){const t=No();gs(1),So("ngForOf",tl(2,Vw,t.image)),gs(1),So("ngForOf",null==t.case?null:t.case.overviewImagePaths)}}function qw(t,e){if(1&t&&ko(0,"img",15),2&t){const t=e.$implicit,n=No(2);Uo("height",n.cardHeight),So("src",null==t?null:t.low,Yr)("alt",null==n.case?null:n.case.name)("@slide",n.slideDirection)}}function Ww(t,e){if(1&t&&ko(0,"img",16),2&t){const t=e.$implicit;So("src",null==t?null:t.low,Yr)}}function Qw(t,e){if(1&t&&(To(0),wo(1,qw,1,5,"img",13),wo(2,Ww,1,1,"img",14),Mo()),2&t){const t=No();gs(1),So("ngForOf",tl(2,Vw,t.image)),gs(1),So("ngForOf",null==t.case?null:t.case.overviewImagePaths)}}function Gw(t,e){1&t&&ko(0,"div",17),2&t&&So("@slide",No().slideDirection)}const Yw=function(t){return["/case",t]};let Kw=(()=>{class t{constructor(t,e,n){this.caseService=e,this.media=n,this.cardHeight="28.125rem",this.slideDirection="",this.imageNo=0,this.progress="0",this.progressNo=0,this.pauseTimer=new O,this.isBrowser=Xc(t)}ngOnInit(){this.timer=function(t=0,e=Ah){var n;return(l(n=t)||!(n-parseFloat(n)+1>=0)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=Ah),new w(n=>(n.add(e.schedule(Uw,t,{subscriber:n,counter:0,period:t})),n))}(300).pipe(Hh(this.pauseTimer)),this.timerObserver={next:t=>{switch(this.progressNo){case 1:this.progress="1.25rem",this.progressNo=2;break;case 2:this.progress="2.5rem",this.progressNo=3;break;case 3:this.progress="3.75rem",this.progressNo=0;break;case 0:this.imageNo=null!=this.case&&this.imageNo+1<this.case.overviewImagePaths.length?this.imageNo+1:0,this.image=null!=this.case?this.case.overviewImagePaths[this.imageNo]:new jw("",""),this.progress="0",this.progressNo=1}
1}}}ngOnChanges(t){null!=t.caseId&&null!=t.caseId.currentValue&&this.caseService.getCase(this.caseId).then(t=>{this.case=t,null!=t&&t.overviewImagePaths.length>0&&(this.image=this.case.overviewImagePaths[0])}).catch(t=>console.log(t))}change(){}mouseOver(){this.timer.subscribe(this.timerObserver)}mouseOut(){this.pauseTimer.next()}ngOnDestroy(){this.pauseTimer.next(),this.pauseTimer.complete()}}return t.\u0275fac=function(e){return new(e||t)(xo(kl),xo(Hw),xo(Td))},t.\u0275cmp=pe({type:t,selectors:[["app-case-card"]],inputs:{caseId:"caseId",cardHeight:"cardHeight",changeImage:"changeImage",slideDirection:"slideDirection"},features:[ra],decls:23,vars:13,consts:[[1,"case-card",3,"routerLink","mouseover","mouseout"],[4,"ngIf"],["class","filter",4,"ngIf"],[1,"info"],["fxHide","","fxShow.gt-sm","",1,"indicator"],["fxLayout","row","fxLayoutAlign","start center"],["fxFlex","5rem"],[1,"progress"],["fxFlex",""],[1,"title"],[1,"name"],["fxFlex","2.25rem","fxFlex.gt-sm","3.375rem"],[1,"type"],[3,"src","height","alt",4,"ngFor","ngForOf"],["style","display:none",3,"src",4,"ngFor","ngForOf"],[3,"src","alt"],[2,"display","none",3,"src"],[1,"filter"]],template:function(t,e){1&t&&(Eo(0,"div",0),Lo("mouseover",(function(){return e.mouseOver()}))("mouseout",(function(){return e.mouseOut()})),Eo(1,"div"),wo(2,$w,3,4,"ng-container",1),wo(3,Qw,3,4,"ng-container",1),Po(),wo(4,Gw,1,1,"div",2),Eo(5,"div",3),Eo(6,"div",4),Eo(7,"div",5),Eo(8,"div",6),ko(9,"hr"),ko(10,"hr",7),Po(),Eo(11,"div",8),Eo(12,"span"),qo(13),Po(),Po(),Po(),Po(),Eo(14,"div",9),Eo(15,"div",10),qo(16),Po(),Eo(17,"div",5),Eo(18,"div",11),ko(19,"hr"),Po(),Eo(20,"div",8),Eo(21,"span",12),qo(22),Po(),Po(),Po(),Po(),Po(),Po()),2&t&&(So("routerLink",tl(11,Yw,null==e.case?null:e.case.id)),gs(1),Uo("height",e.cardHeight),gs(1),So("ngIf",e.media.isActive("gt-xs")),gs(1),So("ngIf",e.media.isActive("xs")),gs(1),So("ngIf",e.image),gs(6),Uo("width",e.progress),gs(3),Wo(e.imageNo+1-0<10?"0"+(e.imageNo+1-0):e.imageNo+1-0),gs(3),Qo(" ",null==e.case?null:e.case.name," "),gs(6),Wo(null==e.case?null:e.case.type))},directives:[cw,Gc,Wd,af,Wf,Ef,Wc],styles:[".case-card[_ngcontent-%COMP%]{position:relative;cursor:pointer;overflow:hidden}.case-card[_ngcontent-%COMP%]:hover   .filter[_ngcontent-%COMP%]{opacity:0}.case-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;width:100%;position:absolute;top:0;left:0}.case-card[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]{background-image:linear-gradient(0deg,rgba(0,0,0,.3) 0,rgba(0,0,0,.15) 25%,transparent)}.case-card[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%], .case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;right:0;left:0}.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{color:#fff;line-height:1}.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .indicator[_ngcontent-%COMP%]{position:absolute;top:0;right:0;padding:2.84375rem 3.75rem 0 0}.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .indicator[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{display:block;position:relative;height:1px;border:0;border-top:1px solid #fff;color:#fff;margin:.125rem 1.25rem 0 0;padding:0;width:3.75rem;opacity:.2;text-align:left}.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .indicator[_ngcontent-%COMP%]   hr.progress[_ngcontent-%COMP%]{opacity:1;margin-top:-.125rem}.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;padding:0 0 2.84375rem 3.5rem}@media only screen and (max-width:599px){.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{padding:0 0 1.875rem 1.875rem}}.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{display:block;height:1px;border:0;border-top:1px solid #fff;margin:.375rem .1875rem 0 0;padding:0;width:3.125rem}@media only screen and (max-width:959px){.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{width:2.083rem}}.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{margin-bottom:.625rem}.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{white-space:nowrap;font-size:2.25rem}@media only screen and (max-width:959px){.case-card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{font-size:1.5rem}}"],data:{animation:[op("slide",[dp("void => left",[cp({transform:"translate3d(100%, 0, 0)"}),ap("450ms ease-in",cp({transform:"translate3d(0, 0, 0)"}))]),dp("left => void",[cp({transform:"translate3d(0, 0, 0)"}),ap("450ms ease-in",cp({transform:"translate3d(-100%, 0, 0)"}))]),dp("void => right",[cp({transform:"translate3d(-100%, 0, 0)"}),ap("450ms ease-in",cp({transform:"translate3d(0, 0, 0)"}))]),dp("right => void",[cp({transform:"translate3d(0, 0, 0)"}),ap("450ms ease-in",cp({transform:"translate3d(100%, 0, 0)"}))]),dp("void => up",[cp({transform:"translate3d(0, 100%, 0)"}),ap("450ms ease-in",cp({transform:"translate3d(0, 0, 0)"}))]),dp("up => void",[cp({transform:"translate3d(0, 0, 0)"}),ap("450ms  ease-in",cp({transform:"translate3d(0, -100%, 0)"}))]),dp("void => down",[cp({transform:"translate3d(0, -100%, 0)"}),ap("450ms ease-in",cp({transform:"translate3d(0, 0, 0)"}))]),dp("down => void",[cp({transform:"translate3d(0, 0, 0)"}),ap("450ms ease-in",cp({transform:"translate3d(0, 100%, 0)"}))])])]}}),t})();function Zw(t,e){1&t&&ko(0,"img",10)}function Xw(t,e){1&t&&ko(0,"img",11)}function Jw(t,e){if(1&t){const t=Io();Eo(0,"picture"),ko(1,"source",12),Eo(2,"img",13),Lo("swipeleft",(function(e){Ze(t);const n=No();return n.swipe(n.currentIndex,e.type)}))("swiperight",(function(e){Ze(t);const n=No();return n.swipe(n.currentIndex,e.type)})),Po(),Po()}if(2&t){const t=e.$implicit;gs(1),So("srcset",null==t?null:t.hr,Yr),gs(1),So("src",null==t?null:t.low,Yr)}}function tx(t,e){if(1&t){const t=Io();Eo(0,"div",14),Lo("click",(function(){return Ze(t),No().previous()}))("mouseover",(function(){return Ze(t),No().animationStateLeft="bounce-left"})),Eo(1,"img",15),Lo("@hover.done",(function(){return Ze(t),No().animationStateLeft=""})),Po(),Po()}if(2&t){const t=No();gs(1),So("@hover",t.animationStateLeft)}}function ex(t,e){if(1&t){const t=Io();Eo(0,"div",16),Lo("click",(function(){return Ze(t),No().next()}))("mouseover",(function(){return Ze(t),No().animationStateRight="bounce-right"})),Eo(1,"img",17),Lo("@hover.done",(function(){return Ze(t),No().animationStateRight=""})),Po(),Po()}if(2&t){const t=No();gs(1),So("@hover",t.animationStateRight)}}const nx=function(t){return[t]};let rx=(()=>{class t{constructor(t){this.media=t,this.currentImageNameChange=new il,this.defaultTouch={x:0,time:0}}ngOnInit(){this.images=Object.assign([],this.case.imagePaths),this.case.sketches.map(t=>
1t.imagePath).forEach(t=>{this.images.push(t)});for(let t=0;t<this.images.length;t++)if(this.images[t].hr===this.currentImageName.hr)return this.currentIndex=t,void(this.currentImage=this.images[t])}close(){this.currentImageNameChange.emit(null)}previous(){this.currentIndex--,this.currentImage=this.images[this.currentIndex]}next(){this.currentIndex++,this.currentImage=this.images[this.currentIndex]}swipe(t,e){if(this.action=e,"swiperight"===e){if(t<=0)return;this.currentIndex--,this.currentImage=this.images[this.currentIndex]}if("swipeleft"===e){if(t>=this.images.length-1)return;this.currentIndex++,this.currentImage=this.images[this.currentIndex]}}handleTouch(t){let e=t.touches[0]||t.changedTouches[0];if("touchstart"===t.type)this.defaultTouch.x=e.pageX,this.defaultTouch.time=t.timeStamp;else if("touchend"===t.type){let n=e.pageX-this.defaultTouch.x;t.timeStamp-this.defaultTouch.time<500&&Math.abs(n)>60&&(n>0?this.doSwipeRight():this.doSwipeLeft())}}doSwipeLeft(){this.currentIndex>=this.images.length-1||(this.currentIndex++,this.currentImage=this.images[this.currentIndex])}doSwipeRight(){this.currentIndex<=0||(this.currentIndex--,this.currentImage=this.images[this.currentIndex])}}return t.\u0275fac=function(e){return new(e||t)(xo(Td))},t.\u0275cmp=pe({type:t,selectors:[["app-slideshow"]],hostBindings:function(t,e){1&t&&Lo("touchstart",(function(t){return e.handleTouch(t)}))("touchend",(function(t){return e.handleTouch(t)}))("touchcancel",(function(t){return e.handleTouch(t)}))},inputs:{case:"case",currentImageName:"currentImageName"},outputs:{currentImageNameChange:"currentImageNameChange"},decls:11,vars:9,consts:[[1,"slide-show"],[1,"close-button",3,"click"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/close.svg",4,"ngIf"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/close-red.svg",4,"ngIf"],[1,"container"],[1,"wrapper"],[4,"ngFor","ngForOf"],[1,"counter"],["fxHide","","fxShow.gt-sm","","class","change-button previous",3,"click","mouseover",4,"ngIf"],["fxHide","","fxShow.gt-sm","","class","change-button next",3,"click","mouseover",4,"ngIf"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/close.svg"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/close-red.svg"],["media","(min-width: 600px)",3,"srcset"],[1,"image",3,"src","swipeleft","swiperight"],["fxHide","","fxShow.gt-sm","",1,"change-button","previous",3,"click","mouseover"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/arrow.svg",1,"rotate-270"],["fxHide","","fxShow.gt-sm","",1,"change-button","next",3,"click","mouseover"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/arrow.svg",1,"rotate-90"]],template:function(t,e){1&t&&(Eo(0,"div",0),Eo(1,"div",1),Lo("click",(function(){return e.close()})),wo(2,Zw,1,0,"img",2),wo(3,Xw,1,0,"img",3),Po(),Eo(4,"div",4),Eo(5,"div",5),wo(6,Jw,3,2,"picture",6),Eo(7,"div",7),qo(8),Po(),wo(9,tx,2,1,"div",8),wo(10,ex,2,1,"div",9),Po(),Po(),Po()),2&t&&(gs(2),So("ngIf",e.media.isActive("gt-sm")),gs(1),So("ngIf",!e.media.isActive("gt-sm")),gs(3),So("ngForOf",tl(7,nx,e.currentImage)),gs(2),Go(" ",e.currentIndex+1," av ",e.images.length," "),gs(1),So("ngIf",e.currentIndex>0),gs(1),So("ngIf",e.currentIndex<e.images.length-1))},directives:[Gc,Wc,Wd],styles:[".slide-show[_ngcontent-%COMP%]{position:fixed;left:0;right:0;top:0;bottom:0;padding:3.75rem 0;background:#fff;z-index:100000}@media only screen and (max-width:959px){.slide-show[_ngcontent-%COMP%]{padding:0}}.close-button[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:3.75rem;background:#ff3029;z-index:1000;cursor:pointer;padding:1.25rem 0}@media only screen and (max-width:959px){.close-button[_ngcontent-%COMP%]{background:transparent;width:2.5rem;padding:.625rem 0;top:.625rem;right:.625rem}.close-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:38%}}@media only screen and (max-width:599px){.close-button[_ngcontent-%COMP%]{top:.3125rem;right:.3125rem}}.close-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{margin:0 auto}.container[_ngcontent-%COMP%]{max-width:1290px;padding:0 8.4375rem;position:relative;height:100%}@media only screen and (min-width:600px) and (max-width:959px){.container[_ngcontent-%COMP%]{padding:0 3.75rem}}@media only screen and (max-width:599px){.container[_ngcontent-%COMP%]{padding:0}}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{position:relative;height:100%}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{position:absolute;
1left:50%;top:50%;transform:translate3d(-50%,-50%,0);max-width:100%;max-height:90%}@media only screen and (max-width:959px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{max-height:100%}}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]{font-family:F37 Bolton;font-size:.875rem;position:absolute;left:50%;bottom:0;transform:translate3d(-50%,0,0)}@media only screen and (max-width:959px){.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .counter[_ngcontent-%COMP%]{bottom:1rem}}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .change-button[_ngcontent-%COMP%]{position:absolute;background:#ff3029;border-radius:.125rem;width:4.375rem;top:50%;transform:translateY(-50%);z-index:1000;cursor:pointer;padding:.9375rem 0}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .change-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0 auto}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .change-button.previous[_ngcontent-%COMP%]{left:-2.1875rem}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .change-button.next[_ngcontent-%COMP%]{right:-2.1875rem}"],data:{animation:[op("hover",[up("bounce-right",cp({transform:"translateX(0) rotate(90deg)"})),dp("* => bounce-right",ap("700ms",hp([cp({transform:"translateX(0) rotate(90deg)"}),cp({transform:"translateX(.5rem) rotate(90deg)"}),cp({transform:"translateX(0) rotate(90deg)"})]))),up("bounce-left",cp({transform:"translateX(0) rotate(270deg)"})),dp("* => bounce-left",ap("700ms",hp([cp({transform:"translateX(0) rotate(270deg)"}),cp({transform:"translateX(-.5rem) rotate(270deg)"}),cp({transform:"translateX(0) rotate(270deg)"})])))]),op("fade",[dp(":enter",[cp({opacity:0}),ap("800ms cubic-bezier(.27,.91,.75,.99)",cp({opacity:1}))]),dp(":leave",[cp({opacity:1}),ap("800ms cubic-bezier(.27,.91,.75,.99)",cp({opacity:0}))])])]}}),t})(),sx=(()=>{class t{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustHtml(t)}}return t.\u0275fac=function(e){return new(e||t)(xo(Pu))},t.\u0275pipe=xe({name:"keepHtml",type:t,pure:!1}),t})(),ix=(()=>{class t{constructor(t){this.domSanitizer=t}transform(t){return this.domSanitizer.bypassSecurityTrustResourceUrl(t)}}return t.\u0275fac=function(e){return new(e||t)(xo(Pu))},t.\u0275pipe=xe({name:"safe",type:t,pure:!0}),t})();const ox=["playerContainer"];function ax(t,e){1&t&&(Eo(0,"span"),qo(1,"Oskar Sejn\xe4s Arkitektur"),Po())}function lx(t,e){1&t&&(Eo(0,"span"),qo(1,"Kund"),Po())}function cx(t,e){if(1&t&&(To(0),Eo(1,"span",14),qo(2,"Bygg\xe5r"),Po(),Eo(3,"h2",15),qo(4),Po(),Mo()),2&t){const t=No();gs(4),Wo(null==t.case?null:t.case.year)}}function ux(t,e){if(1&t&&(To(0),Eo(1,"span",14),qo(2,"Uppdragsgivare"),Po(),Eo(3,"h2",15),qo(4),Po(),Mo()),2&t){const t=No();gs(4),Wo(null==t.case?null:t.case.client)}}function hx(t,e){if(1&t&&(To(0),Eo(1,"span",14),qo(2,"L\xe4ge"),Po(),Eo(3,"h2",15),qo(4),Po(),Mo()),2&t){const t=No();gs(4),Wo(null==t.case?null:t.case.location)}}function dx(t,e){if(1&t&&(To(0),Eo(1,"span",14),qo(2,"Uppdrag"),Po(),Eo(3,"h2",15),qo(4),Po(),Mo()),2&t){const t=No();gs(4),Wo(null==t.case?null:t.case.description)}}function fx(t,e){if(1&t&&(Eo(0,"div",33),qo(1),Po()),2&t){const t=No();gs(1),Go(" \u2014 ",null==t.case||null==t.case.comment?null:t.case.comment.name,", ",null==t.case||null==t.case.comment?null:t.case.comment.header," ")}}function px(t,e){if(1&t){const t=Io();Eo(0,"div",18),Eo(1,"div",36),Eo(2,"div"),qo(3),Po(),Po(),Eo(4,"div",37),Lo("click",(function(){Ze(t);const e=No().$implicit;return No().clickedImage=e.imagePath})),Eo(5,"picture"),ko(6,"source",2),ko(7,"img",38),Po(),Eo(8,"div",39),qo(9),Po(),Po(),Eo(10,"div",40),ko(11,"p",41),rl(12,"keepHtml"),Po(),Po()}if(2&t){const t=No(),e=t.index,n=t.$implicit;gs(3),Wo(e+1-0<10?"0"+(e+1-0):e+1-0),gs(3),So("srcset",n.imagePath.hr,Yr),gs(1),So("src",n.imagePath.low,Yr),gs(2),Wo(n.caption),gs(2),So("innerHTML",sl(12,5,n.text),Gr)}}function mx(t,e){if(1&t){const t=Io();Eo(0,"div",18),Eo(1,"div",42),ko(2,"p",41),rl(3,"keepHtml"),Po(),Eo(4,"div",43),Lo("click",(function(){Ze(t);const e=No().$implicit;return No().clickedImage=e.imagePath})),Eo(5,"picture"),ko(6,"source",2),ko(7,"img",44),Po(),Eo(8,"div",45),qo(9),Po(),Po(),Eo(10,"div",46),ko(11,"p",41),rl(12,"keepHtml"),Po(),Eo(13,"div",47),Eo(14,"div"),qo(15),Po(),Po(),Po()}if(2&t){const t=No(),e=t.$implicit,n=t.index;gs(2),So("innerHTML",sl(3,6,e.text),Gr),gs(4),So("srcset",e.imagePath.hr,Yr),gs(1),So("src",e.imagePath.low,Yr),gs(2),Wo(e.caption),gs(2),So("innerHTML",sl(12,8,e.text),Gr),gs(4),Wo(n+1-0<10?"0"+(n+1-0):n+1-0)}}function gx(t,e){if(1&t&&(Eo(0,"section",34),wo(1,px,13,7,"div",35),wo(2,mx,16,10,"div",35),Po()),2&t){const t=e.even,n=e.odd;gs(1),So("ngIf",n),gs(1),So("ngIf",t)}}function yx(t,e){if(1&t){const t=Io();Eo(0,"section",48),Eo(1,"img",49),Lo("click",(function(){Ze(t);const e=No();return e.clickedImage=null==e.case?null:e.case.imagePaths[0]})),Po(),Eo(2,"div",50),Lo("click",(function(){Ze(t);const e=No();return e.clickedImage=null==e.case?null:e.case.imagePaths[0]})),ko(3,"img",6),Eo(4,"span"),qo(5),Po(),Po(),Po()}if(2&t){const t=No();gs(1),So("src",null==t.case?null:t.case.imagePaths[0].low,Yr),gs(4),Wo((null==t.case?null:t.case.images.length)+(null==t.case?null:t.case.sketches.length)-0)}}function vx(t,e){if(1&t){const t=Io();Eo(0,"ngxMasonryItem",54),Lo("click",(function(){Ze(t);const n=e.$implicit;return No(2).clickedImage=n})),ko(1,"img",55),Po()}if(2&t){const t=e.$implicit;gs(1),So("src",t.hr,Yr)}}const _x=function(){return{columnWidth:".brick-sizer",percentPosition:!0,gutter:1}};function wx(t,e){if(1&t&&(Eo(0,"section"),Eo(1,"ngx-masonry",51),ko(2,"div",52),wo(3,vx,2,1,"ngxMasonryItem",53),Po(),Po()),2&t){const t=No();gs(1),So("options",Ja(3,_x))("useImagesLoaded",!0),gs(2),So("ngForOf",null==t.case?null:t.case.imagePaths)}}function xx(t,e){if(1&t){const t=Io();Eo(0,"div",59),Eo(1,"img",60),Lo("click",(function(){Ze(t);const n=e.$implicit;return No(2).clickedImage=n.imagePath})),Po(),Eo(2,"div",61),qo(3),Po(),Po()}if(2&t){const t=e.$implicit;gs(1),So("src",t.imagePath.hr,Yr),gs(2),Wo(t.caption)}}
1function bx(t,e){if(1&t&&(Eo(0,"section",56),Eo(1,"h3",57),qo(2,"Planskisser"),Po(),Eo(3,"div",18),wo(4,xx,4,2,"div",58),Po(),Po()),2&t){const t=No();gs(4),So("ngForOf",null==t.case?null:t.case.sketches)}}function Cx(t,e){if(1&t&&(Eo(0,"div",18),Eo(1,"div",59),ko(2,"iframe",63),rl(3,"safe"),Po(),Po()),2&t){const t=No(2);gs(2),So("src",sl(3,1,null==t.case?null:t.case.vimeo),Kr)}}function Sx(t,e){if(1&t&&(Eo(0,"div",18),Eo(1,"div",59),ko(2,"iframe",64),rl(3,"safe"),Po(),Po()),2&t){const t=No(2);gs(2),So("src",sl(3,1,null==t.case?null:t.case.kuula),Kr)}}function Ox(t,e){if(1&t&&(Eo(0,"div",24),Eo(1,"section",62),Eo(2,"h3",57),qo(3,"3D-vyer"),Po(),wo(4,Cx,4,3,"div",35),wo(5,Sx,4,3,"div",35),Po(),Po()),2&t){const t=No();gs(4),So("ngIf",null==t.case?null:t.case.vimeo),gs(1),So("ngIf",null==t.case?null:t.case.kuula)}}const Ex=function(){return["/projectoverview","privatehouses"]};function Px(t,e){if(1&t){const t=Io();Eo(0,"div",24),Eo(1,"section",65),Eo(2,"div",66),Eo(3,"div",67),qo(4," Vill du se fler av v\xe5ra byggprojekt f\xf6r privatkunder? "),Po(),Po(),Eo(5,"div",68),Eo(6,"div",69),Lo("mouseover",(function(){return Ze(t),No().animationState="bounce"}))("click",(function(){return Ze(t),No().globalConstants.currentArea="privatehouses"})),Eo(7,"a"),Eo(8,"img",70),Lo("@hover.done",(function(){return Ze(t),No().animationState=""})),Po(),Eo(9,"span"),qo(10,"Privata hus"),Po(),Po(),Po(),Po(),Po(),Po()}if(2&t){const t=No();gs(6),So("routerLink",Ja(2,Ex)),gs(2),So("@hover",t.animationState)}}function kx(t,e){if(1&t&&ko(0,"app-case-card",71),2&t){const t=No();So("caseId",null==t.case?null:t.case.previousCase)("slideDirection","down")}}function Tx(t,e){if(1&t&&ko(0,"app-case-card",72),2&t){const t=No();So("caseId",null==t.case?null:t.case.previousCase)("cardHeight","20rem")("slideDirection","down")}}function Mx(t,e){if(1&t&&ko(0,"app-case-card",72),2&t){const t=No();So("caseId",null==t.case?null:t.case.previousCase)("cardHeight","14.6875rem")("slideDirection","down")}}function Ix(t,e){if(1&t&&ko(0,"app-case-card",72),2&t){const t=No();So("caseId",null==t.case?null:t.case.previousCase)("cardHeight","14.6875rem")("slideDirection","up")}}function Ax(t,e){if(1&t&&ko(0,"app-case-card",71),2&t){const t=No();So("caseId",null==t.case?null:t.case.nextCase)("slideDirection","up")}}function Lx(t,e){if(1&t&&ko(0,"app-case-card",72),2&t){const t=No();So("caseId",null==t.case?null:t.case.nextCase)("cardHeight","20rem")("slideDirection","up")}}function Rx(t,e){if(1&t&&ko(0,"app-case-card",72),2&t){const t=No();So("caseId",null==t.case?null:t.case.nextCase)("cardHeight","14.6875rem")("slideDirection","up")}}function Fx(t,e){if(1&t&&ko(0,"app-case-card",72),2&t){const t=No();So("caseId",null==t.case?null:t.case.nextCase)("cardHeight","14.6875rem")("slideDirection","down")}}function Nx(t,e){if(1&t){const t=Io();Eo(0,"app-slideshow",73),Lo("currentImageNameChange",(function(e){return Ze(t),No().clickedImage=e})),Po()}if(2&t){const t=No();So("case",t.case)("currentImageName",t.clickedImage)}}const Dx=function(){return{scale:1,distance:"0",reset:!0}},jx=function(t){return{"no-quoter":t}};let Hx=(()=>{class t{constructor(t,e,n,r,s,i,o){this.meta=e,this.title=n,this.route=r,this.caseService=s,this.media=i,this.globalConstants=o,this.clickedImage=null,this.isBrowser=Xc(t)}setMeta(){""==this.globalConstants.currentArea&&(this.globalConstants.currentArea=this.case.area),this.title.setTitle(this.case.name+", "+this.case.type+" - Oskar Sejn\xe4s Arkitektur"),this.meta.addTags([{name:"description",content:(this.case.sections||[]).length>0?this.case.sections[0].text:""}])}ngOnInit(){this.sub=this.route.params.subscribe(t=>{this.caseService.getCase(t.id).then(t=>{this.case=t,this.setMeta(),this.visibleImages=this.media.isActive("gt-sm")||this.case.images.length<10?this.case.images.length:this.case.images.length/2,this.isBrowser&&setTimeout((function(){window.scrollTo({top:0,left:0})}),100)}).catch(t=>console.log(t))})}ngOnDestroy(){null!=this.sub&&this.sub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(xo(kl),xo(Lu),xo(Fu),xo(t_),xo(Hw),xo(Td),xo(Rw))},t.\u0275cmp=pe({type:t,selectors:[["app-case"]],viewQuery:function(t,e){var n,r,s,i;1&t&&(r=ox,s=!0,function(t,e,n,r,s,i){t.firstCreatePass&&wl(t,new ul(n,r,!1,s),-1),_l(t,e)}(Ke(),Ye(),r,s,i)),2&t&&gl(n=vl())&&(e.playerContainer=n.first)},decls:56,vars:34,consts:[[1,"case"],[1,"hero",3,"ngsReveal"],["media","(min-width: 600px)",3,"srcset"],[1,"hero-image",3,"src","alt"],[1,"filter"],[1,"image-badge","clickable",3,"click"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/photo.svg","alt","Antal projektbilder"],[1,"container"],["fxLayout","row","
1ngsReveal","",1,"title-wrapper"],["fxFlexOffset","25","fxFlexOffset.xs","0","fxFlexOffset.gt-sm","45.83333333333333","fxFlex","grow","fxLayout","column","fxLayoutAlign","end start",1,"title"],[4,"ngIf"],["fxLayout","row","fxLayout.xs","column",1,"facts"],["fxLayout","column","fxLayout.xs","row","fxFlexOffset.gt-md","8.3333","fxFlex","25"],["fxLayout","column","fxLayout.xs","row","fxFlex","50","fxFlex.gt-md","33.3333"],["fxFlex.xs","125px"],["fxFlex.xs","grow"],["fxLayout","column","fxLayout.xs","row","fxFlex","grow"],[1,"quote"],["fxLayout","row wrap"],["fxFlexOffset.sm","0","fxFlexOffset.gt-md","8.3333","fxFlex","grow"],[1,"preamble",3,"ngClass"],["class","quoter",4,"ngIf"],["class","section","ngsReveal","",4,"ngFor","ngForOf"],["class","case-images clickable","ngsReveal","",4,"ngIf"],[1,"container","no-top-margin"],["class","sketches clickable",4,"ngIf"],["class","container no-top-margin",4,"ngIf"],["ngsReveal","",1,"case-navigation"],["fxFlex.xs","100","fxFlex","50",1,"left"],[3,"caseId","slideDirection",4,"ngIf"],[3,"caseId","cardHeight","slideDirection",4,"ngIf"],["fxFlex.xs","100","fxFlex","50",1,"right"],[3,"case","currentImageName","currentImageNameChange",4,"ngIf"],[1,"quoter"],["ngsReveal","",1,"section"],["fxLayout","row wrap",4,"ngIf"],["fxFlex","0","fxFlex.gt-md","8.3333",1,"image-no","left"],["fxFlex","100","fxFlex.md","58.3333","fxFlex.gt-md","50",1,"clickable",3,"click"],[1,"left",3,"src"],[1,"caption","section-caption"],["fxFlexOffset.sm","16.6667","fxFlexOffset.gt-sm","8.3333","fxFlex","100","fxFlex.sm","66.6667","fxFlex.md","33.3333","fxFlex.gt-md","25",1,"text"],[3,"innerHTML"],["fxHide","","fxShow.gt-sm","","fxFlexOffset.gt-md","8.3333","fxFlex","33.3333","fxFlex.gt-md","25"],["fxFlexOffset.gt-sm","8.3333","fxFlex","100","fxFlex.md","58.3333","fxFlex.gt-md","50",1,"clickable",3,"click"],[1,"right",3,"src"],[1,"caption","section-caption","right"],["fxShow","","fxHide.gt-sm","","fxFlexOffset.sm","16.6667","fxFlex","100","fxFlex.sm","66.6667",1,"text"],["fxFlex","0","fxFlex.gt-md","8.3333",1,"image-no","right"],["ngsReveal","",1,"case-images","clickable"],[1,"image",3,"src","click"],[1,"image-badge",3,"click"],[3,"options","useImagesLoaded"],[1,"brick-sizer"],["class","brick clickable",3,"click",4,"ngFor","ngForOf"],[1,"brick","clickable",3,"click"],[3,"src"],[1,"sketches","clickable"],["ngsReveal",""],["class","sketch","ngsReveal","","fxFlexOffset.gt-md","8.3333","fxFlex","100","fxFlex.gt-md","83.33333",4,"ngFor","ngForOf"],["ngsReveal","","fxFlexOffset.gt-md","8.3333","fxFlex","100","fxFlex.gt-md","83.33333",1,"sketch"],[3,"src","click"],[1,"caption"],[1,"sketches"],["title","vimeo-player","width","100%","height","640","frameborder","0","allowfullscreen","",3,"src"],["width","100%","height","640","frameborder","0","allow","xr-spatial-tracking; gyroscope; accelerometer","allowfullscreen","","scrolling","no",3,"src"],["fxLayout","row wrap","ngsReveal","","fxLayoutAlign","start center"],["fxFlexOffset","16.6667","fxFlexOffset.xs","0","fxFlexOffset.md","0","fxFlex.xs","100","fxFlex.sm","50","fxFlex.md","66.6667","fxFlex.gt-md","50"],[1,"preamble"],["fxFlex","33.3333","fxFlex.xs","100","fxFlexOffset.sm","16.6667"],[1,"privatehouses-button",3,"routerLink","mouseover","click"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/arrow.svg",1,"rotate-90"],[3,"caseId","slideDirection"],[3,"caseId","cardHeight","slideDirection"],[3,"case","currentImageName","currentImageNameChange"]],template:function(t,e){1&t&&(Eo(0,"div",0),Eo(1,"div",1),Eo(2,"picture"),ko(3,"source",2),ko(4,"img",3),Po(),ko(5,"div",4),Eo(6,"div",5),Lo("click",(function(){return e.clickedImage=null==e.case?null:e.case.imagePaths[0]})),ko(7,"img",6),Eo(8,"span"),qo(9),Po(),Po(),Po(),Eo(10,"div",7),Eo(11,"div",8),Eo(12,"div",9),ko(13,"hr"),wo(14,ax,2,0,"span",10),wo(15,lx,2,0,"span",10),Eo(16,"h1"),qo(17),Po(),Po(),Po(),Eo(18,"div",11),Eo(19,"div",12),wo(20,cx,5,1,"ng-container",10),wo(21,ux,5,1,"ng-container",10),Po(),Eo(22,"div",13),Eo(23,"span",14),qo(24,"Projekttyp"),Po(),Eo(25,"h2",15),qo(26),Po(),Po(),Eo(27,"div",16),wo(28,hx,5,1,"ng-container",10),wo(29,dx,5,1,"ng-container",10),Po(),Po(),Eo(30,"section",17),Eo(31,"div",18),Eo(32,"div",19),Eo(33,"div",20),qo(34),Po(),wo(35,fx,2,2,"div",21),Po(),Po(),Po(),wo(36,gx,3,2,"section",22),wo(37,yx,6,2,"section",23),Po(),wo(38,wx,4,4,"section",10),Eo(39,"div",24),wo(40,bx,5,1,"section",25),Po(),wo(41,Ox,6,2,"div",26),wo(42,Px,11,3,"div",26),Eo(43,"section",27),Eo(44,"div",18),Eo(45,"div",28),wo(46,kx,1,2,"app-case-card",29),wo(47,Tx,1,3,"app-case-card",30),wo(48,Mx,1,3,"app-case-card",30),wo(49,Ix,1,3,"app-case-card",30),Po(),Eo(50,"div",31),wo(51,Ax,1,2,"app-case-card",29),wo(52,Lx,1,3,"app-case-card",30),wo(53,Rx,1,3,"app-case-card",30),wo(54,Fx,1,3,"app-case-card",30),Po(),Po(),Po(),Po(),wo(55,Nx,1,2,"app-slideshow",32)),2&t&&(gs(1),So("ngsReveal",Ja(31,Dx)),gs(2),So("srcset",null==e.case?null:e.case.hero,Yr),gs(1),So("src",null==e.case?null:e.case.heroLow,Yr)("alt",null==e.case?null:e.case.name),gs(5),Wo((null==e.case?null:e.case.images.length)+(null==e.case?null:e.case.sketches.length)-0),gs(5),So("ngIf",e.globalConstants.isPrivateHouses()),gs(1),So("ngIf",e.globalConstants.isPublicRooms()),gs(2),Wo(null==e.case?null:e.case.name),gs(3),So("ngIf",e.globalConstants.isPrivateHouses()),gs(1),So("ngIf",e.globalConstants.isPublicRooms()),gs(5),Wo(null==e.case?null:e.case.type),gs(2),So("ngIf",e.globalConstants.isPrivateHouses()),gs(1),So("ngIf",e.globalConstants.isPublicRooms()),gs(4),So("ngClass",tl(32,jx,""==(null==e.case||null==e.case.comment?null:e.case.comment.
1name))),gs(1),Qo(" ",null==e.case||null==e.case.comment?null:e.case.comment.text," "),gs(1),So("ngIf",null==e.case||null==e.case.comment?null:e.case.comment.name),gs(1),So("ngForOf",null==e.case?null:e.case.sections),gs(1),So("ngIf",e.media.isActive("xs")),gs(1),So("ngIf",e.media.isActive("gt-xs")),gs(2),So("ngIf",(null==e.case?null:e.case.sketches.length)>0),gs(1),So("ngIf",(null==e.case?null:e.case.vimeo)||(null==e.case?null:e.case.kuula)),gs(1),So("ngIf","Bostadsprojekt"==(null==e.case?null:e.case.type)),gs(4),So("ngIf",e.media.isActive("gt-md")),gs(1),So("ngIf",e.media.isActive("md")),gs(1),So("ngIf",e.media.isActive("sm")),gs(1),So("ngIf",e.media.isActive("xs")),gs(2),So("ngIf",e.media.isActive("gt-md")),gs(1),So("ngIf",e.media.isActive("md")),gs(1),So("ngIf",e.media.isActive("sm")),gs(1),So("ngIf",e.media.isActive("xs")),gs(1),So("ngIf",e.clickedImage))},directives:[Ng,af,Nf,Ef,Wf,Gc,$c,Hd,Wc,Wd,Mg,Ig,cw,Kw,rx],pipes:[sx,ix],styles:[".case[_ngcontent-%COMP%]{margin-top:-6.5625rem}.case[_ngcontent-%COMP%], .hero[_ngcontent-%COMP%]{position:relative}.hero[_ngcontent-%COMP%]{margin-right:7.5rem}@media only screen and (max-width:1279px){.hero[_ngcontent-%COMP%]{margin-right:0}}.hero[_ngcontent-%COMP%]   .hero-image[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;height:43.75rem;width:100%}@media only screen and (min-width:960px) and (max-width:1279px){.hero[_ngcontent-%COMP%]   .hero-image[_ngcontent-%COMP%]{height:37.5rem}}@media only screen and (min-width:600px) and (max-width:959px){.hero[_ngcontent-%COMP%]   .hero-image[_ngcontent-%COMP%]{height:31.25rem}}@media only screen and (max-width:599px){.hero[_ngcontent-%COMP%]   .hero-image[_ngcontent-%COMP%]{height:23.4375rem}}.hero[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;right:0;left:0;background-image:linear-gradient(0deg,transparent,rgba(0,0,0,.3))}.image-badge[_ngcontent-%COMP%]{background:#ff3029;position:absolute;right:0;bottom:8.875rem;padding:1.125rem 2.25rem 1.125rem 1.25rem;color:#fff;font-weight:700;text-align:center;z-index:100}@media only screen and (min-width:600px) and (max-width:959px){.image-badge[_ngcontent-%COMP%]{bottom:7.4375rem}}@media only screen and (max-width:599px){.image-badge[_ngcontent-%COMP%]{bottom:-3.75rem}}.image-badge[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:absolute;left:3.3rem;top:.375rem}.container[_ngcontent-%COMP%]{max-width:1290px;margin:-9.5625rem auto 0;position:relative}@media only screen and (min-width:960px) and (max-width:1279px){.container[_ngcontent-%COMP%]{margin:-9.5625rem 4.6875rem 0}}@media only screen and (min-width:600px) and (max-width:959px){.container[_ngcontent-%COMP%]{margin:-8.625rem 2.625rem 0}}@media only screen and (max-width:599px){.container[_ngcontent-%COMP%]{margin:-.625rem 1.875rem 0}}.container.no-top-margin[_ngcontent-%COMP%]{margin-top:0}.title-wrapper[_ngcontent-%COMP%]{padding-top:.6875rem}@media screen and (min-width:1900px){.title-wrapper[_ngcontent-%COMP%]{margin:0 -18.015rem}}@media screen and (min-width:1660px) and (max-width:1899px){.title-wrapper[_ngcontent-%COMP%]{margin:0 -11.875rem}}@media screen and (min-width:1550px) and (max-width:1659px){.title-wrapper[_ngcontent-%COMP%]{margin:0 -3.75rem}}@media only screen and (min-width:960px) and (max-width:1279px){.title-wrapper[_ngcontent-%COMP%]{margin:0 -4.6875rem}}@media only screen and (min-width:600px) and (max-width:959px){.title-wrapper[_ngcontent-%COMP%]{padding-top:1.1875rem;margin:0 -2.625rem}}@media only screen and (max-width:599px){.title-wrapper[_ngcontent-%COMP%]{padding-top:0;margin-left:-1.875rem;margin-right:3.5em}}.title-wrapper[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{background:#fff;padding-left:4.1666666667%;height:9.5625rem}@media only screen and (min-width:960px) and (max-width:1279px){.title-wrapper[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{padding-left:4.375rem}}@media only screen and (min-width:600px) and (max-width:959px){.title-wrapper[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{height:7.9375rem}}@media only screen and (max-width:599px){.title-wrapper[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{padding-left:1.875rem;height:7.625rem}}.title-wrapper[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{display:block;height:1px;border:0;border-top:1px solid #ff3029;margin:0 0 1rem;padding:0;width:1.25rem}.facts[_ngcontent-%COMP%]{margin-top:3.625rem}@media only screen and (min-width:600px) and (max-width:959px){.facts[_ngcontent-%COMP%]{margin-top:2.5rem}}@media only screen and (max-width:599px){.facts[_ngcontent-%COMP%]{margin-top:1.5625rem;min-height:5.25rem}.facts[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:grey}}.quote[_ngcontent-%COMP%]{margin-top:3.875rem;margin-bottom:-7.75rem}@media only screen and (min-width:960px) and (max-width:1279px){.quote[_ngcontent-%COMP%]{margin-bottom:-6rem}}@media only screen and (min-width:600px) and (max-width:959px){.quote[_ngcontent-%COMP%]{margin-top:2.1875rem;margin-bottom:-3.875rem;text-align:right}}@media only screen and (max-width:599px){.quote[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:-2.875rem;text-align:right}}.quote[_ngcontent-%COMP%]   .preamble[_ngcontent-%COMP%]{font-size:2.25rem}@media only screen and (min-width:600px) and (max-width:959px){.quote[_ngcontent-%COMP%]   .preamble[_ngcontent-%COMP%]{font-size:1.75rem;text-align:right}.quote[_ngcontent-%COMP%]   .preamble.no-quoter[_ngcontent-%COMP%]{text-align:center}}@media only screen and (max-width:599px){.quote[_ngcontent-%COMP%]   .preamble[_ngcontent-%COMP%]{font-size:1.25rem;text-align:right}.quote[_ngcontent-%COMP%]   .preamble.no-quoter[_ngcontent-%COMP%]{text-align:center}}.quote[_ngcontent-%COMP%]   .quoter[_ngcontent-%COMP%]{color:grey}section[_ngcontent-%COMP%]{margin-top:9.375rem}@media only screen and (min-width:960px) and (max-width:1279px){section[_ngcontent-%COMP%]{margin-top:7.625rem}}@media only screen and (min-width:600px) and (max-width:959px){section[_ngcontent-%COMP%]{margin-top:5.9375rem}section[_ngcontent-%COMP%]   img.left[_ngcontent-%COMP%], section[_ngcontent-%COMP%]   img.right[_ngcontent-%COMP%]{max-width:calc(100% + 2.625rem)}section[_ngcontent-%COMP%]   img.left.left[_ngcontent-%COMP%], section[_ngcontent-%COMP%]   img.right.left[_ngcontent-%COMP%]{margin-left:-2.625rem}}@media only screen and (max-width:599px){section[_ngcontent-%COMP%]{margin-top:5rem}section[_ngcontent-%COMP%]   img.left[_ngcontent-%COMP%], section[_ngcontent-%COMP%]   img.right[_ngcontent-%COMP%]{max-width:calc(100% + 1.875rem)}section[_ngcontent-%COMP%]   img.left.left[_ngcontent-%COMP%], section[_ngcontent-%COMP%]   img.right.left[_ngcontent-%COMP%]{margin-left:-1.875rem}}.section[_ngcontent-%COMP%]{position:relative}@media only screen and (max-width:959px){.section[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{margin-top:3.75rem}}.image-no.left[_ngcontent-%COMP%], .section-caption.right[_ngcontent-%COMP%]{text-align:right}.image-no.left[_ngcontent-%COMP%]{padding-right:1.875rem}.image-no.left[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{transform:rotate(-90deg) translate(-1.5rem,1.5rem)}@media only screen and (min-width:960px) and (max-width:1279px){.image-no.left[_ngcontent-%COMP%]{padding-right:0;position:absolute;top:-1.5625rem;left:-3.75rem}}@media only screen and (max-width:959px){.image-no.left[_ngcontent-%COMP%]{position:absolute;top:-3.5625rem;right:0}}.image-no.right[_ngcontent-%COMP%]{padding-left:1.875rem}.image-no.right[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{transform:rotate(90deg) translate(1.5rem,1.5rem)}@media only screen and (min-width:960px) and (max-width:1279px){.image-no.right[_ngcontent-%COMP%]{padding-left:0;position:absolute;top:-1.5625rem;right:-3.75rem}}@media only screen and (max-width:959px){.image-no.right[_ngcontent-%COMP%]{position:absolute;top:-3.5625rem;left:0}}.brick[_ngcontent-%COMP%], .brick-sizer[_ngcontent-%COMP%]{width:calc(20% - 1px)}@media only screen and (min-width:600px) and (max-width:959px){.brick[_ngcontent-%COMP%], .brick-sizer[_ngcontent-%COMP%]{width:calc(33.3333% - 1px)}}.brick[_ngcontent-%COMP%]{margin-bottom:1px}.brick[_ngcontent-%COMP%]   .image-badge[_ngcontent-%COMP%]{bottom:0}.case-images[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;height:13.125rem;width:100%}
1.case-images[_ngcontent-%COMP%]   .image-badge[_ngcontent-%COMP%]{bottom:0}.sketches[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{text-align:center;margin-bottom:2rem}.sketches[_ngcontent-%COMP%]   .sketch[_ngcontent-%COMP%]{margin-bottom:6.25rem}@media only screen and (min-width:960px) and (max-width:1279px){.sketches[_ngcontent-%COMP%]   .sketch[_ngcontent-%COMP%]{margin-bottom:5rem}}@media only screen and (min-width:600px) and (max-width:959px){.sketches[_ngcontent-%COMP%]   .sketch[_ngcontent-%COMP%]{margin-bottom:3.75rem}}@media only screen and (max-width:599px){.sketches[_ngcontent-%COMP%]   .sketch[_ngcontent-%COMP%]{margin-bottom:1.875rem}}.sketches[_ngcontent-%COMP%]   .caption[_ngcontent-%COMP%]{text-align:center}.case-navigation[_ngcontent-%COMP%]{margin-bottom:0}.case-navigation[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{padding-top:3.75rem}@media only screen and (max-width:599px){.case-navigation[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{padding-top:0}}.case-navigation[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{padding-bottom:3.75rem}@media only screen and (max-width:599px){.case-navigation[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{padding-bottom:0}}.privatehouses-button[_ngcontent-%COMP%]{background:#ff3029;border-radius:.125rem;padding:1rem 0;width:13.1875rem;color:#fff;text-align:center;vertical-align:middle;line-height:1rem;
1font-family:F37 Bolton Bold;margin-top:-.3125rem;cursor:pointer}.privatehouses-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-right:1rem;margin-top:-.125rem}.privatehouses-button[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;text-decoration:none}"],data:{animation:[op("hover",[up("bounce",cp({transform:"translateX(0) rotate(90deg)"})),dp("* => bounce",ap("700ms",hp([cp({transform:"translateX(0) rotate(90deg)"}),cp({transform:"translateX(.5rem) rotate(90deg)"}),cp({transform:"translateX(0) rotate(90deg)"})])))])]}}),t})();class Ux{}class zx{}let Bx=(()=>{class t{constructor(t,e){this.http=t,this.globalConstants=e,this.about=new Ux,this.imagePath="https://osawebb.s3.eu-north-1.amazonaws.com/images/",this.pdfPath="https://osawebb.s3.eu-north-1.amazonaws.com/PDFer/",this.aboutPath="https://osawebb.s3.eu-north-1.amazonaws.com/data/about.json"}getAbout(){return this.aboutPath=this.globalConstants.isPublicRooms()?"https://osawebb.s3.eu-north-1.amazonaws.com/data/aboutPublikaRum.json":"https://osawebb.s3.eu-north-1.amazonaws.com/data/about.json",this.http.get(this.aboutPath).toPromise().then(t=>(this.about=t,this.about[0].sections.forEach(t=>{t.image=this.imagePath+t.image}),this.about[0].pdfs.forEach(t=>{t.filename=this.pdfPath+t.filename}),this.about[0])).catch(t=>this.handleError(t,this))}handleError(t,e){return Promise.reject(t.message||t)}}return t.\u0275fac=function(e){return new(e||t)(Yt(rh),Yt(Rw))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Vx(t,e){if(1&t&&(Eo(0,"li",13),Eo(1,"a",31),qo(2),Po(),Po()),2&t){const t=e.$implicit;gs(1),So("href",t.filename,Yr),gs(1),Wo(t.title)}}function $x(t,e){if(1&t&&(Eo(0,"div",29),Eo(1,"h3"),qo(2,"Har du ett projekt p\xe5 g\xe5ng och vill veta mer?"),Po(),Eo(3,"ul"),wo(4,Vx,3,2,"li",30),Po(),Po()),2&t){const t=No();gs(4),So("ngForOf",t.projectDescriptions)}}function qx(t,e){if(1&t&&(Eo(0,"li",13),Eo(1,"a",31),qo(2),Po(),Po()),2&t){const t=e.$implicit;gs(1),So("href",t.filename,Yr),gs(1),Wo(t.title)}}function Wx(t,e){if(1&t&&(Eo(0,"div",32),Eo(1,"h3"),qo(2,"OS Arkitektur i media"),Po(),Eo(3,"ul"),wo(4,qx,3,2,"li",30),Po(),Po()),2&t){const t=No();gs(4),So("ngForOf",t.mediaLinks)}}function Qx(t,e){1&t&&ko(0,"app-case-card",33),2&t&&So("caseId",No().previousCase)("slideDirection","down")}function Gx(t,e){1&t&&ko(0,"app-case-card",34),2&t&&So("caseId",No().previousCase)("cardHeight","20rem")("slideDirection","down")}function Yx(t,e){1&t&&ko(0,"app-case-card",34),2&t&&So("caseId",No().previousCase)("cardHeight","14.687rem")("slideDirection","down")}function Kx(t,e){1&t&&ko(0,"app-case-card",34),2&t&&So("caseId",No().previousCase)("cardHeight","14.687rem")("slideDirection","up")}function Zx(t,e){1&t&&ko(0,"app-case-card",33),2&t&&So("caseId",No().nextCase)("slideDirection","up")}function Xx(t,e){1&t&&ko(0,"app-case-card",34),2&t&&So("caseId",No().nextCase)("cardHeight","20rem")("slideDirection","up")}function Jx(t,e){1&t&&ko(0,"app-case-card",34),2&t&&So("caseId",No().nextCase)("cardHeight","14.687rem")("slideDirection","up")}function tb(t,e){1&t&&ko(0,"app-case-card",35),2&t&&So("caseId",No().nextCase)("cardHeight","14.687rem")("slideDirection","down")}let eb=(()=>{class t{constructor(t,e,n,r){this.aboutService=e,this.media=n,this.globalConstants=r,this.sections=[new zx,new zx],this.projectDescriptions=new Array,this.mediaLinks=new Array,this.isBrowser=Xc(t)}ngOnInit(){this.aboutService.getAbout().then(t=>{this.sections=t.sections,this.projectDescriptions=t.pdfs.filter(t=>"projektbeskrivning"===t.type),this.mediaLinks=t.pdfs.filter(t=>"media"===t.type),this.isBrowser&&setTimeout((function(){window.scrollTo({top:0,left:0})}),100)}).catch(t=>console.log(t)),this.previousCase=this.globalConstants.isPublicRooms()?"KvantumStaden":"sejnas",this.nextCase=this.globalConstants.isPublicRooms()?"ElFuego":"hessle"}}return t.\u0275fac=function(e){return new(e||t)(xo(kl),xo(Bx),xo(Td),xo(Rw))},t.\u0275cmp=pe({type:t,selectors:[["app-about"]],decls:46,vars:17,consts:[[1,"container"],["fxLayout","row"],["fxFlex","","fxFlexOffset.gt-md","8.3333"],["ngsReveal","","fxLayout","row wrap",1,"section"],["fxFlex","0","fxFlex","8.3333",1,"image-no","left"],["fxFlex","100","fxFlex.md","58.3333","fxFlex.gt-md","50",1,"left"],[3,"srcset"],[1,"left",3,"src"],[1,"caption","section-caption"],["fxFlexOffset.sm","16.6667","fxFlexOffset.gt-sm","8.3333","fxFlex","100","fxFlex.sm","66.6667","fxFlex.md","33.3333","fxFlex.gt-md","25",1,"text"],[3,"innerHTML"],["fxLayout","row wrap","ngsReveal",""],["fxFlexOffset","16.6667","fxFlexOffset.xs","0","fxFlexOffset.md","0","fxFlex.xs","100","fxFlex.sm","50","fxFlex.md","66.6667","fxFlex.gt-md","50"],[1,"preamble"],[1,"quoter"],["fxFlex","33.3333","fxFlex.xs","100","fxFlexOffset.sm","16.6667"],[1,"contact-button",3,"mouseover"],["href","mailto:[email protected]"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/arrow.svg",1,"rotate-90"],["fxLayout","column","fxLayout.gt-md","row","fxLayoutGap","20px","ngsReveal","",1,"pdf-links"],["fxFlex","100","fxFlex.gt-md","50","fxFlexOffset.gt-md","8.3333",4,"ngIf"],["fxFlex","100","fxFlex.gt-md","50",4,"ngIf"],["ngsReveal","",1,"case-navigation"],["fxLayout","row wrap"],["fxFlex.xs","100","fxFlex","50",1,"left"],[3,"caseId","slideDirection",4,"ngIf"],[3,"caseId","cardHeight","slideDirection",4,"ngIf"],["fxFlex.xs","100","fxFlex","50",1,"right"],["ks","",3,"caseId","cardHeight","slideDirection",4,"ngIf"],["fxFlex","100","fxFlex.gt-md","50","fxFlexOffset.gt-md","8.3333"],["class","preamble",4,"ngFor","ngForOf"],["target","_blank",3,"href"],["fxFlex","100","fxFlex.gt-md","50"],[3,"caseId","slideDirection"],[3,"caseId","cardHeight","slideDirection"],["ks","",3,"caseId","cardHeight","slideDirection"]],template:function(t,e){1&t&&(Eo(0,"div",0),Eo(1,"div",1),Eo(2,"div",2),ko(3,"hr"),Eo(4,"h1"),qo(5,"Om OS Arkitektur"),Po(),Po(),Po(),Eo(6,"section",3),Eo(7,"div",4),Eo(8,"div"),qo(9,"01"),Po(),Po(),Eo(10,"div",5),Eo(11,"picture"),ko(12,"source",6),ko(13,"img",7),Po(),Eo(14,"div",8),qo(15),Po(),Po(),Eo(16,"div",9),ko(17,"p",10),rl
1(18,"keepHtml"),Po(),Po(),Eo(19,"section",11),Eo(20,"div",12),Eo(21,"div",13),qo(22," \u201dAtt prata med oss \xe4r inte sv\xe5rt \u2013 det \xe4r bara roligt!\u201d "),Po(),Eo(23,"div",14),qo(24," \u2014 Oskar Sejn\xe4s, arkitekt "),Po(),Po(),Eo(25,"div",15),Eo(26,"div",16),Lo("mouseover",(function(){return e.animationState="bounce"})),Eo(27,"a",17),Eo(28,"img",18),Lo("@hover.done",(function(){return e.animationState=""})),Po(),Eo(29,"span"),qo(30,"Kontakta oss"),Po(),Po(),Po(),Po(),Po(),Eo(31,"section",19),wo(32,$x,5,1,"div",20),wo(33,Wx,5,1,"div",21),Po(),Po(),Eo(34,"section",22),Eo(35,"div",23),Eo(36,"div",24),wo(37,Qx,1,2,"app-case-card",25),wo(38,Gx,1,3,"app-case-card",26),wo(39,Yx,1,3,"app-case-card",26),wo(40,Kx,1,3,"app-case-card",26),Po(),Eo(41,"div",27),wo(42,Zx,1,2,"app-case-card",25),wo(43,Xx,1,3,"app-case-card",26),wo(44,Jx,1,3,"app-case-card",26),wo(45,tb,1,3,"app-case-card",28),Po(),Po(),Po()),2&t&&(gs(12),So("srcset",e.sections[0].image,Yr),gs(1),So("src",e.sections[0].image,Yr),gs(2),Wo(e.sections[0].caption),gs(2),So("innerHTML",sl(18,15,e.sections[0].text),Gr),gs(11),So("@hover",e.animationState),gs(4),So("ngIf",e.projectDescriptions.length>0),gs(1),So("ngIf",e.mediaLinks.length>0),gs(4),So("ngIf",e.media.isActive("gt-md")),gs(1),So("ngIf",e.media.isActive("md")),gs(1),So("ngIf",e.media.isActive("sm")),gs(1),So("ngIf",e.media.isActive("xs")),gs(2),So("ngIf",e.media.isActive("gt-md")),gs(1),So("ngIf",e.media.isActive("md")),gs(1),So("ngIf",e.media.isActive("sm")),gs(1),So("ngIf",e.media.isActive("xs")))},directives:[af,Ef,Nf,Ng,pf,Gc,Wc,Kw],pipes:[sx],styles:[".container[_ngcontent-%COMP%]{max-width:1290px;margin:5.9375rem auto 0;position:relative}@media only screen and (min-width:960px) and (max-width:1279px){.container[_ngcontent-%COMP%]{margin:5.9375rem 4.6875rem 0}}@media only screen and (min-width:600px) and (max-width:959px){.container[_ngcontent-%COMP%]{margin:3.75rem 2.625rem 0}}@media only screen and (max-width:599px){.container[_ngcontent-%COMP%]{margin:3.75rem 1.875rem 0}}h1[_ngcontent-%COMP%], section[_ngcontent-%COMP%]{margin-bottom:7.5rem}@media only screen and (min-width:960px) and (max-width:1279px){h1[_ngcontent-%COMP%], section[_ngcontent-%COMP%]{margin-bottom:7.5rem}}@media only screen and (min-width:600px) and (max-width:959px){h1[_ngcontent-%COMP%], section[_ngcontent-%COMP%]{margin-bottom:5.9375rem}}@media only screen and (max-width:599px){h1[_ngcontent-%COMP%], section[_ngcontent-%COMP%]{margin-bottom:5rem}}@media only screen and (min-width:960px) and (max-width:1279px){h1[_ngcontent-%COMP%]{font-size:3rem}}hr[_ngcontent-%COMP%]{display:block;height:1px;border:0;border-top:1px solid #ff3029;margin:0 0 1.5rem;padding:0;width:5rem}@media only screen and (max-width:959px){hr[_ngcontent-%COMP%]{width:2.5rem}}@media only screen and (min-width:600px) and (max-width:959px){hr[_ngcontent-%COMP%]{margin-bottom:.5625rem}}.section[_ngcontent-%COMP%]{position:relative}@media only screen and (max-width:959px){.section[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{margin-top:3.75rem}}.section[_ngcontent-%COMP%]   .image-no.left[_ngcontent-%COMP%]{text-align:right;padding-right:1.875rem}.section[_ngcontent-%COMP%]   .image-no.left[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{transform:rotate(-90deg) translate(-1.5rem,1.5rem)}@media only screen and (min-width:960px) and (max-width:1279px){.section[_ngcontent-%COMP%]   .image-no.left[_ngcontent-%COMP%]{padding-right:0;position:absolute;top:-2rem;left:-3.75rem}}@media only screen and (min-width:600px) and (max-width:959px){.section[_ngcontent-%COMP%]   .image-no.left[_ngcontent-%COMP%]{position:absolute;top:-3.75rem;right:-.4375rem}}@media only screen and (max-width:599px){.section[_ngcontent-%COMP%]   .image-no.left[_ngcontent-%COMP%]{position:absolute;top:-3.4375rem;right:0}}.section[_ngcontent-%COMP%]   .image-no.right[_ngcontent-%COMP%]{padding-left:1.875rem}.section[_ngcontent-%COMP%]   .image-no.right[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{transform:rotate(90deg) translate(1.5rem,1.5rem)}@media only screen and (min-width:960px) and (max-width:1279px){.section[_ngcontent-%COMP%]   .image-no.right[_ngcontent-%COMP%]{padding-left:0;position:absolute;top:-1.875rem;right:-3.75rem}}@media only screen and (min-width:600px) and (max-width:959px){.section[_ngcontent-%COMP%]   .image-no.right[_ngcontent-%COMP%]{position:absolute;top:-3.875rem;left:-.5625rem}}@media only screen and (max-width:599px){.section[_ngcontent-%COMP%]   .image-no.right[_ngcontent-%COMP%]{position:absolute;top:-4.625rem;left:0}}.quoter[_ngcontent-%COMP%]{color:grey}@media only screen and (max-width:959px){.quoter[_ngcontent-%COMP%]{margin-bottom:1.875rem}}.contact-button[_ngcontent-%COMP%]{background:#ff3029;border-radius:.125rem;padding:1rem 0;width:13.1875rem;color:#fff;text-align:center;vertical-align:middle;line-height:1rem;
1font-family:F37 Bolton Bold;margin-top:-.3125rem;cursor:pointer}.contact-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-right:1rem;margin-top:-.125rem}.contact-button[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;text-decoration:none}.pdf-links[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none}.case-navigation[_ngcontent-%COMP%]{margin-bottom:0}.case-navigation[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{padding-top:3.75rem}@media only screen and (max-width:599px){.case-navigation[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{padding-top:0}}.case-navigation[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{padding-bottom:3.75rem}@media only screen and (max-width:599px){.case-navigation[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{padding-bottom:0}}"],data:{animation:[op("hover",[up("bounce",cp({transform:"translateX(0) rotate(90deg)"})),dp("* => bounce",ap("700ms",hp([cp({transform:"translateX(0) rotate(90deg)"}),cp({transform:"translateX(.5rem) rotate(90deg)"}),cp({transform:"translateX(0) rotate(90deg)"})])))])]}}),t})();function nb(t,e){1&t&&(Eo(0,"picture"),ko(1,"source",14),ko(2,"img",15),Po())}function rb(t,e){1&t&&(Eo(0,"picture"),ko(1,"source",16),ko(2,"img",17),Po())}function sb(t,e){1&t&&(Eo(0,"h1"),Eo(1,"span"),qo(2,"Milj\xf6er"),Po(),qo(3," som f\xe5r "),Eo(4,"span"),qo(5,"m\xe4nniskor"),Po(),qo(6," att trivas"),Po())}function ib(t,e){1&t&&(Eo(0,"h1",3),qo(1,"R\xe4tt "),Eo(2,"span"),qo(3,"koncept st\xe4rker"),Po(),qo(4," varum\xe4rket"),Po())}function ob(t,e){1&t&&(Eo(0,"p"),qo(1,"OS Arkitektur startade f\xf6r mer \xe4n tio \xe5r sedan och inriktar sig p\xe5 nybyggnation, om- och tillbyggnad av privata hus. Vi skapar milj\xf6er d\xe4r m\xe4nniskor instinktivt k\xe4nner att de trivs."),Po())}function ab(t,e){1&t&&(Eo(0,"p"),qo(1,"OS Arkitektur har 15 \xe5rs erfarenhet av att inreda olika typer av publika rum. Oavsett om det g\xe4ller en butik, restaurang eller frisersalong hj\xe4lper vi dig att utforma den s\xe5 att den b\xe5de v\xe4cker kundernas intresse och bidrar till optimal f\xf6rs\xe4ljning."),Po())}function lb(t,e){if(1&t&&ko(0,"app-case-card",20),2&t){const t=No(),e=t.index,n=t.last,r=t.$implicit,s=t.first;So("slideDirection",0==e?"left":1==e||2==e?"up":n?"right":"down")("caseId",r.id)("cardHeight",s||n?"51.875rem":"24.375rem")}}function cb(t,e){if(1&t&&ko(0,"app-case-card",20),2&t){const t=No(),e=t.index,n=t.last,r=t.$implicit,s=t.first;So("slideDirection",0==e?"left":1==e||2==e?"up":n?"right":"down")("caseId",r.id)("cardHeight",s||n?"31.923rem":"15rem")}}function ub(t,e){if(1&t&&ko(0,"app-case-card",20),2&t){const t=No(),e=t.index,n=t.last,r=t.$implicit,s=t.first;So("slideDirection",0==e?"left":1==e||2==e?"up":n?"right":"down")("caseId",r.id)("cardHeight",s||n?"31.258rem":"14.6875rem")}}function hb(t,e){if(1&t&&(Eo(0,"div",18),wo(1,lb,1,3,"app-case-card",19),wo(2,cb,1,3,"app-case-card",19),wo(3,ub,1,3,"app-case-card",19),Po()),2&t){const t=No();gs(1),So("ngIf",t.media.isActive("gt-sm")),gs(1),So("ngIf",t.media.isActive("sm")),gs(1),So("ngIf",t.media.isActive("xs"))}}const db=function(t){return{"public-rooms":t}};let fb=(()=>{class t{constructor(t,e,n,r,s,i){this.caseService=e,this.media=n,this.globalConstants=r,this.router=s,this.route=i,this.animationState="bounce",this.isBrowser=Xc(t)}ngOnInit(){this.sub=this.route.params.subscribe(t=>{var e=t.area;"privatehouses"!==e&&(e=""),""==this.globalConstants.currentArea&&this.router.navigateByUrl("/"),this.caseService.getCases(e).then(t=>{this.cases=t,this.isBrowser&&setTimeout((function(){window.scrollTo({top:0,left:0})}),100)}).catch(t=>console.log(t))})}ngOnDestroy(){null!=this.sub&&this.sub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(xo(kl),xo(Hw),xo(Td),xo(Rw),xo(lw),xo(t_))},t.\u0275cmp=pe({type:t,selectors:[["app-project-overview"]],decls:20,vars:11,consts:[[1,"home"],[1,"hero"],[4,"ngIf"],[1,"filter"],[1,"container"],["class","filter",4,"ngIf"],[1,"scroll-rect"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/arrow.svg","alt","Scolla ner",1,"rotate-180"],["fxLayout","row"],["fxFlex","100","fxFlexOffset.gt-xs","50","fxFlex.gt-xs","50"],[1,"about",3,"ngClass"],["href","mailto:[email protected]"],[1,"cases"],["class","case",4,"ngFor","ngForOf"],["media","(min-width: 600px)","srcset","https://osawebb.s3.eu-north-1.amazonaws.com/images/hero.jpg"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/images/hero_low.jpg","alt","hero"],["media","(min-width: 600px)","srcset","https://osawebb.s3.eu-north-1.amazonaws.com/images/Publika+rum/HERO/Projekt/HERO.jpg"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/images/Publika+rum/HERO/Projekt/HERO+LOW.jpg","alt","hero"],[1,"case"],[3,"slideDirection","caseId","cardHeight",4,"ngIf"],[3,"slideDirection","caseId","cardHeight"]],template:function(t,e){1&t&&(Eo(0,"div",0),Eo(1,"div",1),wo(2,nb,3,0,"picture",2),wo(3,rb,3,0,"picture",2),ko(4,"div",3),Po(),Eo(5,"div",4),wo(6,sb,7,0,"h1",2),wo(7,ib,5,0,"h1",5),Eo(8,"div",6),ko(9,"img",7),Po(),Eo(10,"section"),Eo(11,"div",8),Eo(12,"div",9),Eo(13,"div",10),wo(14,ob,2,0,"p",2),wo(15,ab,2,0,"p",2),Eo(16,"a",11),qo(17,"Kontakta oss"),Po(),Po(),Po(),Po(),Po(),Eo(18,"section",12),wo(19,hb,4,3,"div",13),Po(),Po(),Po()),2&t&&(gs(2),So("ngIf",e.globalConstants.isPrivateHouses()),gs(1),So("ngIf",e.globalConstants.isPublicRooms()),gs(3),So("ngIf",e.globalConstants.isPrivateHouses()),gs(1),So("ngIf",e.globalConstants.isPublicRooms()),gs(1),So("@hover",e.animationState),gs(5),So("ngClass",tl(9,db,e.globalConstants.isPublicRooms())),gs(1),So("ngIf",e.globalConstants.isPrivateHouses()),gs(1),So("ngIf",e.globalConstants.isPublicRooms()),gs(4),So("ngForOf",e.cases))}
1,directives:[Gc,af,Ef,Nf,$c,Hd,Wc,Kw],styles:['.home[_ngcontent-%COMP%]{position:relative;margin-top:-7.8125rem}@media only screen and (max-width:599px){.home[_ngcontent-%COMP%]{margin-top:-6.5625rem}}.hero[_ngcontent-%COMP%]{position:relative;margin-right:7.5rem}@media only screen and (max-width:1560px){.hero[_ngcontent-%COMP%]{margin-right:0}}.hero[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .hero[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;height:50rem;width:100%}@media only screen and (min-width:960px) and (max-width:1279px){.hero[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .hero[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{height:37.5rem}}@media only screen and (min-width:600px) and (max-width:959px){.hero[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .hero[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{height:31.25rem}}@media only screen and (max-width:599px){.hero[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .hero[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{height:25rem}}.hero[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;right:0;left:0;background-image:linear-gradient(0deg,transparent,rgba(0,0,0,.3))}.container[_ngcontent-%COMP%]{max-width:1290px;margin:0 auto;position:relative}h1[_ngcontent-%COMP%]{color:#fff;text-align:center;max-width:33.375rem;margin:-31.4375rem auto 23.0625rem}h1.filter[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.25)}@media only screen and (min-width:960px) and (max-width:1279px){h1[_ngcontent-%COMP%]{margin:-26.6875rem auto 16.375rem}}@media only screen and (min-width:600px) and (max-width:959px){h1[_ngcontent-%COMP%]{max-width:26.5rem;margin:-19.125rem auto 12.25rem}}@media only screen and (max-width:599px){h1[_ngcontent-%COMP%]{max-width:20rem;margin:-15.135rem auto 9.875rem}}
1h1[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:F37 Bolton Bold}.scroll-rect[_ngcontent-%COMP%]{background:#ff3029;width:3.75rem;padding:1.25rem 0;border-radius:.125rem;margin:-20.3125rem auto 15.9375rem}@media only screen and (min-width:960px) and (max-width:1279px){.scroll-rect[_ngcontent-%COMP%]{margin:-14.875rem auto 10.5rem}}@media only screen and (max-width:959px){.scroll-rect[_ngcontent-%COMP%]{margin:-2.1875rem auto 0}}.scroll-rect[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0 auto}.about[_ngcontent-%COMP%]{padding:4.0625rem 6.875rem 8.125rem 4.375rem;font-size:1.125em}.about.public-rooms[_ngcontent-%COMP%]{padding-bottom:4.0625rem}@media only screen and (min-width:600px) and (max-width:959px){.about.public-rooms[_ngcontent-%COMP%]{margin-bottom:3.75rem}}@media only screen and (min-width:600px) and (max-width:750px){.about[_ngcontent-%COMP%]{padding:4.0625rem 4.375rem 8.125rem}.about.public-rooms[_ngcontent-%COMP%]{padding-top:1.875em;padding-bottom:4.0625rem}}@media only screen and (max-width:599px){.about[_ngcontent-%COMP%]{padding:3.75rem 1.875em}}.about[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.15625rem}.about[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none;position:relative;padding-left:2.875rem}@media only screen and (max-width:959px){.about[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-left:0}}.about[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:before{content:"";width:2.5rem;border-bottom:1px solid #ff3029;position:absolute;left:0;top:50%;z-index:1;margin-top:.125rem}@media only screen and (max-width:959px){.about[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:before{display:none}}@media only screen and (min-width:600px) and (max-width:959px){.cases[_ngcontent-%COMP%]{margin-top:-7.3rem}}.cases[_ngcontent-%COMP%]:after{content:"";display:table;clear:both}.case[_ngcontent-%COMP%]{float:left;width:50%}@media only screen and (min-width:960px){.case[_ngcontent-%COMP%]:first-child{margin-top:-27.5rem}}@media only screen and (min-width:600px) and (max-width:959px){.case[_ngcontent-%COMP%]:first-child{margin-top:-16.923rem}}@media only screen and (max-width:599px){.case[_ngcontent-%COMP%]{width:100%;float:none}}'],data:{animation:[op("hover",[up("bounce",cp({transform:"translateY(0)"})),dp("* => bounce",ap("18000ms",hp([cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"})])))])]}}),t})(),pb=(()=>{class t{constructor(t){this.http=t,this.services=new Array,this.imagePath="https://osawebb.s3.eu-north-1.amazonaws.com/images/",this.HR_PATH="HR",this.LR_PATH="LOW",this.servicePath="https://osawebb.s3.eu-north-1.amazonaws.com/data/services.json"}getServices(){return 0===this.services.length?this.http.get(this.servicePath).toPromise().then(t=>(this.services=t,this.setPaths(),this.services)).catch(t=>this.handleError(t,this)):Promise.resolve(this.services)}setPaths(){this.services.forEach(t=>{t.image&&(t.imagePath=new jw(this.imagePath+t.imageFolder+"/"+this.HR_PATH+"/"+t.image,this.imagePath+t.imageFolder+"/"+this.LR_PATH+"/"+t.image))})}handleError(t,e){return Promise.reject(t.message||t)}}return t.\u0275fac=function(e){return new(e||t)(Yt(rh))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function mb(t,e){if(1&t&&(To(0),ko(1,"img",5),Mo()),2&t){const t=No();gs(1),Uo("height",t.imageExtraHeight?t.heightLarge:t.heightSmall),So("src",null==t.service?null:t.service.imagePath.hr,Yr)("alt",null==t.service?null:t.service.header)}}function gb(t,e){if(1&t&&(To(0),ko(1,"img",5),Mo()),2&t){const t=No();gs(1),Uo("height",t.imageExtraHeight?t.heightLarge:t.heightSmall),So("src",null==t.service?null:t.service.imagePath.low,Yr)("alt",null==t.service?null:t.service.header)}}const yb=function(t){return["/case",t]},vb=function(t){return{"float-right":t}};let _b=(()=>{class t{constructor(t){this.media=t,this.imageExtraHeight=!1,this.invert=!1,this.mediaSubscription=this.media.asObservable().subscribe(t=>{this.checkForHeight()}),this.checkForHeight()}checkForHeight(){this.media.isActive("gt-sm")?(this.heightLarge="48.750rem",this.heightSmall="24.375rem"):this.media.isActive("sm")?(this.heightLarge="30rem",this.heightSmall="15rem"):this.media.isActive("xs")&&(this.heightLarge="29.375rem",this.heightSmall="14.6875rem")}ngOnInit(){}ngOnDestroy(){this.mediaSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(xo(Td))},t.\u0275cmp=pe({type:t,selectors:[["app-brick"]],inputs:{service:"service",imageExtraHeight:"imageExtraHeight",invert:"invert"},decls:11,vars:22,consts:[[1,"brick",3,"routerLink","ngClass"],[1,"bg"],[1,"text"],[1,"brick","image",3,"routerLink","ngClass"],[4,"ngIf"],[3,"src","alt"]],template:function(t,e){1&t&&(Eo(0,"div",0),Eo(1,"div",1),Eo(2,"div",2),Eo(3,"h2"),qo(4),Po(),Eo(5,"p"),qo(6),Po(),Po(),Po(),Po(),Eo(7,"div",3),Eo(8,"div"),wo(9,mb,2,4,"ng-container",4),wo(10,gb,2,4,"ng-container",4),Po(),Po()),2&t&&(So("routerLink",tl(14,yb,null==e.service?null:e.service.projectLink))("ngClass",tl(16,vb,e.invert)),gs(1),Uo("height",e.media.isActive("gt-xs")?e.heightSmall:"auto")("min-height",e.media.isActive("xs")?e.heightSmall:0),gs(3),Wo(null==e.service?null:e.service.header),gs(2),Wo(null==e.service?null:e.service.text),gs(1),So("routerLink",tl(18,yb,null==e.service?null:e.service.projectLink))("ngClass",tl(20,vb,e.invert)),gs(1),Uo("height",e.imageExtraHeight?e.heightLarge:e.heightSmall),gs(1),So("ngIf",e.media.isActive("gt-xs")),gs(1),So("ngIf",e.media.isActive("xs")))},directives:[cw,$c,Hd,Gc],styles:[".brick[_ngcontent-%COMP%]{position:relative;cursor:pointer;float:left;width:50%}.brick.float-right[_ngcontent-%COMP%]{float:right}.brick[_ngcontent-%COMP%]   .bg[_ngcontent-%COMP%]{background-color:#77675a}.brick[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{color:#fff;padding:2.875rem 4.0625rem;font-size:1.125em;text-align:center}.brick[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;text-align:center;margin-bottom:1.125rem}@media only screen and (min-width:600px) and (max-width:959px){.brick[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{padding:1rem;font-size:.85em}.brick[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-bottom:.5rem}}@media only screen and (max-width:599px){.brick[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{padding:1.125rem;font-size:.9em}}.brick.image[_ngcontent-%COMP%]{overflow:hidden}.brick.image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;width:100%;position:absolute;top:0;left:0}@media only screen and (max-width:599px){.brick[_ngcontent-%COMP%]{width:100%;float:none}}"]}),t})();function wb(t,e){if(1&t&&(Eo(0,"div",18),ko(1,"app-brick",19),Po()),2&t){const t=e.$implicit,n=e.last,r=e.odd;gs(1),So("service",t)("imageExtraHeight",n)("invert",r)}}const xb=function(){return["/projectoverview","publicrooms"]},bb=[{path:"",component:Dw},{path:"projectoverview/:area",component:fb},{path:"publicrooms",component:(()=>{class t{constructor(t,e,n){this.media=e,this.serviceService=n,this.animationState="bounce",this.isBrowser=Xc(t)}ngOnInit(){this.serviceService.getServices().then(t=>{this.services=t}).catch(t=>console.log(t))}}return t.\u0275fac=function(e){return new(e||t)(xo(kl),xo(Td),xo(pb))},t.\u0275cmp=pe({type:t,selectors:[["app-public-rooms"]],decls:33,vars:4,consts:[[1,"home"],[1,"hero"],["media","(min-width: 600px)","srcset","https://osawebb.s3.eu-north-1.amazonaws.com/images/Publika+rum/HERO/Hero.jpg"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/images/Publika+rum/HERO/HERO+LOW.jpg","alt","hero"],[1,"filter"],[1,"container"],[1,"scroll-rect"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/arrow.svg","alt","Scolla ner",1,"rotate-180"],["fxLayout","row"],["fxFlex","100","fxFlex.gt-sm","50"],[1,"about"],["href","mailto:[email protected]"],[1,"bricks"],["class","brick clickable",4,"ngFor","ngForOf"],["fxLayout","row","
1ngsReveal",""],["fxFlex","100","fxFlexOffset.gt-xs","50","fxFlex.gt-xs","50","fxLayoutAlign","center center"],[1,"project-button",3,"routerLink"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/arrow.svg",1,"rotate-90"],[1,"brick","clickable"],[3,"service","imageExtraHeight","invert"]],template:function(t,e){1&t&&(Eo(0,"div",0),Eo(1,"div",1),Eo(2,"picture"),ko(3,"source",2),ko(4,"img",3),Po(),ko(5,"div",4),Po(),Eo(6,"div",5),Eo(7,"h1",4),qo(8,"Medvetna "),Eo(9,"span"),qo(10,"milj\xf6er s\xe4ljer"),Po(),qo(11," mer"),Po(),Eo(12,"div",6),ko(13,"img",7),Po(),Eo(14,"section"),Eo(15,"div",8),Eo(16,"div",9),Eo(17,"div",10),Eo(18,"h2"),qo(19,"V\xe5ra tj\xe4nster"),Po(),Eo(20,"p"),qo(21,"Vi designar unika inredningsmilj\xf6er f\xf6r detaljhandel, butik, restaurang och andra interi\xf6rer. Vi vet hur viktigt ett genomarbetat butikskoncept \xe4r f\xf6r att n\xe5 ut till kunden \u2013 oavsett butikskedja eller varum\xe4rke. Ut\xf6ver att vi har stora kunskaper om design och interi\xf6r, s\xe4tter vi alltid m\xe5let att leverera \xf6ver f\xf6rv\xe4ntan. Vill du veta hur vi kan hj\xe4lpa just dig med ditt projekt?"),Po(),Eo(22,"a",11),qo(23,"Kontakta oss"),Po(),Po(),Po(),Po(),Po(),Eo(24,"section",12),wo(25,wb,2,3,"div",13),Po(),Eo(26,"section",14),Eo(27,"div",15),Eo(28,"div",16),Eo(29,"a"),ko(30,"img",17),Eo(31,"span"),qo(32,"Projekt"),Po(),Po(),Po(),Po(),Po(),Po(),Po()),2&t&&(gs(12),So("@hover",e.animationState),gs(13),So("ngForOf",e.services),gs(3),So("routerLink",Ja(3,xb)))},directives:[af,Ef,Wc,Ng,Nf,Wf,cw,_b],styles:['.home[_ngcontent-%COMP%]{position:relative;margin-top:-7.8125rem}
1@media only screen and (max-width:599px){.home[_ngcontent-%COMP%]{margin-top:-6.5625rem}}.hero[_ngcontent-%COMP%]{position:relative;margin-right:7.5rem}@media only screen and (max-width:1560px){.hero[_ngcontent-%COMP%]{margin-right:0}}.hero[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .hero[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;height:50rem;width:100%}@media only screen and (min-width:960px) and (max-width:1279px){.hero[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .hero[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{height:37.5rem}}@media only screen and (min-width:600px) and (max-width:959px){.hero[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .hero[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{height:31.25rem}}@media only screen and (max-width:599px){.hero[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .hero[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{height:25rem}}.hero[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;right:0;left:0;background-image:linear-gradient(0deg,transparent,rgba(0,0,0,.3))}.container[_ngcontent-%COMP%]{max-width:1290px;margin:0 auto;position:relative}h1[_ngcontent-%COMP%]{color:#fff;text-align:center;max-width:39.375rem;margin:-31.4375rem auto 23.0625rem}h1.filter[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.25)}@media only screen and (min-width:960px) and (max-width:1279px){h1[_ngcontent-%COMP%]{margin:-26.6875rem auto 16.375rem}}@media only screen and (min-width:600px) and (max-width:959px){h1[_ngcontent-%COMP%]{max-width:27.875rem;margin:-19.125rem auto 12.25rem}}@media only screen and (max-width:599px){h1[_ngcontent-%COMP%]{max-width:20.6875rem;margin:-15.135rem auto 9.875rem}}
1h1[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:F37 Bolton Bold}.scroll-rect[_ngcontent-%COMP%]{background:#ff3029;width:3.75rem;padding:1.25rem 0;border-radius:.125rem;margin:-20.3125rem auto 15.9375rem}@media only screen and (min-width:960px) and (max-width:1279px){.scroll-rect[_ngcontent-%COMP%]{margin:-14.875rem auto 10.5rem}}@media only screen and (max-width:959px){.scroll-rect[_ngcontent-%COMP%]{margin:-2.1875rem auto 0}}.scroll-rect[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0 auto}.about[_ngcontent-%COMP%]{padding:4.0625rem 4.375rem;font-size:1.125em}@media only screen and (min-width:600px) and (max-width:959px){.about[_ngcontent-%COMP%]{padding:2rem 2.875rem}}@media only screen and (max-width:599px){.about[_ngcontent-%COMP%]{padding:2rem 1.125rem}}.about[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-bottom:1.125rem}.about[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1.15625rem}.about[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none;position:relative;padding-left:2.875rem}@media only screen and (max-width:959px){.about[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-left:0}}.about[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:before{content:"";width:2.5rem;border-bottom:1px solid #ff3029;position:absolute;left:0;top:50%;z-index:1;margin-top:.125rem}@media only screen and (max-width:959px){.about[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:before{display:none}}.bricks[_ngcontent-%COMP%]:after{content:"";display:table;clear:both}.brick[_ngcontent-%COMP%]{float:left;width:100%}.project-button[_ngcontent-%COMP%]{background:#ff3029;border-radius:.125rem;padding:1rem 0;width:13.1875rem;color:#fff;text-align:center;vertical-align:middle;line-height:1rem;
1font-family:F37 Bolton Bold;margin-top:-23.437rem;margin-right:0;cursor:pointer}@media only screen and (min-width:600px) and (max-width:959px){.project-button[_ngcontent-%COMP%]{margin-top:-14.062rem}}@media only screen and (max-width:599px){.project-button[_ngcontent-%COMP%]{margin:4.0625rem auto}}.project-button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-right:1rem;margin-top:-.125rem}.project-button[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;text-decoration:none}'],data:{animation:[op("hover",[up("bounce",cp({transform:"translateY(0)"})),dp("* => bounce",ap("18000ms",hp([cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"}),cp({transform:"translateY(1rem)"}),cp({transform:"translateY(0)"})])))])]}}),t})()},{path:"case/:id",component:Hx},{path:"about",component:eb}];let Cb=(()=>{class t{}return t.\u0275mod=ve({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Ow.forRoot(bb)],Ow]}),t})();function Sb(t,e){1&t&&ko(0,"img",14)}function Ob(t,e){1&t&&ko(0,"img",15)}const Eb=function(){return["/projectoverview","privatehouses"]},Pb=function(){return["/about"]},kb=function(){return["/publicrooms"]};function Tb(t,e){if(1&t){const t=Io();Eo(0,"ul"),Eo(1,"li",16),Lo("click",(function(){return Ze(t),No().toggleMobileMenu()})),Eo(2,"a"),qo(3,"Projekt"),Po(),Po(),Eo(4,"li",16),Lo("click",(function(){return Ze(t),No().toggleMobileMenu()})),Eo(5,"a"),qo(6,"Om oss"),Po(),Po(),Eo(7,"li",17),Lo("click",(function(){Ze(t);const e=No();return e.toggleMobileMenu(),e.globalConstants.currentArea="publicrooms"})),Eo(8,"a"),qo(9,"Publika rum"),Po(),Po(),Po()}2&t&&(gs(1),So("routerLink",Ja(3,Eb)),gs(3),So("routerLink",Ja(4,Pb)),gs(3),So("routerLink",Ja(5,kb)))}const Mb=function(){return["/projectoverview","publicrooms"]};function Ib(t,e){if(1&t){const t=Io();Eo(0,"ul"),Eo(1,"li",16),Lo("click",(function(){return Ze(t),No().toggleMobileMenu()})),Eo(2,"a"),qo(3,"Tj\xe4nster"),Po(),Po(),Eo(4,"li",16),Lo("click",(function(){return Ze(t),No().toggleMobileMenu()})),Eo(5,"a"),qo(6,"Projekt"),Po(),Po(),Eo(7,"li",16),Lo("click",(function(){return Ze(t),No().toggleMobileMenu()})),Eo(8,"a"),qo(9,"Om oss"),Po(),Po(),Eo(10,"li",17),Lo("click",(function(){Ze(t);const e=No();return e.toggleMobileMenu(),e.globalConstants.currentArea="privatehouses"})),Eo(11,"a"),qo(12,"Privata hus"),Po(),Po(),Po()}2&t&&(gs(1),So("routerLink",Ja(4,kb)),gs(3),So("routerLink",Ja(5,Mb)),gs(3),So("routerLink",Ja(6,Pb)),gs(3),So("routerLink",Ja(7,Eb)))}const Ab=function(t){return{wide:t}},Lb=function(){return["/"]},Rb=function(t,e){return{wide:t,white:e}},Fb=function(t){return{opened:t}};let Nb=(()=>{class t{constructor(t){this.globalConstants=t,this.color="#fff",this.wide=!0}ngOnInit(){}get openCloseTrigger(){return this.isMenuOpen?"open":"closed"}toggleMobileMenu(){this.isMenuOpen=!this.isMenuOpen}}return t.\u0275fac=function(e){return new(e||t)(xo(Rw))},t.\u0275cmp=pe({type:t,selectors:[["app-header"]],inputs:{color:"color",wide:"wide"},decls:17,vars:26,consts:[["id","header",1,"header",3,"ngClass"],["fxLayout","row","fxLayoutAlign"," center"],["fxFlex",""],["fxLayout","row","fxLayoutAlign"," center",1,"logo",3,"routerLink"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/osa_logotype_negative.svg",4,"ngIf"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/osa_logotype_color.svg",4,"ngIf"],["fxFlex","200px",1,"mail-link"],["href","mailto:[email protected]"],["fxFlex","200px",1,"tel-link"],["href","tel:+46701495588"],["fxFlex","129px",1,"about",3,"ngClass"],[1,"hamburger",3,"ngClass","click"],[1,"menu",3,"ngClass"],[4,"ngIf"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/osa_logotype_negative.svg"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/osa_logotype_color.svg"],["routerLinkActive","active",3,"routerLink","click"],[3,"routerLink","click"]],template:function(t,e){var n,r,s,i,o;1&t&&(Eo(0,"div",0),Eo(1,"div",1),Eo(2,"div",2),Eo(3,"div",3),wo(4,Sb,1,0,"img",4),wo(5,Ob,1,0,"img",5),Po(),Po(),Eo(6,"div",6),Eo(7,"a",7),qo(8,"[email protected]"),Po(),Po(),Eo(9,"div",8),Eo(10,"a",9),qo(11,"+46 (0)70-149 55 88"),Po(),Po(),Eo(12,"div",10),Eo(13,"a",11),Lo("click",(function(){return e.toggleMobileMenu()})),Po(),Eo(14,"div",12),wo(15,Tb,10,6,"ul",13),wo(16,Ib,13,8,"ul",13),Po(),Po(),Po(),Po()),2&t&&(So("ngClass",tl(16,Ab,e.wide)),gs(3),Uo("color",e.color),So("routerLink",Ja(18,Lb)),gs(1),So("ngIf","#ffffff"==e.color),gs(1),So("ngIf","#ff3029"==e.color),gs(2),Uo("color",e.color),gs(3),Uo("color",e.color),gs(2),So("ngClass",(n=19,r=Rb,s=e.wide,i="#ffffff"==e.color,function(t,e,n,r,s,i,o){const a=e+n;return vo(t,a,s,i)?go(t,a+2,o?r.call(o,s,i):r(s,i)):el(t,a+2)}(Ye(),sn(),n,r,s,i,o))),gs(1),So("ngClass",tl(22,Fb,e.isMenuOpen)),gs(1),So("@openClose",e.openCloseTrigger)("ngClass",tl(24,Fb,e.isMenuOpen)),gs(1),So("ngIf",e.globalConstants.isPrivateHouses()),gs(1),So("ngIf",e.globalConstants.isPublicRooms()))},directives:[$c,Hd,af,Wf,Ef,cw,Gc,dw],styles:[".header[_ngcontent-%COMP%]{font-family:
1F37 Bolton;position:relative;z-index:1000;padding:2.8125rem 1.8125rem 0 2.8125rem}@media only screen and (max-width:1560px){.header.wide[_ngcontent-%COMP%]{padding-right:2.8125rem}}@media only screen and (min-width:600px) and (max-width:959px){.header[_ngcontent-%COMP%]{padding-left:2.625rem;padding-right:2.625rem}}@media only screen and (max-width:599px){.header[_ngcontent-%COMP%]{padding-left:1.875rem;padding-right:1.875rem}}.logo[_ngcontent-%COMP%]{cursor:pointer}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:5rem}@media only screen and (max-width:599px){.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:3.75rem}}.mail-link[_ngcontent-%COMP%], .tel-link[_ngcontent-%COMP%]{text-align:right}@media only screen and (max-width:959px){.mail-link[_ngcontent-%COMP%], .tel-link[_ngcontent-%COMP%]{display:none}}.mail-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .tel-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.about[_ngcontent-%COMP%]{text-align:right}.about[_ngcontent-%COMP%]   .hamburger[_ngcontent-%COMP%]{margin:8px 11px 0 0;border:none;background:url(https://osawebb.s3.eu-north-1.amazonaws.com/graphics/hamburger+menu.svg);background-size:100% 100%;width:30px;height:15px;padding:0;position:relative;display:inline-block;cursor:pointer}.about[_ngcontent-%COMP%]   .hamburger.opened[_ngcontent-%COMP%]{background:url(https://osawebb.s3.eu-north-1.amazonaws.com/graphics/close-red.svg);background-size:100% 100%}.about[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]{position:absolute;top:100px;right:34px;background-color:#ff3029;color:#fff;width:400px;box-shadow:0 5px 5px rgba(0,0,0,.1);pointer-events:none}@media only screen and (max-width:599px){.about[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]{width:100%;right:0}}.about[_ngcontent-%COMP%]   .menu.opened[_ngcontent-%COMP%]{pointer-events:auto}.about[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:1rem;border-bottom:1px solid rgba(119,103,90,.5);white-space:nowrap;text-align:center;font-size:1.5rem;line-height:1.75;cursor:pointer}.about[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.about[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{background-color:grey}.about[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:700;border-bottom:1px solid #fff}.about[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{border-bottom:0}@media only screen and (max-width:1560px){.about.wide[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.about.wide[_ngcontent-%COMP%]   a.hamburger[_ngcontent-%COMP%]{background:url(https://osawebb.s3.eu-north-1.amazonaws.com/graphics/hamburger-white.svg);background-size:100% 100%}.about.wide[_ngcontent-%COMP%]   a.hamburger.opened[_ngcontent-%COMP%]{background:url(https://osawebb.s3.eu-north-1.amazonaws.com/graphics/close.svg);background-size:100% 100%}.about.wide[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]{right:53px}}@media only screen and (max-width:1560px) and (max-width:599px){.about.wide[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]{right:0}}@media only screen and (max-width:1279px){.about.white[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}.about.white[_ngcontent-%COMP%]   a.hamburger[_ngcontent-%COMP%]{background:url(https://osawebb.s3.eu-north-1.amazonaws.com/graphics/hamburger-white.svg);background-size:100% 100%}.about.white[_ngcontent-%COMP%]   a.hamburger.opened[_ngcontent-%COMP%]{background:url(https://osawebb.s3.eu-north-1.amazonaws.com/graphics/close.svg);background-size:100% 100%}}"],data:{animation:[op("openClose",[up("open",cp({opacity:1,transform:"scale(1, 1)"})),up("closed",cp({opacity:0,transform:"scale(0.95, 0.95)"})),dp("open => closed",[ap("300ms ease-in")]),dp("closed => open",[ap("300ms ease-out")])])]}}),t})();function Db(t,e){1&t&&(Eo(0,"a",16),ko(1,"img",17),Po())}function jb(t,e){1&t&&(Eo(0,"a",18),ko(1,"img",17),Po())}const Hb=function(){return["/"]};let Ub=(()=>{class t{constructor(t,e){this.media=t,this.globalConstants=e,this.shouldAnimate=!1,this.mediaSubscription=this.media.asObservable().subscribe(t=>{t.forEach(t=>
1{this.shouldAnimate="lg"===t.mqAlias||"xl"===t.mqAlias})})}ngOnDestroy(){this.mediaSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(xo(Td),xo(Rw))},t.\u0275cmp=pe({type:t,selectors:[["app-footer"]],decls:18,vars:7,consts:[[1,"footer"],["fxLayout","row wrap","fxLayoutAlign"," center"],["fxFlex","","fxFlex.xs","100"],["fxLayout","row","fxLayoutAlign"," center","fxLayoutAlign.xs","center center",1,"logo",3,"routerLink"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/osa_logotype_color.svg"],["fxFlex","50px","fxFlex.xs","100",1,"instagram-link"],["href","https://www.instagram.com/osarkitektur_privata_hus/","target","_blank",4,"ngIf"],["href","https://www.instagram.com/osarkitektur_publika_rum/","target","_blank",4,"ngIf"],["fxFlex","200px","fxFlex.xs","50","fxFlex.sm","155px",1,"mail-link"],["href","mailto:[email protected]"],["fxFlex","200px","fxFlex.xs","50","fxFlex.sm","155px",1,"tel-link"],["href","tel:+46701495588"],["fxFlex","140px","fxFlex.xs","100","fxFlex.sm","60px"],[1,"arrow",3,"mouseover"],[3,"ngxScrollTo","ngxScrollToDuration"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/arrow-red.svg"],["href","https://www.instagram.com/osarkitektur_privata_hus/","target","_blank"],["src","https://osawebb.s3.eu-north-1.amazonaws.com/graphics/instagram-red.svg","alt","instagram icon"],["href","https://www.instagram.com/osarkitektur_publika_rum/","target","_blank"]],template:function(t,e){1&t&&(Eo(0,"div",0),Eo(1,"div",1),Eo(2,"div",2),Eo(3,"div",3),ko(4,"img",4),Po(),Po(),Eo(5,"div",5),wo(6,Db,2,0,"a",6),wo(7,jb,2,0,"a",7),Po(),Eo(8,"div",8),Eo(9,"a",9),qo(10,"[email protected]"),Po(),Po(),Eo(11,"div",10),Eo(12,"a",11),qo(13,"+46 (0)70-149 55 88"),Po(),Po(),Eo(14,"div",12),Eo(15,"div",13),Lo("mouseover",(function(){return e.animationState="bounce"}))("@hover.done",(function(){return e.animationState=""})),Eo(16,"a",14),ko(17,"img",15),Po(),Po(),Po(),Po(),Po()),2&t&&(gs(3),So("routerLink",Ja(6,Hb)),gs(3),So("ngIf",e.globalConstants.isPrivateHouses()),gs(1),So("ngIf",e.globalConstants.isPublicRooms()),gs(8),So("@hover",e.animationState),gs(1),So("ngxScrollTo","#header")("ngxScrollToDuration",400))},directives:[af,Wf,Ef,cw,Gc,ty],styles:[".footer[_ngcontent-%COMP%]{font-family:
1F37 Bolton;position:relative;z-index:1000;padding:6.25rem 2.8125rem 3.75rem}@media only screen and (min-width:960px) and (max-width:1279px){.footer[_ngcontent-%COMP%]{padding:4.375rem 2.8125rem}}@media only screen and (min-width:600px) and (max-width:959px){.footer[_ngcontent-%COMP%]{padding:3.75rem 2.8125rem}}@media only screen and (max-width:599px){.footer[_ngcontent-%COMP%]{padding:3.75rem 0}}.logo[_ngcontent-%COMP%]{color:#ff3029;cursor:pointer}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:5rem}@media only screen and (max-width:599px){.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:3.75rem}}.mail-link[_ngcontent-%COMP%], .tel-link[_ngcontent-%COMP%]{text-align:right}.mail-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .tel-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#ff3029}.instagram-link[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:1.875rem;height:1.875rem;margin:0 auto}@media only screen and (max-width:599px){.instagram-link[_ngcontent-%COMP%]{padding:3.75rem 0 0}.mail-link[_ngcontent-%COMP%]{padding:3.75rem .625rem 3.75rem 0}.tel-link[_ngcontent-%COMP%]{text-align:left;padding:3.75rem 0 3.75rem .625rem}}.arrow[_ngcontent-%COMP%]{width:1.4375rem;height:1.875rem;line-height:1.875rem;float:right;cursor:pointer}@media only screen and (max-width:599px){.arrow[_ngcontent-%COMP%]{float:none;margin:0 auto}}"],data:{animation:[op("hover",[up("bounce",cp({transform:"translateY(0)"})),dp("* => bounce",ap("1500ms",hp([cp({transform:"translateY(0)"}),cp({transform:"translateY(-1rem)"}),cp({transform:"translateY(0)"})])))])]}}),t})();function zb(t,e){if(1&t&&ko(0,"app-header",2),2&t){const t=No();So("color",t.headerColor)("wide",t.headerWide)}}function Bb(t,e){1&t&&ko(0,"app-footer")}let Vb=(()=>{class t{constructor(t,e,n,r,s,i,o,a){this.caseService=e,this.route=n,this.globalConstants=r,this.ccService=s,this.cookieService=i,this.renderer=o,this._document=a,this.title="Oskar Sejn\xe4s Arkitektur",this.headerWide=!0,this.fullPage=!1,this.cases=new Array,this.isBrowser=Xc(t),this.isBrowser&&this.ccService.hasConsented()&&this.injectScripts(),this.sub=this.route.events.subscribe(t=>{t instanceof Xy&&(""!=this.globalConstants.currentArea||"/"===t.url||t.url.startsWith("/case")||this.route.navigateByUrl("/"),this.headerColor="/about"===t.url?"#ff3029":"#ffffff",this.headerWide=t.url.startsWith("/projectoverview")||"/publicrooms"===t.url,this.fullPage="/"===t.url)})}getCase(){this.caseService.getCases().then(t=>this.cases=t).catch(t=>console.log(t))}ngOnInit(){this.getCase(),this.statusChangeSubscription=this.ccService.statusChange$.subscribe(t=>{"deny"===t.status?(this.isBrowser&&(window["ga-disable-UA-171530401-1"]=!0),this.cookieService.removeAll()):"allow"===t.status&&this.injectScripts(),console.log("statusChange: "+JSON.stringify(t))})}ngOnDestroy(){null!=this.sub&&this.sub.unsubscribe(),this.statusChangeSubscription.unsubscribe()}injectScripts(){const t=this.renderer.createElement("script");t.type="text/javascript",t.src="https://www.googletagmanager.com/gtag/js?id=UA-171530401-1",this.renderer.appendChild(this._document.body,t);const e=this.renderer.createElement("script");e.type="text/javascript",e.text="\n    window.dataLayer = window.dataLayer || [];\n\n    function gtag() {\n      dataLayer.push(arguments);\n    }\n    gtag('js', new Date());\n\n    gtag('config', 'UA-171530401-1');\n    ",this.renderer.appendChild(this._document.body,e)}}return t.\u0275fac=function(e){return new(e||t)(xo(kl),xo(Hw),xo(lw),xo(Rw),xo(gy),xo(uy),xo(fa),xo(bc))},t.\u0275cmp=pe({type:t,selectors:[["app-root"]],decls:3,vars:2,consts:[[3,"color","wide",4,"ngIf"],[4,"ngIf"],[3,"color","wide"]],template:function(t,e){1&t&&(wo(0,zb,1,2,"app-header",0),ko(1,"router-outlet"),wo(2,Bb,1,0,"app-footer",1)),2&t&&(So("ngIf",!e.fullPage),gs(2),So("ngIf",!e.fullPage))},directives:[Gc,mw,Nb,Ub],styles:[""]}),t})();const $b={cookie:{domain:"osarkitektur.herokuapp.com"},position:"bottom",theme:"edgeless",palette:{popup:{background:"#808080",text:"#ffffff",link:"#ffffff"},button:{background:"#ff3029",text:"#ffffff",border:"transparent"}},type:"opt-in",content:{message:"Denna webbplats anv\xe4nder sig av cookies f\xf6r att m\xf6jligg\xf6ra b\xe4st m\xf6jliga upplevelse f\xf6r dig.",allow:"Till\xe5t alla cookies",deny:"Neka cookies",link:"L\xe4s mer",href:"https://www.pts.se/sv/privat/internet/integritet/kakor-cookies/",policy:"Cookie Policy"}};let qb=(()=>{class t{}return t.\u0275mod=ve({type:t,bootstrap:[Vb]}
1),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[Hw,Bx,Rw,pb],imports:[[Iu.withServerTransition({appId:"os-arkiterktur"}),vh,Cb,Og,sp,Ag,Dg,fy.forRoot(),ny.forRoot(),yy.forRoot($b)]]}),t})();(function(){if(xr)throw new Error("Cannot enable prod mode after platform setup.");wr=!1})(),document.addEventListener("DOMContentLoaded",()=>{Tu().bootstrapModule(qb).catch(t=>console.error(t))})}},[[0,0]]]);

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.