Files
OverlayScrollbars/website/v1/frameworks/angular/main.3d4d4af62ba8f204a808.js
T
2022-10-14 11:21:34 +02:00

1 line
188 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},"2+X6":function(t,e,n){var r;!function(o,s){void 0===(r=(function(){return function(t,e,n){"use strict";var r,o,s="object",i="function",l="array",c="string",a="boolean",u="number",h="null",f={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},d=function(){var r={},o={},s=["-webkit-","-moz-","-o-","-ms-"],i=["WebKit","Moz","O","MS"];function l(t){return t.charAt(0).toUpperCase()+t.slice(1)}return{_cssPrefixes:s,_jsPrefixes:i,_cssProperty:function(t){var r=o[t];if(o[f.hOP](t))return r;for(var i,c,a,u=l(t),h=e.createElement("div")[f.s],d=0;d<s.length;d++)for(a=s[d].replace(/-/g,""),i=[t,s[d]+t,a+u,l(a)+u],c=0;c<i[f.l];c++)if(h[i[c]]!==n){r=i[c];break}return o[t]=r,r},_cssPropertyValue:function(t,n,r){var s=t+" "+n,i=o[s];if(o[f.hOP](s))return i;for(var l,c=e.createElement("div")[f.s],a=n.split(" "),u=r||"",h=0,p=-1;h<a[f.l];h++)for(;p<d._cssPrefixes[f.l];p++)if(c.cssText=t+":"+(l=p<0?a[h]:d._cssPrefixes[p]+a[h])+u,c[f.l]){i=l;break}return o[s]=i,i},_jsAPI:function(e,n,o){var s=0,c=r[e];if(!r[f.hOP](e)){for(c=t[e];s<i[f.l];s++)c=c||t[(n?i[s]:i[s].toLowerCase())+l(e)];r[e]=c}return c||o}}}(),p=function(){function r(n){return n?t.innerWidth||e.documentElement[f.cW]||e.body[f.cW]:t.innerHeight||e.documentElement[f.cH]||e.body[f.cH]}function o(t,e){if(typeof t!=i)throw"Can't bind function!";var n=f.p,r=Array[n].slice.call(arguments,2),o=function(){},s=function(){return t.apply(this instanceof o?this:e,r.concat(Array[n].slice.call(arguments)))};return t[n]&&(o[n]=t[n]),s[n]=new o,s}return{wW:o(r,0,!0),wH:o(r,0),mO:o(d._jsAPI,0,"MutationObserver",!0),rO:o(d._jsAPI,0,"ResizeObserver",!0),rAF:o(d._jsAPI,0,"requestAnimationFrame",!1,function(e){return t.setTimeout(e,1e3/60)}),cAF:o(d._jsAPI,0,"cancelAnimationFrame",!1,function(e){return t.clearTimeout(e)}),now:function(){return Date.now&&Date.now()||(new Date).getTime()},stpP:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},prvD:function(t){t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1},page:function(t){var r=((t=t.originalEvent||t).target||t.srcElement||e).ownerDocument||e,o=r.documentElement,s=r.body;if(t.touches!==n){var i=t.touches[0];return{x:i.pageX,y:i.pageY}}return!t.pageX&&t.clientX&&null!=t.clientX?{x:t.clientX+(o&&o.scrollLeft||s&&s.scrollLeft||0)-(o&&o.clientLeft||s&&s.clientLeft||0),y:t.clientY+(o&&o.scrollTop||s&&s.scrollTop||0)-(o&&o.clientTop||s&&s.clientTop||0)}:{x:t.pageX,y:t.pageY}},mBtn:function(t){var e=t.button;return t.which||e===n?t.which:1&e?1:2&e?3:4&e?2:0},inA:function(t,e){for(var n=0;n<e[f.l];n++)try{if(e[n]===t)return n}catch(r){}return-1},isA:function(t){var e=Array.isArray;return e?e(t):this.type(t)==l},type:function(t){return t===n||null===t?t+"":Object[f.p].toString.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},bind:o}}(),g=Math,_=t.jQuery,m=(o={p:g.PI,c:g.cos,s:g.sin,w:g.pow,t:g.sqrt,n:g.asin,a:g.abs,o:1.70158},{swing:function(t,e,n,r,s){return.5-o.c(t*o.p)/2},linear:function(t,e,n,r,o){return t},easeInQuad:function(t,e,n,r,o){return r*(e/=o)*e+n},easeOutQuad:function(t,e,n,r,o){return-r*(e/=o)*(e-2)+n},easeInOutQuad:function(t,e,n,r,o){return(e/=o/2)<1?r/2*e*e+n:-r/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,r,o){return r*(e/=o)*e*e+n},easeOutCubic:function(t,e,n,r,o){return r*((e=e/o-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,r,o){return(e/=o/2)<1?r/2*e*e*e+n:r/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,r,o){return r*(e/=o)*e*e*e+n},easeOutQuart:function(t,e,n,r,o){return-r*((e=e/o-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,r,o){return(e/=o/2)<1?r/2*e*e*e*e+n:-r/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,r,o){return r*(e/=o)*e*e*e*e+n},easeOutQuint:function(t,e,n,r,o){return r*((e=e/o-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,r,o){return(e/=o/2)<1?r/2*e*e*e*e*e+n:r/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,r,s){return-r*o.c(e/s*(o.p/2))+r+n},easeOutSine:function(t,e,n,r,s){return r*o.s(e/s*(o.p/2))+n},easeInOutSine:function(t,e,n,r,s){return-r/2*(o.c(o.p*e/s)-1)+n},easeInExpo:function(t,e,n,r,s){return 0==e?n:r*o.w(2,10*(e/s-1))+n},easeOutExpo:function(t,e,n,r,s){return e==s?n+r:r*(1-o.w(2,-10*e/s))+n},easeInOutExpo:function(t,e,n,r,s){return 0==e?n:e==s?n+r:(e/=s/2)<1?r/2*o.w(2,10*(e-1))+n:r/2*(2-o.w(2,-10*--e))+n},easeInCirc:function(t,e,n,r,s){return-r*(o.t(1-(e/=s)*e)-1)+n},easeOutCirc:function(t,e,n,r,s){return r*o.t(1-(e=e/s-1)*e)+n},easeInOutCirc:function(t,e,n,r,s){return(e/=s/2)<1?-r/2*(o.t(1-e*e)-1)+n:r/2*(o.t(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,r,s){var i=o.o,l=0,c=r;return 0==e?n:1==(e/=s)?n+r:(l||(l=.3*s),c<o.a(r)?(c=r,i=l/4):i=l/(2*o.p)*o.n(r/c),-c*o.w(2,10*(e-=1))*o.s(2*o.p*(e*s-i)/l)+n)},easeOutElastic:function(t,e,n,r,s){var i=o.o,l=0,c=r;return 0==e?n:1==(e/=s)?n+r:(l||(l=.3*s),c<o.a(r)?(c=r,i=l/4):i=l/(2*o.p)*o.n(r/c),c*o.w(2,-10*e)*o.s(2*o.p*(e*s-i)/l)+r+n)},easeInOutElastic:function(t,e,n,r,s){var i=o.o,l=0,c=r;return 0==e?n:2==(e/=s/2)?n+r:(l||(l=s*(.3*1.5)),c<o.a(r)?(c=r,i=l/4):i=l/(2*o.p)*o.n(r/c),e<1?c*o.w(2,10*(e-=1))*o.s(2*o.p*(e*s-i)/l)*-.5+n:c*o.w(2,-10*(e-=1))*o.s(2*o.p*(e*s-i)/l)*.5+r+n)},easeInBack:function(t,e,n,r,s,i){return r*(e/=s)*e*(((i=i||o.o)+1)*e-i)+n},easeOutBack:function(t,e,n,r,s,i){return r*((e=e/s-1)*e*(((i=i||o.o)+1)*e+i)+1)+n},easeInOutBack:function(t,e,n,r,s,i){return i=i||o.o,(e/=s/2)<1?r/2*(e*e*((1+(i*=1.525))*e-i))+n:r/2*((e-=2)*e*((1+(i*=1.525))*e+i)+2)+n},easeInBounce:function(t,e,n,r,o){return r-this.easeOutBounce(t,o-e,0,r,o)+n},easeOutBounce:function(t,e,n,r,o){var s=7.5625;return(e/=o)<1/2.75?r*(s*e*e)+n:e<2/2.75?r*(s*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?r*(s*(e-=2.25/2.75)*e+.9375)+n:r*(s*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(t,e,n,r,o){return e<o/2?.5*this.easeInBounce(t,2*e,0,r,o)+n:.5*this.easeOutBounce(t,2*e-o,0,r,o)+.5*r+n}}),y=function(){var r=/[^\x20\t\r\n\f]+/g,o=" ",h="",d="scrollLeft",_="scrollTop",y=[],v=p.type,b={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0};function w(){var t,e,r,o,l,c,u=arguments[0]||{},h=1,d=arguments[f.l],g=!1;for(v(u)==a&&(g=u,u=arguments[1]||{},h=2),v(u)!=s&&!v(u)==i&&(u={}),d===h&&(u=R,--h);h<d;h++)if(null!=(l=arguments[h]))for(o in l)t=u[o],u!==(r=l[o])&&(g&&r&&(O(r)||(e=p.isA(r)))?(e?(e=!1,c=t&&p.isA(t)?t:[]):c=t&&O(t)?t:{},u[o]=w(g,c,r)):r!==n&&(u[o]=r));return u}function x(t,e,n){for(var r=n||0;r<e[f.l];r++)if(e[r]===t)return r;return-1}function C(t){return v(t)==i}function k(t){for(var e in t)return!1;return!0}function O(t){if(!t||v(t)!=s)return!1;var e,n=f.p,r=Object[n].hasOwnProperty,o=r.call(t,"constructor"),i=t.constructor&&t.constructor[n]&&r.call(t.constructor[n],"isPrototypeOf");if(t.constructor&&!o&&!i)return!1;for(e in t);return"undefined"==v(e)||r.call(t,e)}function E(t,e){var n=0;if(S(t))for(;n<t[f.l]&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t}function S(t){var e=!!t&&[f.l]in t&&t[f.l],n=v(t);return!C(n)&&(n==l||0===e||v(e)==u&&e>0&&e-1 in t)}function T(t){return(t.match(r)||[]).join(o)}function I(t,n){for(var r=(t.parentNode||e).querySelectorAll(n)||[],o=r[f.l];o--;)if(r[o]==t)return!0;return!1}function A(t,e,n){if(p.isA(n))for(var r=0;r<n[f.l];r++)A(t,e,n[r]);else v(n)==c?t.insertAdjacentHTML(e,n):t.insertAdjacentElement(e,n.nodeType?n:n[0])}function P(t,e,r){try{t[f.s][e]!==n&&(t[f.s][e]=function(t,e){return b[t.toLowerCase()]||v(e)!=u||(e+="px"),e}(e,r))}catch(o){}}function M(t,e){var n,r;!1!==e&&t.q.splice(0,1),t.q[f.l]>0?N(t.el,(r=t.q[0]).props,r.duration,r.easing,r.complete,!0):(n=x(t,y))>-1&&y.splice(n,1)}function D(t,e,n){e===d||e===_?t[e]=n:P(t,e,n)}function N(t,e,r,o,s,i){var l,c,a,u,h,v,b=O(r),w={},E={},S=0;for(b?(o=r.easing,a=r.progress,u=r.step,h=r.specialEasing,s=r.complete,v=r.duration):v=r,h=h||{},v=v||400,o=o||"swing",i=i||!1;S<y[f.l];S++)if(y[S].el===t){c=y[S];break}for(l in c||y.push(c={el:t,q:[]}),e)w[l]=l===d||l===_?t[l]:R(t).css(l);for(l in w)w[l]!==e[l]&&e[l]!==n&&(E[l]=e[l]);if(k(E))i&&M(c);else{var T,I,A,P,N,H,j,F,V,L=i?0:x(z,c.q),z={props:E,duration:b?r:v,easing:o,complete:s};if(-1===L&&(L=c.q[f.l],c.q.push(z)),0===L)if(v>0)j=p.now(),F=function(){for(l in T=p.now(),V=T-j,I=z.stop||V>=v,A=1-(g.max(0,j+v-T)/v||0),E)P=parseFloat(w[l]),N=parseFloat(E[l]),H=(N-P)*m[h[l]||o](A,A*v,0,1,v)+P,D(t,l,H),C(u)&&u(H,{elem:t,prop:l,start:P,now:H,end:N,pos:A,options:{easing:o,speacialEasing:h,duration:v,complete:s,step:u},startTime:j});C(a)&&a({},A,g.max(0,v-V)),I?(M(c),C(s)&&s()):z.frame=p.rAF()(F)},z.frame=p.rAF()(F);else{for(l in E)D(t,l,E[l]);M(c)}}}function H(t){return!!(t[f.oW]||t[f.oH]||t.getClientRects()[f.l])}function R(n){if(0===arguments[f.l])return this;var r,o,s=new R,i=n,l=0;if(v(n)==c)for(i=[],"<"===n.charAt(0)?((o=e.createElement("div")).innerHTML=n,r=o.children):r=e.querySelectorAll(n);l<r[f.l];l++)i.push(r[l]);if(i){for(v(i)==c||S(i)&&i!==t&&i!==i.self||(i=[i]),l=0;l<i[f.l];l++)s[l]=i[l];s[f.l]=i[f.l]}return s}return R[f.p]={on:function(t,e){var n,o=(t=(t||h).match(r)||[h])[f.l],s=0;return this.each(function(){n=this;try{if(n.addEventListener)for(;s<o;s++)n.addEventListener(t[s],e);else if(n.detachEvent)for(;s<o;s++)n.attachEvent("on"+t[s],e)}catch(r){}})},off:function(t,e){var n,o=(t=(t||h).match(r)||[h])[f.l],s=0;return this.each(function(){n=this;try{if(n.removeEventListener)for(;s<o;s++)n.removeEventListener(t[s],e);else if(n.detachEvent)for(;s<o;s++)n.detachEvent("on"+t[s],e)}catch(r){}})},one:function(t,e){return t=(t||h).match(r)||[h],this.each(function(){var n=R(this);R.each(t,function(t,r){var o=function(t){e.call(this,t),n.off(r,o)};n.on(r,o)})})},trigger:function(t){var n,r;return this.each(function(){n=this,e.createEvent?((r=e.createEvent("HTMLEvents")).initEvent(t,!0,!1),n.dispatchEvent(r)):n.fireEvent("on"+t)})},append:function(t){return this.each(function(){A(this,"beforeend",t)})},prepend:function(t){return this.each(function(){A(this,"afterbegin",t)})},before:function(t){return this.each(function(){A(this,"beforebegin",t)})},after:function(t){return this.each(function(){A(this,"afterend",t)})},remove:function(){return this.each(function(){var t=this.parentNode;null!=t&&t.removeChild(this)})},unwrap:function(){var t,e,n,r=[];for(this.each(function(){-1===x(n=this.parentNode,r)&&r.push(n)}),t=0;t<r[f.l];t++){for(n=(e=r[t]).parentNode;e.firstChild;)n.insertBefore(e.firstChild,e);n.removeChild(e)}return this},wrapAll:function(t){for(var e,n=this,r=R(t)[0],o=r,s=n[0].parentNode,i=n[0].previousSibling;o.childNodes[f.l]>0;)o=o.childNodes[0];for(e=0;n[f.l]-e;o.firstChild===n[0]&&e++)o.appendChild(n[e]);return s.insertBefore(r,i?i.nextSibling:s.firstChild),this},wrapInner:function(t){return this.each(function(){var e=R(this),n=e.contents();n[f.l]?n.wrapAll(t):e.append(t)})},wrap:function(t){return this.each(function(){R(this).wrapAll(t)})},css:function(e,r){var o,s,i,l=t.getComputedStyle;return v(e)==c?r===n?(o=this[0],i=l?l(o,null):o.currentStyle[e],l?null!=i?i.getPropertyValue(e):o[f.s][e]:i):this.each(function(){P(this,e,r)}):this.each(function(){for(s in e)P(this,s,e[s])})},hasClass:function(t){for(var e,n,r=0,s=o+t+o;e=this[r++];){if((n=e.classList)&&n.contains(t))return!0;if(1===e.nodeType&&(o+T(e.className+h)+o).indexOf(s)>-1)return!0}return!1},addClass:function(t){var e,s,i,l,c,a,u,f,d=0,p=0;if(t)for(e=t.match(r)||[];s=this[d++];)if(f=s.classList,u===n&&(u=f!==n),u)for(;c=e[p++];)f.add(c);else if(l=s.className+h,i=1===s.nodeType&&o+T(l)+o){for(;c=e[p++];)i.indexOf(o+c+o)<0&&(i+=c+o);l!==(a=T(i))&&(s.className=a)}return this},removeClass:function(t){var e,s,i,l,c,a,u,f,d=0,p=0;if(t)for(e=t.match(r)||[];s=this[d++];)if(f=s.classList,u===n&&(u=f!==n),u)for(;c=e[p++];)f.remove(c);else if(l=s.className+h,i=1===s.nodeType&&o+T(l)+o){for(;c=e[p++];)for(;i.indexOf(o+c+o)>-1;)i=i.replace(o+c+o,o);l!==(a=T(i))&&(s.className=a)}return this},hide:function(){return this.each(function(){this[f.s].display="none"})},show:function(){return this.each(function(){this[f.s].display="block"})},attr:function(t,e){for(var r,o=0;r=this[o++];){if(e===n)return r.getAttribute(t);r.setAttribute(t,e)}return this},removeAttr:function(t){return this.each(function(){this.removeAttribute(t)})},offset:function(){var n=this[0][f.bCR]();return{top:n.top+(t.pageYOffset||e.documentElement.scrollTop),left:n.left+(t.pageXOffset||e.documentElement.scrollLeft)}},position:function(){var t=this[0];return{top:t.offsetTop,left:t.offsetLeft}},scrollLeft:function(t){for(var e,r=0;e=this[r++];){if(t===n)return e.scrollLeft;e.scrollLeft=t}return this},scrollTop:function(t){for(var e,r=0;e=this[r++];){if(t===n)return e.scrollTop;e.scrollTop=t}return this},val:function(t){var e=this[0];return t?(e.value=t,this):e.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){return R(this[t>=0?t:this[f.l]+t])},find:function(t){var e,n=[];return this.each(function(){var r=this.querySelectorAll(t);for(e=0;e<r[f.l];e++)n.push(r[e])}),R(n)},children:function(t){var e,n,r,o=[];return this.each(function(){for(n=this.children,r=0;r<n[f.l];r++)e=n[r],t?(e.matches&&e.matches(t)||I(e,t))&&o.push(e):o.push(e)}),R(o)},parent:function(t){var e,n=[];return this.each(function(){e=this.parentNode,t&&!R(e).is(t)||n.push(e)}),R(n)},is:function(t){var e,n;for(n=0;n<this[f.l];n++){if(e=this[n],":visible"===t)return H(e);if(":hidden"===t)return!H(e);if(e.matches&&e.matches(t)||I(e,t))return!0}return!1},contents:function(){var t,e,n=[];return this.each(function(){for(t=this.childNodes,e=0;e<t[f.l];e++)n.push(t[e])}),R(n)},each:function(t){return E(this,t)},animate:function(t,e,n,r){return this.each(function(){N(this,t,e,n,r)})},stop:function(t,e){return this.each(function(){!function(t,e,n){for(var r,o,s,i=0;i<y[f.l];i++)if((r=y[i]).el===t){if(r.q[f.l]>0){if((o=r.q[0]).stop=!0,p.cAF()(o.frame),r.q.splice(0,1),n)for(s in o.props)D(t,s,o.props[s]);e?r.q=[]:M(r,!1)}break}}(this,t,e)})}},w(R,{extend:w,inArray:x,isEmptyObject:k,isPlainObject:O,each:E}),R}(),v=(r=[],function(t,e){var n=arguments[f.l];if(n<1)return r;if(e)t.__overlayScrollbars__=e,r.push(t);else{var o=p.inA(t,r);if(o>-1){if(!(n>1))return r[o].__overlayScrollbars__;delete t.__overlayScrollbars__,r.splice(o,1)}}}),b=function(){var r,o,m,b,w,x,C,k,O,E,S=[],T=(b=p.type,w=[a,u,c,l,s,i,h],O={className:["os-theme-dark",[h,c]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:x=[!0,a],clipAlways:x,normalizeRTL:x,paddingAbsolute:C=[!1,a],autoUpdate:[null,[h,a]],autoUpdateInterval:[33,u],updateOnLoad:[["img"],[c,l,h]],nativeScrollbarsOverlaid:{showNativeScrollbars:C,initialize:x},overflowBehavior:{x:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,"number"],dragScrolling:x,clickScrolling:C,touchSupport:x,snapHandle:C},textarea:{dynWidth:C,dynHeight:C,inheritedAttrs:[["style","class"],[c,l,h]]},callbacks:{onInitialized:k=[null,[h,i]],onInitializationWithdrawn:k,onDestroyed:k,onScrollStart:k,onScroll:k,onScrollStop:k,onOverflowChanged:k,onOverflowAmountChanged:k,onDirectionChanged:k,onContentSizeChanged:k,onHostSizeChanged:k,onUpdated:k}},{_defaults:(E=function(t){var e=function(n){var r,o,i;for(r in n)n[f.hOP](r)&&((i=b(o=n[r]))==l?n[r]=o[t?1:0]:i==s&&(n[r]=e(o)));return n};return e(y.extend(!0,{},O))})(),_template:E(!0),_validate:function(e,r,o,i){var l={},a={},u=y.extend(!0,{},e),h=y.inArray,d=y.isEmptyObject,g=function(t,e,r,i,l,a){for(var u in e)if(e[f.hOP](u)&&t[f.hOP](u)){var _,m,v,x,C,k,O,E,S=!1,T=!1,I=e[u],A=b(I),P=A==s,M=p.isA(I)?I:[I],D=r[u],N=t[u],H=b(N),R=a?a+".":"",j='The option "'+R+u+"\" wasn't set, because",F=[],V=[];if(D=D===n?{}:D,P&&H==s)i[u]={},l[u]={},g(N,I,D,i[u],l[u],R+u),y.each([t,i,l],function(t,e){d(e[u])&&delete e[u]});else if(!P){for(k=0;k<M[f.l];k++)if(v=(A=b(C=M[k]))==c&&-1===h(C,w))for(F.push(c),_=C.split(" "),V=V.concat(_),O=0;O<_[f.l];O++){for(x=(m=_[O].split(":"))[0],E=0;E<m[f.l];E++)if(N===m[E]){S=!0;break}if(S)break}else if(F.push(C),H===C){S=!0;break}S?((T=N!==D)&&(i[u]=N),(v?h(D,m)<0:T)&&(l[u]=v?x:N)):o&&console.warn(j+" it doesn't accept the type [ "+H.toUpperCase()+' ] with the value of "'+N+'".\r\nAccepted types are: [ '+F.join(", ").toUpperCase()+" ]."+(V[length]>0?"\r\nValid strings are: [ "+V.join(", ").split(":").join(", ")+" ].":"")),delete t[u]}}};return g(u,r,i||{},l,a),!d(u)&&o&&console.warn("The following options are discarded due to invalidity:\r\n"+t.JSON.stringify(u,null,2)),{_default:l,_prepared:a}}});function I(){o||(o=new A(T._defaults)),m||(m=new P(o))}function A(e){var n=this,r="overflow",o="hidden",s=y("body"),i=y('<div id="os-dummy-scrollbar-size"><div></div></div>'),l=i[0],c=y(i.children("div").eq(0));s.append(i),i.hide().show();var a=_(l),u={x:0===a.x,y:0===a.y},h=function(){var e,n=t.navigator.userAgent,r=n.indexOf("MSIE "),o=n.indexOf("Trident/"),s=n.indexOf("Edge/"),i=n.indexOf("rv:"),l=parseInt;return r>0?e=l(n.substring(r+5,n.indexOf(".",r)),10):o>0?e=l(n.substring(i+3,n.indexOf(".",i)),10):s>0&&(e=l(n.substring(s+5,n.indexOf(".",s)),10)),e}();function _(t){return{x:t[f.oH]-t[f.cH],y:t[f.oW]-t[f.cW]}}y.extend(n,{defaultOptions:e,msie:h,autoUpdateLoop:!1,autoUpdateRecommended:!p.mO(),nativeScrollbarSize:a,nativeScrollbarIsOverlaid:u,nativeScrollbarStyling:function(){var e=!1;i.addClass("os-viewport-native-scrollbars-invisible");try{e="none"===i.css("scrollbar-width")&&(h>9||!h)||"none"===t.getComputedStyle(l,"::-webkit-scrollbar").getPropertyValue("display")}catch(n){}return e}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:d._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){i.css(r,o);var t=l[f.sW],e=l[f.sH];return i.css(r,"visible"),t-l[f.sW]!=0||e-l[f.sH]!=0}(),rtlScrollBehavior:function(){i.css({"overflow-y":o,"overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var t=i.offset(),e=c.offset();i.scrollLeft(-999);var n=c.offset();return{i:t.left===e.left,n:e.left!==n.left}}(),supportTransform:!!d._cssProperty("transform"),supportTransition:!!d._cssProperty("transition"),supportPassiveEvents:function(){var e=!1;try{t.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(n){}return e}(),supportResizeObserver:!!p.rO(),supportMutationObserver:!!p.mO()}),i.removeAttr(f.s).remove(),function(){if(!u.x||!u.y){var e=g.abs,r=p.wW(),o=p.wH(),l=c();y(t).on("resize",function(){if(v().length>0){var t=p.wW(),a=p.wH(),u=t-r,h=a-o;if(0===u&&0===h)return;var f,d=g.round(t/(r/100)),m=g.round(a/(o/100)),b=e(u),w=e(h),x=e(d),C=e(m),k=c(),O=b>2&&w>2,E=(T=C,!((I=e(x))!==(A=e(T))&&I+1!==A&&I-1!==A)),S=n.nativeScrollbarSize;O&&E&&k!==l&&l>0&&(s.append(i),f=n.nativeScrollbarSize=_(i[0]),i.remove(),S.x===f.x&&S.y===f.y||y.each(v(),function(){v(this)&&v(this).update("zoom")})),r=t,o=a,l=k}var T,I,A})}function c(){return t.devicePixelRatio||(t.screen.deviceXDPI||0)/(t.screen.logicalXDPI||1)}}()}function P(t){var e,r=y.inArray,o=p.now,s=f.l,i=[],l=[],c=!1,a=33,u=o(),h=function(){if(i[s]>0&&c){e=p.rAF()(function(){h()});var t,r,f,d,_,m,y=o(),v=y-u;if(v>a){u=y-v%a,t=33;for(var b=0;b<i[s];b++)(r=i[b])!==n&&(d=(f=r.options()).autoUpdate,_=g.max(1,f.autoUpdateInterval),m=o(),(!0===d||null===d)&&m-l[b]>_&&(r.update("auto"),l[b]=new Date(m+=_)),t=g.max(1,g.min(t,_)));a=t}}else a=33};this.add=function(e){-1===r(e,i)&&(i.push(e),l.push(o()),i[s]>0&&!c&&(t.autoUpdateLoop=c=!0,h()))},this.remove=function(o){var a=r(o,i);a>-1&&(l.splice(a,1),i.splice(a,1),0===i[s]&&c&&(t.autoUpdateLoop=c=!1,e!==n&&(p.cAF()(e),e=-1)))}}function M(o,h,m,b,w){var x=p.type,C=y.inArray,k=y.each,O=new r,E=y[f.p];if(ho(o)){if(v(o)){var S=v(o);return S.options(h),S}var I,A,P,M,D,N,H,R,j,F,V,L,z,B,W,q,$,Z,U,Q,G,Y,K,X,J,tt,et,nt,rt,ot,st,it,lt,ct,at,ut,ht,ft,dt,pt,gt,_t,mt,yt,vt,bt,wt,xt,Ct,kt,Ot,Et,St,Tt,It,At,Pt,Mt,Dt,Nt,Ht,Rt,jt,Ft,Vt,Lt,zt,Bt,Wt,qt,$t,Zt,Ut,Qt,Gt,Yt,Kt,Xt,Jt,te,ee,ne,re,oe,se,ie,le,ce,ae,ue,he,fe,de,pe,ge,_e,me,ye,ve,be,we,xe,Ce,ke,Oe,Ee,Se,Te,Ie,Ae,Pe,Me,De,Ne,He,Re,je,Fe,Ve,Le,ze={},Be={},We={},qe={},$e={},Ze="-hidden",Ue="margin-",Qe="padding-",Ge="border-",Ye="top",Ke="right",Xe="bottom",Je="left",tn="min-",en="max-",nn="width",rn="height",on="float",sn="",ln="auto",cn="sync",an="scroll",un="100%",hn="x",fn="y",dn=".",pn=" ",gn="scrollbar",_n="-horizontal",mn="-vertical",yn=an+"Left",vn=an+"Top",bn="mousedown touchstart",wn="mouseup touchend touchcancel",xn="mousemove touchmove",Cn="mouseenter",kn="mouseleave",On="keydown",En="keyup",Sn="selectstart",Tn="transitionend webkitTransitionEnd oTransitionEnd",In="__overlayScrollbarsRO__",An="os-html",Pn="os-host",Mn=Pn+"-foreign",Dn=Pn+"-textarea",Nn=Pn+"-"+gn+_n+Ze,Hn=Pn+"-"+gn+mn+Ze,Rn=Pn+"-transition",jn=Pn+"-rtl",Fn=Pn+"-resize-disabled",Vn=Pn+"-scrolling",Ln=Pn+"-overflow",zn=(Ln=Pn+"-overflow")+"-x",Bn=Ln+"-y",Wn="os-textarea",qn=Wn+"-cover",$n="os-padding",Zn="os-viewport",Un=Zn+"-native-scrollbars-invisible",Qn=Zn+"-native-scrollbars-overlaid",Gn="os-content",Yn="os-content-arrange",Kn="os-content-glue",Xn="os-size-auto-observer",Jn="os-resize-observer",tr="os-resize-observer-item",er=tr+"-final",nr="os-text-inherit",rr="os-scrollbar",or=rr+"-track",sr=or+"-off",ir=rr+"-handle",lr=ir+"-off",cr=rr+"-unusable",ar=rr+"-"+ln+Ze,ur=rr+"-corner",hr=ur+"-resize",fr=hr+"-both",dr=hr+_n,pr=hr+mn,gr=rr+_n,_r=rr+mn,mr="os-dragging",yr="os-theme-none",vr=[Un,Qn,sr,lr,cr,ar,hr,fr,dr,pr,mr].join(pn),br=[],wr=[f.ti],xr={},Cr={},kr=42,Or="load",Er=[],Sr={},Tr=["wrap","cols","rows"],Ir=[f.i,f.c,f.s,"open"].concat(wr),Ar=[];return O.sleep=function(){rt=!0},O.update=function(t){var e,r,o,s,i;if(!W)return x(t)==c?t===ln?(e=function(){if(!rt&&!Ee){var t,e,r=[],o=[{_elem:pt,_attrs:Ir.concat(":visible")},{_elem:q?dt:n,_attrs:Tr}];return k(o,function(n,o){(t=o._elem)&&k(o._attrs,function(n,o){wo(e=":"===o.charAt(0)?t.is(o):t.attr(o),Sr[o])&&r.push(o),Sr[o]=e})}),$r(r),r[f.l]>0}}(),r=function(){if(rt)return!1;var t,e,n,r,o=go(),s=q&&qt&&!_e?dt.val().length:0,i=!Ee&&qt&&!q,l={};return i&&(t=vt.css(on),l[on]=nt?Ke:Je,l[nn]=ln,vt.css(l)),r={w:o[f.sW]+s,h:o[f.sH]+s},i&&(l[on]=t,l[nn]=un,vt.css(l)),e=Wr(),n=wo(r,ie),ie=r,n||e}(),(o=e||r)&&Ur({_contentSizeChanged:r,_changedOptions:B?n:it})):t===cn?Ee?(s=ke(xe.takeRecords()),i=Oe(Ce.takeRecords())):s=O.update(ln):"zoom"===t&&Ur({_hostSizeChanged:!0,_contentSizeChanged:!0}):(t=rt||t,rt=!1,O.update(cn)&&!t||Ur({_force:t})),Qr(),o||s||i},O.options=function(t,e){var n,r={};if(y.isEmptyObject(t)||!y.isPlainObject(t)){if(x(t)!=c)return st;if(!(arguments.length>1))return yo(st,t);vo(r,t,e),n=Gr(r)}else n=Gr(t);y.isEmptyObject(n)||Ur({_changedOptions:n})},O.destroy=function(){if(!W){for(var t in w.remove(O),Hr(),Dr(_t),Dr(gt),xr)O.removeExt(t);for(;Ar[f.l]>0;)Ar.pop()();Br(!0),wt&&Eo(wt),bt&&Eo(bt),G&&Eo(gt),Kr(!0),so(!0),Yr(!0);for(var e=0;e<Er[f.l];e++)y(Er[e]).off(Or,zr);Er=n,W=!0,rt=!0,v(o,0),io("onDestroyed")}},O.scroll=function(t,e,r,o){if(0===arguments.length||t===n){var h=de&&nt&&P.i,d=de&&nt&&P.n,m=Be._currentScroll,v=Be._currentScrollRatio,b=Be._maxScroll;return m=h?b-m:m,{position:{x:m*=d?-1:1,y:We._currentScroll},ratio:{x:v=h?1-v:v,y:We._currentScrollRatio},max:{x:b*=d?-1:1,y:We._maxScroll},handleOffset:{x:Be._handleOffset,y:We._handleOffset},handleLength:{x:Be._handleLength,y:We._handleLength},handleLengthRatio:{x:Be._handleLengthRatio,y:We._handleLengthRatio},trackLength:{x:Be._trackLength,y:We._trackLength},snappedHandleOffset:{x:Be._snappedHandleOffset,y:We._snappedHandleOffset},isRTL:nt,isRTLNormalized:de}}O.update(cn);var w,k,E,S,T,I,A,M,D,N=de,H=[hn,Je,"l"],R=[fn,Ye,"t"],j=["+=","-=","*=","/="],V=x(e)==s,L=V?e.complete:o,z={},B={},W="end",q="begin",$="center",Z="nearest",U="always",Q="never",G="ifneeded",Y=f.l,K=[hn,fn,"xy","yx"],X=[q,W,$,Z],J=[U,Q,G],tt=t[f.hOP]("el"),et=tt?t.el:t,rt=!!(et instanceof y||_)&&et instanceof _,ot=!rt&&ho(et),st=function(){k&&no(!0),E&&no(!1)},it=x(L)!=i?n:function(){st(),L()};function lt(t,e){for(w=0;w<e[Y];w++)if(t===e[w])return!0;return!1}function ct(t,e){var n=t?H:R;if(e=x(e)==c||x(e)==u?[e,e]:e,p.isA(e))return t?e[0]:e[1];if(x(e)==s)for(w=0;w<n[Y];w++)if(n[w]in e)return e[n[w]]}function at(t,e){var r,o,s,i,l=x(e)==c,a=t?Be:We,h=a._currentScroll,f=a._maxScroll,d=" * ",p=nt&&t,_=p&&P.n&&!N,m=eval;if(l?(e[Y]>2&&(i=e.substr(0,2),C(i,j)>-1&&(r=i)),e=(e=r?e.substr(2):e).replace(/min/g,0).replace(/</g,0).replace(/max/g,(_?"-":sn)+un).replace(/>/g,(_?"-":sn)+un).replace(/px/g,sn).replace(/%/g,d+f*(p&&P.n?-1:1)/100).replace(/vw/g,d+qe.w).replace(/vh/g,d+qe.h),o=fo(isNaN(e)?fo(m(e),!0).toFixed():e)):o=e,o!==n&&!isNaN(o)&&x(o)==u){var y=N&&p,v=h*(y&&P.n?-1:1),b=y&&P.i,w=y&&P.n;switch(v=b?f-v:v,r){case"+=":s=v+o;break;case"-=":s=v-o;break;case"*=":s=v*o;break;case"/=":s=v/o;break;default:s=o}s=b?f-s:s,s*=w?-1:1,s=p&&P.n?g.min(0,g.max(f,s)):g.max(0,g.min(f,s))}return s===h?n:s}function ut(t,e,n,r){var o,i,c=[n,n],a=x(t);if(a==e)t=[t,t];else if(a==l){if((o=t[Y])>2||o<1)t=c;else for(1===o&&(t[1]=n),w=0;w<o;w++)if(x(i=t[w])!=e||!lt(i,r)){t=c;break}}else t=a==s?[t[hn]||n,t[fn]||n]:c;return{x:t[0],y:t[1]}}function ht(t){var e,n,r=[],o=[Ye,Ke,Xe,Je];for(w=0;w<t[Y]&&w!==o[Y];w++)n=x(e=t[w]),r.push(n==a?e?fo(D.css(Ue+o[w])):0:n==u?e:0);return r}if(rt||ot){var ft,dt=tt?t.margin:0,pt=tt?t.axis:0,gt=tt?t.scroll:0,_t=tt?t.block:0,vt=[0,0,0,0],bt=x(dt);if((D=rt?et:y(et))[Y]>0){dt=bt==u||bt==a?ht([dt,dt,dt,dt]):bt==l?2===(ft=dt[Y])?ht([dt[0],dt[1],dt[0],dt[1]]):ft>=4?ht(dt):vt:bt==s?ht([dt[Ye],dt[Ke],dt[Xe],dt[Je]]):vt,T=lt(pt,K)?pt:"xy",I=ut(gt,c,U,J),A=ut(_t,c,q,X),M=dt;var wt={l:Be._currentScroll,t:We._currentScroll},xt=mt.offset(),Ct=D.offset(),kt={x:I.x==Q||T==fn,y:I.y==Q||T==hn};Ct[Ye]-=M[0],Ct[Je]-=M[3];var Ot={x:g.round(Ct[Je]-xt[Je]+wt.l),y:g.round(Ct[Ye]-xt[Ye]+wt.t)};if(nt&&(P.n||P.i||(Ot.x=g.round(xt[Je]-Ct[Je]+wt.l)),P.n&&N&&(Ot.x*=-1),P.i&&N&&(Ot.x=g.round(xt[Je]-Ct[Je]+(Be._maxScroll-wt.l)))),A.x!=q||A.y!=q||I.x==G||I.y==G||nt){var Et=D[0],St=F?Et[f.bCR]():{width:Et[f.oW],height:Et[f.oH]},Tt={w:St[nn]+M[3]+M[1],h:St[rn]+M[0]+M[2]},It=function(t){var e=oo(t),n=e._w_h,r=e._left_top,o=e._x_y,s=A[o]==(t&&nt?q:W),i=A[o]==$,l=A[o]==Z,c=I[o]==G,a=qe[n],u=xt[r],h=Tt[n],f=Ct[r],d=i?2:1,p=f+h/2,g=u+a/2,_=h<=a&&f>=u&&f+h<=u+a;I[o]==Q?kt[o]=!0:kt[o]||((l||c)&&(kt[o]=!!c&&_,s=h<a?p>g:p<g),Ot[o]-=s||i?(a/d-h/d)*(t&&nt&&N?-1:1):0)};It(!0),It(!1)}kt.y&&delete Ot.y,kt.x&&delete Ot.x,t=Ot}}z[yn]=at(!0,ct(!0,t)),z[vn]=at(!1,ct(!1,t)),E=z[vn]!==n,((k=z[yn]!==n)||E)&&(e>0||V)?V?(e.complete=it,yt.animate(z,e)):(S={duration:e,complete:it},p.isA(r)||y.isPlainObject(r)?(B[yn]=r[0]||r.x,B[vn]=r[1]||r.y,S.specialEasing=B):S.easing=r,yt.animate(z,S)):(k&&yt[yn](z[yn]),E&&yt[vn](z[vn]),st())},O.scrollStop=function(t,e,n){return yt.stop(t,e,n),O},O.getElements=function(t){var e={target:Mt,host:Dt,padding:Rt,viewport:jt,content:Ft,scrollbarHorizontal:{scrollbar:kt[0],track:Ot[0],handle:Et[0]},scrollbarVertical:{scrollbar:St[0],track:Tt[0],handle:It[0]},scrollbarCorner:Ct[0]};return x(t)==c?yo(e,t):e},O.getState=function(t){function e(t){if(!y.isPlainObject(t))return t;var e=xo({},t),n=function(t,n){e[f.hOP](t)&&(e[n]=e[t],delete e[t])};return n("w",nn),n("h",rn),delete e.c,e}var n={destroyed:!!e(W),sleeping:!!e(rt),autoUpdate:e(!Ee),widthAuto:e(qt),heightAuto:e($t),padding:e(Ut),overflowAmount:e(ne),hideOverflow:e(Wt),hasOverflow:e(Bt),contentScrollSize:e(Lt),viewportSize:e(qe),hostSize:e(Vt),documentMixed:e(Z)};return x(t)==c?yo(n,t):n},O.ext=function(t){var e,n="added removed on contract".split(" "),r=0;if(x(t)==c){if(xr[f.hOP](t))for(e=xo({},xr[t]);r<n.length;r++)delete e[n[r]]}else for(r in e={},xr)e[r]=xo({},O.ext(r));return e},O.addExt=function(e,n){var o,s,l,c,u=r.extension(e),h=!0;if(u){if(xr[f.hOP](e))return O.ext(e);if((o=u.extensionFactory.call(O,xo({},u.defaultOptions),y,p))&&(x(l=o.contract)==i&&(c=l(t),h=x(c)==a?c:h),h))return xr[e]=o,x(s=o.added)==i&&s(n),O.ext(e)}else console.warn('A extension with the name "'+e+"\" isn't registered.")},O.removeExt=function(t){var e,n=xr[t];return!!n&&(delete xr[t],x(e=n.removed)==i&&e(),!0)},r.valid(function(t,r,o){var s,l;return ot=b.defaultOptions,N=b.nativeScrollbarStyling,R=xo({},b.nativeScrollbarSize),I=xo({},b.nativeScrollbarIsOverlaid),A=xo({},b.overlayScrollbarDummySize),P=xo({},b.rtlScrollBehavior),Gr(xo({},ot,r)),H=b.cssCalc,D=b.msie,M=b.autoUpdateRecommended,j=b.supportTransition,F=b.supportTransform,V=b.supportPassiveEvents,L=b.supportResizeObserver,z=b.supportMutationObserver,ut=y(t.ownerDocument),at=y((Pt=ut[0]).defaultView||Pt.parentWindow),At=at[0],ht=So(ut,"html"),ft=So(ht,"body"),dt=y(t),Mt=dt[0],q=dt.is("textarea"),$=dt.is("body"),Z=Pt!==e,U=q?dt.hasClass(Wn)&&dt.parent().hasClass(Gn):dt.hasClass(Pn)&&dt.children(dn+$n)[f.l],I.x&&I.y&&!it.nativeScrollbarsOverlaid.initialize?(io("onInitializationWithdrawn"),U&&(Yr(!0),Kr(!0),so(!0)),W=!0,rt=!0,O):($&&((s={}).l=g.max(dt[yn](),ht[yn](),at[yn]()),s.t=g.max(dt[vn](),ht[vn](),at[vn]()),l=function(){yt.removeAttr(f.ti),Pr(yt,bn,l,!0,!0)}),Yr(),Kr(),so(),function(){var t,e,r=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],o=[],s="focus";function i(e){Zr(),O.update(ln),e&&M&&clearInterval(t)}q?(D>9||!M?Mr(dt,"input",i):Mr(dt,[On,En],[function(e){var n=e.keyCode;C(n,r)<0&&(o[f.l]||(i(),t=setInterval(i,1e3/60)),C(n,o)<0&&o.push(n))},function(t){var e=t.keyCode,n=C(e,o);C(e,r)<0&&(n>-1&&o.splice(n,1),o[f.l]||i(!0))}]),Mr(dt,[an,"drop",s,"focusout"],[function(t){return dt[yn](P.i&&de?9999999:0),dt[vn](0),p.prvD(t),p.stpP(t),!1},function(t){setTimeout(function(){W||i()},50)},function(){Se=!0,Co(pt,s)},function(){Se=!1,o=[],ko(pt,s),i(!0)}])):Mr(vt,Tn,function(t){!0!==oe&&function(t){if(!B)return!0;var e="flex-grow",n="flex-shrink",r="flex-basis",o=[nn,tn+nn,en+nn,Ue+Je,Ue+Ke,Je,Ke,"font-weight","word-spacing",e,n,r],s=[Qe+Je,Qe+Ke,Ge+Je+nn,Ge+Ke+nn],i=[Qe+Ye,Qe+Xe,Ge+Ye+nn,Ge+Xe+nn],l="s"===ee.x||"v-s"===ee.x,c=!1,a=function(t,e){for(var n=0;n<t[f.l];n++)if(t[n]===e)return!0;return!1};return("s"===ee.y||"v-s"===ee.y)&&((c=a([rn,tn+rn,en+rn,Ue+Ye,Ue+Xe,Ye,Xe,"line-height",e,n,r],t))||Q||(c=a(i,t))),l&&!c&&((c=a(o,t))||Q||(c=a(s,t))),c}((t=t.originalEvent||t).propertyName)&&O.update(ln)}),Mr(yt,an,function(t){rt||(e!==n?clearTimeout(e):((Me||De)&&to(!0),po()||Co(pt,Vn),io("onScrollStart",t)),Re||(no(!0),no(!1)),io("onScroll",t),e=setTimeout(function(){W||(clearTimeout(e),e=n,(Me||De)&&to(!1),po()||ko(pt,Vn),io("onScrollStop",t))},175))},!0)}(),Xr(!0),Xr(!1),function(){var t,e=At.top!==At,r={},o={},s={};function i(t){if(c(t)){var e=a(t),n={};(Ve||Fe)&&(n[nn]=o.w+(e.x-r.x)*s.x),(Le||Fe)&&(n[rn]=o.h+(e.y-r.y)*s.y),pt.css(n),p.stpP(t)}else l(t)}function l(e){var r=e!==n;Pr(ut,[Sn,xn,wn],[Lr,i,l],!0),ko(ft,mr),Ct.releaseCapture&&Ct.releaseCapture(),r&&(t&&Nr(),O.update(ln)),t=!1}function c(t){var e=(t.originalEvent||t).touches!==n;return!rt&&!W&&(1===p.mBtn(t)||e)}function a(t){return D&&e?{x:t.screenX,y:t.screenY}:p.page(t)}Mr(Ct,bn,function(e){c(e)&&!je&&(Ee&&(t=!0,Hr()),r=a(e),o.w=Dt[f.oW]-(Q?0:Y),o.h=Dt[f.oH]-(Q?0:K),s=uo(),Pr(ut,[Sn,xn,wn],[Lr,i,l]),Co(ft,mr),Ct.setCapture&&Ct.setCapture(),p.prvD(e),p.stpP(e))})}(),function(){if(z){var t,e,n,r,o,s,l,c,a,u,h=p.mO(),d=p.now();Oe=function(t){var e=!1;return B&&!rt&&(k(t,function(){return!(e=function(t){var e=t.attributeName,n=t.target;if(n===Ft)return null===e;if("attributes"===t.type&&(e===f.c||e===f.s)&&!q){if(e===f.c&&y(n).hasClass(Pn))return qr(t.oldValue,n.className);if(typeof n.closest!=i)return!0;if(null!==n.closest(dn+Jn)||null!==n.closest(dn+rr)||null!==n.closest(dn+ur))return!1}return!0}(this))}),e&&(c=p.now(),a=$t||qt,u=function(){W||(d=c,q&&Zr(),a?Ur():O.update(ln))},clearTimeout(l),c-d>11||!a?u():l=setTimeout(u,11))),e},xe=new h(ke=function(i){var l,c=!1,a=!1,u=[];return B&&!rt&&(k(i,function(){n=(e=(l=this).attributeName)===f.c,r=l.oldValue,o=(t=l.target).className,U&&n&&!a&&r.indexOf(Mn)>-1&&o.indexOf(Mn)<0&&(s=ao(!0),Dt.className=o.split(pn).concat(r.split(pn).filter(function(t){return t.match(s)})).join(pn),c=a=!0),c||(c=n?qr(r,o):e!==f.s||r!==t[f.s].cssText),u.push(e)}),$r(u),c&&O.update(a||ln)),c}),Ce=new h(Oe)}}(),Dr(_t,Rr),$&&(yt[yn](s.l)[vn](s.t),e.activeElement==t&&jt.focus&&(yt.attr(f.ti,"-1"),jt.focus(),Pr(yt,bn,l,!1,!0))),O.update(ln),B=!0,io("onInitialized"),k(br,function(t,e){io(e.n,e.a)}),br=[],x(o)==c&&(o=[o]),p.isA(o)?k(o,function(t,e){O.addExt(e)}):y.isPlainObject(o)&&k(o,function(t,e){O.addExt(t,e)}),setTimeout(function(){j&&!W&&Co(pt,Rn)},333),O)}(o,h,m))&&v(o,O),O}function Pr(t,e,n,r,o){var s=p.isA(e)&&p.isA(n),i=r?"removeEventListener":"addEventListener",l=r?"off":"on",c=!s&&e.split(pn),a=0,u=y.isPlainObject(o),h=V&&(u?o._passive||!1:o),d=u&&(o._capture||!1),g=d||h,_=h?{passive:h,capture:d}:d;if(s)for(;a<e[f.l];a++)Pr(t,e[a],n[a],r,o);else for(;a<c[f.l];a++)g?t[0][i](c[a],n,_):t[l](c[a],n)}function Mr(t,e,n,r){Pr(t,e,n,!1,r),Ar.push(p.bind(Pr,0,t,e,n,!0,r))}function Dr(t,e){if(t){var r=p.rO(),o="animationstart mozAnimationStart webkitAnimationStart MSAnimationStart",i=3333333,l=function(){t[vn](i)[yn](nt?P.n?-3333333:P.i?0:i:i),e()};if(e){if(L)((N=t.addClass("observed").append(_o(Jn)).contents()[0])[In]=new r(l)).observe(N);else if(D>9||!M){t.prepend(_o(Jn,_o({c:tr,dir:"ltr"},_o(tr,_o(er))+_o(tr,_o({c:er,style:"width: 200%; height: 200%"})))));var c,a,u,h,d=t[0].childNodes[0].childNodes[0],g=y(d.childNodes[1]),_=y(d.childNodes[0]),m=y(_[0].childNodes[0]),v=d[f.oW],w=d[f.oH],x=b.nativeScrollbarSize,C=function(){_[yn](i)[vn](i),g[yn](i)[vn](i)},k=function(){a=0,c&&(v=u,w=h,l())},O=function(t){return h=d[f.oH],c=(u=d[f.oW])!=v||h!=w,t&&c&&!a?(p.cAF()(a),a=p.rAF()(k)):t||k(),C(),t&&(p.prvD(t),p.stpP(t)),!1},E={},S={};lo(S,sn,[2*-(x.y+1),-2*x.x,-2*x.y,2*-(x.x+1)]),y(d).css(S),_.on(an,O),g.on(an,O),t.on(o,function(){O(!1)}),E[nn]=i,E[rn]=i,m.css(E),C()}else{var T=D!==n;if(Pt.attachEvent)t.prepend(_o(Jn)),So(t,dn+Jn)[0].attachEvent("onresize",l);else{var I=Pt.createElement(s);I.setAttribute(f.ti,"-1"),I.setAttribute(f.c,Jn),I.onload=function(){var t=this.contentDocument.defaultView;t.addEventListener("resize",l),t.document.documentElement.style.display="none"},I.type="text/html",T&&t.prepend(I),I.data="about:blank",T||t.prepend(I),t.on(o,l)}}if(t[0]===Ht){var A=function(){var t=pt.css("direction"),e={},n=0,r=!1;return t!==Kt&&("ltr"===t?(e[Je]=0,e[Ke]=ln,n=i):(e[Je]=ln,e[Ke]=0,n=P.n?-3333333:P.i?0:i),_t.children().eq(0).css(e),_t[yn](n)[vn](i),Kt=t,r=!0),r};A(),Mr(t,an,function(t){return A()&&Ur(),p.prvD(t),p.stpP(t),!1})}}else if(L){var N,H=(N=t.contents()[0])[In];H&&(H.disconnect(),delete N[In])}else Eo(t.children(dn+Jn).eq(0))}}function Nr(){z&&!Ee&&(xe.observe(Dt,{attributes:!0,attributeOldValue:!0,attributeFilter:Ir}),Ce.observe(q?Mt:Ft,{attributes:!0,attributeOldValue:!0,subtree:!q,childList:!q,characterData:!q,attributeFilter:q?Tr:Ir}),Ee=!0)}function Hr(){z&&Ee&&(xe.disconnect(),Ce.disconnect(),Ee=!1)}function Rr(){if(!rt){var t,e={w:Ht[f.sW],h:Ht[f.sH]};t=wo(e,le),le=e,t&&Ur({_hostSizeChanged:!0})}}function jr(){Ne&&to(!0)}function Fr(){Ne&&!ft.hasClass(mr)&&to(!1)}function Vr(){De&&(to(!0),clearTimeout(Ie),Ie=setTimeout(function(){De&&!W&&to(!1)},100))}function Lr(t){return p.prvD(t),!1}function zr(t){var e=y(t.target);bo(function(t,n){e.is(n)&&Ur({_contentSizeChanged:!0})})}function Br(t){t||Br(!0),Pr(pt,xn.split(pn)[0],Vr,!De||t,!0),Pr(pt,[Cn,kn],[jr,Fr],!Ne||t,!0),B||t||pt.one("mouseover",jr)}function Wr(){var t={};return $&&bt&&(t.w=fo(bt.css(tn+nn)),t.h=fo(bt.css(tn+rn)),t.c=wo(t,we),t.f=!0),we=t,!!t.c}function qr(t,e){var n,r,o=typeof e==c?e.split(pn):[],s=function(t,e){var n,r,o=[],s=[];for(n=0;n<t.length;n++)o[t[n]]=!0;for(n=0;n<e.length;n++)o[e[n]]?delete o[e[n]]:o[e[n]]=!0;for(r in o)s.push(r);return s}(typeof t==c?t.split(pn):[],o),i=C(yr,s);if(i>-1&&s.splice(i,1),s[f.l]>0)for(r=ao(!0,!0),n=0;n<s.length;n++)if(!s[n].match(r))return!0;return!1}function $r(t){k(t=t||wr,function(t,e){if(p.inA(e,wr)>-1){var n=dt.attr(e);x(n)==c?yt.attr(e,n):yt.removeAttr(e)}})}function Zr(){if(!rt){var t,e,n,r,o=qe.w,s=qe.h,i={},l=qt||!_e;return i[tn+nn]=sn,i[tn+rn]=sn,i[nn]=ln,dt.css(i),t=Mt[f.oW],e=l?g.max(t,Mt[f.sW]-1):1,i[nn]=qt?ln:un,i[tn+nn]=un,i[rn]=ln,dt.css(i),r=g.max(n=Mt[f.oH],Mt[f.sH]-1),i[nn]=e,i[rn]=r,xt.css(i),i[tn+nn]=o,i[tn+rn]=s,dt.css(i),{_originalWidth:t,_originalHeight:n,_dynamicWidth:e,_dynamicHeight:r}}}function Ur(t){clearTimeout(ct),Cr._hostSizeChanged|=(t=t||{})._hostSizeChanged,Cr._contentSizeChanged|=t._contentSizeChanged,Cr._force|=t._force;var e,r=p.now(),o=!!Cr._hostSizeChanged,s=!!Cr._contentSizeChanged,i=!!Cr._force,l=t._changedOptions,c=kr>0&&B&&!W&&!i&&!l&&r-lt<kr&&!$t&&!qt;if(c&&(ct=setTimeout(Ur,kr)),!(W||c||rt&&!l||B&&!i&&(e=pt.is(":hidden"))||"inline"===pt.css("display"))){lt=r,Cr={},!N||I.x&&I.y?R=xo({},b.nativeScrollbarSize):(R.x=0,R.y=0),$e={x:3*(R.x+(I.x?0:3)),y:3*(R.y+(I.y?0:3))},l=l||{};var a=function(){return wo.apply(this,[].slice.call(arguments).concat([i]))},u={x:yt[yn](),y:yt[vn]()},h=it.scrollbars,_=it.textarea,m=h.visibility,v=a(m,ce),x=h.autoHide,C=a(x,ae),k=h.clickScrolling,E=a(k,ue),S=h.dragScrolling,T=a(S,he),D=it.className,j=a(D,pe),F=it.resize,V=a(F,fe)&&!$,L=it.paddingAbsolute,z=a(L,Xt),Z=it.clipAlways,U=a(Z,Jt),ot=it.sizeAutoCapable&&!$,st=a(ot,se),at=it.nativeScrollbarsOverlaid.showNativeScrollbars,ut=a(at,re),ht=it.autoUpdate,ft=a(ht,oe),kt=it.overflowBehavior,Ot=a(kt,ee,i),Et=_.dynWidth,St=a(be,Et),Tt=_.dynHeight,It=a(ve,Tt);if(Pe="n"===x,Me="s"===x,De="m"===x,Ne="l"===x,Ae=h.autoHideDelay,ge=pe,je="n"===F,Fe="b"===F,Ve="h"===F,Le="v"===F,de=it.normalizeRTL,ce=m,ae=x,ue=k,he=S,pe=D,fe=F,Xt=L,Jt=Z,se=ot,re=at=at&&I.x&&I.y,oe=ht,ee=xo({},kt),be=Et,ve=Tt,Bt=Bt||{x:!1,y:!1},j&&(ko(pt,ge+pn+yr),Co(pt,D!==n&&null!==D&&D.length>0?D:yr)),ft&&(!0===ht||null===ht&&M?(Hr(),w.add(O)):(w.remove(O),Nr())),st)if(ot)if(wt?wt.show():(wt=y(_o(Kn)),mt.before(wt)),G)gt.show();else{gt=y(_o(Xn)),Nt=gt[0],wt.before(gt);var At={w:-1,h:-1};Dr(gt,function(){var t={w:Nt[f.oW],h:Nt[f.oH]};wo(t,At)&&(B&&$t&&t.h>0||qt&&t.w>0||B&&!$t&&0===t.h||!qt&&0===t.w)&&Ur(),At=t}),G=!0,null!==H&&gt.css(rn,H+"(100% + 1px)")}else G&&gt.hide(),wt&&wt.hide();i&&(_t.find("*").trigger(an),G&&gt.find("*").trigger(an)),e=e===n?pt.is(":hidden"):e;var Pt,Ht=!!q&&"off"!==dt.attr("wrap"),Kt=a(Ht,_e),ie=pt.css("direction"),le=a(ie,Yt),xe=pt.css("box-sizing"),Ce=a(xe,Zt),ke=co(Qe);try{Pt=G?Nt[f.bCR]():null}catch(qr){return}Q="border-box"===xe;var Oe=(nt="rtl"===ie)?Je:Ke,Te=nt?Ke:Je,Ie=!1,He=!(!G||"none"===pt.css(on))&&0===g.round(Pt.right-Pt.left)&&(!!L||Dt[f.cW]-Y>0);if(ot&&!He){var Re=Dt[f.oW],Be=wt.css(nn);wt.css(nn,ln);var We=Dt[f.oW];wt.css(nn,Be),(Ie=Re!==We)||(wt.css(nn,Re+1),We=Dt[f.oW],wt.css(nn,Be),Ie=Re!==We)}var Ze=(He||Ie)&&ot&&!e,cn=a(Ze,qt),hn=!Ze&&qt,fn=!(!G||!ot||e)&&0===g.round(Pt.bottom-Pt.top),dn=a(fn,$t),gn=!fn&&$t,_n=co(Ge,"-"+nn,!(Ze&&Q||!Q),!(fn&&Q||!Q)),mn=co(Ue),bn={},wn={},xn=function(){return{w:Dt[f.cW],h:Dt[f.cH]}},Cn=function(){return{w:Rt[f.oW]+g.max(0,Ft[f.cW]-Ft[f.sW]),h:Rt[f.oH]+g.max(0,Ft[f.cH]-Ft[f.sH])}},kn=Y=ke.l+ke.r,On=K=ke.t+ke.b;if(kn*=L?1:0,On*=L?1:0,ke.c=a(ke,Ut),X=_n.l+_n.r,J=_n.t+_n.b,_n.c=a(_n,Qt),tt=mn.l+mn.r,et=mn.t+mn.b,mn.c=a(mn,Gt),_e=Ht,Yt=ie,Zt=xe,qt=Ze,$t=fn,Ut=ke,Qt=_n,Gt=mn,le&&G&&gt.css(on,Te),ke.c||le||z||cn||dn||Ce||st){var En={},Sn={},Tn=[ke.t,ke.r,ke.b,ke.l];lo(wn,Ue,[-ke.t,-ke.r,-ke.b,-ke.l]),L?(lo(En,sn,Tn),lo(q?Sn:bn,Qe)):(lo(En,sn),lo(q?Sn:bn,Qe,Tn)),mt.css(En),dt.css(Sn)}qe=Cn();var In=!!q&&Zr(),An=q&&a(In,ye),Pn=q&&In?{w:Et?In._dynamicWidth:In._originalWidth,h:Tt?In._dynamicHeight:In._originalHeight}:{};if(ye=In,fn&&(dn||z||Ce||ke.c||_n.c)?bn[rn]=ln:(dn||z)&&(bn[rn]=un),Ze&&(cn||z||Ce||ke.c||_n.c||le)?(bn[nn]=ln,wn[en+nn]=un):(cn||z)&&(bn[nn]=un,bn[on]=sn,wn[en+nn]=sn),Ze?(wn[nn]=ln,bn[nn]=d._cssPropertyValue(nn,"max-content intrinsic")||ln,bn[on]=Te):wn[nn]=sn,wn[rn]=fn?Pn.h||Ft[f.cH]:sn,ot&&wt.css(wn),vt.css(bn),bn={},wn={},o||s||An||le||Ce||z||cn||Ze||dn||fn||ut||Ot||U||V||v||C||T||E||St||It||Kt){var Mn="overflow",Dn="overflow-x",Nn="overflow-y";if(!N){var Hn={},Rn=Bt.y&&Wt.ys&&!at?I.y?yt.css(Oe):-R.y:0,Wn=Bt.x&&Wt.xs&&!at?I.x?yt.css(Xe):-R.x:0;lo(Hn,sn),yt.css(Hn)}var qn=go(),$n={w:Pn.w||qn[f.cW],h:Pn.h||qn[f.cH]},Zn={w:qn[f.sW],h:qn[f.sH]};N||(Hn[Xe]=gn?sn:Wn,Hn[Oe]=hn?sn:Rn,yt.css(Hn)),qe=Cn();var Qn=xn(),Gn={w:Qn.w-tt-X-(Q?0:Y),h:Qn.h-et-J-(Q?0:K)},Jn={w:g.max((Ze?$n.w:Zn.w)+kn,Gn.w),h:g.max((fn?$n.h:Zn.h)+On,Gn.h)};if(Jn.c=a(Jn,te),te=Jn,ot){(Jn.c||fn||Ze)&&(wn[nn]=Jn.w,wn[rn]=Jn.h,q||($n={w:qn[f.cW],h:qn[f.cH]}));var tr={},er=function(t){var e=oo(t),n=e._w_h,r=e._width_height,o=t?Ze:fn,s=qe[n]-(t?X:J)-(t?tt:et)-(Q?0:t?Y:K);(!o||!o&&_n.c)&&(wn[r]=Gn[n]-1),!(o&&$n[n]<s)||t&&q&&Ht||(q&&(tr[r]=fo(xt.css(r))-1),wn[r]-=1),$n[n]>0&&(wn[r]=g.max(1,wn[r]))};er(!0),er(!1),q&&xt.css(tr),wt.css(wn)}Ze&&(bn[nn]=un),!Ze||Q||Ee||(bn[on]="none"),vt.css(bn),bn={};var nr={w:qn[f.sW],h:qn[f.sH]};nr.c=s=a(nr,Lt),Lt=nr,qe=Cn(),o=a(Qn=xn(),Vt),Vt=Qn;var rr=q&&(0===qe.w||0===qe.h),or=ne,sr={},ir={},lr={},cr={},ar={},ur={},gr={},_r=Rt[f.bCR](),mr=function(t){var e=oo(t),n=oo(!t)._x_y,r=e._x_y,o=e._w_h,s=e._width_height,i=an+e._Left_Top+"Max",l=_r[s]?g.abs(_r[s]-qe[o]):0,c=or&&or[r]>0&&0===jt[i];sr[r]="v-s"===kt[r],ir[r]="v-h"===kt[r],lr[r]="s"===kt[r],cr[r]=g.max(0,g.round(100*(nr[o]-qe[o]))/100),cr[r]*=rr||c&&l>0&&l<1?0:1,ar[r]=cr[r]>0,ur[r]=sr[r]||ir[r]?ar[n]&&!sr[n]&&!ir[n]:ar[r],ur[r+"s"]=!!ur[r]&&(lr[r]||sr[r]),gr[r]=ar[r]&&ur[r+"s"]};if(mr(!0),mr(!1),cr.c=a(cr,ne),ne=cr,ar.c=a(ar,Bt),Bt=ar,ur.c=a(ur,Wt),Wt=ur,I.x||I.y){var vr,br={},wr={},xr=i;(ar.x||ar.y)&&(wr.w=I.y&&ar.y?nr.w+A.y:sn,wr.h=I.x&&ar.x?nr.h+A.x:sn,xr=a(wr,zt),zt=wr),(ar.c||ur.c||nr.c||le||cn||dn||Ze||fn||ut)&&(bn[Ue+Te]=bn[Ge+Te]=sn,vr=function(t){var e=oo(t),n=oo(!t),r=e._x_y,o=t?Xe:Oe,s=t?fn:Ze;I[r]&&ar[r]&&ur[r+"s"]?(bn[Ue+o]=s?at?sn:A[r]:sn,bn[Ge+o]=t&&s||at?sn:A[r]+"px solid transparent"):(wr[n._w_h]=bn[Ue+o]=bn[Ge+o]=sn,xr=!0)},N?Oo(yt,Un,!at):(vr(!0),vr(!1))),at&&(wr.w=wr.h=sn,xr=!0),xr&&!N&&(br[nn]=ur.y?wr.w:sn,br[rn]=ur.x?wr.h:sn,bt||(bt=y(_o(Yn)),yt.prepend(bt)),bt.css(br)),vt.css(bn)}var Or,Er={};if(En={},(o||ar.c||ur.c||nr.c||Ot||Ce||ut||le||U||dn)&&(Er[Te]=sn,(Or=function(t){var e=oo(t),n=oo(!t),r=e._x_y,o=e._X_Y,s=t?Xe:Oe,i=function(){Er[s]=sn,ze[n._w_h]=0};ar[r]&&ur[r+"s"]?(Er[Mn+o]=an,at||N?i():(Er[s]=-(I[r]?A[r]:R[r]),ze[n._w_h]=I[r]?A[n._x_y]:0)):(Er[Mn+o]=sn,i())})(!0),Or(!1),!N&&(qe.h<$e.x||qe.w<$e.y)&&(ar.x&&ur.x&&!I.x||ar.y&&ur.y&&!I.y)?(Er[Qe+Ye]=$e.x,Er[Ue+Ye]=-$e.x,Er[Qe+Te]=$e.y,Er[Ue+Te]=-$e.y):Er[Qe+Ye]=Er[Ue+Ye]=Er[Qe+Te]=Er[Ue+Te]=sn,Er[Qe+Oe]=Er[Ue+Oe]=sn,ar.x&&ur.x||ar.y&&ur.y||rr?q&&rr&&(En[Dn]=En[Nn]="hidden"):(!Z||ir.x||sr.x||ir.y||sr.y)&&(q&&(En[Dn]=En[Nn]=sn),Er[Dn]=Er[Nn]="visible"),mt.css(En),yt.css(Er),Er={},(ar.c||Ce||cn||dn)&&(!I.x||!I.y))){var Sr=Ft[f.s];Sr.webkitTransform="scale(1)",Sr.display="run-in",Sr.display=sn,Sr.webkitTransform=sn}if(bn={},le||cn||dn)if(nt&&Ze){var Tr=vt.css(on),Ir=g.round(vt.css(on,sn).css(Je,sn).position().left);vt.css(on,Tr),Ir!==g.round(vt.position().left)&&(bn[Je]=Ir)}else bn[Je]=sn;if(vt.css(bn),q&&s){var Ar=function(){var t=Mt.selectionStart;if(t!==n){var e,r,o=dt.val(),s=o[f.l],i=o.split("\n"),l=i[f.l],c=o.substr(0,t).split("\n"),a=0,u=0,h=c[f.l],d=c[c[f.l]-1][f.l];for(r=0;r<i[f.l];r++)(e=i[r][f.l])>u&&(a=r+1,u=e);return{_cursorRow:h,_cursorColumn:d,_rows:l,_columns:u,_widestRow:a,_cursorPosition:t,_cursorMax:s}}}();if(Ar){var Pr=me===n||Ar._rows!==me._rows,Mr=Ar._cursorRow,Rr=Ar._cursorPosition>=Ar._cursorMax&&Se,jr={x:Ht||Ar._cursorColumn!==Ar._columns||Mr!==Ar._widestRow?-1:ne.x,y:(Ht?Rr||Pr&&or&&u.y===or.y:(Rr||Pr)&&Mr===Ar._rows)?ne.y:-1};u.x=jr.x>-1?nt&&de&&P.i?0:jr.x:u.x,u.y=jr.y>-1?jr.y:u.y}me=Ar}nt&&P.i&&I.y&&ar.x&&de&&(u.x+=ze.w||0),Ze&&pt[yn](0),fn&&pt[vn](0),yt[yn](u.x)[vn](u.y);var Fr="v"===m,Vr="h"===m,Lr="a"===m,zr=function(t,e){e=e===n?t:e,Jr(!0,t,gr.x),Jr(!1,e,gr.y)};Oo(pt,Ln,ur.x||ur.y),Oo(pt,zn,ur.x),Oo(pt,Bn,ur.y),le&&!$&&Oo(pt,jn,nt),$&&Co(pt,Fn),V&&(Oo(pt,Fn,je),Oo(Ct,hr,!je),Oo(Ct,fr,Fe),Oo(Ct,dr,Ve),Oo(Ct,pr,Le)),(v||Ot||ur.c||ar.c||ut)&&(at?ut&&(ko(pt,Vn),at&&zr(!1)):Lr?zr(gr.x,gr.y):Fr?zr(!0):Vr&&zr(!1)),(C||ut)&&(Br(!Ne&&!De),to(Pe,!Pe)),(o||cr.c||dn||cn||V||Ce||z||ut||le)&&(eo(!0),no(!0),eo(!1),no(!1)),E&&ro(!0,k),T&&ro(!1,S),io("onDirectionChanged",{isRTL:nt,dir:ie},le),io("onHostSizeChanged",{width:Vt.w,height:Vt.h},o),io("onContentSizeChanged",{width:Lt.w,height:Lt.h},s),io("onOverflowChanged",{x:ar.x,y:ar.y,xScrollable:ur.xs,yScrollable:ur.ys,clipped:ur.x||ur.y},ar.c||ur.c),io("onOverflowAmountChanged",{x:cr.x,y:cr.y},cr.c)}$&&we&&(Bt.c||we.c)&&(we.f||Wr(),I.y&&Bt.x&&vt.css(tn+nn,we.w+A.y),I.x&&Bt.y&&vt.css(tn+rn,we.h+A.x),we.c=!1),B&&l.updateOnLoad&&Qr(),io("onUpdated",{forced:i})}}function Qr(){q||bo(function(t,e){vt.find(e).each(function(t,e){p.inA(e,Er)<0&&(Er.push(e),y(e).off(Or,zr).on(Or,zr))})})}function Gr(t){var e=T._validate(t,T._template,!0,st);return st=xo({},st,e._default),it=xo({},it,e._prepared),e._prepared}function Yr(t){var e=Wn+pn+nr,r=q?pn+nr:sn,o=it.textarea.inheritedAttrs,s={},i=function(){var e=t?dt:pt;k(s,function(t,n){x(n)==c&&(t==f.c?e.addClass(n):e.attr(t,n))})},l=[Pn,Mn,Dn,Fn,jn,Nn,Hn,Rn,Vn,Ln,zn,Bn,yr,Wn,nr,pe].join(pn),a={};pt=pt||(q?U?dt.parent().parent().parent().parent():y(_o(Dn)):dt),vt=vt||mo(Gn+r),yt=yt||mo(Zn+r),mt=mt||mo($n+r),_t=_t||mo("os-resize-observer-host"),xt=xt||(q?mo(qn):n),U&&Co(pt,Mn),t&&ko(pt,l),o=x(o)==c?o.split(pn):o,p.isA(o)&&q&&k(o,function(e,n){x(n)==c&&(s[n]=t?pt.attr(n):dt.attr(n))}),t?(U&&B?(_t.children().remove(),k([mt,yt,vt,xt],function(t,e){e&&ko(e.removeAttr(f.s),vr)}),Co(pt,q?Dn:Pn)):(Eo(_t),vt.contents().unwrap().unwrap().unwrap(),q&&(dt.unwrap(),Eo(pt),Eo(xt),i())),q&&dt.removeAttr(f.s),$&&ko(ht,An)):(q&&(it.sizeAutoCapable||(a[nn]=dt.css(nn),a[rn]=dt.css(rn)),U||dt.addClass(nr).wrap(pt),pt=dt.parent().css(a)),U||(Co(dt,q?e:Pn),pt.wrapInner(vt).wrapInner(yt).wrapInner(mt).prepend(_t),vt=So(pt,dn+Gn),yt=So(pt,dn+Zn),mt=So(pt,dn+$n),q&&(vt.prepend(xt),i())),N&&Co(yt,Un),I.x&&I.y&&Co(yt,Qn),$&&Co(ht,An),Ht=_t[0],Dt=pt[0],Rt=mt[0],jt=yt[0],Ft=vt[0],$r())}function Kr(t){var e,n,r=function(e){var n=mo(rr+pn+(e?gr:_r),!0),r=mo(or,n),o=mo(ir,n);return U||t||(n.append(r),r.append(o)),{_scrollbar:n,_track:r,_handle:o}};function o(t){var e=oo(t),n=e._scrollbar;U&&B?k([n,e._track,e._handle],function(t,e){ko(e.removeAttr(f.s),vr)}):Eo(n||r(t)._scrollbar)}t?(o(!0),o()):(e=r(!0),n=r(),kt=e._scrollbar,Ot=e._track,Et=e._handle,St=n._scrollbar,Tt=n._track,It=n._handle,U||(mt.after(St),mt.after(kt)))}function Xr(t){var e,r,o,s,i=oo(t),l=i._info,c=At.top!==At,a=i._x_y,u=i._X_Y,h=an+i._Left_Top,d="active",_="snapHandle",m="click",y=1,v=[16,17];function b(t){return D&&c?t["screen"+u]:p.page(t)[a]}function w(t){return it.scrollbars[t]}function x(){y=.5}function k(){y=1}function E(t){p.stpP(t)}function S(t){C(t.keyCode,v)>-1&&x()}function T(t){C(t.keyCode,v)>-1&&k()}function I(t){var e=(t.originalEvent||t).touches!==n;return!(rt||W||po()||!he||e&&!w("touchSupport"))&&(1===p.mBtn(t)||e)}function A(e){if(I(e)){var n=l._trackLength,i=l._handleLength,c=l._maxScroll*((b(e)-o)*s/(n-i));c=isFinite(c)?c:0,nt&&t&&!P.i&&(c*=-1),yt[h](g.round(r+c)),Re&&no(t,r+c),V||p.prvD(e)}else M(e)}function M(l){if(l=l||l.originalEvent,Pr(ut,[xn,wn,On,En,Sn],[A,M,S,T,Lr],!0),p.rAF()(function(){Pr(ut,m,E,!0,{_capture:!0})}),Re&&no(t,!0),Re=!1,ko(ft,mr),ko(i._handle,d),ko(i._track,d),ko(i._scrollbar,d),r=n,o=n,s=1,k(),e!==n&&(O.scrollStop(),clearTimeout(e),e=n),l){var c=Dt[f.bCR]();l.clientX>=c.left&&l.clientX<=c.right&&l.clientY>=c.top&&l.clientY<=c.bottom||Fr(),(Me||De)&&to(!1)}}function N(e){r=yt[h](),r=isNaN(r)?0:r,(nt&&t&&!P.n||!nt)&&(r=r<0?0:r),s=uo()[a],o=b(e),Re=!w(_),Co(ft,mr),Co(i._handle,d),Co(i._scrollbar,d),Pr(ut,[xn,wn,Sn],[A,M,Lr]),p.rAF()(function(){Pr(ut,m,E,!1,{_capture:!0})}),!D&&Z||p.prvD(e),p.stpP(e)}Mr(i._handle,bn,function(t){I(t)&&N(t)}),Mr(i._track,[bn,Cn,kn],[function(r){if(I(r)){var c,u=i._info._handleLength/Math.round(g.min(1,qe[i._w_h]/Lt[i._w_h])*i._info._trackLength),f=g.round(qe[i._w_h]*u),m=270*u,v=400*u,b=i._track.offset()[i._left_top],C=r.ctrlKey,k=r.shiftKey,E=k&&C,A=!0,D=function(e){Re&&no(t,e)},H=function(){D(),N(r)},R=function(){if(!W){var r=(o-b)*s,i=l._handleOffset,u=l._trackLength,d=l._handleLength,p=l._maxScroll,_=l._currentScroll,w=m*y,x=A?g.max(v,w):w,C=p*((r-d/2)/(u-d)),S=nt&&t&&(!P.i&&!P.n||de),T=S?i<r:i>r,I={},M={easing:"linear",step:function(e){Re&&(yt[h](e),no(t,e))}};C=isFinite(C)?C:0,C=nt&&t&&!P.i?p-C:C,k?(yt[h](C),E?(C=yt[h](),yt[h](_),C=S&&P.i?p-C:C,I[a]=C=S&&P.n?-C:C,O.scroll(I,xo(M,{duration:130,complete:H}))):H()):(c=A?T:c,(S?c?i+d>=r:i<=r:c?i<=r:i+d>=r)?(clearTimeout(e),O.scrollStop(),e=n,D(!0)):(e=setTimeout(R,x),I[a]=(c?"-=":"+=")+f,O.scroll(I,xo(M,{duration:w}))),A=!1)}};C&&x(),s=uo()[a],o=p.page(r)[a],Re=!w(_),Co(ft,mr),Co(i._track,d),Co(i._scrollbar,d),Pr(ut,[wn,On,En,Sn],[M,S,T,Lr]),R(),p.prvD(r),p.stpP(r)}},function(t){He=!0,(Me||De)&&to(!0)},function(t){He=!1,(Me||De)&&to(!1)}]),Mr(i._scrollbar,bn,function(t){p.stpP(t)}),j&&Mr(i._scrollbar,Tn,function(e){e.target===i._scrollbar[0]&&(eo(t),no(t))})}function Jr(t,e,n){var r=t?kt:St;Oo(pt,t?Nn:Hn,!e),Oo(r,cr,!n)}function to(t,e){if(clearTimeout(Te),t)ko(kt,ar),ko(St,ar);else{var n,r="active",o=function(){He||W||(!(n=Et.hasClass(r)||It.hasClass(r))&&(Me||De||Ne)&&Co(kt,ar),!n&&(Me||De||Ne)&&Co(St,ar))};Ae>0&&!0!==e?Te=setTimeout(o,Ae):o()}}function eo(t){var e={},n=oo(t),r=n._info,o=1e6,s=g.min(1,qe[n._w_h]/Lt[n._w_h]);e[n._width_height]=g.floor(100*s*o)/o+"%",po()||n._handle.css(e),r._handleLength=n._handle[0]["offset"+n._Width_Height],r._handleLengthRatio=s}function no(t,e){var r,o=x(e)==a,s=nt&&t,i=oo(t),l=i._info,c=d._cssProperty("transform"),u=d._cssProperty("transition"),h=t?yt[yn]():yt[vn](),p=e===n||o?h:e,_=l._handleLength,m=i._track[0]["offset"+i._Width_Height],y=m-_,v={},b=(jt[an+i._Width_Height]-jt["client"+i._Width_Height])*(P.n&&s?-1:1),w=function(t){return isNaN(t/b)?0:g.max(0,g.min(1,t/b))},C=function(t){var e=y*t;return e=isNaN(e)?0:e,g.max(0,e=s&&!P.i?m-_-e:e)},k=w(h),O=C(w(p)),E=C(k);l._maxScroll=b,l._currentScroll=h,l._currentScrollRatio=k,F?(r=s?-(m-_-O):O,v[c]=t?"translate("+r+"px, 0)":"translate(0, "+r+"px)",j&&(v[u]=o&&g.abs(O-l._handleOffset)>1?function(t){var e=d._cssProperty("transition"),n=t.css(e);if(n)return n;for(var r,o,s,i="\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*",l=new RegExp(i),c=new RegExp("^("+i+")+$"),a="property duration timing-function delay".split(" "),u=[],h=0,p=function(t){if(r=[],!t.match(c))return t;for(;t.match(l);)r.push(RegExp.$1),t=t.replace(l,sn);return r};h<a[f.l];h++)for(o=p(t.css(e+"-"+a[h])),s=0;s<o[f.l];s++)u[s]=(u[s]?u[s]+pn:sn)+o[s];return u.join(", ")}(i._handle)+", "+(c+pn+250)+"ms":sn)):v[i._left_top]=O,po()||(i._handle.css(v),F&&j&&o&&i._handle.one(Tn,function(){W||i._handle.css(u,sn)})),l._handleOffset=O,l._snappedHandleOffset=E,l._trackLength=m}function ro(t,e){var n=e?"removeClass":"addClass",r=t?Tt:It,o=t?sr:lr;(t?Ot:Et)[n](o),r[n](o)}function oo(t){return{_width_height:t?nn:rn,_Width_Height:t?"Width":"Height",_left_top:t?Je:Ye,_Left_Top:t?"Left":"Top",_x_y:t?hn:fn,_X_Y:t?"X":"Y",_w_h:t?"w":"h",_l_t:t?"l":"t",_track:t?Ot:Tt,_handle:t?Et:It,_scrollbar:t?kt:St,_info:t?Be:We}}function so(t){Ct=Ct||mo(ur,!0),t?U&&B?ko(Ct.removeAttr(f.s),vr):Eo(Ct):U||pt.append(Ct)}function io(t,e,n){if(!1!==n)if(B){var r,o=it.callbacks[t],s=t;"on"===s.substr(0,2)&&(s=s.substr(2,1).toLowerCase()+s.substr(3)),x(o)==i&&o.call(O,e),k(xr,function(){x((r=this).on)==i&&r.on(s,e)})}else W||br.push({n:t,a:e})}function lo(t,e,n){t[(e=e||sn)+Ye]=(n=n||[sn,sn,sn,sn])[0],t[e+Ke]=n[1],t[e+Xe]=n[2],t[e+Je]=n[3]}function co(t,e,n,r){return e=e||sn,t=t||sn,{t:r?0:fo(pt.css(t+Ye+e)),r:n?0:fo(pt.css(t+Ke+e)),b:r?0:fo(pt.css(t+Xe+e)),l:n?0:fo(pt.css(t+Je+e))}}function ao(t,e){var n,r,o,s=function(t,e){if(o="",e&&typeof t==c)for(r=t.split(pn),n=0;n<r[f.l];n++)o+="|"+r[n]+"$";return o};return new RegExp("(^"+Pn+"([-_].+|)$)"+s(pe,t)+s(ge,e),"g")}function uo(){var t=Rt[f.bCR]();return{x:F&&1/(g.round(t.width)/Rt[f.oW])||1,y:F&&1/(g.round(t.height)/Rt[f.oH])||1}}function ho(e){var n=e&&e.ownerDocument&&e.ownerDocument.parentWindow||t;return typeof n.HTMLElement==s?e instanceof n.HTMLElement:e&&typeof e==s&&null!==e&&1===e.nodeType&&typeof e.nodeName==c}function fo(t,e){var n=e?parseFloat(t):parseInt(t,10);return isNaN(n)?0:n}function po(){return re&&I.x&&I.y}function go(){return q?xt[0]:Ft}function _o(t,e){return"<div "+(t?x(t)==c?'class="'+t+'"':function(){var e,n=sn;if(y.isPlainObject(t))for(e in t)n+=("c"===e?"class":e)+'="'+t[e]+'" ';return n}():sn)+">"+(e||sn)+"</div>"}function mo(t,e){var n=x(e)==a,r=n?pt:e||pt;return U&&!r[f.l]?null:U?r[n?"children":"find"](dn+t.replace(/\s/g,dn)).eq(0):y(_o(t))}function yo(t,e){for(var n,r=e.split(dn),o=0;o<r.length;o++){if(!t[f.hOP](r[o]))return;n=t[r[o]],o<r.length&&x(n)==s&&(t=n)}return n}function vo(t,e,n){for(var r=e.split(dn),o=r.length,s=0,i={},l=i;s<o;s++)i=i[r[s]]=s+1<o?{}:n;y.extend(t,l,!0)}function bo(t){var e=it.updateOnLoad;e=x(e)==c?e.split(pn):e,p.isA(e)&&!W&&k(e,t)}function wo(t,e,n){if(n)return n;if(x(t)!=s||x(e)!=s)return t!==e;for(var r in t)if("c"!==r){if(!t[f.hOP](r)||!e[f.hOP](r))return!0;if(wo(t[r],e[r]))return!0}return!1}function xo(){return y.extend.apply(this,[!0].concat([].slice.call(arguments)))}function Co(t,e){return E.addClass.call(t,e)}function ko(t,e){return E.removeClass.call(t,e)}function Oo(t,e,n){return n?Co(t,e):ko(t,e)}function Eo(t){return E.remove.call(t)}function So(t,e){return E.find.call(t,e).eq(0)}}return(r=t.OverlayScrollbars=function(t,e,s){if(0===arguments[f.l])return this;var l,c,a=[],u=y.isPlainObject(e);return t?(t=t[f.l]!=n?t:[t[0]||t],I(),t[f.l]>0&&(y.each(t,u?function(t,r){(l=r)!==n&&a.push(M(l,e,s,o,m))}:function(t,o){l=v(o),("!"===e&&r.valid(l)||p.type(e)==i&&e(o,l)||e===n)&&a.push(l)}),c=1===a[f.l]?a[0]:a),c):u||!e?c:a}).globals=function(){I();var t=y.extend(!0,{},o);return delete t.msie,t},r.defaultOptions=function(t){I();var e=o.defaultOptions;if(t===n)return y.extend(!0,{},e);o.defaultOptions=y.extend(!0,{},e,T._validate(t,T._template,!0,e)._default)},r.valid=function(t){return t instanceof r&&!t.getState().destroyed},r.extension=function(t,e,n){var r=p.type(t)==c,o=arguments[f.l],s=0;if(o<1||!r)return y.extend(!0,{length:S[f.l]},S);if(r)if(p.type(e)==i)S.push({name:t,extensionFactory:e,defaultOptions:n});else for(;s<S[f.l];s++)if(S[s].name===t){if(!(o>1))return y.extend(!0,{},S[s]);S.splice(s,1)}},r}();return _&&_.fn&&(_.fn.overlayScrollbars=function(t,e){var n=this;return _.isPlainObject(t)?(_.each(n,function(){b(this,t,e)}),n):b(n,t)}),b}(o,o.document,void 0)}).call(e,n,e,t))||(t.exports=r)}("undefined"!=typeof window?window:this)},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let o=!1;const s={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 by code at: \n"+t.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=t},get useDeprecatedSynchronousErrorHandling(){return o}};function i(t){setTimeout(()=>{throw t},0)}const l={closed:!0,next(t){},error(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;i(t)},complete(){}},c=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function a(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._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:o,_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)){o&&(this._unsubscribe=void 0);try{s.call(this)}catch(l){e=l instanceof u?f(l.errors):[l]}}if(c(i)){let t=-1,n=i.length;for(;++t<n;){const n=i[t];if(a(n))try{n.unsubscribe()}catch(l){e=e||[],l instanceof u?e=e.concat(f(l.errors)):e.push(l)}}}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 o=this._subscriptions;return null===o?this._subscriptions=[n]:o.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 f(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const d=(()=>"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=l;break;case 1:if(!t){this.destination=l;break}if("object"==typeof t){t instanceof p?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[d](){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 g extends p{constructor(t,e,n,o){let s;super(),this._parentSubscriber=t;let i=this;r(e)?s=e:e&&(s=e.next,n=e.error,o=e.complete,e!==l&&(i=Object.create(e),r(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=s,this._error=n,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.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}=s;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):i(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;i(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.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(),s.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(t,e,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const _=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function m(t){return t}let y=(()=>{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,o=function(t,e,n){if(t){if(t instanceof p)return t;if(t[d])return t[d]()}return t||e||n?new p(t,e,n):new p(l)}(t,e,n);if(o.add(r?r.call(o,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),s.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.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=v(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(o){n(o),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[_](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?m:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=v(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function v(t){if(t||(t=s.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 w extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){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 x extends p{constructor(t){super(t),this.destination=t}}let C=(()=>{class t extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[d](){return new x(this)}lift(t){const e=new k(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 o=0;o<n;o++)r[o].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 o=0;o<n;o++)r[o].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 w(this,t))}asObservable(){const t=new y;return t.source=this,t}}return t.create=(t,e)=>new k(t,e),t})();class k extends C{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}}class O{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new E(t,this.project,this.thisArg))}}class E 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)}}const S=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()};function T(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const I=T();const A=t=>{if(t&&"function"==typeof t[_])return s=t,t=>{const e=s[_]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((e=t)&&"number"==typeof e.length&&"function"!=typeof e)return S(t);var e,n,r,o,s;if((n=t)&&"function"!=typeof n.subscribe&&"function"==typeof n.then)return o=t,t=>(o.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i),t);if(t&&"function"==typeof t[I])return r=t,t=>{const e=r[I]();for(;;){let r;try{r=e.next()}catch(n){return t.error(n),t}if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t};{const e=a(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.`)}};class P extends p{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class M extends p{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function D(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(D((n,r)=>{return(o=t(n,r),o instanceof y?o:new y(A(o))).pipe(function(t,e){return function(e){return e.lift(new O(t,void 0))}}((t,o)=>e(n,t,r,o)));var o},n)):("number"==typeof e&&(n=e),e=>e.lift(new N(t,n)))}class N{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new H(t,this.project,this.concurrent))}}class H extends M{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)}_innerSub(t){const e=new P(this),n=this.destination;n.add(e);const r=function(t,e){if(!e.closed)return t instanceof y?t.subscribe(e):A(t)(e)}(t,e);r!==e&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function R(){return function(t){return t.lift(new j(t))}}class j{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new F(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}class F 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 V extends y{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 z(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return R()(this)}}const L=(()=>{const t=V.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 z extends x{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 B(){return new C}function W(t){for(let e in t)if(t[e]===W)return e;throw Error("Could not find renamed property on target object.")}function q(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(q).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 $(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Z=W({__forward_ref__:W});function U(t){return t.__forward_ref__=U,t.toString=function(){return q(this())},t}function Q(t){return"function"==typeof(e=t)&&e.hasOwnProperty(Z)&&e.__forward_ref__===U?t():t;var e}function G(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Y(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function K(t){return X(t,tt)||X(t,nt)}function X(t,e){return t.hasOwnProperty(e)?t[e]:null}function J(t){return t&&(t.hasOwnProperty(et)||t.hasOwnProperty(rt))?t[et]:null}const tt=W({"\u0275prov":W}),et=W({"\u0275inj":W}),nt=W({ngInjectableDef:W}),rt=W({ngInjectorDef:W});var ot=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}({});let st;function it(t){const e=st;return st=t,e}function lt(t,e,n){const r=K(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ot.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${q(t)}]`)}function ct(t){return{toString:t}.toString()}var at=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),ut=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const ht="undefined"!=typeof globalThis&&globalThis,ft="undefined"!=typeof window&&window,dt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,pt="undefined"!=typeof global&&global,gt=ht||pt||ft||dt,_t={},mt=[],yt=W({"\u0275cmp":W}),vt=W({"\u0275dir":W}),bt=W({"\u0275pipe":W}),wt=W({"\u0275mod":W}),xt=W({"\u0275loc":W}),Ct=W({"\u0275fac":W}),kt=W({__NG_ELEMENT_ID__:W});let Ot=0;function Et(t){return ct(()=>{const e={},n={type:t.type,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:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===at.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||mt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ut.Emulated,id:"c",styles:t.styles||mt,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,o=t.features,s=t.pipes;return n.id+=Ot++,n.inputs=Pt(t.inputs,e),n.outputs=Pt(t.outputs),o&&o.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(St):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(Tt):null,n})}function St(t){return Dt(t)||function(t){return t[vt]||null}(t)}function Tt(t){return function(t){return t[bt]||null}(t)}const It={};function At(t){const e={type:t.type,bootstrap:t.bootstrap||mt,declarations:t.declarations||mt,imports:t.imports||mt,exports:t.exports||mt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&ct(()=>{It[t.id]=t.type}),e}function Pt(t,e){if(null==t)return _t;const n={};for(const r in t)if(t.hasOwnProperty(r)){let o=t[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,e&&(e[o]=s)}return n}const Mt=Et;function Dt(t){return t[yt]||null}function Nt(t,e){const n=t[wt]||null;if(!n&&!0===e)throw new Error(`Type ${q(t)} does not have '\u0275mod' property.`);return n}const Ht=20,Rt=10;function jt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Ft(t){return Array.isArray(t)&&!0===t[1]}function Vt(t){return 0!=(8&t.flags)}function Lt(t){return 2==(2&t.flags)}function zt(t){return 1==(1&t.flags)}function Bt(t){return null!==t.template}function Wt(t,e){return t.hasOwnProperty(Ct)?t[Ct]:null}class qt extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function $t(t){return"string"==typeof t?t:null==t?"":String(t)}function Zt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():$t(t)}function Ut(t,e){const n=e?" in "+e:"";throw new qt("201",`No provider for ${Zt(t)} found${n}`)}class Qt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Gt(){return Yt}function Yt(t){return t.type.prototype.ngOnChanges&&(t.setInput=Xt),Kt}function Kt(){const t=Jt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===_t)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function Xt(t,e,n,r){const o=Jt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:_t,current:null}),s=o.current||(o.current={}),i=o.previous,l=this.declaredInputs[n],c=i[l];s[l]=new Qt(c&&c.currentValue,e,i===_t),t[r]=e}function Jt(t){return t.__ngSimpleChanges__||null}Gt.ngInherit=!0;let te=void 0;function ee(t){return!!t.listen}const ne={createRenderer:(t,e)=>void 0!==te?te:"undefined"!=typeof document?document:void 0};function re(t){for(;Array.isArray(t);)t=t[0];return t}function oe(t,e){return re(e[t.index])}function se(t,e){return t.data[e]}function ie(t,e){const n=e[t];return jt(n)?n:n[0]}function le(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ce(t){return 4==(4&t[2])}function ae(t){return 128==(128&t[2])}function ue(t,e){return null==e?null:t[e]}function he(t){t[18]=0}function fe(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]}const de={lFrame:Ne(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function pe(){return de.bindingsEnabled}function ge(){return de.lFrame.lView}function _e(){return de.lFrame.tView}function me(){let t=ye();for(;null!==t&&64===t.type;)t=t.parent;return t}function ye(){return de.lFrame.currentTNode}function ve(t,e){const n=de.lFrame;n.currentTNode=t,n.isParent=e}function be(){return de.lFrame.isParent}function we(){de.lFrame.isParent=!1}function xe(){return de.isInCheckNoChangesMode}function Ce(t){de.isInCheckNoChangesMode=t}function ke(){const t=de.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Oe(){return de.lFrame.bindingIndex++}function Ee(t,e){const n=de.lFrame;n.bindingIndex=n.bindingRootIndex=t,Se(e)}function Se(t){de.lFrame.currentDirectiveIndex=t}function Te(){return de.lFrame.currentQueryIndex}function Ie(t){de.lFrame.currentQueryIndex=t}function Ae(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Pe(t,e,n){if(n&ot.SkipSelf){let r=e,o=t;for(;r=r.parent,!(null!==r||n&ot.Host||(r=Ae(o),null===r)||(o=o[15],10&r.type)););if(null===r)return!1;e=r,t=o}const r=de.lFrame=De();return r.currentTNode=e,r.lView=t,!0}function Me(t){const e=De(),n=t[1];de.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function De(){const t=de.lFrame,e=null===t?null:t.child;return null===e?Ne(t):e}function Ne(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function He(){const t=de.lFrame;return de.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Re=He;function je(){const t=He();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Fe(){return de.lFrame.selectedIndex}function Ve(t){de.lFrame.selectedIndex=t}function Le(){const t=de.lFrame;return se(t.tView,t.selectedIndex)}function ze(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:s,ngAfterViewChecked:i,ngOnDestroy:l}=e;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),o&&((t.contentHooks||(t.contentHooks=[])).push(n,o),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,o)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),i&&((t.viewHooks||(t.viewHooks=[])).push(n,i),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,i)),null!=l&&(t.destroyHooks||(t.destroyHooks=[])).push(n,l)}}function Be(t,e,n){$e(t,e,3,n)}function We(t,e,n,r){(3&t[2])===n&&$e(t,e,n,r)}function qe(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function $e(t,e,n,r){const o=null!=r?r:-1;let s=0;for(let i=void 0!==r?65535&t[18]:0;i<e.length;i++)if("number"==typeof e[i+1]){if(s=e[i],null!=r&&s>=r)break}else e[i]<0&&(t[18]+=65536),(s<o||-1==o)&&(Ze(t,n,e,i),t[18]=(4294901760&t[18])+i+2),i++}function Ze(t,e,n,r){const o=n[r]<0,s=n[r+1],i=t[o?-n[r]:n[r]];o?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,s.call(i)):s.call(i)}const Ue=-1;class Qe{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Ge(t,e,n){const r=ee(t);let o=0;for(;o<n.length;){const s=n[o];if("number"==typeof s){if(0!==s)break;o++;const i=n[o++],l=n[o++],c=n[o++];r?t.setAttribute(e,l,c,i):e.setAttributeNS(i,l,c)}else{const i=s,l=n[++o];Ye(i)?r&&t.setProperty(e,i,l):r?t.setAttribute(e,i,l):e.setAttribute(i,l),o++}}return o}function Ye(t){return 64===t.charCodeAt(0)}function Ke(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 o=e[r];"number"==typeof o?n=o:0===n||Xe(t,n,o,null,-1===n||2===n?e[++r]:null)}}return t}function Xe(t,e,n,r,o){let s=0,i=t.length;if(-1===e)i=-1;else for(;s<t.length;){const n=t[s++];if("number"==typeof n){if(n===e){i=-1;break}if(n>e){i=s-1;break}}}for(;s<t.length;){const e=t[s];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==o&&(t[s+1]=o));if(r===t[s+1])return void(t[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==i&&(t.splice(i,0,e),s=i+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==o&&t.splice(s++,0,o)}function Je(t){return t!==Ue}function tn(t){return 32767&t}function en(t,e){let n=t>>16,r=e;for(;n>0;)r=r[15],n--;return r}let nn=!0;function rn(t){const e=nn;return nn=t,e}let on=0;function sn(t,e){const n=cn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,ln(r.data,t),ln(e,null),ln(r.blueprint,null));const o=an(t,e),s=t.injectorIndex;if(Je(o)){const t=tn(o),n=en(o,e),r=n[1].data;for(let o=0;o<8;o++)e[s+o]=n[t+o]|r[t+o]}return e[s+8]=o,s}function ln(t,e){t.push(0,0,0,0,0,0,0,0,e)}function cn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function an(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;null!==o;){const t=o[1],e=t.type;if(r=2===e?t.declTNode:1===e?o[6]:null,null===r)return Ue;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ue}function un(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(kt)&&(r=n[kt]),null==r&&(r=n[kt]=on++);const o=255&r,s=1<<o,i=64&o,l=32&o,c=e.data;128&o?i?l?c[t+7]|=s:c[t+6]|=s:l?c[t+5]|=s:c[t+4]|=s:i?l?c[t+3]|=s:c[t+2]|=s:l?c[t+1]|=s:c[t]|=s}(t,e,n)}function hn(t,e,n){if(n&ot.Optional)return t;Ut(e,"NodeInjector")}function fn(t,e,n,r){if(n&ot.Optional&&void 0===r&&(r=null),0==(n&(ot.Self|ot.Host))){const o=t[9],s=it(void 0);try{return o?o.get(e,r,n&ot.Optional):lt(e,r,n&ot.Optional)}finally{it(s)}}return hn(r,e,n)}function dn(t,e,n,r=ot.Default,o){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(kt)?t[kt]:void 0;return"number"==typeof e?e>=0?255&e:gn:e}(n);if("function"==typeof s){if(!Pe(e,t,r))return r&ot.Host?hn(o,n,r):fn(e,n,r,o);try{const t=s();if(null!=t||r&ot.Optional)return t;Ut(n)}finally{Re()}}else if("number"==typeof s){let o=null,i=cn(t,e),l=Ue,c=r&ot.Host?e[16][6]:null;for((-1===i||r&ot.SkipSelf)&&(l=-1===i?an(t,e):e[i+8],l!==Ue&&bn(r,!1)?(o=e[1],i=tn(l),e=en(l,e)):i=-1);-1!==i;){const t=e[1];if(vn(s,i,t.data)){const t=_n(i,e,n,o,r,c);if(t!==pn)return t}l=e[i+8],l!==Ue&&bn(r,e[1].data[i+8]===c)&&vn(s,i,e)?(o=t,i=tn(l),e=en(l,e)):i=-1}}}return fn(e,n,r,o)}const pn={};function gn(){return new wn(me(),ge())}function _n(t,e,n,r,o,s){const i=e[1],l=i.data[t+8],c=mn(l,i,n,null==r?Lt(l)&&nn:r!=i&&0!=(3&l.type),o&ot.Host&&s===l);return null!==c?yn(e,i,c,l):pn}function mn(t,e,n,r,o){const s=t.providerIndexes,i=e.data,l=1048575&s,c=t.directiveStart,a=s>>20,u=o?l+a:t.directiveEnd;for(let h=r?l:l+a;h<u;h++){const t=i[h];if(h<c&&n===t||h>=c&&t.type===n)return h}if(o){const t=i[c];if(t&&Bt(t)&&t.type===n)return c}return null}function yn(t,e,n,r){let o=t[n];const s=e.data;if(o instanceof Qe){const i=o;i.resolving&&function(t,e){throw new qt("200","Circular dependency in DI detected for "+t)}(Zt(s[n]));const l=rn(i.canSeeViewProviders);i.resolving=!0;const c=i.injectImpl?it(i.injectImpl):null;Pe(t,r,ot.Default);try{o=t[n]=i.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=e.type.prototype;if(r){const r=Yt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==c&&it(c),rn(l),i.resolving=!1,Re()}}return o}function vn(t,e,n){const r=64&t,o=32&t;let s;return s=128&t?r?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:r?o?n[e+3]:n[e+2]:o?n[e+1]:n[e],!!(s&1<<t)}function bn(t,e){return!(t&ot.Self||t&ot.Host&&e)}class wn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return dn(this._tNode,this._lView,t,void 0,e)}}const xn="__parameters__";function Cn(t,e,n){return ct(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function o(...t){if(this instanceof o)return r.apply(this,t),this;const e=new o(...t);return n.annotation=e,n;function n(t,n,r){const o=t.hasOwnProperty(xn)?t[xn]:Object.defineProperty(t,xn,{value:[]})[xn];for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(e),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}class kn{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=G({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}function On(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let r=t[n];Array.isArray(r)?(e===t&&(e=t.slice(0,n)),On(r,e)):e!==t&&e.push(r)}return e}function En(t,e){t.forEach(t=>Array.isArray(t)?En(t,e):e(t))}function Sn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Tn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function In(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}const An=Cn("Inject",t=>({token:t})),Pn=Cn("Optional"),Mn=Cn("Self"),Dn=Cn("SkipSelf"),Nn={},Hn=/\n/gm,Rn="__source",jn=W({provide:String,useValue:W});let Fn=void 0;function Vn(t){const e=Fn;return Fn=t,e}function Ln(t,e=ot.Default){if(void 0===Fn)throw new Error("inject() must be called from an injection context");return null===Fn?lt(t,void 0,e):Fn.get(t,e&ot.Optional?null:void 0,e)}function zn(t,e=ot.Default){return(st||Ln)(Q(t),e)}function Bn(t){const e=[];for(let n=0;n<t.length;n++){const r=Q(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=ot.Default;for(let e=0;e<r.length;e++){const o=r[e];o instanceof Pn||"Optional"===o.ngMetadataName||o===Pn?n|=ot.Optional:o instanceof Dn||"SkipSelf"===o.ngMetadataName||o===Dn?n|=ot.SkipSelf:o instanceof Mn||"Self"===o.ngMetadataName||o===Mn?n|=ot.Self:t=o instanceof An||o===An?o.token:o}e.push(zn(t,n))}else e.push(zn(r))}return e}function Wn(t){return t.ngDebugContext}function qn(t){return t.ngOriginalError}function $n(t,...e){t.error(...e)}class Zn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||$n}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Wn(t)?Wn(t):this._findContext(qn(t)):null}_findOriginalError(t){let e=qn(t);for(;e&&qn(e);)e=qn(e);return e}}function Un(t,e){t.__ngContext__=e}const Qn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(gt))();function Gn(t){return t instanceof Function?t():t}var Yn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Kn(t,e){return(void 0)(t,e)}function Xn(t){const e=t[3];return Ft(e)?e[3]:e}function Jn(t){return er(t[13])}function tr(t){return er(t[4])}function er(t){for(;null!==t&&!Ft(t);)t=t[4];return t}function nr(t,e,n,r,o){if(null!=r){let s,i=!1;Ft(r)?s=r:jt(r)&&(i=!0,r=r[0]);const l=re(r);0===t&&null!==n?null==o?ur(e,n,l):ar(e,n,l,o||null,!0):1===t&&null!==n?ar(e,n,l,o||null,!0):2===t?function(t,e,n){const r=fr(t,e);r&&function(t,e,n,r){ee(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,l,i):3===t&&e.destroyNode(l),null!=s&&function(t,e,n,r,o){const s=n[7];s!==re(n)&&nr(e,t,r,s,o);for(let i=Rt;i<n.length;i++){const o=n[i];vr(o[1],o,t,e,r,s)}}(e,t,s,n,o)}}function rr(t,e,n){return ee(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function or(t,e){const n=t[9],r=n.indexOf(e),o=e[3];1024&e[2]&&(e[2]&=-1025,fe(o,-1)),n.splice(r,1)}function sr(t,e){if(t.length<=Rt)return;const n=Rt+e,r=t[n];if(r){const s=r[17];null!==s&&s!==t&&or(s,r),e>0&&(t[n-1][4]=r[4]);const i=Tn(t,Rt+e);vr(r[1],o=r,o[11],2,null,null),o[0]=null,o[6]=null;const l=i[19];null!==l&&l.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}var o;return r}function ir(t,e){if(!(256&e[2])){const n=e[11];ee(n)&&n.destroyNode&&vr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return lr(t[1],t);for(;e;){let n=null;if(jt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)jt(e)&&lr(e[1],e),e=e[3];null===e&&(e=t),jt(e)&&lr(e[1],e),n=e&&e[4]}e=n}}(e)}}function lr(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 Qe)){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,r=e[7];let o=-1;if(null!==n){for(let t=0;t<n.length-1;t+=2)if("string"==typeof n[t]){const s=n[t+1],i="function"==typeof s?s(e):re(e[s]),l=r[o=n[t+2]],c=n[t+3];"boolean"==typeof c?i.removeEventListener(n[t],l,c):c>=0?r[o=c]():r[o=-c].unsubscribe(),t+=2}else{const e=r[o=n[t+1]];n[t].call(e)}if(null!==r)for(let t=o+1;t<r.length;t++)(0,r[t])();e[7]=null}}(t,e),1===e[1].type&&ee(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&Ft(e[3])){n!==e[3]&&or(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function cr(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const e=t.data[r.directiveStart].encapsulation;if(e===ut.None||e===ut.Emulated)return null}return oe(r,n)}(t,e.parent,n)}function ar(t,e,n,r,o){ee(t)?t.insertBefore(e,n,r,o):e.insertBefore(n,r,o)}function ur(t,e,n){ee(t)?t.appendChild(e,n):e.appendChild(n)}function hr(t,e,n,r,o){null!==r?ar(t,e,n,r,o):ur(t,e,n)}function fr(t,e){return ee(t)?t.parentNode(e):e.parentNode}function dr(t,e,n){return pr(t,e,n)}let pr=function(t,e,n){return 40&t.type?oe(t,n):null};function gr(t,e,n,r){const o=cr(t,r,e),s=e[11],i=dr(r.parent||e[6],r,e);if(null!=o)if(Array.isArray(n))for(let l=0;l<n.length;l++)hr(s,o,n[l],i,!1);else hr(s,o,n,i,!1)}function _r(t,e){if(null!==e){const n=e.type;if(3&n)return oe(e,t);if(4&n)return mr(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return _r(t,n);{const n=t[e.index];return Ft(n)?mr(-1,n):re(n)}}if(32&n)return Kn(e,t)()||re(t[e.index]);{const n=t[16],r=n[6],o=Xn(n),s=r.projection[e.projection];return null!=s?_r(o,s):_r(t,e.next)}}return null}function mr(t,e){const n=Rt+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return _r(t,r)}return e[7]}function yr(t,e,n,r,o,s,i){for(;null!=n;){const l=r[n.index],c=n.type;if(i&&0===e&&(l&&Un(re(l),r),n.flags|=4),64!=(64&n.flags))if(8&c)yr(t,e,n.child,r,o,s,!1),nr(e,t,o,l,s);else if(32&c){const i=Kn(n,r);let c;for(;c=i();)nr(e,t,o,c,s);nr(e,t,o,l,s)}else 16&c?br(t,e,r,n,o,s):nr(e,t,o,l,s);n=i?n.projectionNext:n.next}}function vr(t,e,n,r,o,s){yr(n,r,t.firstChild,e,o,s,!1)}function br(t,e,n,r,o,s){const i=n[16],l=i[6].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)nr(e,t,o,l[c],s);else yr(t,e,l,i[3],o,s,!0)}function wr(t,e,n){ee(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function xr(t,e,n){ee(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Cr(t,e,n){let r=t.length;for(;;){const o=t.indexOf(e,n);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const n=e.length;if(o+n===r||t.charCodeAt(o+n)<=32)return o}n=o+1}}const kr="ng-template";function Or(t,e,n){let r=0;for(;r<t.length;){let o=t[r++];if(n&&"class"===o){if(o=t[r],-1!==Cr(o.toLowerCase(),e,0))return!0}else if(1===o){for(;r<t.length&&"string"==typeof(o=t[r++]);)if(o.toLowerCase()===e)return!0;return!1}}return!1}function Er(t){return 4===t.type&&t.value!==kr}function Sr(t,e,n){return e===(4!==t.type||n?t.value:kr)}function Tr(t,e,n){let r=4;const o=t.attrs||[],s=function(t){for(let n=0;n<t.length;n++)if(3===(e=t[n])||4===e||6===e)return n;var e;return t.length}(o);let i=!1;for(let l=0;l<e.length;l++){const c=e[l];if("number"!=typeof c){if(!i)if(4&r){if(r=2|1&r,""!==c&&!Sr(t,c,n)||""===c&&1===e.length){if(Ir(r))return!1;i=!0}}else{const a=8&r?c:e[++l];if(8&r&&null!==t.attrs){if(!Or(t.attrs,a,n)){if(Ir(r))return!1;i=!0}continue}const u=Ar(8&r?"class":c,o,Er(t),n);if(-1===u){if(Ir(r))return!1;i=!0;continue}if(""!==a){let t;t=u>s?"":o[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Cr(e,a,0)||2&r&&a!==t){if(Ir(r))return!1;i=!0}}}}else{if(!i&&!Ir(r)&&!Ir(c))return!1;if(i&&Ir(c))continue;i=!1,r=c|1&r}}return Ir(r)||i}function Ir(t){return 0==(1&t)}function Ar(t,e,n,r){if(null===e)return-1;let o=0;if(r||!n){let n=!1;for(;o<e.length;){const r=e[o];if(r===t)return o;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++o];for(;"string"==typeof t;)t=e[++o];continue}if(4===r)break;if(0===r){o+=4;continue}}o+=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 Pr(t,e,n=!1){for(let r=0;r<e.length;r++)if(Tr(t,e[r],n))return!0;return!1}function Mr(t,e){return t?":not("+e.trim()+")":e}function Dr(t){let e=t[0],n=1,r=2,o="",s=!1;for(;n<t.length;){let i=t[n];if("string"==typeof i)if(2&r){const e=t[++n];o+="["+i+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?o+="."+i:4&r&&(o+=" "+i);else""===o||Ir(i)||(e+=Mr(s,o),o=""),r=i,s=s||!Ir(r);n++}return""!==o&&(e+=Mr(s,o)),e}const Nr={};function Hr(t){Rr(_e(),ge(),Fe()+t,xe())}function Rr(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Be(e,r,n)}else{const r=t.preOrderHooks;null!==r&&We(e,r,0,n)}Ve(n)}function jr(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],s=n[r+1];if(-1!==s){const n=t.data[s];Ie(o),n.contentQueries(2,e[s],s)}}}function Fr(t,e,n,r,o,s,i,l,c,a){const u=e.blueprint.slice();return u[0]=o,u[2]=140|r,he(u),u[3]=u[15]=t,u[8]=n,u[10]=i||t&&t[10],u[11]=l||t&&t[11],u[12]=c||t&&t[12]||null,u[9]=a||t&&t[9]||null,u[6]=s,u[16]=2==e.type?t[16]:u,u}function Vr(t,e,n,r,o){let s=t.data[e];if(null===s)s=function(t,e,n,r,o){const s=ye(),i=be(),l=t.data[e]=function(t,e,n,r,o,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:s,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}}(0,i?s:s&&s.parent,n,e,r,o);return null===t.firstChild&&(t.firstChild=l),null!==s&&(i?null==s.child&&null!==l.parent&&(s.child=l):null===s.next&&(s.next=l)),l}(t,e,n,r,o),de.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const t=function(){const t=de.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===t?-1:t.injectorIndex}return ve(s,!0),s}function Lr(t,e,n,r){if(0===n)return-1;const o=e.length;for(let s=0;s<n;s++)e.push(r),t.blueprint.push(r),t.data.push(null);return o}function zr(t,e,n){Me(e);try{const r=t.viewQuery;null!==r&&_o(1,r,n);const o=t.template;null!==o&&qr(t,e,o,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&jr(t,e),t.staticViewQueries&&_o(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)uo(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,je()}}function Br(t,e,n,r){const o=e[2];if(256==(256&o))return;Me(e);const s=xe();try{he(e),de.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&qr(t,e,n,2,r);const i=3==(3&o);if(!s)if(i){const n=t.preOrderCheckHooks;null!==n&&Be(e,n,null)}else{const n=t.preOrderHooks;null!==n&&We(e,n,0,null),qe(e,0)}if(function(t){for(let e=Jn(t);null!==e;e=tr(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])&&fe(r,1),n[2]|=1024}}}(e),function(t){for(let e=Jn(t);null!==e;e=tr(e))for(let t=Rt;t<e.length;t++){const n=e[t],r=n[1];ae(n)&&Br(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&jr(t,e),!s)if(i){const n=t.contentCheckHooks;null!==n&&Be(e,n)}else{const n=t.contentHooks;null!==n&&We(e,n,1),qe(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)Ve(~r);else{const o=r,s=n[++t],i=n[++t];Ee(s,o),i(2,e[o])}}}finally{Ve(-1)}}(t,e);const l=t.components;null!==l&&function(t,e){for(let n=0;n<e.length;n++)co(t,e[n])}(e,l);const c=t.viewQuery;if(null!==c&&_o(2,c,r),!s)if(i){const n=t.viewCheckHooks;null!==n&&Be(e,n)}else{const n=t.viewHooks;null!==n&&We(e,n,2),qe(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,fe(e[3],-1))}finally{je()}}function Wr(t,e,n,r){const o=e[10],s=!xe(),i=ce(e);try{s&&!i&&o.begin&&o.begin(),i&&zr(t,e,r),Br(t,e,n,r)}finally{s&&!i&&o.end&&o.end()}}function qr(t,e,n,r,o){const s=Fe();try{Ve(-1),2&r&&e.length>Ht&&Rr(t,e,Ht,xe()),n(r,o)}finally{Ve(s)}}function $r(t,e,n){pe()&&(function(t,e,n,r){const o=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||sn(n,e),Un(r,e);const i=n.initialInputs;for(let l=o;l<s;l++){const r=t.data[l],s=Bt(r);s&&oo(e,n,r);const c=yn(e,t,l,n);Un(c,e),null!==i&&so(0,l-o,c,r,0,i),s&&(ie(n.index,e)[8]=c)}}(t,e,n,oe(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,i=de.lFrame.currentDirectiveIndex;try{Ve(s);for(let n=r;n<o;n++){const r=t.data[n],o=e[n];Se(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||Jr(r,o)}}finally{Ve(-1),Se(i)}}(t,e,n))}function Zr(t,e,n=oe){const r=e.localNames;if(null!==r){let o=e.index+1;for(let s=0;s<r.length;s+=2){const i=r[s+1],l=-1===i?n(e,t):t[i];t[o++]=l}}}function Ur(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Qr(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Qr(t,e,n,r,o,s,i,l,c,a){const u=Ht+r,h=u+o,f=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Nr);return n}(u,h),d="function"==typeof a?a():a;return f[1]={type:t,blueprint:f,template:n,queries:null,viewQuery:l,declTNode:e,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:c,consts:d,incompleteFirstPass:!1}}function Gr(t,e,n,r){const o=yo(e);null===n?o.push(r):(o.push(n),t.firstCreatePass&&vo(t).push(r,o.length-1))}function Yr(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const o=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,o):n[r]=[e,o]}return n}function Kr(t,e,n,r){let o=!1;if(pe()){const s=function(t,e,n){const r=t.directiveRegistry;let o=null;if(r)for(let s=0;s<r.length;s++){const i=r[s];Pr(n,i.selectors,!1)&&(o||(o=[]),un(sn(n,e),t,i.type),Bt(i)?(to(t,n),o.unshift(i)):o.push(i))}return o}(t,e,n),i=null===r?null:{"":-1};if(null!==s){o=!0,no(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}let r=!1,l=!1,c=Lr(t,e,s.length,null);for(let o=0;o<s.length;o++){const a=s[o];n.mergedAttrs=Ke(n.mergedAttrs,a.hostAttrs),ro(t,n,e,c,a),eo(c,a,i),null!==a.contentQueries&&(n.flags|=8),null===a.hostBindings&&null===a.hostAttrs&&0===a.hostVars||(n.flags|=128);const u=a.type.prototype;!r&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),r=!0),l||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),l=!0),c++}!function(t,e){const n=e.directiveEnd,r=t.data,o=e.attrs,s=[];let i=null,l=null;for(let c=e.directiveStart;c<n;c++){const t=r[c],n=t.inputs,a=null===o||Er(e)?null:io(n,o);s.push(a),i=Yr(n,c,i),l=Yr(t.outputs,c,l)}null!==i&&(i.hasOwnProperty("class")&&(e.flags|=16),i.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=i,e.outputs=l}(t,n)}i&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const o=n[e[t+1]];if(null==o)throw new qt("301",`Export of name '${e[t+1]}' not found!`);r.push(e[t],o)}}}(n,r,i)}return n.mergedAttrs=Ke(n.mergedAttrs,n.attrs),o}function Xr(t,e,n,r,o,s){const i=s.hostBindings;if(i){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const s=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(r,o,i)}}function Jr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function to(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function eo(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Bt(e)&&(n[""]=t)}}function no(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function ro(t,e,n,r,o){t.data[r]=o;const s=o.factory||(o.factory=Wt(o.type)),i=new Qe(s,Bt(o),null);t.blueprint[r]=i,n[r]=i,Xr(t,e,0,r,Lr(t,n,o.hostVars,Nr),o)}function oo(t,e,n){const r=oe(e,t),o=Ur(n),s=t[10],i=ho(t,Fr(t,o,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n),null,null));t[e.index]=i}function so(t,e,n,r,o,s){const i=s[e];if(null!==i){const t=r.setInput;for(let e=0;e<i.length;){const o=i[e++],s=i[e++],l=i[e++];null!==t?r.setInput(n,l,o,s):n[s]=l}}}function io(t,e){let n=null,r=0;for(;r<e.length;){const o=e[r];if(0!==o)if(5!==o){if("number"==typeof o)break;t.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,t[o],e[r+1])),r+=2}else r+=2;else r+=4}return n}function lo(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function co(t,e){const n=ie(e,t);if(ae(n)){const t=n[1];80&n[2]?Br(t,n,t.template,n[8]):n[5]>0&&ao(n)}}function ao(t){for(let n=Jn(t);null!==n;n=tr(n))for(let t=Rt;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Br(t,e,t.template,e[8])}else e[5]>0&&ao(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const r=ie(e[n],t);ae(r)&&r[5]>0&&ao(r)}}function uo(t,e){const n=ie(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),zr(r,n,n[8])}function ho(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function fo(t){for(;t;){t[2]|=64;const e=Xn(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function po(t,e,n){const r=e[10];r.begin&&r.begin();try{Br(t,e,t.template,n)}catch(o){throw bo(e,o),o}finally{r.end&&r.end()}}function go(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=le(n),o=r[1];Wr(o,r,o.template,n)}}(t[8])}function _o(t,e,n){Ie(0),e(t,n)}const mo=(()=>Promise.resolve(null))();function yo(t){return t[7]||(t[7]=[])}function vo(t){return t.cleanup||(t.cleanup=[])}function bo(t,e){const n=t[9],r=n?n.get(Zn,null):null;r&&r.handleError(e)}function wo(t,e,n,r,o){for(let s=0;s<n.length;){const i=n[s++],l=n[s++],c=e[i],a=t.data[i];null!==a.setInput?a.setInput(c,o,r,l):c[l]=o}}function xo(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,s=0;if(null!==e)for(let i=0;i<e.length;i++){const t=e[i];"number"==typeof t?s=t:1==s?o=$(o,t):2==s&&(r=$(r,t+": "+e[++i]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=o:t.classesWithoutHost=o}const Co=new kn("INJECTOR",-1);class ko{get(t,e=Nn){if(e===Nn){const e=new Error(`NullInjectorError: No provider for ${q(t)}!`);throw e.name="NullInjectorError",e}return e}}const Oo=new kn("Set Injector scope."),Eo={},So={},To=[];let Io=void 0;function Ao(){return void 0===Io&&(Io=new ko),Io}function Po(t,e=null,n=null,r){return new Mo(t,n,e||Ao(),r)}class Mo{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 o=[];e&&En(e,n=>this.processProvider(n,t,e)),En([t],t=>this.processInjectorType(t,[],o)),this.records.set(Co,No(void 0,this));const s=this.records.get(Oo);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:q(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=Nn,n=ot.Default){this.assertNotDestroyed();const r=Vn(this);try{if(!(n&ot.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof kn)&&K(t);e=n&&this.injectableDefInScope(n)?No(Do(t),Eo):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&ot.Self?Ao():this.parent).get(t,e=n&ot.Optional&&e===Nn?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(q(t)),r)throw s;return function(t,e,n,r){const o=t.ngTempTokenPath;throw e[Rn]&&o.unshift(e[Rn]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let o=q(e);if(Array.isArray(e))o=e.map(q).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):q(r)))}o=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(Hn,"\n ")}`}("\n"+t.message,o,n,r),t.ngTokenPath=o,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{Vn(r)}var o}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(q(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=Q(t)))return!1;let r=J(t);const o=null==r&&t.ngModule||void 0,s=void 0===o?t:o,i=-1!==n.indexOf(s);if(void 0!==o&&(r=J(o)),null==r)return!1;if(null!=r.imports&&!i){let t;n.push(s);try{En(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];En(r,t=>this.processProvider(t,n,r||To))}}this.injectorDefTypes.add(s),this.records.set(s,No(r.factory,Eo));const l=r.providers;if(null!=l&&!i){const e=t;En(l,t=>this.processProvider(t,e,l))}return void 0!==o&&void 0!==t.providers}processProvider(t,e,n){let r=Ro(t=Q(t))?t:Q(t&&t.provide);const o=function(t,e,n){return Ho(t)?No(void 0,t.useValue):No(function(t,e,n){let r=void 0;if(Ro(t)){const e=Q(t);return Wt(e)||Do(e)}if(Ho(t))r=()=>Q(t.useValue);else if((o=t)&&o.useFactory)r=()=>t.useFactory(...Bn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>zn(Q(t.useExisting));else{const e=Q(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Wt(e)||Do(e);r=()=>new e(...Bn(t.deps))}var o;return r}(t),Eo)}(t);if(Ro(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=No(void 0,Eo,!0),e.factory=()=>Bn(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,o)}hydrate(t,e){var n;return e.value===Eo&&(e.value=So,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 Do(t){const e=K(t),n=null!==e?e.factory:Wt(t);if(null!==n)return n;const r=J(t);if(null!==r)return r.factory;if(t instanceof kn)throw new Error(`Token ${q(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=In(e,"?");throw new Error(`Can't resolve all parameters for ${q(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[tt]||t[nt]);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 a future version of Angular. 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 No(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Ho(t){return null!==t&&"object"==typeof t&&jn in t}function Ro(t){return"function"==typeof t}const jo=function(t,e,n){return function(t,e=null,n=null,r){const o=Po(t,e,n,r);return o._resolveInjectorDefTypes(),o}({name:n},e,t,n)};let Fo=(()=>{class t{static create(t,e){return Array.isArray(t)?jo(t,e,""):jo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Nn,t.NULL=new ko,t.\u0275prov=G({token:t,providedIn:"any",factory:()=>zn(Co)}),t.__NG_ELEMENT_ID__=-1,t})();function Vo(t,e){ze(le(t)[1],me())}let Lo=null;function zo(){if(!Lo){const t=gt.Symbol;if(t&&t.iterator)Lo=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&&(Lo=n)}}}return Lo}function Bo(t){return!!Wo(t)&&(Array.isArray(t)||!(t instanceof Map)&&zo()in t)}function Wo(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function qo(t,e,n){return t[e]=n}function $o(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Zo(t,e,n,r){const o=ge();return $o(o,Oe(),e)&&(_e(),function(t,e,n,r,o,s){const i=oe(t,e);!function(t,e,n,r,o,s,i){if(null==s)ee(t)?t.removeAttribute(e,o,n):e.removeAttribute(o);else{const l=null==i?$t(s):i(s,r||"",o);ee(t)?t.setAttribute(e,o,l,n):n?e.setAttributeNS(n,o,l):e.setAttribute(o,l)}}(e[11],i,s,t.value,n,r,o)}(Le(),o,t,e,n,r)),Zo}function Uo(t){return function(t,e){return t[e]}(de.lFrame.contextLView,Ht+t)}function Qo(t,e=ot.Default){const n=ge();return null===n?zn(t,e):dn(me(),n,Q(t),e)}function Go(t,e,n){const r=ge();return $o(r,Oe(),e)&&function(t,e,n,r,o,s,i,l){const c=oe(e,n);let a,u=e.inputs;var h;null!=u&&(a=u[r])?(wo(t,n,a,r,o),Lt(e)&&function(t,e){const n=ie(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,o=null!=i?i(o,e.value||"",r):o,ee(s)?s.setProperty(c,r,o):Ye(r)||(c.setProperty?c.setProperty(r,o):c[r]=o))}(_e(),Le(),r,t,e,r[11],n),Go}function Yo(t,e,n,r,o){const s=o?"class":"style";wo(t,n,e.inputs[s],s,r)}function Ko(t,e,n,r){const o=ge(),s=_e(),i=Ht+t,l=o[11],c=o[i]=rr(l,e,de.lFrame.currentNamespace),a=s.firstCreatePass?function(t,e,n,r,o,s,i){const l=e.consts,c=Vr(e,t,2,o,ue(l,s));return Kr(e,n,c,ue(l,i)),null!==c.attrs&&xo(c,c.attrs,!1),null!==c.mergedAttrs&&xo(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(i,s,o,0,e,n,r):s.data[i];ve(a,!0);const u=a.mergedAttrs;null!==u&&Ge(l,c,u);const h=a.classes;null!==h&&xr(l,c,h);const f=a.styles;null!==f&&wr(l,c,f),64!=(64&a.flags)&&gr(s,o,c,a),0===de.lFrame.elementDepthCount&&Un(c,o),de.lFrame.elementDepthCount++,zt(a)&&($r(s,o,a),function(t,e,n){if(Vt(e)){const r=e.directiveEnd;for(let o=e.directiveStart;o<r;o++){const e=t.data[o];e.contentQueries&&e.contentQueries(1,n[o],o)}}}(s,a,o)),null!==r&&Zr(o,a)}function Xo(){let t=me();be()?we():(t=t.parent,ve(t,!1));const e=t;de.lFrame.elementDepthCount--;const n=_e();n.firstCreatePass&&(ze(n,t),Vt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Yo(n,e,ge(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Yo(n,e,ge(),e.stylesWithoutHost,!1)}function Jo(t,e,n,r){Ko(t,e,n,r),Xo()}function ts(t){return!!t&&"function"==typeof t.then}function es(t,e,n=!1,r){const o=ge(),s=_e(),i=me();return function(t,e,n,r,o,s,i=!1,l){const c=zt(r),a=t.firstCreatePass&&vo(t),u=yo(e);let h=!0;if(3&r.type){const f=oe(r,e),d=l?l(f):_t,p=d.target||f,g=u.length,_=l?t=>l(re(t[r.index])).target:r.index;if(ee(n)){let i=null;if(!l&&c&&(i=function(t,e,n,r){const o=t.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const t=o[s];if(t===n&&o[s+1]===r){const t=e[7],n=o[s+2];return t.length>n?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,o,r.index)),null!==i)(i.__ngLastListenerFn__||i).__ngNextListenerFn__=s,i.__ngLastListenerFn__=s,h=!1;else{s=rs(r,e,s,!1);const t=n.listen(d.name||p,o,s);u.push(s,t),a&&a.push(o,_,g,g+1)}}else s=rs(r,e,s,!0),p.addEventListener(o,s,i),u.push(s),a&&a.push(o,_,g,i)}else s=rs(r,e,s,!1);const f=r.outputs;let d;if(h&&null!==f&&(d=f[o])){const t=d.length;if(t)for(let n=0;n<t;n+=2){const t=e[d[n]][d[n+1]].subscribe(s),i=u.length;u.push(s,t),a&&a.push(o,r.index,i,-(i+1))}}}(s,o,o[11],i,t,e,n,r),es}function ns(t,e,n){try{return!1!==e(n)}catch(r){return bo(t,r),!1}}function rs(t,e,n,r){return function o(s){if(s===Function)return n;const i=2&t.flags?ie(t.index,e):e;0==(32&e[2])&&fo(i);let l=ns(e,n,s),c=o.__ngNextListenerFn__;for(;c;)l=ns(e,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function os(t,e=""){const n=ge(),r=_e(),o=t+Ht,s=r.firstCreatePass?Vr(r,o,1,e,null):r.data[o],i=n[o]=function(t,e){return ee(t)?t.createText(e):t.createTextNode(e)}(n[11],e);gr(r,n,i,s),ve(s,!1)}function ss(t){return is("",t,""),ss}function is(t,e,n){const r=ge(),o=function(t,e,n,r){return $o(t,Oe(),n)?e+$t(n)+r:Nr}(r,t,e,n);return o!==Nr&&function(t,e,n){const r=function(t,e){return re(e[t])}(e,t);!function(t,e,n){ee(t)?t.setValue(e,n):e.textContent=n}(t[11],r,n)}(r,Fe(),o),is}const ls=void 0;var cs=["en",[["a","p"],["AM","PM"],ls],[["AM","PM"],ls,ls],[["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"]],ls,[["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"]],ls,[["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}",ls,"{1} 'at' {0}",ls],[".",",",";","%","+","-","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 as={};function us(t){return t in as||(as[t]=gt.ng&&gt.ng.common&&gt.ng.common.locales&&gt.ng.common.locales[t]),as[t]}var hs=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const fs="en-US";let ds=fs;function ps(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&&(ds=t.toLowerCase().replace(/_/g,"-"))}class gs{}class _s{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${q(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ms=(()=>{class t{}return t.NULL=new _s,t})();function ys(...t){}function vs(t,e){return new ws(oe(t,e))}const bs=function(){return vs(me(),ge())};let ws=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=bs,t})();class xs{}let Cs=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ks(),t})();const ks=function(){const t=ge(),e=ie(me().index,t);return function(t){return t[11]}(jt(e)?e:t)};let Os=(()=>{class t{}return t.\u0275prov=G({token:t,providedIn:"root",factory:()=>null}),t})();class Es{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ss=new Es("11.0.4");class Ts{constructor(){}supports(t){return Bo(t)}create(t){return new As(t)}}const Is=(t,e)=>e;class As{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||Is}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,o=null;for(;e||n;){const s=!n||e&&e.currentIndex<Ns(n,r,o)?e:n,i=Ns(s,r,o),l=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{o||(o=[]);const t=i-r,e=l-r;if(t!=e){for(let n=0;n<t;n++){const r=n<o.length?o[n]:o[n]=0,s=r+n;e<=s&&s<t&&(o[n]=r+1)}o[s.previousIndex]=e-t}}i!==l&&t(s,i,l)}}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=[]),!Bo(t))throw new Error(`Error trying to diff '${q(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,o=this._itHead,s=!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!==o&&Object.is(o.trackById,r)?(s&&(o=this._verifyReinsertion(o,n,r,e)),Object.is(o.item,n)||this._addIdentityChange(o,n)):(o=this._mismatch(o,n,r,e),s=!0),o=o._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[zo()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==o&&Object.is(o.trackById,r)?(s&&(o=this._verifyReinsertion(o,t,r,e)),Object.is(o.item,t)||this._addIdentityChange(o,t)):(o=this._mismatch(o,t,r,e),s=!0),o=o._next,e++}),this.length=e;return this._truncate(o),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new Ps(e,n),o,r),t}_verifyReinsertion(t,e,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,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,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._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 Ds),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 Ds),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 Ps{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 Ms{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)&&Object.is(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 Ds{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ms,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 Ns(t,e,n){const r=t.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+e+o}class Hs{constructor(){}supports(t){return t instanceof Map||Wo(t)}create(){return new Rs}}class Rs{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;e=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||Wo(t)))throw new Error(`Error trying to diff '${q(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,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new js(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){Object.is(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 js{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 Fs=(()=>{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 Dn,new Pn]]}}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=G({token:t,providedIn:"root",factory:()=>new t([new Ts])}),t})(),Vs=(()=>{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 Dn,new Pn]]}}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=G({token:t,providedIn:"root",factory:()=>new t([new Hs])}),t})();function Ls(t,e,n,r,o=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&r.push(re(s)),Ft(s))for(let t=Rt;t<s.length;t++){const e=s[t],n=e[1].firstChild;null!==n&&Ls(e[1],e,n,r)}const i=n.type;if(8&i)Ls(t,e,n.child,r);else if(32&i){const t=Kn(n,e);let o;for(;o=t();)r.push(o)}else if(16&i){const t=e[16],o=t[6].projection[n.projection];if(Array.isArray(o))r.push(...o);else{const e=Xn(t);Ls(e[1],e,o,r,!0)}}n=o?n.projectionNext:n.next}return r}class zs{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView,e=t[1];return Ls(e,t,e.firstChild,[])}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}ir(this._lView[1],this._lView)}onDestroy(t){Gr(this._lView[1],this._lView,null,t)}markForCheck(){fo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){po(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ce(!0);try{po(t,e,n)}finally{Ce(!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,vr(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 Bs extends zs{constructor(t){super(t),this._view=t}detectChanges(){go(this._view)}checkNoChanges(){!function(t){Ce(!0);try{go(t)}finally{Ce(!1)}}(this._view)}get context(){return null}}const Ws=[new Hs],qs=new Fs([new Ts]),$s=new Vs(Ws),Zs=function(){return Ys(me(),ge())};let Us=(()=>{class t{}return t.__NG_ELEMENT_ID__=Zs,t})();const Qs=Us,Gs=class extends Qs{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Fr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),zr(e,n,t),new zs(n)}};function Ys(t,e){return 4&t.type?new Gs(e,t,vs(t,e)):null}class Ks{}const Xs=function(){return oi(me(),ge())};let Js=(()=>{class t{}return t.__NG_ELEMENT_ID__=Xs,t})();const ti=Js,ei=class extends ti{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return vs(this._hostTNode,this._hostLView)}get injector(){return new wn(this._hostTNode,this._hostLView)}get parentInjector(){const t=an(this._hostTNode,this._hostLView);if(Je(t)){const e=en(t,this._hostLView),n=tn(t);return new wn(e[1].data[n+8],e)}return new wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ni(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-Rt}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,o){const s=n||this.parentInjector;if(!o&&null==t.ngModule&&s){const t=s.get(Ks,null);t&&(o=t)}const i=t.create(s,r,void 0,o);return this.insert(i.hostView,e),i}insert(t,e){const n=t._lView,r=n[1];if(Ft(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new ei(e,e[6],e[3]);r.detach(r.indexOf(t))}}const o=this._adjustIndex(e),s=this._lContainer;!function(t,e,n,r){const o=Rt+r,s=n.length;r>0&&(n[o-1][4]=e),r<s-Rt?(e[4]=n[o],Sn(n,Rt+r,e)):(n.push(e),e[4]=null),e[3]=n;const i=e[17];null!==i&&n!==i&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(i,e);const l=e[19];null!==l&&l.insertView(t),e[2]|=128}(r,n,s,o);const i=mr(o,s),l=n[11],c=fr(l,s[7]);return null!==c&&function(t,e,n,r,o,s){r[0]=o,r[6]=e,vr(t,r,n,1,o,s)}(r,s[6],l,n,c,i),t.attachToViewContainerRef(this),Sn(ri(s),o,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=ni(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=sr(this._lContainer,e);n&&(Tn(ri(this._lContainer),e),ir(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=sr(this._lContainer,e);return n&&null!=Tn(ri(this._lContainer),e)?new zs(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function ni(t){return t[8]}function ri(t){return t[8]||(t[8]=[])}function oi(t,e){let n;const r=e[t.index];if(Ft(r))n=r;else{let o;if(8&t.type)o=re(r);else{const n=e[11];o=n.createComment("");const r=oe(t,e);ar(n,fr(n,r),o,function(t,e){return ee(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=lo(r,e,o,t),ho(e,n)}return new ei(n,t,e)}const si={};class ii extends ms{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Dt(t);return new ai(e,this.ngModule)}}function li(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const ci=new kn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Qn});class ai extends gs{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Dr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return li(this.componentDef.inputs)}get outputs(){return li(this.componentDef.outputs)}create(t,e,n,r){const o=(r=r||this.ngModule)?function(t,e){return{get:(n,r,o)=>{const s=t.get(n,si,o);return s!==si||r===si?s:e.get(n,r,o)}}}(t,r.injector):t,s=o.get(xs,ne),i=o.get(Os,null),l=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",a=n?function(t,e,n){if(ee(t))return t.selectRootElement(e,n===ut.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(l,n,this.componentDef.encapsulation):rr(s.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Qn,clean:mo,playerHandler:null,flags:0},f=Qr(0,null,null,1,0,null,null,null,null,null),d=Fr(null,f,h,u,null,null,s,l,i,o);let p,g;Me(d);try{const t=function(t,e,n,r,o,s){const i=n[1];n[20]=t;const l=Vr(i,20,2,"#host",null),c=l.mergedAttrs=e.hostAttrs;null!==c&&(xo(l,c,!0),null!==t&&(Ge(o,t,c),null!==l.classes&&xr(o,t,l.classes),null!==l.styles&&wr(o,t,l.styles)));const a=r.createRenderer(t,e),u=Fr(n,Ur(e),null,e.onPush?64:16,n[20],l,r,a,null,null);return i.firstCreatePass&&(un(sn(l,n),i,e.type),to(i,l),no(l,n.length,1)),ho(n,u),n[20]=u}(a,this.componentDef,d,s,l);if(a)if(n)Ge(l,a,["ng-version",Ss.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,o=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===o?""!==s&&e.push(s,t[++r]):8===o&&n.push(s);else{if(!Ir(o))break;o=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Ge(l,a,t),e&&e.length>0&&xr(l,a,e.join(" "))}if(g=se(f,Ht),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)}}p=function(t,e,n,r,o){const s=n[1],i=function(t,e,n){const r=me();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ro(t,r,e,Lr(t,e,1,null),n));const o=yn(e,t,r.directiveStart,r);Un(o,e);const s=oe(r,e);return s&&Un(s,e),o}(s,n,e);if(r.components.push(i),t[8]=i,o&&o.forEach(t=>t(i,e)),e.contentQueries){const t=me();e.contentQueries(1,i,t.directiveStart)}const l=me();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Ve(l.index),Xr(n[1],l,0,l.directiveStart,l.directiveEnd,e),Jr(e,i)),i}(t,this.componentDef,d,h,[Vo]),zr(f,d,null)}finally{je()}return new ui(this.componentType,p,vs(g,d),d,g)}}class ui extends class{}{constructor(t,e,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.instance=e,this.hostView=this.changeDetectorRef=new Bs(r),this.componentType=t}get injector(){return new wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const hi=new Map;class fi extends Ks{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ii(this);const n=Nt(t),r=t[xt]||null;r&&ps(r),this._bootstrapComponents=Gn(n.bootstrap),this._r3Injector=Po(t,e,[{provide:Ks,useValue:this},{provide:ms,useValue:this.componentFactoryResolver}],q(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Fo.THROW_IF_NOT_FOUND,n=ot.Default){return t===Fo||t===Ks||t===Co?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class di extends class{}{constructor(t){super(),this.moduleType=t,null!==Nt(t)&&function(t){const e=new Set;!function t(n){const r=Nt(n,!0),o=r.id;null!==o&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${q(e)} vs ${q(e.name)}`)}(o,hi.get(o),n),hi.set(o,n));const s=Gn(r.imports);for(const i of s)e.has(i)||(e.add(i),t(i))}(t)}(t)}create(t){return new fi(this.moduleType,t)}}function pi(t,e,n){const r=ke()+t,o=ge();return o[r]===Nr?qo(o,r,n?e.call(n):e()):function(t,e){return t[e]}(o,r)}function gi(t,e){const n=t[e];return n===Nr?void 0:n}const _i=class extends C{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,o=t=>null,s=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(o=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(s=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(o=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,o,s);return t instanceof h&&t.add(i),i}};function mi(){return this._results[zo()]()}class yi{constructor(){this.dirty=!0,this._results=[],this.changes=new _i,this.length=0;const t=zo(),e=yi.prototype;e[t]||(e[t]=mi)}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=On(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 vi{constructor(t){this.queryList=t,this.matches=null}clone(){return new vi(this.queryList)}setDirty(){this.queryList.setDirty()}}class bi{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 bi(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!==Pi(t,e).matches&&this.queries[e].setDirty()}}class wi{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class xi{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,o=this.getByIndex(n).embeddedTView(t,r);o&&(o.indexInDeclarationView=n,null!==e?e.push(o):e=[o])}return null!==e?new xi(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 Ci{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 Ci(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const o=n[r];this.matchTNodeWithReadOption(t,e,ki(e,o)),this.matchTNodeWithReadOption(t,e,mn(e,t,o,!1,!1))}else n===Us?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,mn(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===ws||r===Js||r===Us&&4&e.type)this.addMatch(e.index,-2);else{const n=mn(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 ki(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 Oi(t,e,n,r){return-1===n?function(t,e){return 11&t.type?vs(t,e):4&t.type?Ys(t,e):null}(e,t):-2===n?function(t,e,n){return n===ws?vs(e,t):n===Us?Ys(e,t):n===Js?oi(e,t):void 0}(t,e,r):yn(t,t[1],n,e)}function Ei(t,e,n,r){const o=e[19].queries[r];if(null===o.matches){const r=t.data,s=n.matches,i=[];for(let t=0;t<s.length;t+=2){const o=s[t];i.push(o<0?null:Oi(e,r[o],s[t+1],n.metadata.read))}o.matches=i}return o.matches}function Si(t,e,n,r){const o=t.queries.getByIndex(n),s=o.matches;if(null!==s){const i=Ei(t,e,o,n);for(let t=0;t<s.length;t+=2){const n=s[t];if(n>0)r.push(i[t/2]);else{const o=s[t+1],i=e[-n];for(let t=Rt;t<i.length;t++){const e=i[t];e[17]===e[3]&&Si(e[1],e,o,r)}if(null!==i[9]){const t=i[9];for(let e=0;e<t.length;e++){const n=t[e];Si(n[1],n,o,r)}}}}}return r}function Ti(t){const e=ge(),n=_e(),r=Te();Ie(r+1);const o=Pi(n,r);if(t.dirty&&ce(e)===o.metadata.isStatic){if(null===o.matches)t.reset([]);else{const s=o.crossesNgTemplate?Si(n,e,r,[]):Ei(n,e,o,r);t.reset(s),t.notifyOnChanges()}return!0}return!1}function Ii(t,e,n){!function(t,e,n,r,o,s){t.firstCreatePass&&function(t,e,n){null===t.queries&&(t.queries=new xi),t.queries.track(new Ci(e,-1))}(t,new wi(n,r,false,o)),function(t,e){const n=new yi;Gr(t,e,n,n.destroy),null===e[19]&&(e[19]=new bi),e[19].queries.push(new vi(n))}(t,e)}(_e(),ge(),t,e,n)}function Ai(){return t=ge(),e=Te(),t[19].queries[e].queryList;var t,e}function Pi(t,e){return t.queries.getByIndex(e)}const Mi=new kn("Application Initializer");let Di=(()=>{class t{constructor(t){this.appInits=t,this.resolve=ys,this.reject=ys,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]();ts(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)(zn(Mi,8))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const Ni=new kn("AppId"),Hi={provide:Ni,useFactory:function(){return`${Ri()}${Ri()}${Ri()}`},deps:[]};function Ri(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ji=new kn("Platform Initializer"),Fi=new kn("Platform ID"),Vi=new kn("appBootstrapListener");let Li=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const zi=new kn("LocaleId"),Bi=new kn("DefaultCurrencyCode");class Wi{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const qi=function(t){return new di(t)},$i=qi,Zi=function(t){return Promise.resolve(qi(t))},Ui=function(t){const e=qi(t),n=Gn(Nt(t).declarations).reduce((t,e)=>{const n=Dt(e);return n&&t.push(new ai(n)),t},[]);return new Wi(e,n)},Qi=Ui,Gi=function(t){return Promise.resolve(Ui(t))};let Yi=(()=>{class t{constructor(){this.compileModuleSync=$i,this.compileModuleAsync=Zi,this.compileModuleAndAllComponentsSync=Qi,this.compileModuleAndAllComponentsAsync=Gi}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const Ki=(()=>Promise.resolve(0))();function Xi(t){"undefined"==typeof Zone?Ki.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ji{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _i(!1),this.onMicrotaskEmpty=new _i(!1),this.onStable=new _i(!1),this.onError=new _i(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=e,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=gt.requestAnimationFrame,e=gt.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(gt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,nl(t),el(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),nl(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,o,s,i,l)=>{try{return rl(t),n.invokeTask(o,s,i,l)}finally{e&&"eventTask"===s.type&&e(),ol(t)}},onInvoke:(e,n,r,o,s,i,l)=>{try{return rl(t),e.invoke(r,o,s,i,l)}finally{ol(t)}},onHasTask:(e,n,r,o)=>{e.hasTask(r,o),n===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,nl(t),el(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,n,r,o)=>(e.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ji.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ji.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 o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,tl,ys,ys);try{return o.runTask(s,e,n)}finally{o.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const tl={};function el(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 nl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function rl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ol(t){t._nesting--,el(t)}class sl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _i,this.onMicrotaskEmpty=new _i,this.onStable=new _i,this.onError=new _i}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 il=(()=>{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:()=>{Ji.assertNotInAngularZone(),Xi(()=>{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())Xi(()=>{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())},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)(zn(Ji))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})(),ll=(()=>{class t{constructor(){this._applications=new Map,ul.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 ul.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();class cl{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let al,ul=new cl,hl=!0,fl=!1;function dl(){return fl=!0,hl}const pl=new kn("AllowMultipleToken");function gl(t,e,n=[]){const r="Platform: "+e,o=new kn(r);return(e=[])=>{let s=_l();if(!s||s.injector.get(pl,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{const t=n.concat(e).concat({provide:o,useValue:!0},{provide:Oo,useValue:"platform"});!function(t){if(al&&!al.destroyed&&!al.injector.get(pl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");al=t.get(ml);const e=t.get(ji,null);e&&e.forEach(t=>t())}(Fo.create({providers:t,name:r}))}return function(t){const e=_l();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}(o)}}function _l(){return al&&!al.destroyed?al:null}let ml=(()=>{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 sl:("zone.js"===t?void 0:t)||new Ji({enableLongStackTrace:dl(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Ji,useValue:n}];return n.run(()=>{const e=Fo.create({providers:r,parent:this.injector,name:t.moduleType.name}),o=t.create(e),s=o.injector.get(Zn,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});o.onDestroy(()=>{bl(this._modules,o),t.unsubscribe()})}),function(t,e,n){try{const r=n();return ts(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(s,n,()=>{const t=o.injector.get(Di);return t.runInitializers(),t.donePromise.then(()=>(ps(o.injector.get(zi,fs)||fs),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const n=yl({},e);return function(t,e,n){const r=new di(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(vl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${q(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)(zn(Fo))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();function yl(t,e){return Array.isArray(e)?e.reduce(yl,t):Object.assign(Object.assign({},t),e)}let vl=(()=>{class t{constructor(t,e,n,r,o,s){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),l=new y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Ji.assertNotInAngularZone(),Xi(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ji.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];var o;return(o=r)&&"function"==typeof o.schedule?(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 y?t[0]:function(t=Number.POSITIVE_INFINITY){return D(m,t)}(e)(function(t,e){return e?function(t,e){return new y(n=>{const r=new h;let o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}(t,e):new y(S(t))}(t,n))}(i,l.pipe(t=>{return R()((e=B,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,L);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 gs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Ks),o=n.create(Fo.NULL,[],e||n.selector,r),s=o.location.nativeElement,i=o.injector.get(il,null),l=i&&o.injector.get(ll);return i&&l&&l.registerApplication(s,i),o.onDestroy(()=>{this.detachView(o.hostView),bl(this.components,o),l&&l.unregisterApplication(s)}),this._loadComponent(o),dl()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}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;bl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Vi,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(zn(Ji),zn(Li),zn(Fo),zn(Zn),zn(ms),zn(Di))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();function bl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const wl=gl(null,"core",[{provide:Fi,useValue:"unknown"},{provide:ml,deps:[Fo]},{provide:ll,deps:[]},{provide:Li,deps:[]}]),xl=[{provide:vl,useClass:vl,deps:[Ji,Li,Fo,Zn,ms,Di]},{provide:ci,deps:[Ji],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Di,useClass:Di,deps:[[new Pn,Mi]]},{provide:Yi,useClass:Yi,deps:[]},Hi,{provide:Fs,useFactory:function(){return qs},deps:[]},{provide:Vs,useFactory:function(){return $s},deps:[]},{provide:zi,useFactory:function(t){return ps(t=t||"undefined"!=typeof $localize&&$localize.locale||fs),t},deps:[[new An(zi),new Pn,new Dn]]},{provide:Bi,useValue:"USD"}];let Cl=(()=>{class t{constructor(t){}}return t.\u0275mod=At({type:t}),t.\u0275inj=Y({factory:function(e){return new(e||t)(zn(vl))},providers:xl}),t})();var kl=n("2+X6"),Ol=n.n(kl);let El=null;function Sl(){return El}const Tl=new kn("DocumentToken");var Il=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class Al{}let Pl=(()=>{class t extends Al{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=us(e);if(n)return n;const r=e.split("-")[0];if(n=us(r),n)return n;if("en"===r)return cs;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[hs.PluralCase]}(e||this.locale)(t)){case Il.Zero:return"zero";case Il.One:return"one";case Il.Two:return"two";case Il.Few:return"few";case Il.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(zn(zi))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})(),Ml=(()=>{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&&(Bo(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=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+q(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)(Qo(Fs),Qo(Vs),Qo(ws),Qo(Cs))},t.\u0275dir=Mt({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class Dl{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 Nl=(()=>{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){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 Dl(null,this._ngForOf,-1,-1),null===r?void 0:r),o=new Hl(t,n);e.push(o)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const o=this._viewContainer.get(n);this._viewContainer.move(o,r);const s=new Hl(t,o);e.push(s)}});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);t.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)(Qo(Js),Qo(Us),Qo(Fs))},t.\u0275dir=Mt({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Hl{constructor(t,e){this.record=t,this.view=e}}let Rl=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split(".");null!=(e=null!=e&&r?`${e}${r}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(Qo(ws),Qo(Vs),Qo(Cs))},t.\u0275dir=Mt({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),jl=(()=>{class t{}return t.\u0275mod=At({type:t}),t.\u0275inj=Y({factory:function(e){return new(e||t)},providers:[{provide:Al,useClass:Pl}]}),t})();class Fl extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Fl,El||(El=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=Ll||(Ll=document.querySelector("base"),Ll)?Ll.getAttribute("href"):null;return null==e?null:(n=e,Vl||(Vl=document.createElement("a")),Vl.setAttribute("href",n),"/"===Vl.pathname.charAt(0)?Vl.pathname:"/"+Vl.pathname);var n}resetBaseElement(){Ll=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 function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,o]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,t)}}let Vl,Ll=null;const zl=new kn("TRANSITION_ID"),Bl=[{provide:Mi,useFactory:function(t,e,n){return()=>{n.get(Di).donePromise.then(()=>{const n=Sl();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[zl,Tl,Fo],multi:!0}];class Wl{static init(){var t;t=new Wl,ul=t}addToWindow(t){gt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},gt.getAllAngularTestabilities=()=>t.getAllTestabilities(),gt.getAllAngularRootElements=()=>t.getAllRootElements(),gt.frameworkStabilizers||(gt.frameworkStabilizers=[]),gt.frameworkStabilizers.push(t=>{const e=gt.getAllAngularTestabilities();let n=e.length,r=!1;const o=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(o)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Sl().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const ql=new kn("EventManagerPlugins");let $l=(()=>{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)(zn(ql),zn(Ji))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();class Zl{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Sl().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let Ul=(()=>{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=G({token:t,factory:t.\u0275fac}),t})(),Ql=(()=>{class t extends Ul{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=>Sl().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(zn(Tl))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const Gl={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/"},Yl=/%COMP%/g;function Kl(t,e,n){for(let r=0;r<e.length;r++){let o=e[r];Array.isArray(o)?Kl(t,o,n):(o=o.replace(Yl,t),n.push(o))}return n}function Xl(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Jl=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new tc(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case ut.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new ec(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case ut.ShadowDom:return new nc(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Kl(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)(zn($l),zn(Ql),zn(Ni))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();class tc{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Gl[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 o=Gl[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Gl[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&(Yn.DashCase|Yn.Important)?t.style.setProperty(e,n,r&Yn.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Yn.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,Xl(n)):this.eventManager.addEventListener(t,e,Xl(n))}}class ec extends tc{constructor(t,e,n,r){super(t),this.component=n;const o=Kl(r+"-"+n.id,n.styles,[]);e.addStyles(o),this.contentAttr="_ngcontent-%COMP%".replace(Yl,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Yl,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 nc extends tc{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Kl(r.id,r.styles,[]);for(let s=0;s<o.length;s++){const t=document.createElement("style");t.textContent=o[s],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 rc=(()=>{class t extends Zl{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)(zn(Tl))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const oc=["alt","control","meta","shift"],sc={"\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"},ic={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"},lc={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let cc=(()=>{class t extends Zl{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const o=t.parseEventName(n),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Sl().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=t._normalizeKey(n.pop());let s="";if(oc.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=o,0!=n.length||0===o.length)return null;const i={};return i.domEventName=r,i.fullKey=s,i}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&&ic.hasOwnProperty(e)&&(e=ic[e]))}return sc[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),oc.forEach(r=>{r!=n&&(0,lc[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return o=>{t.getEventFullKey(o)===e&&r.runGuarded(()=>n(o))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(zn(Tl))},t.\u0275prov=G({token:t,factory:t.\u0275fac}),t})();const ac=gl(wl,"browser",[{provide:Fi,useValue:"browser"},{provide:ji,useValue:function(){Fl.makeCurrent(),Wl.init()},multi:!0},{provide:Tl,useFactory:function(){return function(t){te=t}(document),document},deps:[]}]),uc=[[],{provide:Oo,useValue:"root"},{provide:Zn,useFactory:function(){return new Zn},deps:[]},{provide:ql,useClass:rc,multi:!0,deps:[Tl,Ji,Fi]},{provide:ql,useClass:cc,multi:!0,deps:[Tl]},[],{provide:Jl,useClass:Jl,deps:[$l,Ql,Ni]},{provide:xs,useExisting:Jl},{provide:Ul,useExisting:Ql},{provide:Ql,useClass:Ql,deps:[Tl]},{provide:il,useClass:il,deps:[Ji]},{provide:$l,useClass:$l,deps:[ql,Ji]},[]];let hc=(()=>{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:Ni,useValue:e.appId},{provide:zl,useExisting:Ni},Bl]}}}return t.\u0275mod=At({type:t}),t.\u0275inj=Y({factory:function(e){return new(e||t)(zn(t,12))},providers:uc,imports:[jl,Cl]}),t})();"undefined"!=typeof window&&window;var fc=["*"],dc=function(){function t(t,e){this.ngZone=e,this._osInstance=null,this._osTargetRef=t}return t.prototype.osInstance=function(){return this._osInstance},t.prototype.osTarget=function(){return this._osTargetRef.nativeElement||null},t.prototype.ngAfterViewInit=function(){var t=this;this.ngZone.runOutsideAngular(function(){t._osInstance=Ol()(t.osTarget(),t._options||{},t._extensions)})},t.prototype.ngOnDestroy=function(){Ol.a.valid(this._osInstance)&&(this._osInstance.destroy(),this._osInstance=null)},t.prototype.ngOnChanges=function(t){var e=t._options;e&&Ol.a.valid(this._osInstance)&&this._osInstance.options(e.currentValue)},t.\u0275fac=function(e){return new(e||t)(Qo(ws),Qo(Ji))},t.\u0275cmp=Et({type:t,selectors:[["overlay-scrollbars"]],hostAttrs:[1,"os-host"],inputs:{_options:["options","_options"],_extensions:["extensions","_extensions"]},features:[Gt],ngContentSelectors:fc,decls:12,vars:0,consts:[[1,"os-resize-observer-host"],[1,"os-padding"],[1,"os-viewport"],[1,"os-content"],[1,"os-scrollbar","os-scrollbar-horizontal"],[1,"os-scrollbar-track"],[1,"os-scrollbar-handle"],[1,"os-scrollbar","os-scrollbar-vertical"],[1,"os-scrollbar-corner"]],template:function(t,e){1&t&&(function(t){const e=ge()[16][6];if(!e.projection){const t=e.projection=In(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}}}(),Jo(0,"div",0),Ko(1,"div",1),Ko(2,"div",2),Ko(3,"div",3),function(t,e=0,n){const r=ge(),o=_e(),s=Vr(o,Ht+t,16,null,n||null);null===s.projection&&(s.projection=e),we(),64!=(64&s.flags)&&function(t,e,n){br(e[11],0,e,n,cr(t,n,e),dr(n.parent||e[6],n,e))}(o,r,s)}(4),Xo(),Xo(),Xo(),Ko(5,"div",4),Ko(6,"div",5),Jo(7,"div",6),Xo(),Xo(),Ko(8,"div",7),Ko(9,"div",5),Jo(10,"div",6),Xo(),Xo(),Jo(11,"div",8))},styles:["[_nghost-%COMP%] { display: block; }"]}),t}(),pc=function(){function t(){}return t.\u0275mod=At({type:t}),t.\u0275inj=Y({factory:function(e){return new(e||t)},imports:[[]]}),t}();const gc=["osComponentRef1"],_c=["osComponentRef2"];function mc(t,e){if(1&t&&(Ko(0,"div"),Jo(1,"br"),os(2),Xo()),2&t){const t=e.$implicit;Zo("data-key",e.index),Hr(2),is(" ",t," ")}}const yc=function(){return{maxHeight:"350px"}},vc=function(t,e){return[t,e]},bc=function(){return{maxHeight:"150px"}},wc=function(t){return[t]};let xc=(()=>{class t{constructor(){this.framework="Angular",this.customClassName="custom-class-name-test",this.componentClass="OverlayScrollbarsComponent",this.loremIpsumLong="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.",this.loremIpsumMedium="At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.",this.loremIpsumShort="Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio.",this.loremList=[],this.hasCustomClassName=!1,this.componentContent="Lorem Ipsum",this.osComponentOptions={resize:"both",paddingAbsolute:!0,scrollbars:{autoHide:"never"}}}ngAfterViewInit(){console.log(this.componentClass+" (1)"),console.log(this.osComponentRef1),console.log(this.componentClass+" (2)"),console.log(this.osComponentRef2)}onBtnScrollRandom(t,e){if(e)for(let n=0;n<e.length;n++)if(e[n]){const t=e[n].osInstance();t.scrollStop().scroll({x:Math.floor(Math.random()*t.scroll().max.x+0),y:Math.floor(Math.random()*t.scroll().max.y+0)},1e3,"easeOutElastic")}}onBtnChangeOptions(){this.hasCustomClassName=!this.hasCustomClassName,this.osComponentOptions={resize:"both"===this.osComponentOptions.resize?"none":"both",scrollbars:{autoHide:"never"===this.osComponentOptions.scrollbars.autoHide?"scroll":"never"}}}onBtnChangeContent(){this.componentContent=this.componentContent+"\r\n"+this.randomIpsum(),this.loremList.push(this.randomIpsum())}onBtnLog(){console.log(`== ${this.componentClass} (1) ==`),console.log("Ref:"),console.log(this.osComponentRef1),console.log("Instance:"),console.log(this.osComponentRef1.osInstance()),console.log("Target:"),console.log(this.osComponentRef1.osTarget()),console.log(""),console.log(`== ${this.componentClass} (2) ==`),console.log("Ref:"),console.log(this.osComponentRef2),console.log("Instance:"),console.log(this.osComponentRef2.osInstance()),console.log("Target:"),console.log(this.osComponentRef2.osTarget())}randomIpsum(){const t=[this.loremIpsumLong,this.loremIpsumMedium,this.loremIpsumShort];return t[Math.floor(Math.random()*t.length)]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Et({type:t,selectors:[["app-root"]],viewQuery:function(t,e){if(1&t&&(Ii(gc,!0,dc),Ii(_c,!0,dc)),2&t){let t;Ti(t=Ai())&&(e.osComponentRef1=t.first),Ti(t=Ai())&&(e.osComponentRef2=t.first)}},decls:73,vars:27,consts:[[1,"header"],[1,"code-keyword"],[1,"code-char"],[1,"code-variable"],[1,"code-string"],[1,"content"],[1,"content-section","skew"],[1,"content-section-content","content-section-content-framework"],[1,"framework-logo"],[1,"os-logo"],[1,"content-section"],[1,"content-section-title"],[1,"content-section-content"],[3,"options","ngStyle","ngClass"],["osComponentRef1",""],[1,"bonus-content"],["osComponentRef2",""],[4,"ngFor","ngForOf"],[1,"buttons"],[3,"click"]],template:function(t,e){if(1&t){const t=ge();Ko(0,"div",0),Ko(1,"code"),Ko(2,"span",1),os(3,"import"),Xo(),Ko(4,"span",2),os(5),Xo(),Ko(6,"span",3),os(7,"OverlayScrollbarsComponent"),Xo(),Ko(8,"span",2),os(9),Xo(),Ko(10,"span",1),os(11,"from"),Xo(),Ko(12,"span",4),os(13),Xo(),Ko(14,"span",2),os(15,";"),Xo(),Xo(),Xo(),Ko(16,"div",5),Ko(17,"div",6),Ko(18,"div",7),Jo(19,"span",8),Ko(20,"span"),os(21,"+"),Xo(),Jo(22,"span",9),Xo(),Xo(),Ko(23,"div",10),Ko(24,"div",11),Ko(25,"h2"),os(26,"Component"),Xo(),Ko(27,"table"),Ko(28,"tbody"),Ko(29,"tr"),Ko(30,"td"),Ko(31,"span"),os(32,"Class:"),Xo(),Xo(),Ko(33,"td"),Ko(34,"span"),os(35),Xo(),Xo(),Xo(),Ko(36,"tr"),Ko(37,"td"),Ko(38,"span"),os(39,"Description:"),Xo(),Xo(),Ko(40,"td"),os(41),Xo(),Xo(),Xo(),Xo(),Xo(),Ko(42,"div",12),Ko(43,"overlay-scrollbars",13,14),Ko(45,"div",15),os(46),Xo(),os(47),Ko(48,"overlay-scrollbars",13,16),Ko(50,"div",15),os(51),Xo(),os(52),Jo(53,"br"),Jo(54,"br"),os(55),Xo(),os(56),Jo(57,"br"),Jo(58,"br"),os(59),Jo(60,"br"),Jo(61,"br"),os(62),function(t,e,n,r,o,s,i,l){const c=ge(),a=_e(),u=a.firstCreatePass?function(t,e,n,r,o,s,i,l,c){const a=e.consts,u=Vr(e,83,4,"div",ue(a,17));Kr(e,n,u,ue(a,undefined)),ze(e,u);const h=u.tViews=Qr(2,u,r,3,2,e.directiveRegistry,e.pipeRegistry,null,e.schemas,a);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(0,a,c,e):a.data[83];ve(u,!1);const h=c[11].createComment("");gr(a,c,h,u),Un(h,c),ho(c,c[83]=lo(h,c,h,u)),zt(u)&&$r(a,c,u)}(0,mc),Xo(),Ko(64,"div",18),Ko(65,"button",19),es("click",function(n){de.lFrame.contextLView=t;const r=Uo(44),o=Uo(49);return e.onBtnScrollRandom(n,[r,o])}),os(66," Scroll "),Xo(),Ko(67,"button",19),es("click",function(){return e.onBtnChangeOptions()}),os(68,"Change Options"),Xo(),Ko(69,"button",19),es("click",function(){return e.onBtnChangeContent()}),os(70,"Change Content"),Xo(),Ko(71,"button",19),es("click",function(){return e.onBtnLog()}),os(72,"Log"),Xo(),Xo(),Xo(),Xo(),Xo()}var n,r,o,s,i;2&t&&(Hr(5),ss(" { "),Hr(4),ss(" } "),Hr(4),ss(" 'overlayscrollbars-ngx'"),Hr(22),ss(e.componentClass),Hr(6),is("OverlayScrollbars as a ",e.framework,"-Component."),Hr(2),Go("options",e.osComponentOptions)("ngStyle",pi(20,yc))("ngClass",(n=21,r=vc,o=e.framework,s=e.hasCustomClassName?e.customClassName:"",function(t,e,n,r,o,s,i){const l=e+n;return function(t,e,n,r){const o=$o(t,e,n);return $o(t,e+1,r)||o}(t,l,o,s)?qo(t,l+2,i?r.call(i,o,s):r(o,s)):gi(t,l+2)}(ge(),ke(),n,r,o,s,i))),Hr(3),ss(e.componentContent),Hr(1),is(" ",e.loremIpsumShort," "),Hr(1),Go("options",e.osComponentOptions)("ngStyle",pi(24,bc))("ngClass",function(t,e,n,r){return function(t,e,n,r,o,s){const i=e+n;return $o(t,i,o)?qo(t,i+1,s?r.call(s,o):r(o)):gi(t,i+1)}(ge(),ke(),t,e,n,r)}(25,wc,e.hasCustomClassName?e.customClassName:"")),Hr(3),ss(e.componentContent),Hr(1),is(" ",e.loremIpsumLong," "),Hr(3),is(" ",e.loremIpsumShort," "),Hr(1),is(" ",e.loremIpsumMedium," "),Hr(3),is(" ",e.loremIpsumShort," "),Hr(3),is(" ",e.loremIpsumLong," "),Hr(1),Go("ngForOf",e.loremList))},directives:[dc,Rl,Ml,Nl],styles:['[_nghost-%COMP%]{min-width:600px;display:block}.header[_ngcontent-%COMP%]{background:#36befd;background:linear-gradient(135deg,#36befd 1%,#6461f6);margin:0;color:#fff;letter-spacing:.1pt;text-shadow:0 1px 3px rgba(0,0,255,.1);display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center;height:76px;box-shadow:0 15px 20px -15px rgba(57,120,253,.15),0 55px 50px -35px rgba(47,78,249,.12);position:relative;z-index:1}.header[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{border-radius:4px;display:block;padding:.5em;background:#fff;font-size:10pt;margin:0 auto;box-shadow:0 1px 3px rgba(0,0,255,.15)}.header[_ngcontent-%COMP%] code[_ngcontent-%COMP%] .code-keyword[_ngcontent-%COMP%]{color:#0059ff;font-weight:700}.header[_ngcontent-%COMP%] code[_ngcontent-%COMP%] .code-char[_ngcontent-%COMP%]{color:#4d4d4c}.header[_ngcontent-%COMP%] code[_ngcontent-%COMP%] .code-variable[_ngcontent-%COMP%]{color:#3778ad}.header[_ngcontent-%COMP%] code[_ngcontent-%COMP%] .code-string[_ngcontent-%COMP%]{color:#279737;font-weight:400}.content[_ngcontent-%COMP%]{min-height:calc(100vh - 76px);position:relative;display:flex;flex-direction:column;flex-flow:column;flex-wrap:wrap}.content-section[_ngcontent-%COMP%]{position:relative;padding:40px 0;background:#fff;z-index:1;overflow:hidden}.content-section[_ngcontent-%COMP%]:last-child{flex-grow:1}.content-section[_ngcontent-%COMP%]:after, .content-section[_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.content-section[_ngcontent-%COMP%]:nth-child(2n - 1){background:#f6f8fb}.content-section[_ngcontent-%COMP%]:nth-child(2n+0), .content-section[_ngcontent-%COMP%]:nth-child(2n - 1):after, .content-section[_ngcontent-%COMP%]:nth-child(2n - 1):before{background:#fff}.content-section[_ngcontent-%COMP%]:nth-child(2n+0):after, .content-section[_ngcontent-%COMP%]:nth-child(2n+0):before{background:#f6f8fb}.content-section.skew[_ngcontent-%COMP%] + .content-section[_ngcontent-%COMP%]:after, .content-section.skew[_ngcontent-%COMP%] + .content-section[_ngcontent-%COMP%]:before, .content-section.skew[_ngcontent-%COMP%]:after, .content-section.skew[_ngcontent-%COMP%]:before{transform:skewY(-7deg)}.content-section.skew[_ngcontent-%COMP%] + .content-section.skew[_ngcontent-%COMP%]:before, .content-section[_ngcontent-%COMP%] skew[_ngcontent-%COMP%] + .content-section.skew[_ngcontent-%COMP%]:before{top:0}.content-section[_ngcontent-%COMP%] + .content-section.skew[_ngcontent-%COMP%]:before{top:-50vw}.content-section.skew[_ngcontent-%COMP%] + .content-section[_ngcontent-%COMP%]:after{bottom:-50vw}.content-section[_ngcontent-%COMP%] + .content-section[_ngcontent-%COMP%]:after{top:0}.content-section.skew[_ngcontent-%COMP%] + .content-section.skew[_ngcontent-%COMP%]:after{bottom:0}.content-section.skew[_ngcontent-%COMP%]:first-child:before{top:-50vw!important}.content-section.skew[_ngcontent-%COMP%]:last-child:after{bottom:-50vw!important}.content-section-content-framework[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-weight:700;font-size:30pt;user-select:none;-moz-user-select:none;-webkit-user-select:none}.content-section-content-framework[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:not(:nth-child(2)){display:inline-block;color:transparent;height:190px;width:190px;vertical-align:middle}.content-section-title[_ngcontent-%COMP%]{margin-bottom:14px}.content-section-title[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{text-align:center;font-size:26pt;color:#39547a;margin:24px 0}.content-section-title[_ngcontent-%COMP%] > table[_ngcontent-%COMP%]{text-align:left;margin:0 auto}.content-section-title[_ngcontent-%COMP%] > table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{margin:10px}.content-section-title[_ngcontent-%COMP%] > table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{line-height:18pt}.content-section-title[_ngcontent-%COMP%] > table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{text-align:right;font-weight:700;vertical-align:top}.content-section-title[_ngcontent-%COMP%] > table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child span[_ngcontent-%COMP%]{margin:0 6px}.content-section-title[_ngcontent-%COMP%] > table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child span[_ngcontent-%COMP%]{text-align:left;color:#36befd;font-weight:700}.content-section-content[_ngcontent-%COMP%]{display:table;margin:0 auto}.content-section-content[_ngcontent-%COMP%] .os-host[_ngcontent-%COMP%], .content-section-content[_ngcontent-%COMP%] .os-host-textarea[_ngcontent-%COMP%]{border:2px solid #36befd;width:480px;max-height:300px;margin:10px auto 20px;border-radius:6px;padding:10px;line-height:16pt}.content-section-content[_ngcontent-%COMP%] > .os-host-textarea[_ngcontent-%COMP%] .os-host-textarea[_ngcontent-%COMP%], .content-section-content[_ngcontent-%COMP%] > .os-host[_ngcontent-%COMP%] .os-host[_ngcontent-%COMP%]{border:2px solid #6461f6;width:auto;height:auto;margin:10px auto}.content-section-content[_ngcontent-%COMP%] .bonus-content[_ngcontent-%COMP%]{display:inline-block;white-space:pre;background:#f0f3f6;padding:0 5px;margin:2px;border-radius:4px!important;border:1px solid #dde3ed;font-size:10pt;font-family:Lucida Console,Monaco,monospace;color:#39547a}.content-section-content-buttons[_ngcontent-%COMP%]{display:table;margin:0 auto}.info-span[_ngcontent-%COMP%]{background:#f7f7f7;padding:2px 5px;margin:2px;white-space:nowrap;border-radius:4px;border:1px solid #dedfe0;font-weight:700;font-size:10pt}a[_ngcontent-%COMP%]{display:inline-block;text-decoration:none;position:relative;color:#36befd;transition:color .3s,text-shadow .3s;text-shadow:0 1px 2px rgba(0,0,0,.05);padding:0 1px;font-weight:600;outline:none!important;cursor:pointer;z-index:0}a[_ngcontent-%COMP%]:hover{color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.16)}a[_ngcontent-%COMP%]:before{content:"";position:absolute;display:block;bottom:0;left:0;height:0%;width:100%;background:transparent;z-index:-1;border-bottom:1px dotted #36befd;transition:height .3s,border .3s,background-color .15s}a[_ngcontent-%COMP%]:hover:before{height:100%;background:#36befd;border-bottom:1px solid #36befd}.buttons[_ngcontent-%COMP%]{display:table;margin:0 auto}button[_ngcontent-%COMP%]{font-size:10pt;line-height:28pt;font-family:sans-serif;font-weight:700;color:#555e6b;line-height:40px;border:1px solid #d6d6d6;border-radius:6px;cursor:pointer;transition:color .3s,background-color .3s,border-color .3s,box-shadow .3s;padding:0 14px;display:block;float:left;margin:5px;text-align:center;background:rgba(0,0,0,.02);-webkit-user-select:none;user-select:none;min-width:80px;outline:none!important}button[_ngcontent-%COMP%]:hover{color:#fff;background:#6461f6;border-color:#6461f6;box-shadow:0 4px 8px -1px hsla(0,0%,66.7%,.45)}button[_ngcontent-%COMP%]:active{box-shadow:inset 0 4px 9px -1px rgba(0,0,0,.15)}[_ngcontent-%COMP%]::selection{color:#fff;background:#6461f6;text-shadow:0 1px 3px rgba(0,0,0,.28)}img[_ngcontent-%COMP%]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;pointer-events:none}.os-logo[_ngcontent-%COMP%]{background:transparent url(overlayscrollbars.7f1a49176e639b732f4e.svg) no-repeat 50%;background-size:80%}.framework-logo[_ngcontent-%COMP%]{background:transparent url(angular.1effc66e349b0834b6d4.svg) no-repeat 50%;background-size:80%}.custom-class-name-test[_ngcontent-%COMP%]{background:rgba(0,0,0,.03)}']}),t})(),Cc=(()=>{class t{}return t.\u0275mod=At({type:t,bootstrap:[xc]}),t.\u0275inj=Y({factory:function(e){return new(e||t)},providers:[],imports:[[hc,pc]]}),t})();(function(){if(fl)throw new Error("Cannot enable prod mode after platform setup.");hl=!1})(),ac().bootstrapModule(Cc).catch(t=>console.error(t)),Ol()(document.body,{nativeScrollbarsOverlaid:{initialize:!1}})},zn8P: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="zn8P"}},[[0,0]]]);