(function(){var u={},f={};(function(N,l){function e(R){if(typeof R=="number")return R;var j={};for(var z in R)j[z]=R[z];return j}function E(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=C}function S(){return N.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function k(R,j,z){var X=new E;return j&&(X.fill="both",X.duration="auto"),typeof R!="number"||isNaN(R)?R!==void 0&&Object.getOwnPropertyNames(R).forEach(function(G){if(R[G]!="auto"){if((typeof X[G]=="number"||G=="duration")&&(typeof R[G]!="number"||isNaN(R[G]))||G=="fill"&&y.indexOf(R[G])==-1||G=="direction"&&b.indexOf(R[G])==-1||G=="playbackRate"&&R[G]!==1&&N.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;X[G]=R[G]}}):X.duration=R,X}function a(R){return typeof R=="number"&&(R=isNaN(R)?{duration:0}:{duration:R}),R}function d(R,j){return R=N.numericTimingToObject(R),k(R,j)}function g(R,j,z,X){return R<0||R>1||z<0||z>1?C:function(G){function M(K,J,$){return 3*K*(1-$)*(1-$)*$+3*J*(1-$)*$*$+$*$*$}if(G<=0){var O=0;return R>0?O=j/R:!j&&z>0&&(O=X/z),O*G}if(G>=1){var P=0;return z<1?P=(X-1)/(z-1):z==1&&R<1&&(P=(j-1)/(R-1)),1+P*(G-1)}for(var H=0,U=1;H=1)return 1;var X=1/R;return(z+=j*X)-z%X}}function _(R){F||(F=document.createElement("div").style),F.animationTimingFunction="",F.animationTimingFunction=R;var j=F.animationTimingFunction;if(j==""&&S())throw new TypeError(R+" is not a valid value for easing");return j}function t(R){if(R=="linear")return C;var j=B.exec(R);if(j)return g.apply(this,j.slice(1).map(Number));var z=A.exec(R);if(z)return m(Number(z[1]),D);var X=h.exec(R);return X?m(Number(X[1]),{start:L,middle:I,end:D}[X[2]]):w[R]||C}function r(R){return Math.abs(p(R)/R.playbackRate)}function p(R){return R.duration===0||R.iterations===0?0:R.duration*R.iterations}function i(R,j,z){if(j==null)return v;var X=z.delay+R+z.endDelay;return j=Math.min(z.delay+R,X)?W:ee}function o(R,j,z,X,G){switch(X){case Z:return j=="backwards"||j=="both"?0:null;case ee:return z-G;case W:return j=="forwards"||j=="both"?R:null;case v:return null}}function n(R,j,z,X,G){var M=G;return R===0?j!==Z&&(M+=z):M+=X/R,M}function c(R,j,z,X,G,M){var O=R===1/0?j%1:R%1;return O!==0||z!==W||X===0||G===0&&M!==0||(O=1),O}function x(R,j,z,X){return R===W&&j===1/0?1/0:z===1?Math.floor(X)-1:Math.floor(X)}function T(R,j,z){var X=R;if(R!=="normal"&&R!=="reverse"){var G=j;R==="alternate-reverse"&&(G+=1),X="normal",G!==1/0&&G%2!=0&&(X="reverse")}return X==="normal"?z:1-z}function s(R,j,z){var X=i(R,j,z),G=o(R,z.fill,j,X,z.delay);if(G===null)return null;var M=n(z.duration,X,z.iterations,G,z.iterationStart),O=c(M,z.iterationStart,X,z.iterations,G,z.duration),P=x(X,z.iterations,O,M),H=T(z.direction,P,O);return z._easingFunction(H)}var y="backwards|forwards|both|none".split("|"),b="reverse|alternate|alternate-reverse".split("|"),C=function(R){return R};E.prototype={_setMember:function(R,j){this["_"+R]=j,this._effect&&(this._effect._timingInput[R]=j,this._effect._timing=N.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=N.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(R){this._setMember("delay",R)},get delay(){return this._delay},set endDelay(R){this._setMember("endDelay",R)},get endDelay(){return this._endDelay},set fill(R){this._setMember("fill",R)},get fill(){return this._fill},set iterationStart(R){if((isNaN(R)||R<0)&&S())throw new TypeError("iterationStart must be a non-negative number, received: "+R);this._setMember("iterationStart",R)},get iterationStart(){return this._iterationStart},set duration(R){if(R!="auto"&&(isNaN(R)||R<0)&&S())throw new TypeError("duration must be non-negative or auto, received: "+R);this._setMember("duration",R)},get duration(){return this._duration},set direction(R){this._setMember("direction",R)},get direction(){return this._direction},set easing(R){this._easingFunction=t(_(R)),this._setMember("easing",R)},get easing(){return this._easing},set iterations(R){if((isNaN(R)||R<0)&&S())throw new TypeError("iterations must be non-negative, received: "+R);this._setMember("iterations",R)},get iterations(){return this._iterations}};var L=1,I=.5,D=0,w={ease:g(.25,.1,.25,1),"ease-in":g(.42,0,1,1),"ease-out":g(0,0,.58,1),"ease-in-out":g(.42,0,.58,1),"step-start":m(1,L),"step-middle":m(1,I),"step-end":m(1,D)},F=null,q="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",B=new RegExp("cubic-bezier\\("+q+","+q+","+q+","+q+"\\)"),A=/steps\(\s*(\d+)\s*\)/,h=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,v=0,Z=1,W=2,ee=3;N.cloneTimingInput=e,N.makeTiming=k,N.numericTimingToObject=a,N.normalizeTimingInput=d,N.calculateActiveDuration=r,N.calculateIterationProgress=s,N.calculatePhase=i,N.normalizeEasing=_,N.parseEasingFunction=t})(u),function(N,l){function e(t,r){return t in _&&_[t][r]||r}function E(t){return t==="display"||t.lastIndexOf("animation",0)===0||t.lastIndexOf("transition",0)===0}function S(t,r,p){if(!E(t)){var i=d[t];if(i){g.style[t]=r;for(var o in i){var n=i[o],c=g.style[n];p[n]=e(n,c)}}else p[t]=e(t,r)}}function k(t){var r=[];for(var p in t)if(!(p in["easing","offset","composite"])){var i=t[p];Array.isArray(i)||(i=[i]);for(var o,n=i.length,c=0;c1&&p[0].offset==null&&(p[0].offset=0);for(var T=0,s=p[0].offset,y=1;y1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if(s=="composite"){if(y=="add"||y=="accumulate")throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if(y!="replace")throw new TypeError("Invalid composite mode "+y+".")}else y=s=="easing"?N.normalizeEasing(y):""+y;S(s,y,T)}return T.offset==null&&(T.offset=null),T.easing==null&&(T.easing="linear"),T}),i=!0,o=-1/0,n=0;n=0&&x.offset<=1}),i||r(),p}var d={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},g=document.createElementNS("http://www.w3.org/1999/xhtml","div"),m={thin:"1px",medium:"3px",thick:"5px"},_={borderBottomWidth:m,borderLeftWidth:m,borderRightWidth:m,borderTopWidth:m,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:m,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};N.convertToArrayForm=k,N.normalizeKeyframes=a}(u),function(N){var l={};N.isDeprecated=function(e,E,S,k){var a=k?"are":"is",d=new Date,g=new Date(E);return g.setMonth(g.getMonth()+3),!(d=i.applyFrom&&rthis._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(i,o){this._style[i]=o,this._isAnimatedProperty[i]=!0,this._updateSvgTransformAttr&&e.unprefixedPropertyName(i)=="transform"&&(this._savedTransformAttr==null&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",e.transformToSvgMatrix(o)))},_clear:function(i){this._style[i]=this._surrogateStyle[i],this._updateSvgTransformAttr&&e.unprefixedPropertyName(i)=="transform"&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[i]}};for(var r in _)a.prototype[r]=function(i,o){return function(){var n=this._surrogateStyle[i].apply(this._surrogateStyle,arguments);return o&&(this._isAnimatedProperty[arguments[0]]||this._style[i].apply(this._style,arguments),this._updateIndices()),n}}(r,r in t);for(var p in document.documentElement.style)p in m||p in _||function(i){k(a.prototype,i,{get:function(){return this._surrogateStyle[i]},set:function(o){this._surrogateStyle[i]=o,this._updateIndices(),this._isAnimatedProperty[i]||(this._style[i]=o)}})}(p);e.apply=function(i,o,n){d(i),i.style._set(e.propertyName(o),n)},e.clear=function(i,o){i._webAnimationsPatchedStyle&&i.style._clear(e.propertyName(o))}}(f),function(e){window.Element.prototype.animate=function(E,S){var k="";return S&&S.id&&(k=S.id),e.timeline._play(e.KeyframeEffect(this,E,S,k))}}(f),function(e,E){function S(k,a,d){if(typeof k=="number"&&typeof a=="number")return k*(1-d)+a*d;if(typeof k=="boolean"&&typeof a=="boolean")return d<.5?k:a;if(k.length==a.length){for(var g=[],m=0;m0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(a){a=+a,isNaN(a)||(E.restart(),this._paused||this._startTime==null||(this._startTime=this._timeline.currentTime-a/this._playbackRate),this._currentTimePending=!1,this._currentTime!=a&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(a,!0),E.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(a){a=+a,isNaN(a)||this._paused||this._idle||(this._startTime=a,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),E.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(a){if(a!=this._playbackRate){var d=this.currentTime;this._playbackRate=a,this._startTime=null,this.playState!="paused"&&this.playState!="idle"&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),E.applyDirtiedAnimation(this)),d!=null&&(this.currentTime=d)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":this._startTime==null&&!this._paused&&this.playbackRate!=0||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),E.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,E.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),E.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(a,d){typeof d=="function"&&a=="finish"&&this._finishHandlers.push(d)},removeEventListener:function(a,d){if(a=="finish"){var g=this._finishHandlers.indexOf(d);g>=0&&this._finishHandlers.splice(g,1)}},_fireEvents:function(a){if(this._isFinished){if(!this._finishedFlag){var d=new k(this,this._currentTime,a),g=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){g.forEach(function(m){m.call(d.target,d)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(a,d){this._idle||this._paused||(this._startTime==null?d&&(this.startTime=a-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((a-this._startTime)*this.playbackRate)),d&&(this._currentTimePending=!1,this._fireEvents(a))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var a=this._effect._target;return a._activeAnimations||(a._activeAnimations=[]),a._activeAnimations},_markTarget:function(){var a=this._targetAnimations();a.indexOf(this)===-1&&a.push(this)},_unmarkTarget:function(){var a=this._targetAnimations(),d=a.indexOf(this);d!==-1&&a.splice(d,1)}}}(u,f),function(e,E,S){function k(T){var s=t;t=[],T1e-4?(A=.5/Math.sqrt(v),h=[(w[2][1]-w[1][2])*A,(w[0][2]-w[2][0])*A,(w[1][0]-w[0][1])*A,.25/A]):w[0][0]>w[1][1]&&w[0][0]>w[2][2]?(A=2*Math.sqrt(1+w[0][0]-w[1][1]-w[2][2]),h=[.25*A,(w[0][1]+w[1][0])/A,(w[0][2]+w[2][0])/A,(w[2][1]-w[1][2])/A]):w[1][1]>w[2][2]?(A=2*Math.sqrt(1+w[1][1]-w[0][0]-w[2][2]),h=[(w[0][1]+w[1][0])/A,.25*A,(w[1][2]+w[2][1])/A,(w[0][2]-w[2][0])/A]):(A=2*Math.sqrt(1+w[2][2]-w[0][0]-w[1][1]),h=[(w[0][2]+w[2][0])/A,(w[1][2]+w[2][1])/A,.25*A,(w[1][0]-w[0][1])/A]),[D,F,q,h,L]}return T}();e.dot=S,e.makeMatrixDecomposition=m,e.transformListToMatrix=g}(f),function(e){function E(p,i){var o=p.exec(i);if(o)return o=p.ignoreCase?o[0].toLowerCase():o[0],[o,i.substr(o.length)]}function S(p,i){i=i.replace(/^\s*/,"");var o=p(i);if(o)return[o[0],o[1].replace(/^\s*/,"")]}function k(p,i,o){p=S.bind(null,p);for(var n=[];;){var c=p(o);if(!c)return[n,o];if(n.push(c[0]),o=c[1],!(c=E(i,o))||c[1]=="")return[n,o];o=c[1]}}function a(p,i){for(var o=0,n=0;nn?o%=n:n%=o;return o=p*i/(o+n)}function g(p){return function(i){var o=p(i);return o&&(o[0]=void 0),o}}function m(p,i){return function(o){return p(o)||[i,o]}}function _(p,i){for(var o=[],n=0;n=1?a:"visible"}]}e.addPropertiesHandler(String,S,["visibility"])}(f),function(e,E){function S(g){g=g.trim(),d.fillStyle="#000",d.fillStyle=g;var m=d.fillStyle;if(d.fillStyle="#fff",d.fillStyle=g,m==d.fillStyle){d.fillRect(0,0,1,1);var _=d.getImageData(0,0,1,1).data;d.clearRect(0,0,1,1);var t=_[3]/255;return[_[0]*t,_[1]*t,_[2]*t,t]}}function k(g,m){return[g,m,function(_){function t(p){return Math.max(0,Math.min(255,p))}if(_[3])for(var r=0;r<3;r++)_[r]=Math.round(t(_[r]/_[3]));return _[3]=e.numberToString(e.clamp(0,1,_[3])),"rgba("+_.join(",")+")"}]}var a=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");a.width=a.height=1;var d=a.getContext("2d");e.addPropertiesHandler(S,k,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),e.consumeColor=e.consumeParenthesised.bind(null,S),e.mergeColors=k}(f),function(e,E){function S(x){function T(){var D=I.exec(x);L=D?D[0]:void 0}function s(){var D=Number(L);return T(),D}function y(){if(L!=="(")return s();T();var D=C();return L!==")"?NaN:(T(),D)}function b(){for(var D=y();L==="*"||L==="/";){var w=L;T();var F=y();w==="*"?D*=F:D/=F}return D}function C(){for(var D=b();L==="+"||L==="-";){var w=L;T();var F=b();w==="+"?D+=F:D-=F}return D}var L,I=/([\+\-\w\.]+|[\(\)\*\/])/g;return T(),C()}function k(x,T){if((T=T.trim().toLowerCase())=="0"&&"px".search(x)>=0)return{px:0};if(/^[^(]*$|^calc/.test(T)){T=T.replace(/calc\(/g,"(");var s={};T=T.replace(x,function(w){return s[w]=null,"U"+w});for(var y="U("+x.source+")",b=T.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+y,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),C=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],L=0;L1?"calc("+L+")":L}]}var g="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",m=k.bind(null,new RegExp(g,"g")),_=k.bind(null,new RegExp(g+"|%","g")),t=k.bind(null,/deg|rad|grad|turn/g);e.parseLength=m,e.parseLengthOrPercent=_,e.consumeLengthOrPercent=e.consumeParenthesised.bind(null,_),e.parseAngle=t,e.mergeDimensions=d;var r=e.consumeParenthesised.bind(null,m),p=e.consumeRepeated.bind(void 0,r,/^/),i=e.consumeRepeated.bind(void 0,p,/^,/);e.consumeSizePairList=i;var o=function(x){var T=i(x);if(T&&T[1]=="")return T[0]},n=e.mergeNestedRepeated.bind(void 0,a," "),c=e.mergeNestedRepeated.bind(void 0,n,",");e.mergeNonNegativeSizePair=n,e.addPropertiesHandler(o,c,["background-size"]),e.addPropertiesHandler(_,a,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),e.addPropertiesHandler(_,d,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(f),function(e,E){function S(m){return e.consumeLengthOrPercent(m)||e.consumeToken(/^auto/,m)}function k(m){var _=e.consumeList([e.ignore(e.consumeToken.bind(null,/^rect/)),e.ignore(e.consumeToken.bind(null,/^\(/)),e.consumeRepeated.bind(null,S,/^,/),e.ignore(e.consumeToken.bind(null,/^\)/))],m);if(_&&_[0].length==4)return _[0]}function a(m,_){return m=="auto"||_=="auto"?[!0,!1,function(t){var r=t?m:_;if(r=="auto")return"auto";var p=e.mergeDimensions(r,r);return p[2](p[0])}]:e.mergeDimensions(m,_)}function d(m){return"rect("+m+")"}var g=e.mergeWrappedNestedRepeated.bind(null,d,a,", ");e.parseBox=k,e.mergeBoxes=g,e.addPropertiesHandler(k,g,["clip"])}(f),function(e,E){function S(n){return function(c){var x=0;return n.map(function(T){return T===r?c[x++]:T})}}function k(n){return n}function a(n){if((n=n.toLowerCase().trim())=="none")return[];for(var c,x=/\s*(\w+)\(([^)]*)\)/g,T=[],s=0;c=x.exec(n);){if(c.index!=s)return;s=c.index+c[0].length;var y=c[1],b=o[y];if(!b)return;var C=c[2].split(","),L=b[0];if(L.length900||d%100!=0))return d}function S(a){return a=100*Math.round(a/100),a=e.clamp(100,900,a),a===400?"normal":a===700?"bold":String(a)}function k(a,d){return[a,d,S]}e.addPropertiesHandler(E,k,["font-weight"])}(f),function(e){function E(t){var r={};for(var p in t)r[p]=-t[p];return r}function S(t){return e.consumeToken(/^(left|center|right|top|bottom)\b/i,t)||e.consumeLengthOrPercent(t)}function k(t,r){var p=e.consumeRepeated(S,/^/,r);if(p&&p[1]==""){var i=p[0];if(i[0]=i[0]||"center",i[1]=i[1]||"center",t==3&&(i[2]=i[2]||{px:0}),i.length==t){if(/top|bottom/.test(i[0])||/left|right/.test(i[1])){var o=i[0];i[0]=i[1],i[1]=o}if(/left|right|center|Object/.test(i[0])&&/top|bottom|center|Object/.test(i[1]))return i.map(function(n){return typeof n=="object"?n:g[n]})}}}function a(t){var r=e.consumeRepeated(S,/^/,t);if(r){for(var p=r[0],i=[{"%":50},{"%":50}],o=0,n=!1,c=0;c=0&&this._cancelHandlers.splice(t,1)}else g.call(this,m,_)},k}}}(),function(N){var l=document.documentElement,e=null,E=!1;try{var S=getComputedStyle(l).getPropertyValue("opacity"),k=S=="0"?"1":"0";e=l.animate({opacity:[k,k]},{duration:1}),e.currentTime=0,E=getComputedStyle(l).getPropertyValue("opacity")==k}catch{}finally{e&&e.cancel()}if(!E){var a=window.Element.prototype.animate;window.Element.prototype.animate=function(d,g){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&d[Symbol.iterator]&&(d=Array.from(d)),Array.isArray(d)||d===null||(d=N.convertToArrayForm(d)),a.call(this,d,g)}}}(u)})();var le=globalThis;function ie(u){return(le.__Zone_symbol_prefix||"__zone_symbol__")+u}function dt(){let u=le.performance;function f(B){u&&u.mark&&u.mark(B)}function N(B,A){u&&u.measure&&u.measure(B,A)}f("Zone");let l=(()=>{class B{static{this.__symbol__=ie}static assertZonePatched(){if(le.Promise!==L.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let h=B.current;for(;h.parent;)h=h.parent;return h}static get current(){return D.zone}static get currentTask(){return w}static __load_patch(h,v,Z=!1){if(L.hasOwnProperty(h)){let W=le[ie("forceDuplicateZoneCheck")]===!0;if(!Z&&W)throw Error("Already loaded patch: "+h)}else if(!le["__Zone_disable_"+h]){let W="Zone:"+h;f(W),L[h]=v(le,B,I),N(W,W)}}get parent(){return this._parent}get name(){return this._name}constructor(h,v){this._parent=h,this._name=v?v.name||"unnamed":"",this._properties=v&&v.properties||{},this._zoneDelegate=new E(this,this._parent&&this._parent._zoneDelegate,v)}get(h){let v=this.getZoneWith(h);if(v)return v._properties[h]}getZoneWith(h){let v=this;for(;v;){if(v._properties.hasOwnProperty(h))return v;v=v._parent}return null}fork(h){if(!h)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,h)}wrap(h,v){if(typeof h!="function")throw new Error("Expecting function got: "+h);let Z=this._zoneDelegate.intercept(this,h,v),W=this;return function(){return W.runGuarded(Z,this,arguments,v)}}run(h,v,Z,W){D={parent:D,zone:this};try{return this._zoneDelegate.invoke(this,h,v,Z,W)}finally{D=D.parent}}runGuarded(h,v=null,Z,W){D={parent:D,zone:this};try{try{return this._zoneDelegate.invoke(this,h,v,Z,W)}catch(ee){if(this._zoneDelegate.handleError(this,ee))throw ee}}finally{D=D.parent}}runTask(h,v,Z){if(h.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(h.zone||i).name+"; Execution: "+this.name+")");let W=h,{type:ee,data:{isPeriodic:R=!1,isRefreshable:j=!1}={}}=h;if(h.state===o&&(ee===C||ee===b))return;let z=h.state!=x;z&&W._transitionTo(x,c);let X=w;w=W,D={parent:D,zone:this};try{ee==b&&h.data&&!R&&!j&&(h.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,W,v,Z)}catch(G){if(this._zoneDelegate.handleError(this,G))throw G}}finally{let G=h.state;if(G!==o&&G!==s)if(ee==C||R||j&&G===n)z&&W._transitionTo(c,x,n);else{let M=W._zoneDelegates;this._updateTaskCount(W,-1),z&&W._transitionTo(o,x,o),j&&(W._zoneDelegates=M)}D=D.parent,w=X}}scheduleTask(h){if(h.zone&&h.zone!==this){let Z=this;for(;Z;){if(Z===h.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${h.zone.name}`);Z=Z.parent}}h._transitionTo(n,o);let v=[];h._zoneDelegates=v,h._zone=this;try{h=this._zoneDelegate.scheduleTask(this,h)}catch(Z){throw h._transitionTo(s,n,o),this._zoneDelegate.handleError(this,Z),Z}return h._zoneDelegates===v&&this._updateTaskCount(h,1),h.state==n&&h._transitionTo(c,n),h}scheduleMicroTask(h,v,Z,W){return this.scheduleTask(new S(y,h,v,Z,W,void 0))}scheduleMacroTask(h,v,Z,W,ee){return this.scheduleTask(new S(b,h,v,Z,W,ee))}scheduleEventTask(h,v,Z,W,ee){return this.scheduleTask(new S(C,h,v,Z,W,ee))}cancelTask(h){if(h.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(h.zone||i).name+"; Execution: "+this.name+")");if(!(h.state!==c&&h.state!==x)){h._transitionTo(T,c,x);try{this._zoneDelegate.cancelTask(this,h)}catch(v){throw h._transitionTo(s,T),this._zoneDelegate.handleError(this,v),v}return this._updateTaskCount(h,-1),h._transitionTo(o,T),h.runCount=-1,h}}_updateTaskCount(h,v){let Z=h._zoneDelegates;v==-1&&(h._zoneDelegates=null);for(let W=0;WB.hasTask(h,v),onScheduleTask:(B,A,h,v)=>B.scheduleTask(h,v),onInvokeTask:(B,A,h,v,Z,W)=>B.invokeTask(h,v,Z,W),onCancelTask:(B,A,h,v)=>B.cancelTask(h,v)};class E{get zone(){return this._zone}constructor(A,h,v){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=A,this._parentDelegate=h,this._forkZS=v&&(v&&v.onFork?v:h._forkZS),this._forkDlgt=v&&(v.onFork?h:h._forkDlgt),this._forkCurrZone=v&&(v.onFork?this._zone:h._forkCurrZone),this._interceptZS=v&&(v.onIntercept?v:h._interceptZS),this._interceptDlgt=v&&(v.onIntercept?h:h._interceptDlgt),this._interceptCurrZone=v&&(v.onIntercept?this._zone:h._interceptCurrZone),this._invokeZS=v&&(v.onInvoke?v:h._invokeZS),this._invokeDlgt=v&&(v.onInvoke?h:h._invokeDlgt),this._invokeCurrZone=v&&(v.onInvoke?this._zone:h._invokeCurrZone),this._handleErrorZS=v&&(v.onHandleError?v:h._handleErrorZS),this._handleErrorDlgt=v&&(v.onHandleError?h:h._handleErrorDlgt),this._handleErrorCurrZone=v&&(v.onHandleError?this._zone:h._handleErrorCurrZone),this._scheduleTaskZS=v&&(v.onScheduleTask?v:h._scheduleTaskZS),this._scheduleTaskDlgt=v&&(v.onScheduleTask?h:h._scheduleTaskDlgt),this._scheduleTaskCurrZone=v&&(v.onScheduleTask?this._zone:h._scheduleTaskCurrZone),this._invokeTaskZS=v&&(v.onInvokeTask?v:h._invokeTaskZS),this._invokeTaskDlgt=v&&(v.onInvokeTask?h:h._invokeTaskDlgt),this._invokeTaskCurrZone=v&&(v.onInvokeTask?this._zone:h._invokeTaskCurrZone),this._cancelTaskZS=v&&(v.onCancelTask?v:h._cancelTaskZS),this._cancelTaskDlgt=v&&(v.onCancelTask?h:h._cancelTaskDlgt),this._cancelTaskCurrZone=v&&(v.onCancelTask?this._zone:h._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let Z=v&&v.onHasTask,W=h&&h._hasTaskZS;(Z||W)&&(this._hasTaskZS=Z?v:e,this._hasTaskDlgt=h,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,v.onScheduleTask||(this._scheduleTaskZS=e,this._scheduleTaskDlgt=h,this._scheduleTaskCurrZone=this._zone),v.onInvokeTask||(this._invokeTaskZS=e,this._invokeTaskDlgt=h,this._invokeTaskCurrZone=this._zone),v.onCancelTask||(this._cancelTaskZS=e,this._cancelTaskDlgt=h,this._cancelTaskCurrZone=this._zone))}fork(A,h){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,A,h):new l(A,h)}intercept(A,h,v){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,A,h,v):h}invoke(A,h,v,Z,W){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,A,h,v,Z,W):h.apply(v,Z)}handleError(A,h){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,A,h):!0}scheduleTask(A,h){let v=h;if(this._scheduleTaskZS)this._hasTaskZS&&v._zoneDelegates.push(this._hasTaskDlgtOwner),v=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,A,h),v||(v=h);else if(h.scheduleFn)h.scheduleFn(h);else if(h.type==y)r(h);else throw new Error("Task is missing scheduleFn.");return v}invokeTask(A,h,v,Z){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,A,h,v,Z):h.callback.apply(v,Z)}cancelTask(A,h){let v;if(this._cancelTaskZS)v=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,A,h);else{if(!h.cancelFn)throw Error("Task is not cancelable");v=h.cancelFn(h)}return v}hasTask(A,h){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,A,h)}catch(v){this.handleError(A,v)}}_updateTaskCount(A,h){let v=this._taskCounts,Z=v[A],W=v[A]=Z+h;if(W<0)throw new Error("More tasks executed then were scheduled.");if(Z==0||W==0){let ee={microTask:v.microTask>0,macroTask:v.macroTask>0,eventTask:v.eventTask>0,change:A};this.hasTask(this._zone,ee)}}}class S{constructor(A,h,v,Z,W,ee){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=A,this.source=h,this.data=Z,this.scheduleFn=W,this.cancelFn=ee,!v)throw new Error("callback is not defined");this.callback=v;let R=this;A===C&&Z&&Z.useG?this.invoke=S.invokeTask:this.invoke=function(){return S.invokeTask.call(le,R,this,arguments)}}static invokeTask(A,h,v){A||(A=this),F++;try{return A.runCount++,A.zone.runTask(A,h,v)}finally{F==1&&p(),F--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(o,n)}_transitionTo(A,h,v){if(this._state===h||this._state===v)this._state=A,A==o&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${A}', expecting state '${h}'${v?" or '"+v+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let k=ie("setTimeout"),a=ie("Promise"),d=ie("then"),g=[],m=!1,_;function t(B){if(_||le[a]&&(_=le[a].resolve(0)),_){let A=_[d];A||(A=_.then),A.call(_,B)}else le[k](B,0)}function r(B){F===0&&g.length===0&&t(p),B&&g.push(B)}function p(){if(!m){for(m=!0;g.length;){let B=g;g=[];for(let A=0;AD,onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:r,showUncaughtError:()=>!l[ie("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:q,patchMethod:()=>q,bindArguments:()=>[],patchThen:()=>q,patchMacroTask:()=>q,patchEventPrototype:()=>q,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>q,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>q,wrapWithCurrentZone:()=>q,filterProperties:()=>[],attachOriginToPatched:()=>q,_redefineProperty:()=>q,patchCallbacks:()=>q,nativeScheduleMicroTask:t},D={parent:null,zone:new l(null,null)},w=null,F=0;function q(){}return N("Zone","Zone"),l}function pt(){let u=globalThis,f=u[ie("forceDuplicateZoneCheck")]===!0;if(u.Zone&&(f||typeof u.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return u.Zone??=dt(),u.Zone}var we=Object.getOwnPropertyDescriptor,Ie=Object.defineProperty,He=Object.getPrototypeOf,mt=Object.create,gt=Array.prototype.slice,Ze="addEventListener",Fe="removeEventListener",Oe=ie(Ze),Me=ie(Fe),fe="true",he="false",Pe=ie("");function je(u,f){return Zone.current.wrap(u,f)}function ze(u,f,N,l,e){return Zone.current.scheduleMacroTask(u,f,N,l,e)}var Q=ie,Ne=typeof window<"u",Te=Ne?window:void 0,re=Ne&&Te||globalThis,_t="removeAttribute";function We(u,f){for(let N=u.length-1;N>=0;N--)typeof u[N]=="function"&&(u[N]=je(u[N],f+"_"+N));return u}function vt(u,f){let N=u.constructor.name;for(let l=0;l{let a=function(){return k.apply(this,We(arguments,N+"."+e))};return pe(a,k),a})(E)}}}function tt(u){return u?u.writable===!1?!1:!(typeof u.get=="function"&&typeof u.set>"u"):!0}var nt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,xe=!("nw"in re)&&typeof re.process<"u"&&re.process.toString()==="[object process]",Be=!xe&&!nt&&!!(Ne&&Te.HTMLElement),rt=typeof re.process<"u"&&re.process.toString()==="[object process]"&&!nt&&!!(Ne&&Te.HTMLElement),be={},yt=Q("enable_beforeunload"),Ye=function(u){if(u=u||re.event,!u)return;let f=be[u.type];f||(f=be[u.type]=Q("ON_PROPERTY"+u.type));let N=this||u.target||re,l=N[f],e;if(Be&&N===Te&&u.type==="error"){let E=u;e=l&&l.call(this,E.message,E.filename,E.lineno,E.colno,E.error),e===!0&&u.preventDefault()}else e=l&&l.apply(this,arguments),u.type==="beforeunload"&&re[yt]&&typeof e=="string"?u.returnValue=e:e!=null&&!e&&u.preventDefault();return e};function $e(u,f,N){let l=we(u,f);if(!l&&N&&we(N,f)&&(l={enumerable:!0,configurable:!0}),!l||!l.configurable)return;let e=Q("on"+f+"patched");if(u.hasOwnProperty(e)&&u[e])return;delete l.writable,delete l.value;let E=l.get,S=l.set,k=f.slice(2),a=be[k];a||(a=be[k]=Q("ON_PROPERTY"+k)),l.set=function(d){let g=this;if(!g&&u===re&&(g=re),!g)return;typeof g[a]=="function"&&g.removeEventListener(k,Ye),S&&S.call(g,null),g[a]=d,typeof d=="function"&&g.addEventListener(k,Ye,!1)},l.get=function(){let d=this;if(!d&&u===re&&(d=re),!d)return null;let g=d[a];if(g)return g;if(E){let m=E.call(this);if(m)return l.set.call(this,m),typeof d[_t]=="function"&&d.removeAttribute(f),m}return null},Ie(u,f,l),u[e]=!0}function it(u,f,N){if(f)for(let l=0;lfunction(S,k){let a=N(S,k);return a.cbIdx>=0&&typeof k[a.cbIdx]=="function"?ze(a.name,k[a.cbIdx],a,e):E.apply(S,k)})}function pe(u,f){u[Q("OriginalDelegate")]=f}var Ke=!1,Ae=!1;function Et(){try{let u=Te.navigator.userAgent;if(u.indexOf("MSIE ")!==-1||u.indexOf("Trident/")!==-1)return!0}catch{}return!1}function kt(){if(Ke)return Ae;Ke=!0;try{let u=Te.navigator.userAgent;(u.indexOf("MSIE ")!==-1||u.indexOf("Trident/")!==-1||u.indexOf("Edge/")!==-1)&&(Ae=!0)}catch{}return Ae}function Je(u){return typeof u=="function"}function Qe(u){return typeof u=="number"}var ye=!1;if(typeof window<"u")try{let u=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",u,u),window.removeEventListener("test",u,u)}catch{ye=!1}var wt={useG:!0},oe={},ot={},st=new RegExp("^"+Pe+"(\\w+)(true|false)$"),at=Q("propagationStopped");function ut(u,f){let N=(f?f(u):u)+he,l=(f?f(u):u)+fe,e=Pe+N,E=Pe+l;oe[u]={},oe[u][he]=e,oe[u][fe]=E}function Pt(u,f,N,l){let e=l&&l.add||Ze,E=l&&l.rm||Fe,S=l&&l.listeners||"eventListeners",k=l&&l.rmAll||"removeAllListeners",a=Q(e),d="."+e+":",g="prependListener",m="."+g+":",_=function(n,c,x){if(n.isRemoved)return;let T=n.callback;typeof T=="object"&&T.handleEvent&&(n.callback=b=>T.handleEvent(b),n.originalDelegate=T);let s;try{n.invoke(n,c,[x])}catch(b){s=b}let y=n.options;if(y&&typeof y=="object"&&y.once){let b=n.originalDelegate?n.originalDelegate:n.callback;c[E].call(c,x.type,b,y)}return s};function t(n,c,x){if(c=c||u.event,!c)return;let T=n||c.target||u,s=T[oe[c.type][x?fe:he]];if(s){let y=[];if(s.length===1){let b=_(s[0],T,c);b&&y.push(b)}else{let b=s.slice();for(let C=0;C{throw C})}}}let r=function(n){return t(this,n,!1)},p=function(n){return t(this,n,!0)};function i(n,c){if(!n)return!1;let x=!0;c&&c.useG!==void 0&&(x=c.useG);let T=c&&c.vh,s=!0;c&&c.chkDup!==void 0&&(s=c.chkDup);let y=!1;c&&c.rt!==void 0&&(y=c.rt);let b=n;for(;b&&!b.hasOwnProperty(e);)b=He(b);if(!b&&n[e]&&(b=n),!b||b[a])return!1;let C=c&&c.eventNameToString,L={},I=b[a]=b[e],D=b[Q(E)]=b[E],w=b[Q(S)]=b[S],F=b[Q(k)]=b[k],q;c&&c.prepend&&(q=b[Q(c.prepend)]=b[c.prepend]);function B(P,H){return!ye&&typeof P=="object"&&P?!!P.capture:!ye||!H?P:typeof P=="boolean"?{capture:P,passive:!0}:P?typeof P=="object"&&P.passive!==!1?{...P,passive:!0}:P:{passive:!0}}let A=function(P){if(!L.isExisting)return I.call(L.target,L.eventName,L.capture?p:r,L.options)},h=function(P){if(!P.isRemoved){let H=oe[P.eventName],U;H&&(U=H[P.capture?fe:he]);let Y=U&&P.target[U];if(Y){for(let V=0;Vse.zone.cancelTask(se);P.call(ge,"abort",ce,{once:!0}),se.removeAbortListener=()=>ge.removeEventListener("abort",ce)}if(L.target=null,Ee&&(Ee.taskData=null),Ue&&(L.options.once=!0),!ye&&typeof se.options=="boolean"||(se.options=ue),se.target=J,se.capture=De,se.eventName=$,ne&&(se.originalDelegate=te),K?_e.unshift(se):_e.push(se),V)return J}};return b[e]=O(I,d,ee,R,y),q&&(b[g]=O(q,m,Z,R,y,!0)),b[E]=function(){let P=this||u,H=arguments[0];c&&c.transferEventName&&(H=c.transferEventName(H));let U=arguments[2],Y=U?typeof U=="boolean"?!0:U.capture:!1,V=arguments[1];if(!V)return D.apply(this,arguments);if(T&&!T(D,V,P,arguments))return;let K=oe[H],J;K&&(J=K[Y?fe:he]);let $=J&&P[J];if($)for(let te=0;te<$.length;te++){let ne=$[te];if(z(ne,V)){if($.splice(te,1),ne.isRemoved=!0,$.length===0&&(ne.allRemoved=!0,P[J]=null,!Y&&typeof H=="string")){let me=Pe+"ON_PROPERTY"+H;P[me]=null}return ne.zone.cancelTask(ne),y?P:void 0}}return D.apply(this,arguments)},b[S]=function(){let P=this||u,H=arguments[0];c&&c.transferEventName&&(H=c.transferEventName(H));let U=[],Y=ct(P,C?C(H):H);for(let V=0;Vfunction(e,E){e[at]=!0,l&&l.apply(e,E)})}function St(u,f){f.patchMethod(u,"queueMicrotask",N=>function(l,e){Zone.current.scheduleMicroTask("queueMicrotask",e[0])})}var Se=Q("zoneTask");function ve(u,f,N,l){let e=null,E=null;f+=l,N+=l;let S={};function k(d){let g=d.data;g.args[0]=function(){return d.invoke.apply(this,arguments)};let m=e.apply(u,g.args);return Qe(m)?g.handleId=m:(g.handle=m,g.isRefreshable=Je(m.refresh)),d}function a(d){let{handle:g,handleId:m}=d.data;return E.call(u,g??m)}e=de(u,f,d=>function(g,m){if(Je(m[0])){let _={isRefreshable:!1,isPeriodic:l==="Interval",delay:l==="Timeout"||l==="Interval"?m[1]||0:void 0,args:m},t=m[0];m[0]=function(){try{return t.apply(this,arguments)}finally{let{handle:x,handleId:T,isPeriodic:s,isRefreshable:y}=_;!s&&!y&&(T?delete S[T]:x&&(x[Se]=null))}};let r=ze(f,m[0],_,k,a);if(!r)return r;let{handleId:p,handle:i,isRefreshable:o,isPeriodic:n}=r.data;if(p)S[p]=r;else if(i&&(i[Se]=r,o&&!n)){let c=i.refresh;i.refresh=function(){let{zone:x,state:T}=r;return T==="notScheduled"?(r._state="scheduled",x._updateTaskCount(r,1)):T==="running"&&(r._state="scheduling"),c.call(this)}}return i??p??r}else return d.apply(u,m)}),E=de(u,N,d=>function(g,m){let _=m[0],t;Qe(_)?(t=S[_],delete S[_]):(t=_?.[Se],t?_[Se]=null:t=_),t?.type?t.cancelFn&&t.zone.cancelTask(t):d.apply(u,m)})}function bt(u,f){let{isBrowser:N,isMix:l}=f.getGlobalObjects();if(!N&&!l||!u.customElements||!("customElements"in u))return;let e=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];f.patchCallbacks(f,u.customElements,"customElements","define",e)}function Nt(u,f){if(Zone[f.symbol("patchEventTarget")])return;let{eventNames:N,zoneSymbolEventNames:l,TRUE_STR:e,FALSE_STR:E,ZONE_SYMBOL_PREFIX:S}=f.getGlobalObjects();for(let a=0;aE.target===u);if(!l||l.length===0)return f;let e=l[0].ignoreProperties;return f.filter(E=>e.indexOf(E)===-1)}function et(u,f,N,l){if(!u)return;let e=lt(u,f,N);it(u,e,l)}function Le(u){return Object.getOwnPropertyNames(u).filter(f=>f.startsWith("on")&&f.length>2).map(f=>f.substring(2))}function Dt(u,f){if(xe&&!rt||Zone[u.symbol("patchEvents")])return;let N=f.__Zone_ignore_on_properties,l=[];if(Be){let e=window;l=l.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let E=Et()?[{target:e,ignoreProperties:["error"]}]:[];et(e,Le(e),N&&N.concat(E),He(e))}l=l.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let e=0;e{let N=f[u.__symbol__("legacyPatch")];N&&N()}),u.__load_patch("timers",f=>{let N="set",l="clear";ve(f,N,l,"Timeout"),ve(f,N,l,"Interval"),ve(f,N,l,"Immediate")}),u.__load_patch("requestAnimationFrame",f=>{ve(f,"request","cancel","AnimationFrame"),ve(f,"mozRequest","mozCancel","AnimationFrame"),ve(f,"webkitRequest","webkitCancel","AnimationFrame")}),u.__load_patch("blocking",(f,N)=>{let l=["alert","prompt","confirm"];for(let e=0;efunction(d,g){return N.current.run(S,f,g,a)})}}),u.__load_patch("EventTarget",(f,N,l)=>{xt(f,l),Nt(f,l);let e=f.XMLHttpRequestEventTarget;e&&e.prototype&&l.patchEventTarget(f,l,[e.prototype])}),u.__load_patch("MutationObserver",(f,N,l)=>{ke("MutationObserver"),ke("WebKitMutationObserver")}),u.__load_patch("IntersectionObserver",(f,N,l)=>{ke("IntersectionObserver")}),u.__load_patch("FileReader",(f,N,l)=>{ke("FileReader")}),u.__load_patch("on_property",(f,N,l)=>{Dt(l,f)}),u.__load_patch("customElements",(f,N,l)=>{bt(f,l)}),u.__load_patch("XHR",(f,N)=>{d(f);let l=Q("xhrTask"),e=Q("xhrSync"),E=Q("xhrListener"),S=Q("xhrScheduled"),k=Q("xhrURL"),a=Q("xhrErrorBeforeScheduled");function d(g){let m=g.XMLHttpRequest;if(!m)return;let _=m.prototype;function t(I){return I[l]}let r=_[Oe],p=_[Me];if(!r){let I=g.XMLHttpRequestEventTarget;if(I){let D=I.prototype;r=D[Oe],p=D[Me]}}let i="readystatechange",o="scheduled";function n(I){let D=I.data,w=D.target;w[S]=!1,w[a]=!1;let F=w[E];r||(r=w[Oe],p=w[Me]),F&&p.call(w,i,F);let q=w[E]=()=>{if(w.readyState===w.DONE)if(!D.aborted&&w[S]&&I.state===o){let A=w[N.__symbol__("loadfalse")];if(w.status!==0&&A&&A.length>0){let h=I.invoke;I.invoke=function(){let v=w[N.__symbol__("loadfalse")];for(let Z=0;Zfunction(I,D){return I[e]=D[2]==!1,I[k]=D[1],T.apply(I,D)}),s="XMLHttpRequest.send",y=Q("fetchTaskAborting"),b=Q("fetchTaskScheduling"),C=de(_,"send",()=>function(I,D){if(N.current[b]===!0||I[e])return C.apply(I,D);{let w={target:I,url:I[k],isPeriodic:!1,args:D,aborted:!1},F=ze(s,c,w,n,x);I&&I[a]===!0&&!w.aborted&&F.state===o&&F.invoke()}}),L=de(_,"abort",()=>function(I,D){let w=t(I);if(w&&typeof w.type=="string"){if(w.cancelFn==null||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(N.current[y]===!0)return L.apply(I,D)})}}),u.__load_patch("geolocation",f=>{f.navigator&&f.navigator.geolocation&&vt(f.navigator.geolocation,["getCurrentPosition","watchPosition"])}),u.__load_patch("PromiseRejectionEvent",(f,N)=>{function l(e){return function(E){ct(f,e).forEach(k=>{let a=f.PromiseRejectionEvent;if(a){let d=new a(e,{promise:E.promise,reason:E.rejection});k.invoke(d)}})}}f.PromiseRejectionEvent&&(N[Q("unhandledPromiseRejectionHandler")]=l("unhandledrejection"),N[Q("rejectionHandledHandler")]=l("rejectionhandled"))}),u.__load_patch("queueMicrotask",(f,N,l)=>{St(f,l)})}function Ot(u){u.__load_patch("ZoneAwarePromise",(f,N,l)=>{let e=Object.getOwnPropertyDescriptor,E=Object.defineProperty;function S(M){if(M&&M.toString===Object.prototype.toString){let O=M.constructor&&M.constructor.name;return(O||"")+": "+JSON.stringify(M)}return M?M.toString():Object.prototype.toString.call(M)}let k=l.symbol,a=[],d=f[k("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,g=k("Promise"),m=k("then"),_="__creationTrace__";l.onUnhandledError=M=>{if(l.showUncaughtError()){let O=M&&M.rejection;O?console.error("Unhandled Promise rejection:",O instanceof Error?O.message:O,"; Zone:",M.zone.name,"; Task:",M.task&&M.task.source,"; Value:",O,O instanceof Error?O.stack:void 0):console.error(M)}},l.microtaskDrainDone=()=>{for(;a.length;){let M=a.shift();try{M.zone.runGuarded(()=>{throw M.throwOriginal?M.rejection:M})}catch(O){r(O)}}};let t=k("unhandledPromiseRejectionHandler");function r(M){l.onUnhandledError(M);try{let O=N[t];typeof O=="function"&&O.call(this,M)}catch{}}function p(M){return M&&M.then}function i(M){return M}function o(M){return R.reject(M)}let n=k("state"),c=k("value"),x=k("finally"),T=k("parentPromiseValue"),s=k("parentPromiseState"),y="Promise.then",b=null,C=!0,L=!1,I=0;function D(M,O){return P=>{try{B(M,O,P)}catch(H){B(M,!1,H)}}}let w=function(){let M=!1;return function(P){return function(){M||(M=!0,P.apply(null,arguments))}}},F="Promise resolved with itself",q=k("currentTaskTrace");function B(M,O,P){let H=w();if(M===P)throw new TypeError(F);if(M[n]===b){let U=null;try{(typeof P=="object"||typeof P=="function")&&(U=P&&P.then)}catch(Y){return H(()=>{B(M,!1,Y)})(),M}if(O!==L&&P instanceof R&&P.hasOwnProperty(n)&&P.hasOwnProperty(c)&&P[n]!==b)h(P),B(M,P[n],P[c]);else if(O!==L&&typeof U=="function")try{U.call(P,H(D(M,O)),H(D(M,!1)))}catch(Y){H(()=>{B(M,!1,Y)})()}else{M[n]=O;let Y=M[c];if(M[c]=P,M[x]===x&&O===C&&(M[n]=M[s],M[c]=M[T]),O===L&&P instanceof Error){let V=N.currentTask&&N.currentTask.data&&N.currentTask.data[_];V&&E(P,q,{configurable:!0,enumerable:!1,writable:!0,value:V})}for(let V=0;V{try{let K=M[c],J=!!P&&x===P[x];J&&(P[T]=K,P[s]=Y);let $=O.run(V,void 0,J&&V!==o&&V!==i?[]:[K]);B(P,!0,$)}catch(K){B(P,!1,K)}},P)}let Z="function ZoneAwarePromise() { [native code] }",W=function(){},ee=f.AggregateError;class R{static toString(){return Z}static resolve(O){return O instanceof R?O:B(new this(null),C,O)}static reject(O){return B(new this(null),L,O)}static withResolvers(){let O={};return O.promise=new R((P,H)=>{O.resolve=P,O.reject=H}),O}static any(O){if(!O||typeof O[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let P=[],H=0;try{for(let V of O)H++,P.push(R.resolve(V))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(H===0)return Promise.reject(new ee([],"All promises were rejected"));let U=!1,Y=[];return new R((V,K)=>{for(let J=0;J{U||(U=!0,V($))},$=>{Y.push($),H--,H===0&&(U=!0,K(new ee(Y,"All promises were rejected")))})})}static race(O){let P,H,U=new this((K,J)=>{P=K,H=J});function Y(K){P(K)}function V(K){H(K)}for(let K of O)p(K)||(K=this.resolve(K)),K.then(Y,V);return U}static all(O){return R.allWithCallback(O)}static allSettled(O){return(this&&this.prototype instanceof R?this:R).allWithCallback(O,{thenCallback:H=>({status:"fulfilled",value:H}),errorCallback:H=>({status:"rejected",reason:H})})}static allWithCallback(O,P){let H,U,Y=new this(($,te)=>{H=$,U=te}),V=2,K=0,J=[];for(let $ of O){p($)||($=this.resolve($));let te=K;try{$.then(ne=>{J[te]=P?P.thenCallback(ne):ne,V--,V===0&&H(J)},ne=>{P?(J[te]=P.errorCallback(ne),V--,V===0&&H(J)):U(ne)})}catch(ne){U(ne)}V++,K++}return V-=2,V===0&&H(J),Y}constructor(O){let P=this;if(!(P instanceof R))throw new Error("Must be an instanceof Promise.");P[n]=b,P[c]=[];try{let H=w();O&&O(H(D(P,C)),H(D(P,L)))}catch(H){B(P,!1,H)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return R}then(O,P){let H=this.constructor?.[Symbol.species];(!H||typeof H!="function")&&(H=this.constructor||R);let U=new H(W),Y=N.current;return this[n]==b?this[c].push(Y,U,O,P):v(this,Y,U,O,P),U}catch(O){return this.then(null,O)}finally(O){let P=this.constructor?.[Symbol.species];(!P||typeof P!="function")&&(P=R);let H=new P(W);H[x]=x;let U=N.current;return this[n]==b?this[c].push(U,H,O,O):v(this,U,H,O,O),H}}R.resolve=R.resolve,R.reject=R.reject,R.race=R.race,R.all=R.all;let j=f[g]=f.Promise;f.Promise=R;let z=k("thenPatched");function X(M){let O=M.prototype,P=e(O,"then");if(P&&(P.writable===!1||!P.configurable))return;let H=O.then;O[m]=H,M.prototype.then=function(U,Y){return new R((K,J)=>{H.call(this,K,J)}).then(U,Y)},M[z]=!0}l.patchThen=X;function G(M){return function(O,P){let H=M.apply(O,P);if(H instanceof R)return H;let U=H.constructor;return U[z]||X(U),H}}return j&&(X(j),de(f,"fetch",M=>G(M))),Promise[N.__symbol__("uncaughtPromiseErrors")]=a,R})}function Mt(u){u.__load_patch("toString",f=>{let N=Function.prototype.toString,l=Q("OriginalDelegate"),e=Q("Promise"),E=Q("Error"),S=function(){if(typeof this=="function"){let g=this[l];if(g)return typeof g=="function"?N.call(g):Object.prototype.toString.call(g);if(this===Promise){let m=f[e];if(m)return N.call(m)}if(this===Error){let m=f[E];if(m)return N.call(m)}}return N.call(this)};S[l]=N,Function.prototype.toString=S;let k=Object.prototype.toString,a="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?a:k.call(this)}})}function At(u,f,N,l,e){let E=Zone.__symbol__(l);if(f[E])return;let S=f[E]=f[l];f[l]=function(k,a,d){return a&&a.prototype&&e.forEach(function(g){let m=`${N}.${l}::`+g,_=a.prototype;try{if(_.hasOwnProperty(g)){let t=u.ObjectGetOwnPropertyDescriptor(_,g);t&&t.value?(t.value=u.wrapWithCurrentZone(t.value,m),u._redefineProperty(a.prototype,g,t)):_[g]&&(_[g]=u.wrapWithCurrentZone(_[g],m))}else _[g]&&(_[g]=u.wrapWithCurrentZone(_[g],m))}catch{}}),S.call(f,k,a,d)},u.attachOriginToPatched(f[l],S)}function Lt(u){u.__load_patch("util",(f,N,l)=>{let e=Le(f);l.patchOnProperties=it,l.patchMethod=de,l.bindArguments=We,l.patchMacroTask=Tt;let E=N.__symbol__("BLACK_LISTED_EVENTS"),S=N.__symbol__("UNPATCHED_EVENTS");f[S]&&(f[E]=f[S]),f[E]&&(N[E]=N[S]=f[E]),l.patchEventPrototype=Rt,l.patchEventTarget=Pt,l.isIEOrEdge=kt,l.ObjectDefineProperty=Ie,l.ObjectGetOwnPropertyDescriptor=we,l.ObjectCreate=mt,l.ArraySlice=gt,l.patchClass=ke,l.wrapWithCurrentZone=je,l.filterProperties=lt,l.attachOriginToPatched=pe,l._redefineProperty=Object.defineProperty,l.patchCallbacks=At,l.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:oe,eventNames:e,isBrowser:Be,isMix:rt,isNode:xe,TRUE_STR:fe,FALSE_STR:he,ZONE_SYMBOL_PREFIX:Pe,ADD_EVENT_LISTENER_STR:Ze,REMOVE_EVENT_LISTENER_STR:Fe})})}function It(u){Ot(u),Mt(u),Lt(u)}var ft=pt();It(ft);Ct(ft);