!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/queuepro/node_modules/browser-sync-ui/public/js/   drwxrwxr-x
Free 13.04 GB of 57.97 GB (22.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     app.js (269.12 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*! For license information please see app.js.LICENSE.txt */
(()=>{var e={1796:(e,t,n)=>{"use strict";n.r(t),n.d(t,{decode:()=>a,encode:()=>s});for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i="undefined"==typeof Uint8Array?[]:new Uint8Array(256),o=0;o<r.length;o++)i[r.charCodeAt(o)]=o;var s=function(e){var t,n=new Uint8Array(e),i=n.length,o="";for(t=0;t<i;t+=3)o+=r[n[t]>>2],o+=r[(3&n[t])<<4|n[t+1]>>4],o+=r[(15&n[t+1])<<2|n[t+2]>>6],o+=r[63&n[t+2]];return i%3==2?o=o.substring(0,o.length-1)+"=":i%3==1&&(o=o.substring(0,o.length-2)+"=="),o},a=function(e){var t,n,r,o,s,a=.75*e.length,c=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var l=new ArrayBuffer(a),f=new Uint8Array(l);for(t=0;t<c;t+=4)n=i[e.charCodeAt(t)],r=i[e.charCodeAt(t+1)],o=i[e.charCodeAt(t+2)],s=i[e.charCodeAt(t+3)],f[u++]=n<<2|r>>4,f[u++]=(15&r)<<4|o>>2,f[u++]=(3&o)<<6|63&s;return l}},6452:(e,t)=>{function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}t.Emitter=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var i=(n=n.slice(0)).length;r<i;++r)n[r].apply(this,t)}return this},n.prototype.emitReserved=n.prototype.emit,n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},8537:()=>{!function(e,t){"use strict";function n(e,t){var n=[],r=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,(function(e,t,r,i){var o="?"===i||"*?"===i,s="*"===i||"*?"===i;return n.push({name:r,optional:o}),t=t||"",(o?"(?:"+t:t+"(?:")+(s?"(.+?)":"([^/]+)")+(o?"?)?":")")})).replace(/([/$*])/g,"\\$1");return t.ignoreTrailingSlashes&&(r=r.replace(/\/+$/,"")+"/*"),{keys:n,regexp:new RegExp("^"+r+"(?:[?#]|$)",t.caseInsensitiveMatch?"i":"")}}var r,i,o,s,a,c=t.module("ngRoute",[]).info({angularVersion:"1.8.2"}).provider("$route",(function(){function e(e,n){return t.extend(Object.create(e),n)}r=t.isArray,i=t.isObject,o=t.isDefined,s=t.noop;var c={};this.when=function(e,o){var s=function(e,t){if(r(e)){t=t||[];for(var n=0,o=e.length;n<o;n++)t[n]=e[n]}else if(i(e))for(var s in t=t||{},e)"$"===s.charAt(0)&&"$"===s.charAt(1)||(t[s]=e[s]);return t||e}(o);if(t.isUndefined(s.reloadOnUrl)&&(s.reloadOnUrl=!0),t.isUndefined(s.reloadOnSearch)&&(s.reloadOnSearch=!0),t.isUndefined(s.caseInsensitiveMatch)&&(s.caseInsensitiveMatch=this.caseInsensitiveMatch),c[e]=t.extend(s,{originalPath:e},e&&n(e,s)),e){var a="/"===e[e.length-1]?e.substr(0,e.length-1):e+"/";c[a]=t.extend({originalPath:e,redirectTo:e},n(a,s))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(e){return"string"==typeof e&&(e={redirectTo:e}),this.when(null,e),this},a=!0,this.eagerInstantiationEnabled=function(e){return o(e)?(a=e,this):a},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce","$browser",function(n,r,i,o,a,l,f,h){var p,d,m=!1,$={routes:c,reload:function(){m=!0;var e={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,m=!1}};n.$evalAsync((function(){g(e),e.defaultPrevented||v()}))},updateParams:function(e){if(!this.current||!this.current.$$route)throw u("norout","Tried updating route with no current route");e=t.extend({},this.current.params,e),r.path(C(this.current.$$route.originalPath,e)),r.search(e)}};return n.$on("$locationChangeStart",g),n.$on("$locationChangeSuccess",v),$;function g(i){var o,s,a,u,l=$.current;t.forEach(c,(function(n,i){!s&&(o=function(e,t){var n=t.keys,r={};if(!t.regexp)return null;var i=t.regexp.exec(e);if(!i)return null;for(var o=1,s=i.length;o<s;++o){var a=n[o-1],c=i[o];a&&c&&(r[a.name]=c)}return r}(r.path(),n))&&((s=e(n,{params:t.extend({},r.search(),o),pathParams:o})).$$route=n)})),a=p=s||c.null&&e(c.null,{params:{},pathParams:{}}),u=l,(d=!m&&a&&u&&a.$$route===u.$$route&&(!a.reloadOnUrl||!a.reloadOnSearch&&t.equals(a.pathParams,u.pathParams)))||!l&&!p||n.$broadcast("$routeChangeStart",p,l).defaultPrevented&&i&&i.preventDefault()}function v(){var e=$.current,r=p;if(d)e.params=r.params,t.copy(e.params,i),n.$broadcast("$routeUpdate",e);else if(r||e){m=!1,$.current=r;var a=o.resolve(r);h.$$incOutstandingRequestCount("$route"),a.then(y).then(b).then((function(o){return o&&a.then(w).then((function(o){r===$.current&&(r&&(r.locals=o,t.copy(r.params,i)),n.$broadcast("$routeChangeSuccess",r,e))}))})).catch((function(t){r===$.current&&n.$broadcast("$routeChangeError",r,e,t)})).finally((function(){h.$$completeOutstandingRequest(s,"$route")}))}}function y(e){var n={route:e,hasRedirection:!1};if(e)if(e.redirectTo)if(t.isString(e.redirectTo))n.path=C(e.redirectTo,e.params),n.search=e.params,n.hasRedirection=!0;else{var i=r.path(),s=r.search(),c=e.redirectTo(e.pathParams,i,s);t.isDefined(c)&&(n.url=c,n.hasRedirection=!0)}else if(e.resolveRedirectTo)return o.resolve(a.invoke(e.resolveRedirectTo)).then((function(e){return t.isDefined(e)&&(n.url=e,n.hasRedirection=!0),n}));return n}function b(e){var t=!0;if(e.route!==$.current)t=!1;else if(e.hasRedirection){var n=r.url(),i=e.url;i?r.url(i).replace():i=r.path(e.path).search(e.search).replace().url(),i!==n&&(t=!1)}return t}function w(e){if(e){var n=t.extend({},e.resolve);t.forEach(n,(function(e,r){n[r]=t.isString(e)?a.get(e):a.invoke(e,null,null,r)}));var r=function(e){var n,r;return t.isDefined(n=e.template)?t.isFunction(n)&&(n=n(e.params)):t.isDefined(r=e.templateUrl)&&(t.isFunction(r)&&(r=r(e.params)),t.isDefined(r)&&(e.loadedTemplateUrl=f.valueOf(r),n=l(r))),n}(e);return t.isDefined(r)&&(n.$template=r),o.all(n)}}function C(e,n){var r=[];return t.forEach((e||"").split(":"),(function(e,t){if(0===t)r.push(e);else{var i=e.match(/(\w+)(?:[?*])?(.*)/),o=i[1];r.push(n[o]),r.push(i[2]||""),delete n[o]}})),r.join("")}}]})).run(l),u=t.$$minErr("ngRoute");function l(e){a&&e.get("$route")}function f(e,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,o,s,a,c){var u,l,f,h=s.autoscroll,p=s.onload||"";function d(){f&&(r.cancel(f),f=null),u&&(u.$destroy(),u=null),l&&((f=r.leave(l)).done((function(e){!1!==e&&(f=null)})),l=null)}function m(){var s=e.current&&e.current.locals,a=s&&s.$template;if(t.isDefined(a)){var f=i.$new(),m=e.current,$=c(f,(function(e){r.enter(e,null,l||o).done((function(e){!1===e||!t.isDefined(h)||h&&!i.$eval(h)||n()})),d()}));l=$,(u=m.scope=f).$emit("$viewContentLoaded"),u.$eval(p)}else d()}i.$on("$routeChangeSuccess",m),m()}}}function h(e,t,n){return{restrict:"ECA",priority:-400,link:function(r,i){var o=n.current,s=o.locals;i.html(s.$template);var a=e(i.contents());if(o.controller){s.$scope=r;var c=t(o.controller,s);o.controllerAs&&(r[o.controllerAs]=c),i.data("$ngControllerController",c),i.children().data("$ngControllerController",c)}r[o.resolveAs||"$resolve"]=s,a(r)}}}l.$inject=["$injector"],c.provider("$routeParams",(function(){this.$get=function(){return{}}})),c.directive("ngView",f),c.directive("ngView",h),f.$inject=["$route","$anchorScroll","$animate"],h.$inject=["$compile","$controller","$route"]}(window,window.angular)},2339:(e,t,n)=>{n(8537),e.exports="ngRoute"},8952:()=>{!function(e,t){"use strict";var n,r,i,o,s,a,c,u,l,f,h=t.$$minErr("$sanitize");t.module("ngSanitize",[]).provider("$sanitize",(function(){var p=!1,d=!1;this.$get=["$$sanitizeUri",function(e){return p=!0,d&&r(E,x),function(t){var n=[];return l(t,f(n,(function(t,n){return!/^unsafe:/.test(e(t,n))}))),n.join("")}}],this.enableSvg=function(e){return s(e)?(d=e,this):d},this.addValidElements=function(e){return p||(o(e)&&(e={htmlElements:e}),F(x,e.svgElements),F(g,e.htmlVoidElements),F(E,e.htmlVoidElements),F(E,e.htmlElements)),this},this.addValidAttrs=function(e){return p||r(T,M(e,!0)),this},n=t.bind,r=t.extend,i=t.forEach,o=t.isArray,s=t.isDefined,a=t.$$lowercase,c=t.noop,l=function(e,t){null==e?e="":"string"!=typeof e&&(e=""+e);var n=P(e);if(!n)return"";var r=5;do{if(0===r)throw h("uinput","Failed to sanitize html because the input is unstable");r--,e=n.innerHTML,n=P(e)}while(e!==n.innerHTML);for(var i=n.firstChild;i;){switch(i.nodeType){case 1:t.start(i.nodeName.toLowerCase(),j(i.attributes));break;case 3:t.chars(i.textContent)}var o;if(!((o=i.firstChild)||(1===i.nodeType&&t.end(i.nodeName.toLowerCase()),o=V("nextSibling",i))))for(;null==o&&(i=V("parentNode",i))!==n;)o=V("nextSibling",i),1===i.nodeType&&t.end(i.nodeName.toLowerCase());i=o}for(;i=n.firstChild;)n.removeChild(i)},f=function(e,t){var r=!1,o=n(e,e.push);return{start:function(e,n){e=a(e),!r&&k[e]&&(r=e),r||!0!==E[e]||(o("<"),o(e),i(n,(function(n,r){var i=a(r),s="img"===e&&"src"===i||"background"===i;!0!==T[i]||!0===S[i]&&!t(n,s)||(o(" "),o(r),o('="'),o(R(n)),o('"'))})),o(">"))},end:function(e){e=a(e),r||!0!==E[e]||!0===g[e]||(o("</"),o(e),o(">")),e==r&&(r=!1)},chars:function(e){r||o(R(e))}}},u=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};var m=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$=/([^#-~ |!])/g,g=_("area,br,col,hr,img,wbr"),v=_("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),y=_("rp,rt"),b=r({},y,v),w=r({},v,_("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),C=r({},y,_("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),x=_("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),k=_("script,style"),E=r({},g,w,C,b),S=_("background,cite,href,longdesc,src,xlink:href,xml:base"),A=_("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),O=_("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),T=r({},S,O,A);function _(e,t){return M(e.split(","),t)}function M(e,t){var n,r={};for(n=0;n<e.length;n++)r[t?a(e[n]):e[n]]=!0;return r}function F(e,t){t&&t.length&&r(e,M(t))}var P=function(e,t){if(function(){try{return!!i("")}catch(e){return!1}}())return i;if(!t||!t.implementation)throw h("noinert","Can't create an inert html document");var n=t.implementation.createHTMLDocument("inert"),r=(n.documentElement||n.getDocumentElement()).querySelector("body");return function(e){return r.innerHTML=e,t.documentMode&&N(r),r};function i(t){t="<remove></remove>"+t;try{var n=(new e.DOMParser).parseFromString(t,"text/html").body;return n.firstChild.remove(),n}catch(e){return}}}(e,e.document);function j(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function R(e){return e.replace(/&/g,"&amp;").replace(m,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace($,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function N(t){for(;t;){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r<i;r++){var o=n[r],s=o.name.toLowerCase();"xmlns:ns1"!==s&&0!==s.lastIndexOf("ns1:",0)||(t.removeAttributeNode(o),r--,i--)}var a=t.firstChild;a&&N(a),t=V("nextSibling",t)}}function V(e,t){var n=t[e];if(n&&u.call(t,n))throw h("elclob","Failed to sanitize html because the element is clobbered: {0}",t.outerHTML||t.outerText);return n}})).info({angularVersion:"1.8.2"}),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((s?ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i,i=t.$$minErr("linky"),o=t.isDefined,s=t.isFunction,a=t.isObject,u=t.isString;return function(t,l,h){if(null==t||""===t)return t;if(!u(t))throw i("notstring","Expected string but received: {0}",t);for(var p,d,m,$=s(h)?h:a(h)?function(){return h}:function(){return{}},g=t,v=[];p=g.match(n);)d=p[0],p[2]||p[4]||(d=(p[3]?"http://":"mailto:")+d),m=p.index,y(g.substr(0,m)),b(d,p[0].replace(r,"")),g=g.substring(m+p[0].length);return y(g),e(v.join(""));function y(e){var t,n;e&&v.push((t=e,f(n=[],c).chars(t),n.join("")))}function b(e,t){var n,r=$(e);for(n in v.push("<a "),r)v.push(n+'="'+r[n]+'" ');o(l)&&!("target"in r)&&v.push('target="',l,'" '),v.push('href="',e.replace(/"/g,"&quot;"),'">'),y(t),v.push("</a>")}}}])}(window,window.angular)},9326:(e,t,n)=>{n(8952),e.exports="ngSanitize"},6916:()=>{!function(e,t){"use strict";var n=t.module("ngTouch",[]);function r(e,r,i){n.directive(e,["$parse","$swipe",function(n,o){return function(s,a,c){var u,l,f=n(c[e]),h=["touch"];t.isDefined(c.ngSwipeDisableMouse)||h.push("mouse"),o.bind(a,{start:function(e,t){u=e,l=!0},cancel:function(e){l=!1},end:function(e,t){(function(e){if(!u)return!1;var t=Math.abs(e.y-u.y),n=(e.x-u.x)*r;return l&&t<75&&n>0&&n>30&&t/n<.3})(e)&&s.$apply((function(){a.triggerHandler(i),f(s,{$event:t})}))}},h)}}])}n.info({angularVersion:"1.8.2"}),n.factory("$swipe",[function(){var e={mouse:{start:"mousedown",move:"mousemove",end:"mouseup"},touch:{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"},pointer:{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}};function n(e){var t=e.originalEvent||e,n=t.touches&&t.touches.length?t.touches:[t],r=t.changedTouches&&t.changedTouches[0]||n[0];return{x:r.clientX,y:r.clientY}}function r(n,r){var i=[];return t.forEach(n,(function(t){var n=e[t][r];n&&i.push(n)})),i.join(" ")}return{bind:function(e,t,i){var o,s,a,c,u=!1;i=i||["mouse","touch","pointer"],e.on(r(i,"start"),(function(e){a=n(e),u=!0,o=0,s=0,c=a,t.start&&t.start(a,e)}));var l=r(i,"cancel");l&&e.on(l,(function(e){u=!1,t.cancel&&t.cancel(e)})),e.on(r(i,"move"),(function(e){if(u&&a){var r=n(e);if(o+=Math.abs(r.x-c.x),s+=Math.abs(r.y-c.y),c=r,!(o<10&&s<10))return s>o?(u=!1,void(t.cancel&&t.cancel(e))):(e.preventDefault(),void(t.move&&t.move(r,e)))}})),e.on(r(i,"end"),(function(e){u&&(u=!1,t.end&&t.end(n(e),e))}))}}}]),r("ngSwipeLeft",-1,"swipeleft"),r("ngSwipeRight",1,"swiperight")}(window,window.angular)},5746:(e,t,n)=>{n(6916),e.exports="ngTouch"},7808:()=>{!function(e){"use strict";var t={objectMaxDepth:5,urlErrorParamsEnabled:!0};function n(e){if(!D(e))return t;I(e.objectMaxDepth)&&(t.objectMaxDepth=r(e.objectMaxDepth)?e.objectMaxDepth:NaN),I(e.urlErrorParamsEnabled)&&G(e.urlErrorParamsEnabled)&&(t.urlErrorParamsEnabled=e.urlErrorParamsEnabled)}function r(e){return B(e)&&e>0}function i(e,n){n=n||Error;var r="https://errors.angularjs.org/1.8.2/",i=r.replace(".","\\.")+"[\\s\\S]*",o=new RegExp(i,"g");return function(){var i,s,a=arguments[0],c=arguments[1],u="["+(e?e+":":"")+a+"] ",l=fe(arguments,2).map((function(e){return Be(e,t.objectMaxDepth)}));if(u+=c.replace(/\{\d+\}/g,(function(e){var t=+e.slice(1,-1);return t<l.length?l[t].replace(o,""):e})),u+="\n"+r+(e?e+"/":"")+a,t.urlErrorParamsEnabled)for(s=0,i="?";s<l.length;s++,i="&")u+=i+"p"+s+"="+encodeURIComponent(l[s]);return new n(u)}}var o,s,a,c,u=/^\/(.+)\/([a-z]*)$/,l=Object.prototype.hasOwnProperty,f=function(e){return U(e)?e.toLowerCase():e},h=function(e){return U(e)?e.toUpperCase():e},p=[].slice,d=[].splice,m=[].push,$=Object.prototype.toString,g=Object.getPrototypeOf,v=i("ng"),y=e.angular||(e.angular={}),b=0;function w(e){if(null==e||Y(e))return!1;if(H(e)||U(e)||s&&e instanceof s)return!0;var t="length"in Object(e)&&e.length;return B(t)&&(t>=0&&t-1 in e||"function"==typeof e.item)}function C(e,t,n){var r,i;if(e)if(W(e))for(r in e)"prototype"!==r&&"length"!==r&&"name"!==r&&e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else if(H(e)||w(e)){var o="object"!=typeof e;for(r=0,i=e.length;r<i;r++)(o||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==C)e.forEach(t,n,e);else if(L(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)l.call(e,r)&&t.call(n,e[r],r,e);return e}function x(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function k(e){return function(t,n){e(n,t)}}function E(){return++b}function S(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function A(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var s=t[i];if(D(s)||W(s))for(var a=Object.keys(s),c=0,u=a.length;c<u;c++){var l=a[c],f=s[l];n&&D(f)?q(f)?e[l]=new Date(f.valueOf()):K(f)?e[l]=new RegExp(f):f.nodeName?e[l]=f.cloneNode(!0):te(f)?e[l]=f.clone():"__proto__"!==l&&(D(e[l])||(e[l]=H(f)?[]:{}),A(e[l],[f],!0)):e[l]=f}}return S(e,r),e}function O(e){return A(e,p.call(arguments,1),!1)}function T(e){return A(e,p.call(arguments,1),!0)}function _(e){return parseInt(e,10)}o=e.document.documentMode;var M=Number.isNaN||function(e){return e!=e};function F(e,t){return O(Object.create(e),t)}function P(){}function j(e){return e}function R(e){return function(){return e}}function N(e){return W(e.toString)&&e.toString!==$}function V(e){return void 0===e}function I(e){return void 0!==e}function D(e){return null!==e&&"object"==typeof e}function L(e){return null!==e&&"object"==typeof e&&!g(e)}function U(e){return"string"==typeof e}function B(e){return"number"==typeof e}function q(e){return"[object Date]"===$.call(e)}function H(e){return Array.isArray(e)||e instanceof Array}function z(e){switch($.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function W(e){return"function"==typeof e}function K(e){return"[object RegExp]"===$.call(e)}function Y(e){return e&&e.window===e}function J(e){return e&&e.$evalAsync&&e.$watch}function G(e){return"boolean"==typeof e}function Z(e){return e&&W(e.then)}P.$inject=[],j.$inject=[];var X=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,Q=function(e){return U(e)?e.trim():e},ee=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function te(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function ne(e){return f(e.nodeName||e[0]&&e[0].nodeName)}function re(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function ie(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function oe(e,t,n){var i,o,s=[],a=[];if(n=r(n)?n:NaN,t){if((o=t)&&B(o.length)&&X.test($.call(o))||(i=t,"[object ArrayBuffer]"===$.call(i)))throw v("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw v("cpi","Can't copy! Source and destination are identical.");return H(t)?t.length=0:C(t,(function(e,n){"$$hashKey"!==n&&delete t[n]})),s.push(e),a.push(t),c(e,t,n)}return u(e,n);function c(e,t,n){if(--n<0)return"...";var r,i=t.$$hashKey;if(H(e))for(var o=0,s=e.length;o<s;o++)t.push(u(e[o],n));else if(L(e))for(r in e)t[r]=u(e[r],n);else if(e&&"function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&(t[r]=u(e[r],n));else for(r in e)l.call(e,r)&&(t[r]=u(e[r],n));return S(t,i),t}function u(e,t){if(!D(e))return e;var n=s.indexOf(e);if(-1!==n)return a[n];if(Y(e)||J(e))throw v("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=function(e){switch($.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(u(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(W(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===i&&(i=H(e)?[]:Object.create(g(e)),r=!0),s.push(e),a.push(i),r?c(e,i,t):i}}function se(e,t){return e===t||e!=e&&t!=t}function ae(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,i,o=typeof e;if(o===typeof t&&"object"===o){if(!H(e)){if(q(e))return!!q(t)&&se(e.getTime(),t.getTime());if(K(e))return!!K(t)&&e.toString()===t.toString();if(J(e)||J(t)||Y(e)||Y(t)||H(t)||q(t)||K(t))return!1;for(r in i=Ie(),e)if("$"!==r.charAt(0)&&!W(e[r])){if(!ae(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&I(t[r])&&!W(t[r]))return!1;return!0}if(!H(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!ae(e[r],t[r]))return!1;return!0}}return!1}var ce=function(){if(!I(ce.rules)){var t=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(t){var n=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");ce.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else ce.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return ce.rules},ue=function(){if(I(ue.name_))return ue.name_;var t,n,r,i,o=Ee.length;for(n=0;n<o;++n)if(r=Ee[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return ue.name_=i};function le(e,t,n){return e.concat(p.call(t,n))}function fe(e,t){return p.call(e,t||0)}function he(e,t){var n=arguments.length>2?fe(arguments,2):[];return!W(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,le(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function pe(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:Y(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":J(n)&&(r="$SCOPE"),r}function de(e,t){if(!V(e))return B(t)||(t=t?2:null),JSON.stringify(e,pe,t)}function me(e){return U(e)?JSON.parse(e):e}var $e=/:/g;function ge(e,t){e=e.replace($e,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return M(n)?t:n}function ve(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function ye(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return ve(e,n*(ge(t,r)-r))}function be(e){e=s(e).clone().empty();var t=s("<div></div>").append(e).html();try{return e[0].nodeType===Le?f(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,(function(e,t){return"<"+f(t)}))}catch(e){return f(t)}}function we(e){try{return decodeURIComponent(e)}catch(e){}}function Ce(e){var t={};return C((e||"").split("&"),(function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),-1!==(n=e.indexOf("="))&&(r=e.substring(0,n),i=e.substring(n+1)),I(r=we(r))&&(i=!I(i)||we(i),l.call(t,r)?H(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))})),t}function xe(e){return ke(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ke(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var Ee=["ng-","data-ng-","ng:","x-ng-"],Se=function(t){var n=t.currentScript;if(!n)return!0;if(!(n instanceof e.HTMLScriptElement||n instanceof e.SVGScriptElement))return!1;var r=n.attributes;return[r.getNamedItem("src"),r.getNamedItem("href"),r.getNamedItem("xlink:href")].every((function(e){if(!e)return!0;if(!e.value)return!1;var n=t.createElement("a");if(n.href=e.value,t.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}))}(e.document);function Ae(t,n,r){D(r)||(r={}),r=O({strictDi:!1},r);var i=function(){if((t=s(t)).injector()){var i=t[0]===e.document?"document":be(t);throw v("btstrpd","App already bootstrapped with this element '{0}'",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}(n=n||[]).unshift(["$provide",function(e){e.value("$rootElement",t)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=Gt(n,r.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply((function(){t.data("$injector",r),n(t)(e)}))}]),o},o=/^NG_ENABLE_DEBUG_INFO!/,a=/^NG_DEFER_BOOTSTRAP!/;if(e&&o.test(e.name)&&(r.debugInfoEnabled=!0,e.name=e.name.replace(o,"")),e&&!a.test(e.name))return i();e.name=e.name.replace(a,""),y.resumeBootstrap=function(e){return C(e,(function(e){n.push(e)})),i()},W(y.resumeDeferredBootstrap)&&y.resumeDeferredBootstrap()}function Oe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function Te(e){var t=y.element(e).injector();if(!t)throw v("test","no injector found for element argument to getTestability");return t.get("$$testability")}var _e=/[A-Z]/g;function Me(e,t){return t=t||"_",e.replace(_e,(function(e,n){return(n?t:"")+e.toLowerCase()}))}var Fe=!1;function Pe(){ft.legacyXHTMLReplacement=!0}function je(e,t,n){if(!e)throw v("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function Re(e,t,n){return n&&H(e)&&(e=e[e.length-1]),je(W(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function Ne(e,t){if("hasOwnProperty"===e)throw v("badname","hasOwnProperty is not a valid {0} name",t)}function Ve(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=s(p.call(e,0,i))),t.push(n));return t||e}function Ie(){return Object.create(null)}function De(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!N(e)||H(e)||q(e)?de(e):e.toString()}return e}var Le=3;function Ue(e,t){if(H(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(D(e))for(var i in t=t||{},e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function Be(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):V(e)?"undefined":"string"!=typeof e?function(e,t){var n=[];return r(t)&&(e=y.copy(e,null,t)),JSON.stringify(e,(function(e,t){if(D(t=pe(e,t))){if(n.indexOf(t)>=0)return"...";n.push(t)}return t}))}(e,t):e}var qe={full:"1.8.2",major:1,minor:8,dot:2,codeName:"meteoric-mining"};ft.expando="ng339";var He=ft.cache={},ze=1;ft._data=function(e){return this.cache[e[this.expando]]||{}};var We=/-([a-z])/g,Ke=/^-ms-/,Ye={mouseleave:"mouseout",mouseenter:"mouseover"},Je=i("jqLite");function Ge(e,t){return t.toUpperCase()}function Ze(e){return e.replace(We,Ge)}var Xe=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Qe=/<|&#?\w+;/,et=/<([\w:-]+)/,tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,nt={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};nt.tbody=nt.tfoot=nt.colgroup=nt.caption=nt.thead,nt.th=nt.td;var rt={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var it in nt){var ot=nt[it],st=ot.slice().reverse();rt[it]=[st.length,"<"+st.join("><")+">","</"+ot.join("></")+">"]}function at(e){return!Qe.test(e)}function ct(e){var t=e.nodeType;return 1===t||!t||9===t}function ut(t,n){var r,i,s,a,c,u=n.createDocumentFragment(),l=[];if(at(t))l.push(n.createTextNode(t));else{if(r=u.appendChild(n.createElement("div")),i=(et.exec(t)||["",""])[1].toLowerCase(),a=ft.legacyXHTMLReplacement?t.replace(tt,"<$1></$2>"):t,o<10)for(s=rt[i]||rt._default,r.innerHTML=s[1]+a+s[2],c=s[0];c--;)r=r.firstChild;else{for(c=(s=nt[i]||[]).length;--c>-1;)r.appendChild(e.document.createElement(s[c])),r=r.firstChild;r.innerHTML=a}l=le(l,r.childNodes),(r=u.firstChild).textContent=""}return u.textContent="",u.innerHTML="",C(l,(function(e){u.appendChild(e)})),u}rt.optgroup=rt.option;var lt=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function ft(t){if(t instanceof ft)return t;var n,r,i,o;if(U(t)&&(t=Q(t),n=!0),!(this instanceof ft)){if(n&&"<"!==t.charAt(0))throw Je("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ft(t)}n?xt(this,(r=t,i=i||e.document,(o=Xe.exec(r))?[i.createElement(o[1])]:(o=ut(r,i))?o.childNodes:[])):W(t)?Ot(t):xt(this,t)}function ht(e){return e.cloneNode(!0)}function pt(e,t){!t&&ct(e)&&s.cleanData([e]),e.querySelectorAll&&s.cleanData(e.querySelectorAll("*"))}function dt(e){var t;for(t in e)return!1;return!0}function mt(e){var t=e.ng339,n=t&&He[t],r=n&&n.events,i=n&&n.data;i&&!dt(i)||r&&!dt(r)||(delete He[t],e.ng339=void 0)}function $t(e,t,n,r){if(I(r))throw Je("offargs","jqLite#off() does not support the `selector` argument");var i=vt(e),o=i&&i.events,s=i&&i.handle;if(s){if(t){var a=function(t){var r=o[t];I(n)&&ie(r||[],n),I(n)&&r&&r.length>0||(e.removeEventListener(t,s),delete o[t])};C(t.split(" "),(function(e){a(e),Ye[e]&&a(Ye[e])}))}else for(t in o)"$destroy"!==t&&e.removeEventListener(t,s),delete o[t];mt(e)}}function gt(e,t){var n=e.ng339,r=n&&He[n];r&&(t?delete r.data[t]:r.data={},mt(e))}function vt(e,t){var n=e.ng339,r=n&&He[n];return t&&!r&&(e.ng339=n=++ze,r=He[n]={events:{},data:{},handle:void 0}),r}function yt(e,t,n){if(ct(e)){var r,i=I(n),o=!i&&t&&!D(t),s=!t,a=vt(e,!o),c=a&&a.data;if(i)c[Ze(t)]=n;else{if(s)return c;if(o)return c&&c[Ze(t)];for(r in t)c[Ze(r)]=t[r]}}}function bt(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function wt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;C(t.split(" "),(function(e){e=Q(e),r=r.replace(" "+e+" "," ")})),r!==n&&e.setAttribute("class",Q(r))}}function Ct(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;C(t.split(" "),(function(e){e=Q(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")})),r!==n&&e.setAttribute("class",Q(r))}}function xt(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function kt(e,t){return Et(e,"$"+(t||"ngController")+"Controller")}function Et(e,t,n){9===e.nodeType&&(e=e.documentElement);for(var r=H(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(I(n=s.data(e,r[i])))return n;e=e.parentNode||11===e.nodeType&&e.host}}function St(e){for(pt(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function At(e,t){t||pt(e);var n=e.parentNode;n&&n.removeChild(e)}function Ot(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}var Tt=ft.prototype={ready:Ot,toString:function(){var e=[];return C(this,(function(t){e.push(""+t)})),"["+e.join(", ")+"]"},eq:function(e){return s(e>=0?this[e]:this[this.length+e])},length:0,push:m,sort:[].sort,splice:[].splice},_t={};C("multiple,selected,checked,disabled,readOnly,required,open".split(","),(function(e){_t[f(e)]=e}));var Mt={};C("input,select,option,textarea,button,form,details".split(","),(function(e){Mt[e]=!0}));var Ft={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function Pt(e,t){var n=_t[t.toLowerCase()];return n&&Mt[ne(e)]&&n}function jt(e,t,n){n.call(e,t)}function Rt(e,t,n){var r=t.relatedTarget;r&&(r===e||lt.call(e,r))||n.call(e,t)}function Nt(){this.$get=function(){return O(ft,{hasClass:function(e,t){return e.attr&&(e=e[0]),bt(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Ct(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),wt(e,t)}})}}function Vt(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return"function"===r||"object"===r&&null!==e?e.$$hashKey=r+":"+(t||E)():r+":"+e}C({data:yt,removeData:gt,hasData:function(e){for(var t in He[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)gt(e[t]),$t(e[t])}},(function(e,t){ft[t]=e})),C({data:yt,inheritedData:Et,scope:function(e){return s.data(e,"$scope")||Et(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return s.data(e,"$isolateScope")||s.data(e,"$isolateScopeNoTemplate")},controller:kt,injector:function(e){return Et(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:bt,css:function(e,t,n){if(t=function(e){return Ze(e.replace(Ke,"ms-"))}(t),!I(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==Le&&2!==i&&8!==i&&e.getAttribute){var o=f(t),s=_t[o];if(!I(n))return r=e.getAttribute(t),s&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&s?e.removeAttribute(t):e.setAttribute(t,s?o:n)}},prop:function(e,t,n){if(!I(n))return e[t];e[t]=n},text:function(){return e.$dv="",e;function e(e,t){if(V(t)){var n=e.nodeType;return 1===n||n===Le?e.textContent:""}e.textContent=t}}(),val:function(e,t){if(V(t)){if(e.multiple&&"select"===ne(e)){var n=[];return C(e.options,(function(e){e.selected&&n.push(e.value||e.text)})),n}return e.value}e.value=t},html:function(e,t){if(V(t))return e.innerHTML;pt(e,!0),e.innerHTML=t},empty:St},(function(e,t){ft.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==St&&V(2===e.length&&e!==bt&&e!==kt?t:n)){if(D(t)){for(r=0;r<o;r++)if(e===yt)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var s=e.$dv,a=V(s)?Math.min(o,1):o,c=0;c<a;c++){var u=e(this[c],t,n);s=s?s+u:u}return s}for(r=0;r<o;r++)e(this[r],t,n);return this}})),C({removeData:gt,on:function(e,t,n,r){if(I(r))throw Je("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ct(e)){var i=vt(e,!0),o=i.events,s=i.handle;s||(s=i.handle=function(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(V(n.immediatePropagationStopped)){var s=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),s&&s.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var a=i.specialHandlerWrapper||jt;o>1&&(i=Ue(i));for(var c=0;c<o;c++)n.isImmediatePropagationStopped()||a(e,n,i[c])}};return n.elem=e,n}(e,o));for(var a=t.indexOf(" ")>=0?t.split(" "):[t],c=a.length,u=function(t,r,i){var a=o[t];a||((a=o[t]=[]).specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,s)),a.push(n)};c--;)t=a[c],Ye[t]?(u(Ye[t],Rt),u(t,void 0,!0)):u(t)}},off:$t,one:function(e,t,n){(e=s(e)).on(t,(function r(){e.off(t,n),e.off(t,r)})),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;pt(e),C(new ft(t),(function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t}))},children:function(e){var t=[];return C(e.childNodes,(function(e){1===e.nodeType&&t.push(e)})),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(1===n||11===n)for(var r=0,i=(t=new ft(t)).length;r<i;r++){var o=t[r];e.appendChild(o)}},prepend:function(e,t){if(1===e.nodeType){var n=e.firstChild;C(new ft(t),(function(t){e.insertBefore(t,n)}))}},wrap:function(e,t){var n,r,i;n=e,r=s(t).eq(0).clone()[0],(i=n.parentNode)&&i.replaceChild(r,n),r.appendChild(n)},remove:At,detach:function(e){At(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r)for(var i=0,o=(t=new ft(t)).length;i<o;i++){var s=t[i];r.insertBefore(s,n.nextSibling),n=s}},addClass:Ct,removeClass:wt,toggleClass:function(e,t,n){t&&C(t.split(" "),(function(t){var r=n;V(r)&&(r=!bt(e,t)),(r?Ct:wt)(e,t)}))},parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:ht,triggerHandler:function(e,t,n){var r,i,o,s=t.type||t,a=vt(e),c=a&&a.events,u=c&&c[s];u&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:P,type:s,target:e},t.type&&(r=O(r,t)),i=Ue(u),o=n?[r].concat(n):[r],C(i,(function(t){r.isImmediatePropagationStopped()||t.apply(e,o)})))}},(function(e,t){ft.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;o<a;o++)V(i)?I(i=e(this[o],t,n,r))&&(i=s(i)):xt(i,e(this[o],t,n,r));return I(i)?i:this}})),ft.prototype.bind=ft.prototype.on,ft.prototype.unbind=ft.prototype.off;var It=Object.create(null);function Dt(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}Dt.prototype={_idx:function(e){return e!==this._lastKey&&(this._lastKey=e,this._lastIndex=this._keys.indexOf(e)),this._lastIndex},_transformKey:function(e){return M(e)?It:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(-1!==t)return this._values[t]},has:function(e){return e=this._transformKey(e),-1!==this._idx(e)},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){e=this._transformKey(e);var t=this._idx(e);return-1!==t&&(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Lt=Dt,Ut=[function(){this.$get=[function(){return Lt}]}],Bt=/^([^(]+?)=>/,qt=/^[^(]*\(\s*([^)]*)\)/m,Ht=/,/,zt=/^\s*(_?)(\S+?)\1\s*$/,Wt=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Kt=i("$injector");function Yt(e){return Function.prototype.toString.call(e)}function Jt(e){var t=Yt(e).replace(Wt,"");return t.match(Bt)||t.match(qt)}function Gt(e,t){t=!0===t;var n={},r="Provider",i=[],s=new Lt,a={$provide:{provider:d(m),factory:d(g),service:d((function(e,t){return g(e,["$injector",function(e){return e.instantiate(t)}])})),value:d((function(e,t){return g(e,R(t),!1)})),constant:d((function(e,t){Ne(e,"constant"),a[e]=t,l[e]=t})),decorator:function(e,t){var n=u.get(e+r),i=n.$get;n.$get=function(){var e=h.invoke(i,n);return h.invoke(t,null,{$delegate:e})}}}},u=a.$injector=b(a,(function(e,t){throw y.isString(t)&&i.push(t),Kt("unpr","Unknown provider: {0}",i.join(" <- "))})),l={},f=b(l,(function(e,t){var n=u.get(e+r,t);return h.invoke(n.$get,n,void 0,e)})),h=f;a.$injectorProvider={$get:R(f)},h.modules=u.modules=Ie();var p=v(e);return(h=f.get("$injector")).strictDi=t,C(p,(function(e){e&&h.invoke(e)})),h.loadNewModules=function(e){C(v(e),(function(e){e&&h.invoke(e)}))},h;function d(e){return function(t,n){if(!D(t))return e(t,n);C(t,k(e))}}function m(e,t){if(Ne(e,"service"),(W(t)||H(t))&&(t=u.instantiate(t)),!t.$get)throw Kt("pget","Provider '{0}' must define $get factory method.",e);return a[e+r]=t}function $(e,t){return function(){var n=h.invoke(t,this);if(V(n))throw Kt("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function g(e,t,n){return m(e,{$get:!1!==n?$(e,t):t})}function v(e){je(V(e)||H(e),"modulesToLoad","not an array");var t,n=[];return C(e,(function(e){if(!s.get(e)){s.set(e,!0);try{U(e)?(t=c(e),h.modules[e]=t,n=n.concat(v(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):W(e)||H(e)?n.push(u.invoke(e)):Re(e,"module")}catch(t){throw H(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1===t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),Kt("modulerr","Failed to instantiate module {0} due to:\n{1}",e,t.stack||t.message||t)}}function r(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=u.get(r[0]);i[r[1]].apply(i,r[2])}}})),n}function b(e,s){function c(t,r){if(e.hasOwnProperty(t)){if(e[t]===n)throw Kt("cdep","Circular dependency found: {0}",t+" <- "+i.join(" <- "));return e[t]}try{return i.unshift(t),e[t]=n,e[t]=s(t,r),e[t]}catch(r){throw e[t]===n&&delete e[t],r}finally{i.shift()}}function u(e,n,r){for(var i=[],o=Gt.$$annotate(e,t,r),s=0,a=o.length;s<a;s++){var u=o[s];if("string"!=typeof u)throw Kt("itkn","Incorrect injection token! Expected service name as string, got {0}",u);i.push(n&&n.hasOwnProperty(u)?n[u]:c(u,r))}return i}return{invoke:function(e,t,n,r){"string"==typeof n&&(r=n,n=null);var i=u(e,n,r);return H(e)&&(e=e[e.length-1]),function(e){if(o||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return G(t)||(t=e.$$ngIsClass=/^class\b/.test(Yt(e))),t}(e)?(i.unshift(null),new(Function.prototype.bind.apply(e,i))):e.apply(t,i)},instantiate:function(e,t,n){var r=H(e)?e[e.length-1]:e,i=u(e,t,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:c,annotate:Gt.$$annotate,has:function(t){return a.hasOwnProperty(t+r)||e.hasOwnProperty(t)}}}}function Zt(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(n,r,i){var o=n.document;function a(e){if(e){e.scrollIntoView();var t=function(){var e=c.yOffset;if(W(e))e=e();else if(te(e)){var t=e[0];e="fixed"!==n.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else B(e)||(e=0);return e}();if(t){var r=e.getBoundingClientRect().top;n.scrollBy(0,r-t)}}else n.scrollTo(0,0)}function c(e){var t,n,i;(e=U(e)?e:B(e)?e.toString():r.hash())?(t=o.getElementById(e))?a(t):(n=o.getElementsByName(e),i=null,Array.prototype.some.call(n,(function(e){if("a"===ne(e))return i=e,!0})),(t=i)?a(t):"top"===e&&a(null)):a(null)}return t&&i.$watch((function(){return r.hash()}),(function(t,n){var r,o;t===n&&""===t||(r=function(){i.$evalAsync(c)},"complete"===(o=o||e).document.readyState?o.setTimeout(r):s(o).on("load",r))})),c}]}Gt.$$annotate=function(e,t,n){var r,i;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw U(n)&&n||(n=e.name||function(e){var t=Jt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(e)),Kt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);C(Jt(e)[1].split(Ht),(function(e){e.replace(zt,(function(e,t,n){r.push(n)}))}))}e.$inject=r}}else H(e)?(Re(e[i=e.length-1],"fn"),r=e.slice(0,i)):Re(e,"fn",!0);return r};var Xt=i("$animate"),Qt="ng-animate";function en(e,t){return e||t?e?t?(H(e)&&(e=e.join(" ")),H(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function tn(e){return D(e)?e:{}}var nn=function(){this.$get=P},rn=function(){var e=new Lt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:P,on:P,off:P,pin:P,push:function(s,a,c,u){u&&u(),(c=c||{}).from&&s.css(c.from),c.to&&s.css(c.to),(c.addClass||c.removeClass)&&function(n,s,a){var c=e.get(n)||{},u=i(c,s,!0),l=i(c,a,!1);(u||l)&&(e.set(n,c),t.push(n),1===t.length&&r.$$postDigest(o))}(s,c.addClass,c.removeClass);var l=new n;return l.complete(),l}};function i(e,t,n){var r=!1;return t&&C(t=U(t)?t.split(" "):H(t)?t:[],(function(t){t&&(r=!0,e[t]=n)})),r}function o(){C(t,(function(t){var n=e.get(t);if(n){var r=function(e){U(e)&&(e=e.split(" "));var t=Ie();return C(e,(function(e){e.length&&(t[e]=!0)})),t}(t.attr("class")),i="",o="";C(n,(function(e,t){e!==!!r[t]&&(e?i+=(i.length?" ":"")+t:o+=(o.length?" ":"")+t)})),C(t,(function(e){i&&Ct(e,i),o&&wt(e,o)})),e.delete(t)}})),t.length=0}}]},on=["$provide",function(e){var t=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Xt("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.customFilter=function(e){return 1===arguments.length&&(r=W(e)?e:null),r},this.classNameFilter=function(e){if(1===arguments.length&&(n=e instanceof RegExp?e:null)){var t=new RegExp("[(\\s|\\/)]ng-animate[(\\s|\\/)]");if(t.test(n.toString()))throw n=null,Xt("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Qt)}return n},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(1===n.nodeType)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.cancel&&e.cancel()},enter:function(n,r,i,o){return r=r&&s(r),i=i&&s(i),t(n,r=r||i.parent(),i),e.push(n,"enter",tn(o))},move:function(n,r,i,o){return r=r&&s(r),i=i&&s(i),t(n,r=r||i.parent(),i),e.push(n,"move",tn(o))},leave:function(t,n){return e.push(t,"leave",tn(n),(function(){t.remove()}))},addClass:function(t,n,r){return(r=tn(r)).addClass=en(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return(r=tn(r)).removeClass=en(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return(i=tn(i)).addClass=en(i.addClass,n),i.removeClass=en(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return(o=tn(o)).from=o.from?O(o.from,n):n,o.to=o.to?O(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=en(o.tempClasses,i),e.push(t,"animate",o)}}}]}],sn=function(){this.$get=["$$rAF",function(e){var t=[];function n(n){t.push(n),t.length>1||e((function(){for(var e=0;e<t.length;e++)t[e]();t=[]}))}return function(){var e=!1;return n((function(){e=!0})),function(t){e?t():n(t)}}}]},an=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,i){function o(e){this.setHost(e);var t=n();this._doneCallbacks=[],this._tick=function(e){r()?function(e){i(e,0,!1)}(e):t(e)},this._state=0}return o.chain=function(e,t){var n=0;!function r(){n!==e.length?e[n]((function(e){!1!==e?(n++,r()):t(!1)})):t(!0)}()},o.all=function(e,t){var n=0,r=!0;function i(i){r=r&&i,++n===e.length&&t(r)}C(e,(function(e){e.done(i)}))},o.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:P,getPromise:function(){if(!this.promise){var t=this;this.promise=e((function(e,n){t.done((function(t){!1===t?n():e()}))}))}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick((function(){t._resolve(e)})))},_resolve:function(e){2!==this._state&&(C(this._doneCallbacks,(function(t){t(e)})),this._doneCallbacks.length=0,this._state=2)}},o}]},cn=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){var i=r||{};i.$$prepared||(i=oe(i)),i.cleanupStyles&&(i.from=i.to=null),i.from&&(t.css(i.from),i.from=null);var o,s=new n;return{start:a,end:a};function a(){return e((function(){i.addClass&&(t.addClass(i.addClass),i.addClass=null),i.removeClass&&(t.removeClass(i.removeClass),i.removeClass=null),i.to&&(t.css(i.to),i.to=null),o||s.complete(),o=!0})),s}}}]};function un(e,t,n,r,i){var o=this,a=e.location,c=e.history,u=e.setTimeout,l=e.clearTimeout,f={},h=i(n);o.isMock=!1,o.$$completeOutstandingRequest=h.completeTask,o.$$incOutstandingRequestCount=h.incTaskCount,o.notifyWhenNoOutstandingRequests=h.notifyWhenNoPendingTasks;var p,d,m=a.href,$=t.find("base"),g=null,v=r.history?function(){try{return c.state}catch(e){}}:P;k(),o.url=function(t,n,i){if(V(i)&&(i=null),a!==e.location&&(a=e.location),c!==e.history&&(c=e.history),t){var s=d===i;if(t=ai(t).href,m===t&&(!r.history||s))return o;var u=m&&sr(m)===sr(t);return m=t,d=i,!r.history||u&&s?(u||(g=t),n?a.replace(t):u?a.hash=function(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}(t):a.href=t,a.href!==t&&(g=t)):(c[n?"replaceState":"pushState"](i,"",t),k()),g&&(g=t),o}return function(e){return e.replace(/#$/,"")}(g||a.href)},o.state=function(){return p};var y=[],b=!1;function w(){g=null,E()}var x=null;function k(){ae(p=V(p=v())?null:p,x)&&(p=x),x=p,d=p}function E(){var e=d;k(),m===o.url()&&e===p||(m=o.url(),d=p,C(y,(function(e){e(o.url(),p)})))}o.onUrlChange=function(t){return b||(r.history&&s(e).on("popstate",w),s(e).on("hashchange",w),b=!0),y.push(t),t},o.$$applicationDestroyed=function(){s(e).off("hashchange popstate",w)},o.$$checkUrlChange=E,o.baseHref=function(){var e=$.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},o.defer=function(e,t,n){var r;return t=t||0,n=n||h.DEFAULT_TASK_TYPE,h.incTaskCount(n),r=u((function(){delete f[r],h.completeTask(e,n)}),t),f[r]=n,r},o.defer.cancel=function(e){if(f.hasOwnProperty(e)){var t=f[e];return delete f[e],l(e),h.completeTask(P,t),!0}return!1}}function ln(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(e,t,n,r,i){return new un(e,r,t,n,i)}]}function fn(){this.$get=function(){var e={};function t(t,n){if(t in e)throw i("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var r=0,o=O({},n,{id:t}),s=Ie(),a=n&&n.capacity||Number.MAX_VALUE,c=Ie(),u=null,l=null;return e[t]={put:function(e,t){if(!V(t))return a<Number.MAX_VALUE&&f(c[e]||(c[e]={key:e})),e in s||r++,s[e]=t,r>a&&this.remove(l.key),t},get:function(e){if(a<Number.MAX_VALUE){var t=c[e];if(!t)return;f(t)}return s[e]},remove:function(e){if(a<Number.MAX_VALUE){var t=c[e];if(!t)return;t===u&&(u=t.p),t===l&&(l=t.n),h(t.n,t.p),delete c[e]}e in s&&(delete s[e],r--)},removeAll:function(){s=Ie(),r=0,c=Ie(),u=l=null},destroy:function(){s=null,o=null,c=null,delete e[t]},info:function(){return O({},o,{size:r})}};function f(e){e!==u&&(l?l===e&&(l=e.n):l=e,h(e.n,e.p),h(e,u),(u=e).n=null)}function h(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}}return t.info=function(){var t={};return C(e,(function(e,n){t[n]=e.info()})),t},t.get=function(t){return e[t]},t}}function hn(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var pn=i("$compile"),dn=new function(){};function mn(t,n){var r={},i="Directive",a=/^\s*directive:\s*([\w-]+)\s+(.*)$/,c=/(([\w-]+)(?::([^;]+))?;?)/,u=function(e){var t,n={},r="ngSrc,ngSrcset,src,srcset".split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}(),h=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,p=/^(on[a-z]+|formaction)$/,d=Ie();function m(e,t,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=Ie();return C(e,(function(e,o){if((e=e.trim())in d)i[o]=d[e];else{var s=e.match(r);if(!s)throw pn("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,o,e,n?"controller bindings definition":"isolate scope definition");i[o]={mode:s[1][0],collection:"*"===s[2],optional:"?"===s[3],attrName:s[4]||o},s[4]&&(d[e]=i[o])}})),i}function g(e,t){var n={isolateScope:null,bindToController:null};if(D(e.scope)&&(!0===e.bindToController?(n.bindToController=m(e.scope,t,!0),n.isolateScope={}):n.isolateScope=m(e.scope,t,!1)),D(e.bindToController)&&(n.bindToController=m(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw pn("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}this.directive=function e(n,o){return je(n,"name"),Ne(n,"directive"),U(n)?(function(e){var t=e.charAt(0);if(!t||t!==f(t))throw pn("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw pn("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(n),je(o,"directiveFactory"),r.hasOwnProperty(n)||(r[n]=[],t.factory(n+i,["$injector","$exceptionHandler",function(e,t){var i=[];return C(r[n],(function(r,o){try{var s=e.invoke(r);W(s)?s={compile:R(s)}:!s.compile&&s.link&&(s.compile=R(s.link)),s.priority=s.priority||0,s.index=o,s.name=s.name||n,s.require=function(e){var t=e.require||e.controller&&e.name;return!H(t)&&D(t)&&C(t,(function(e,n){var r=e.match(h);e.substring(r[0].length)||(t[n]=r[0]+n)})),t}(s),s.restrict=function(e,t){if(e&&(!U(e)||!/[EACM]/.test(e)))throw pn("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}(s.restrict,n),s.$$moduleName=r.$$moduleName,i.push(s)}catch(e){t(e)}})),i}])),r[n].push(o)):C(n,k(e)),this},this.component=function e(t,n){if(!U(t))return C(t,k(he(this,e))),this;var r=n.controller||function(){};function i(e){function t(t){return W(t)||H(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var i=n.template||n.templateUrl?n.template:"",o={controller:r,controllerAs:kn(n.controller)||n.controllerAs||"$ctrl",template:t(i),templateUrl:t(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return C(n,(function(e,t){"$"===t.charAt(0)&&(o[t]=e)})),o}return C(n,(function(e,t){"$"===t.charAt(0)&&(i[t]=e,W(r)&&(r[t]=e))})),i.$inject=["$injector"],this.directive(t,i)},this.aHrefSanitizationTrustedUrlList=function(e){return I(e)?(n.aHrefSanitizationTrustedUrlList(e),this):n.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(e){this.aHrefSanitizationTrustedUrlList=e}}),this.imgSrcSanitizationTrustedUrlList=function(e){return I(e)?(n.imgSrcSanitizationTrustedUrlList(e),this):n.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(e){this.imgSrcSanitizationTrustedUrlList=e}});var v=!0;this.debugInfoEnabled=function(e){return I(e)?(v=e,this):v};var y=!1;this.strictComponentBindingsEnabled=function(e){return I(e)?(y=e,this):y};var b=10;this.onChangesTtl=function(e){return arguments.length?(b=e,this):b};var w=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(w=e,this):w};var x=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(x=e,this):x};var E=Ie();this.addPropertySecurityContext=function(e,t,n){var r=e.toLowerCase()+"|"+t.toLowerCase();if(r in E&&E[r]!==n)throw pn("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",e,t,E[r],n);return E[r]=n,this},function(){function e(e,t){C(t,(function(t){E[t.toLowerCase()]=e}))}e(qr.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),e(qr.CSS,["*|style"]),e(qr.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),e(qr.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),e(qr.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,n,d,m,k,S,A,T,_){var M,R=/^\w/,N=e.document.createElement("div"),I=w,L=x,B=b;function q(){try{if(!--B)throw M=void 0,pn("infchng","{0} $onChanges() iterations reached. Aborting!\n",b);A.$apply((function(){for(var e=0,t=M.length;e<t;++e)try{M[e]()}catch(e){d(e)}M=void 0}))}finally{B++}}function K(e,t){if(!e)return e;if(!U(e))throw pn("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',t,e.toString());for(var n="",r=Q(e),i=/\s/.test(r)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,o=r.split(i),s=Math.floor(o.length/2),a=0;a<s;a++){var c=2*a;n+=T.getTrustedMediaUrl(Q(o[c])),n+=" "+Q(o[c+1])}var u=Q(o[2*a]).split(/\s/);return n+=T.getTrustedMediaUrl(Q(u[0])),2===u.length&&(n+=" "+Q(u[1])),n}function Y(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;n<r;n++)this[i=o[n]]=t[i]}else this.$attr={};this.$$element=e}function Z(e,t){try{e.addClass(t)}catch(e){}}Y.prototype={$normalize:yn,$addClass:function(e){e&&e.length>0&&_.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&_.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=bn(e,t);n&&n.length&&_.addClass(this.$$element,n);var r=bn(t,e);r&&r.length&&_.removeClass(this.$$element,r)},$set:function(e,t,n,r){var i=Pt(this.$$element[0],e),o=Ft[e],s=e;i?(this.$$element.prop(e,t),r=i):o&&(this[o]=t,s=o),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=Me(e,"-")),"img"===ne(this.$$element)&&"srcset"===e&&(this[e]=t=K(t,"$set('srcset', value)")),!1!==n&&(null===t||V(t)?this.$$element.removeAttr(r):R.test(r)?i&&!1===t?this.$$element.removeAttr(r):this.$$element.attr(r,t):function(e,t,n){N.innerHTML="<span "+t+">";var r=N.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}(this.$$element[0],r,t));var a=this.$$observers;a&&C(a[s],(function(e){try{e(t)}catch(e){d(e)}}))},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=Ie()),i=r[e]||(r[e]=[]);return i.push(t),A.$evalAsync((function(){i.$$inter||!n.hasOwnProperty(e)||V(n[e])||t(n[e])})),function(){ie(i,t)}}};var X=n.startSymbol(),ee=n.endSymbol(),te="{{"===X&&"}}"===ee?j:function(e){return e.replace(/\{\{/g,X).replace(/}}/g,ee)},re=/^ng(Attr|Prop|On)([A-Z].*)$/,oe=/^(.+)Start$/;return ce.$$addBindingInfo=v?function(e,t){var n=e.data("$binding")||[];H(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:P,ce.$$addBindingClass=v?function(e){Z(e,"ng-binding")}:P,ce.$$addScopeInfo=v?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:P,ce.$$addScopeClass=v?function(e,t){Z(e,t?"ng-isolate-scope":"ng-scope")}:P,ce.$$createComment=function(t,n){var r="";return v&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},ce;function ce(e,t,n,r,i){e instanceof s||(e=s(e));var o=ue(e,t,e,n,r,i);ce.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw pn("multilink","This element has already been linked.");je(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new());var c,u,l,f=(r=r||{}).parentBoundTranscludeFn,h=r.transcludeControllers,p=r.futureParentElement;if(f&&f.$$boundTransclude&&(f=f.$$boundTransclude),a||(u=(c=p)&&c[0],a=u&&"foreignobject"!==ne(u)&&$.call(u).match(/SVG/)?"svg":"html"),l="html"!==a?s(Oe(a,s("<div></div>").append(e).html())):n?Tt.clone.call(e):e,h)for(var d in h)l.data("$"+d+"Controller",h[d].instance);return ce.$$addScopeInfo(l,t),n&&n(l,t),o&&o(t,l,l,f),n||(e=o=null),l}}function ue(e,t,n,r,i,a){for(var c,u,l,f,h,p,d,m=[],$=H(e)||e instanceof s,g=0;g<e.length;g++)c=new Y,11===o&&le(e,g,$),(l=(u=de(e[g],[],c,0===g?r:void 0,i)).length?ve(u,e[g],c,t,n,null,[],[],a):null)&&l.scope&&ce.$$addScopeClass(c.$$element),h=l&&l.terminal||!(f=e[g].childNodes)||!f.length?null:ue(f,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:t),(l||h)&&(m.push(g,l,h),p=!0,d=d||l),a=null;return p?function(e,n,r,i){var o,a,c,u,l,f,h,p;if(d){var $=n.length;for(p=new Array($),l=0;l<m.length;l+=3)p[h=m[l]]=n[h]}else p=n;for(l=0,f=m.length;l<f;)c=p[m[l++]],o=m[l++],a=m[l++],o?(o.scope?(u=e.$new(),ce.$$addScopeInfo(s(c),u)):u=e,o(a,u,c,r,o.transcludeOnThisElement?pe(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?pe(e,t):null)):a&&a(e,c.childNodes,void 0,i)}:null}function le(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===Le)for(;(r=o?i.nextSibling:e[t+1])&&r.nodeType===Le;)i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}function pe(e,t,n){function r(r,i,o,s,a){return r||((r=e.$new(!1,a)).$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:s})}var i=r.$$slots=Ie();for(var o in t.$$slots)t.$$slots[o]?i[o]=pe(e,t.$$slots[o],n):i[o]=null;return r}function de(e,t,r,i,o){var s,u,l,f=e.nodeType,h=r.$attr;switch(f){case 1:Ce(t,yn(u=ne(e)),"E",i,o);for(var p,d,m,$,g,v=e.attributes,y=0,b=v&&v.length;y<b;y++){var w,C=!1,x=!1,k=!1,E=!1,S=!1;d=(p=v[y]).name,$=p.value,(g=(m=yn(d.toLowerCase())).match(re))?(k="Attr"===g[1],E="Prop"===g[1],S="On"===g[1],d=d.replace(gn,"").toLowerCase().substr(4+g[1].length).replace(/_(.)/g,(function(e,t){return t.toUpperCase()}))):(w=m.match(oe))&&xe(w[1])&&(C=d,x=d.substr(0,d.length-5)+"end",d=d.substr(0,d.length-6)),E||S?(r[m]=$,h[m]=p.name,E?_e(e,t,m,d):Fe(t,m,d)):(h[m=yn(d.toLowerCase())]=d,!k&&r.hasOwnProperty(m)||(r[m]=$,Pt(e,m)&&(r[m]=!0)),Pe(e,t,$,m,k),Ce(t,m,"A",i,o,C,x))}if("input"===u&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!L)break;if(D(l=e.className)&&(l=l.animVal),U(l)&&""!==l)for(;s=c.exec(l);)Ce(t,m=yn(s[2]),"C",i,o)&&(r[m]=Q(s[3])),l=l.substr(s.index+s[0].length);break;case Le:!function(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&ce.$$addBindingClass(t),function(e,t){var i=t.parent();n||ce.$$addBindingClass(i),ce.$$addBindingInfo(i,r.expressions),e.$watch(r,(function(e){t[0].nodeValue=e}))}}})}(t,e.nodeValue);break;case 8:if(!I)break;!function(e,t,n,r,i){try{var o=a.exec(e.nodeValue);if(o){var s=yn(o[1]);Ce(t,s,"M",r,i)&&(n[s]=Q(o[2]))}}catch(e){}}(e,t,r,i,o)}return t.sort(Se),t}function me(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw pn("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);1===e.nodeType&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return s(r)}function $e(e,t,n){return function(r,i,o,s,a){return i=me(i[0],t,n),e(r,i,o,s,a)}}function ge(e,t,n,r,i,o){var s;return e?ce(t,n,r,i,o):function(){return s||(s=ce(t,n,r,i,o),t=n=o=null),s.apply(this,arguments)}}function ve(t,n,r,i,o,a,c,u,l){l=l||{};for(var f,h,p,m,$,g=-Number.MAX_VALUE,v=l.newScopeDirective,y=l.controllerDirectives,b=l.newIsolateScopeDirective,w=l.templateDirective,x=l.nonTlbTranscludeDirective,k=!1,E=!1,A=l.hasElementTranscludeDirective,T=r.$$element=s(n),_=a,M=i,F=!1,P=!1,j=0,R=t.length;j<R;j++){var N=(f=t[j]).$$start,I=f.$$end;if(N&&(T=me(n,N,I)),p=void 0,g>f.priority)break;if(($=f.scope)&&(f.templateUrl||(D($)?(Ae("new/isolated scope",b||v,f,T),b=f):Ae("new/isolated scope",b,f,T)),v=v||f),h=f.name,!F&&(f.replace&&(f.templateUrl||f.template)||f.transclude&&!f.$$tlb)){for(var L,U=j+1;L=t[U++];)if(L.transclude&&!L.$$tlb||L.replace&&(L.templateUrl||L.template)){P=!0;break}F=!0}if(!f.templateUrl&&f.controller&&(y=y||Ie(),Ae("'"+h+"' controller",y[h],f,T),y[h]=f),$=f.transclude)if(k=!0,f.$$tlb||(Ae("transclusion",x,f,T),x=f),"element"===$)A=!0,g=f.priority,p=T,T=r.$$element=s(ce.$$createComment(h,r[h])),n=T[0],Re(o,fe(p),n),M=ge(P,p,i,g,_&&_.name,{nonTlbTranscludeDirective:x});else{var B=Ie();if(D($)){p=e.document.createDocumentFragment();var q=Ie(),z=Ie();for(var K in C($,(function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,q[e]=t,B[t]=null,z[t]=n})),C(T.contents(),(function(t){var n=q[yn(ne(t))];n?(z[n]=!0,B[n]=B[n]||e.document.createDocumentFragment(),B[n].appendChild(t)):p.appendChild(t)})),C(z,(function(e,t){if(!e)throw pn("reqslot","Required transclusion slot `{0}` was not filled.",t)})),B)if(B[K]){var G=s(B[K].childNodes);B[K]=ge(P,G,i)}p=s(p.childNodes)}else p=s(ht(n)).contents();T.empty(),(M=ge(P,p,i,void 0,void 0,{needsNewScope:f.$$isolateScope||f.$$newScope})).$$slots=B}if(f.template)if(E=!0,Ae("template",w,f,T),w=f,$=W(f.template)?f.template(T,r):f.template,$=te($),f.replace){if(_=f,p=at($)?[]:wn(Oe(f.templateNamespace,Q($))),n=p[0],1!==p.length||1!==n.nodeType)throw pn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",h,"");Re(o,T,n);var Z={$attr:{}},X=de(n,[],Z),ee=t.splice(j+1,t.length-(j+1));(b||v)&&we(X,b,v),t=t.concat(X).concat(ee),ke(r,Z),R=t.length}else T.html($);if(f.templateUrl)E=!0,Ae("template",w,f,T),w=f,f.replace&&(_=f),oe=Ee(t.splice(j,t.length-j),T,r,o,k&&M,c,u,{controllerDirectives:y,newScopeDirective:v!==f&&v,newIsolateScopeDirective:b,templateDirective:w,nonTlbTranscludeDirective:x}),R=t.length;else if(f.compile)try{m=f.compile(T,r,M);var re=f.$$originalDirective||f;W(m)?ie(null,he(re,m),N,I):m&&ie(he(re,m.pre),he(re,m.post),N,I)}catch(e){d(e,be(T))}f.terminal&&(oe.terminal=!0,g=Math.max(g,f.priority))}return oe.scope=v&&!0===v.scope,oe.transcludeOnThisElement=k,oe.templateOnThisElement=E,oe.transclude=M,l.hasElementTranscludeDirective=A,oe;function ie(e,t,n,r){e&&(n&&(e=$e(e,n,r)),e.require=f.require,e.directiveName=h,(b===f||f.$$isolateScope)&&(e=Ne(e,{isolateScope:!0})),c.push(e)),t&&(n&&(t=$e(t,n,r)),t.require=f.require,t.directiveName=h,(b===f||f.$$isolateScope)&&(t=Ne(t,{isolateScope:!0})),u.push(t))}function oe(e,t,i,o,a){var l,f,h,p,m,$,g,x,k,E;for(var T in n===i?(k=r,x=r.$$element):k=new Y(x=s(i),r),m=t,b?p=t.$new(!0):v&&(m=t.$parent),a&&((g=function(e,t,n,r){var i;if(J(e)||(r=n,n=t,t=e,e=void 0),A&&(i=$),n||(n=A?x.parent():x),!r)return a(e,t,i,n,P);var o=a.$$slots[r];if(o)return o(e,t,i,n,P);if(V(o))throw pn("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,be(x))}).$$boundTransclude=a,g.isSlotFilled=function(e){return!!a.$$slots[e]}),y&&($=function(e,t,n,r,i,o,s){var a=Ie();for(var c in r){var u=r[c],l={$scope:u===s||u.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=u.controller;"@"===f&&(f=t[u.name]);var h=S(f,l,!0,u.controllerAs);a[u.name]=h,e.data("$"+u.name+"Controller",h.instance)}return a}(x,k,g,y,p,t,b)),b&&(ce.$$addScopeInfo(x,p,!0,!(w&&(w===b||w===b.$$originalDirective))),ce.$$addScopeClass(x,!0),p.$$isolateBindings=b.$$isolateBindings,(E=Ue(t,k,p,p.$$isolateBindings,b)).removeWatches&&p.$on("$destroy",E.removeWatches)),$){var _=y[T],M=$[T],F=_.$$bindings.bindToController;M.instance=M(),x.data("$"+_.name+"Controller",M.instance),M.bindingInfo=Ue(m,k,M.instance,F,_)}for(C(y,(function(e,t){var n=e.require;e.bindToController&&!H(n)&&D(n)&&O($[t].instance,ye(t,n,x,$))})),C($,(function(e){var t=e.instance;if(W(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){d(e)}if(W(t.$onInit))try{t.$onInit()}catch(e){d(e)}W(t.$doCheck)&&(m.$watch((function(){t.$doCheck()})),t.$doCheck()),W(t.$onDestroy)&&m.$on("$destroy",(function(){t.$onDestroy()}))})),l=0,f=c.length;l<f;l++)Ve(h=c[l],h.isolateScope?p:t,x,k,h.require&&ye(h.directiveName,h.require,x,$),g);var P=t;for(b&&(b.template||null===b.templateUrl)&&(P=p),e&&e(P,i.childNodes,void 0,a),l=u.length-1;l>=0;l--)Ve(h=u[l],h.isolateScope?p:t,x,k,h.require&&ye(h.directiveName,h.require,x,$),g);C($,(function(e){var t=e.instance;W(t.$postLink)&&t.$postLink()}))}}function ye(e,t,n,r){var i;if(U(t)){var o=t.match(h),s=t.substring(o[0].length),a=o[1]||o[3],c="?"===o[2];if("^^"===a?n=n.parent():i=(i=r&&r[s])&&i.instance,!i){var u="$"+s+"Controller";i="^^"===a&&n[0]&&9===n[0].nodeType?null:a?n.inheritedData(u):n.data(u)}if(!i&&!c)throw pn("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(H(t)){i=[];for(var l=0,f=t.length;l<f;l++)i[l]=ye(e,t[l],n,r)}else D(t)&&(i={},C(t,(function(t,o){i[o]=ye(e,t,n,r)})));return i||null}function we(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=F(e[r],{$$isolateScope:t,$$newScope:n})}function Ce(e,n,o,s,a,c,u){if(n===a)return null;var l=null;if(r.hasOwnProperty(n))for(var f,h=t.get(n+i),p=0,d=h.length;p<d;p++)if(f=h[p],(V(s)||s>f.priority)&&-1!==f.restrict.indexOf(o)){if(c&&(f=F(f,{$$start:c,$$end:u})),!f.$$bindings){var m=f.$$bindings=g(f,f.name);D(m.isolateScope)&&(f.$$isolateBindings=m.isolateScope)}e.push(f),l=f}return l}function xe(e){if(r.hasOwnProperty(e))for(var n=t.get(e+i),o=0,s=n.length;o<s;o++)if(n[o].multiElement)return!0;return!1}function ke(e,t){var n=t.$attr,r=e.$attr;C(e,(function(r,i){"$"!==i.charAt(0)&&(t[i]&&t[i]!==r&&(r.length?r+=("style"===i?";":" ")+t[i]:r=t[i]),e.$set(i,r,!0,n[i]))})),C(t,(function(t,i){e.hasOwnProperty(i)||"$"===i.charAt(0)||(e[i]=t,"class"!==i&&"style"!==i&&(r[i]=n[i]))}))}function Ee(e,t,n,r,i,o,a,c){var u,l,f=[],h=t[0],p=e.shift(),$=F(p,{templateUrl:null,transclude:null,replace:null,$$originalDirective:p}),g=W(p.templateUrl)?p.templateUrl(t,n):p.templateUrl,v=p.templateNamespace;return t.empty(),m(g).then((function(d){var m,y,b,w;if(d=te(d),p.replace){if(b=at(d)?[]:wn(Oe(v,Q(d))),m=b[0],1!==b.length||1!==m.nodeType)throw pn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",p.name,g);y={$attr:{}},Re(r,t,m);var x=de(m,[],y);D(p.scope)&&we(x,!0),e=x.concat(e),ke(n,y)}else m=h,t.html(d);for(e.unshift($),u=ve(e,m,n,i,t,p,o,a,c),C(r,(function(e,n){e===m&&(r[n]=t[0])})),l=ue(t[0].childNodes,i);f.length;){var k=f.shift(),E=f.shift(),S=f.shift(),A=f.shift(),O=t[0];if(!k.$$destroyed){if(E!==h){var T=E.className;c.hasElementTranscludeDirective&&p.replace||(O=ht(m)),Re(S,s(E),O),Z(s(O),T)}w=u.transcludeOnThisElement?pe(k,u.transclude,A):A,u(l,k,O,r,w)}}f=null})).catch((function(e){z(e)&&d(e)})),function(e,t,n,r,i){var o=i;t.$$destroyed||(f?f.push(t,n,r,o):(u.transcludeOnThisElement&&(o=pe(t,u.transclude,i)),u(l,t,n,r,o)))}}function Se(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function Ae(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw pn("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,be(r))}function Oe(t,n){switch(t=f(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function Te(e){return K(T.valueOf(e),"ng-prop-srcset")}function _e(e,t,n,r){if(p.test(r))throw pn("nodomevents","Property bindings for HTML DOM event properties are disallowed");var i=ne(e),o=function(e,t){var n=t.toLowerCase();return E[e+"|"+n]||E["*|"+n]}(i,r),s=j;"srcset"!==r||"img"!==i&&"source"!==i?o&&(s=T.getTrusted.bind(T,o)):s=Te,t.push({priority:100,compile:function(e,t){var i=k(t[n]),o=k(t[n],(function(e){return T.valueOf(e)}));return{pre:function(e,t){function n(){var n=i(e);t[0][r]=s(n)}n(),e.$watch(o,n)}}}})}function Fe(e,t,n){e.push(Po(k,A,d,t,n,!1))}function Pe(e,t,r,i,o){var s=ne(e),a=function(e,t){return"srcdoc"===t?T.HTML:"src"===t||"ngSrc"===t?-1===["img","video","audio","source","track"].indexOf(e)?T.RESOURCE_URL:T.MEDIA_URL:"xlinkHref"===t?"image"===e?T.MEDIA_URL:"a"===e?T.URL:T.RESOURCE_URL:"form"===e&&"action"===t||"base"===e&&"href"===t||"link"===e&&"href"===t?T.RESOURCE_URL:"a"!==e||"href"!==t&&"ngHref"!==t?void 0:T.URL}(s,i),c=!o,l=u[i]||o,f=n(r,c,a,l);if(f){if("multiple"===i&&"select"===s)throw pn("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",be(e));if(p.test(i))throw pn("nodomevents","Interpolations for HTML DOM event attributes are disallowed");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var s=o.$$observers||(o.$$observers=Ie()),c=o[i];c!==r&&(f=c&&n(c,!0,a,l),r=c),f&&(o[i]=f(e),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(f,(function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)})))}}}})}}function Re(t,n,r){var i,o,a=n[0],c=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i<o;i++)if(t[i]===a){t[i++]=r;for(var l=i,f=l+c-1,h=t.length;l<h;l++,f++)f<h?t[l]=t[f]:delete t[l];t.length-=c-1,t.context===a&&(t.context=r);break}u&&u.replaceChild(r,a);var p=e.document.createDocumentFragment();for(i=0;i<c;i++)p.appendChild(n[i]);for(s.hasData(a)&&(s.data(r,s.data(a)),s(a).off("$destroy")),s.cleanData(p.querySelectorAll("*")),i=1;i<c;i++)delete n[i];n[0]=r,n.length=1}function Ne(e,t){return O((function(){return e.apply(null,arguments)}),e,t)}function Ve(e,t,n,r,i,o){try{e(t,n,r,i,o)}catch(e){d(e,be(n))}}function De(e,t){if(y)throw pn("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",e,t)}function Ue(e,t,r,i,o){var s,a=[],c={};function u(t,n,i){W(r.$onChanges)&&!se(n,i)&&(M||(e.$$postDigest(q),M=[]),s||(s={},M.push(f)),s[t]&&(i=s[t].previousValue),s[t]=new $n(i,n))}function f(){r.$onChanges(s),s=void 0}return C(i,(function(i,s){var f,h,p,d,m,$=i.attrName,g=i.optional;switch(i.mode){case"@":g||l.call(t,$)||(De($,o.name),r[s]=t[$]=void 0),m=t.$observe($,(function(e){if(U(e)||G(e)){var t=r[s];u(s,e,t),r[s]=e}})),t.$$observers[$].$$scope=e,U(f=t[$])?r[s]=n(f)(e):G(f)&&(r[s]=f),c[s]=new $n(dn,r[s]),a.push(m);break;case"=":if(!l.call(t,$)){if(g)break;De($,o.name),t[$]=void 0}if(g&&!t[$])break;h=k(t[$]),d=h.literal?ae:se,p=h.assign||function(){throw f=r[s]=h(e),pn("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[$],$,o.name)},f=r[s]=h(e);var v=function(t){return d(t,r[s])||(d(t,f)?p(e,t=r[s]):r[s]=t),f=t};v.$stateful=!0,m=i.collection?e.$watchCollection(t[$],v):e.$watch(k(t[$],v),null,h.literal),a.push(m);break;case"<":if(!l.call(t,$)){if(g)break;De($,o.name),t[$]=void 0}if(g&&!t[$])break;var y=(h=k(t[$])).literal,b=r[s]=h(e);c[s]=new $n(dn,r[s]),m=e[i.collection?"$watchCollection":"$watch"](h,(function(e,t){if(t===e){if(t===b||y&&ae(t,b))return;t=b}u(s,e,t),r[s]=e})),a.push(m);break;case"&":if(g||l.call(t,$)||De($,o.name),(h=t.hasOwnProperty($)?k(t[$]):P)===P&&g)break;r[s]=function(t){return h(e,t)}}})),{initialChanges:c,removeWatches:a.length&&function(){for(var e=0,t=a.length;e<t;++e)a[e]()}}}}]}function $n(e,t){this.previousValue=e,this.currentValue=t}mn.$inject=["$provide","$$sanitizeUriProvider"],$n.prototype.isFirstChange=function(){return this.previousValue===dn};var gn=/^((?:x|data)[:\-_])/i,vn=/[:\-_]+(.)/g;function yn(e){return e.replace(gn,"").replace(vn,(function(e,t,n){return n?t.toUpperCase():t}))}function bn(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var s=r[o],a=0;a<i.length;a++)if(s===i[a])continue e;n+=(n.length>0?" ":"")+s}return n}function wn(e){var t=(e=s(e)).length;if(t<=1)return e;for(;t--;){var n=e[t];(8===n.nodeType||n.nodeType===Le&&""===n.nodeValue.trim())&&d.call(e,t,1)}return e}var Cn=i("$controller"),xn=/^(\S+)(\s+as\s+([\w$]+))?$/;function kn(e,t){if(t&&U(t))return t;if(U(e)){var n=xn.exec(e);if(n)return n[3]}}function En(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){Ne(t,"controller"),D(t)?O(e,t):e[t]=n},this.$get=["$injector",function(t){return function(r,i,o,s){var a,c,u,l;if(o=!0===o,s&&U(s)&&(l=s),U(r)){if(!(c=r.match(xn)))throw Cn("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(u=c[1],l=l||c[3],!(r=e.hasOwnProperty(u)?e[u]:function(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=i.length,s=0;s<o;s++)r=i[s],e&&(e=e[r]);return e}(i.$scope,u)))throw Cn("ctrlreg","The controller with the name '{0}' is not registered.",u);Re(r,u,!0)}if(o){var f=(H(r)?r[r.length-1]:r).prototype;return a=Object.create(f||null),l&&n(i,l,a,u||r.name),O((function(){var e=t.invoke(r,a,i,u);return e!==a&&(D(e)||W(e))&&(a=e,l&&n(i,l,a,u||r.name)),a}),{instance:a,identifier:l})}return a=t.instantiate(r,i,u),l&&n(i,l,a,u||r.name),a};function n(e,t,n,r){if(!e||!D(e.$scope))throw i("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function Sn(){this.$get=["$window",function(e){return s(e.document)}]}function An(){this.$get=["$document","$rootScope",function(e,t){var n=e[0],r=n&&n.hidden;function i(){r=n.hidden}return e.on("visibilitychange",i),t.$on("$destroy",(function(){e.off("visibilitychange",i)})),function(){return r}}]}function On(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}var Tn=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof s&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},_n={"Content-Type":"application/json;charset=utf-8"},Mn=/^\[|^\{(?!\{)/,Fn={"[":/]$/,"{":/}$/},Pn=/^\)]\}',?\n/,jn=i("$http");function Rn(e){return D(e)?q(e)?e.toISOString():de(e):e}function Nn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return x(e,(function(e,n){null===e||V(e)||W(e)||(H(e)?C(e,(function(e){t.push(ke(n)+"="+ke(Rn(e)))})):t.push(ke(n)+"="+ke(Rn(e))))})),t.join("&")}}}function Vn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function e(n,r,i){H(n)?C(n,(function(t,n){e(t,r+"["+(D(t)?n:"")+"]")})):D(n)&&!q(n)?x(n,(function(t,n){e(t,r+(i?"":"[")+n+(i?"":"]"))})):(W(n)&&(n=n()),t.push(ke(r)+"="+(null==n?"":ke(Rn(n)))))}(e,"",!0),t.join("&")}}}function In(e,t){if(U(e)){var n=e.replace(Pn,"").trim();if(n){var r=t("Content-Type"),i=r&&0===r.indexOf("application/json");if(i||(s=(o=n).match(Mn))&&Fn[s[0]].test(o))try{e=me(n)}catch(t){if(!i)return e;throw jn("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,t)}}}var o,s;return e}function Dn(e){var t,n=Ie();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return U(e)?C(e.split("\n"),(function(e){t=e.indexOf(":"),r(f(Q(e.substr(0,t))),Q(e.substr(t+1)))})):D(e)&&C(e,(function(e,t){r(f(t),Q(e))})),n}function Ln(e){var t;return function(n){if(t||(t=Dn(e)),n){var r=t[f(n)];return void 0===r&&(r=null),r}return t}}function Un(e,t,n,r){return W(r)?r(e,t,n):(C(r,(function(r){e=r(e,t,n)})),e)}function Bn(e){return 200<=e&&e<300}function qn(){var e=this.defaults={transformResponse:[In],transformRequest:[function(e){return!D(e)||(t=e,"[object File]"===$.call(t))||function(e){return"[object Blob]"===$.call(e)}(e)||function(e){return"[object FormData]"===$.call(e)}(e)?e:de(e);var t}],headers:{common:{Accept:"application/json, text/plain, */*"},post:Ue(_n),put:Ue(_n),patch:Ue(_n)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(e){return I(e)?(t=!!e,this):t};var n=this.interceptors=[],r=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(e){this.xsrfTrustedOrigins=e}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,s,a,c,u,l,p,d){var m=c("$http");e.paramSerializer=U(e.paramSerializer)?p.get(e.paramSerializer):e.paramSerializer;var $=[];C(n,(function(e){$.unshift(U(e)?p.get(e):p.invoke(e))}));var g,v=(g=[oi].concat(r.map(ai)),function(e){var t=ai(e);return g.some(ci.bind(null,t))});function y(n){if(!D(n))throw i("$http")("badreq","Http request configuration must be an object.  Received: {0}",n);if(!U(d.valueOf(n.url)))throw i("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",n.url);var r=O({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},n);r.headers=function(t){var n,r,i,o=e.headers,s=O({},t.headers);o=O({},o.common,o[f(t.method)]);e:for(n in o){for(i in r=f(n),s)if(f(i)===r)continue e;s[n]=o[n]}return function(e,t){var n,r={};return C(e,(function(e,i){W(e)?null!=(n=e(t))&&(r[i]=n):r[i]=e})),r}(s,Ue(t))}(n),r.method=h(r.method),r.paramSerializer=U(r.paramSerializer)?p.get(r.paramSerializer):r.paramSerializer,o.$$incOutstandingRequestCount("$http");var c=[],g=[],b=l.resolve(r);return C($,(function(e){(e.request||e.requestError)&&c.unshift(e.request,e.requestError),(e.response||e.responseError)&&g.push(e.response,e.responseError)})),b=w(b,c),(b=w(b=b.then((function(n){var r=n.headers,i=Un(n.data,Ln(r),void 0,n.transformRequest);return V(i)&&C(r,(function(e,t){"content-type"===f(t)&&delete r[t]})),V(n.withCredentials)&&!V(e.withCredentials)&&(n.withCredentials=e.withCredentials),function(n,r){var i,o,c=l.defer(),h=c.promise,p=n.headers,$="jsonp"===f(n.method),g=n.url;if($?g=d.getTrustedResourceUrl(g):U(g)||(g=d.valueOf(g)),g=function(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}(g,n.paramSerializer(n.params)),$&&(g=function(e,t){var n=e.split("?");if(n.length>2)throw jn("badjsonp",'Illegal use more than one "?", in url, "{1}"',e);return C(Ce(n[1]),(function(n,r){if("JSON_CALLBACK"===n)throw jn("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(r===t)throw jn("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e)})),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}(g,n.jsonpCallbackParam)),y.pendingRequests.push(n),h.then(E,E),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(i=D(n.cache)?n.cache:D(e.cache)?e.cache:m),i&&(I(o=i.get(g))?Z(o)?o.then(k,k):H(o)?x(o[1],o[0],Ue(o[2]),o[3],o[4]):x(o,200,{},"OK","complete"):i.put(g,h)),V(o)){var b=v(n.url)?a()[n.xsrfCookieName||e.xsrfCookieName]:void 0;b&&(p[n.xsrfHeaderName||e.xsrfHeaderName]=b),s(n.method,g,r,(function(e,n,r,o,s){function a(){x(n,e,r,o,s)}i&&(Bn(e)?i.put(g,[e,n,Dn(r),o,s]):i.remove(g)),t?u.$applyAsync(a):(a(),u.$$phase||u.$apply())}),p,n.timeout,n.withCredentials,n.responseType,w(n.eventHandlers),w(n.uploadEventHandlers))}return h;function w(e){if(e){var n={};return C(e,(function(e,r){n[r]=function(n){function r(){e(n)}t?u.$applyAsync(r):u.$$phase?r():u.$apply(r)}})),n}}function x(e,t,r,i,o){(Bn(t=t>=-1?t:0)?c.resolve:c.reject)({data:e,status:t,headers:Ln(r),config:n,statusText:i,xhrStatus:o})}function k(e){x(e.data,e.status,Ue(e.headers()),e.statusText,e.xhrStatus)}function E(){var e=y.pendingRequests.indexOf(n);-1!==e&&y.pendingRequests.splice(e,1)}}(n,i).then(x,x)})),g)).finally((function(){o.$$completeOutstandingRequest(P,"$http")}));function w(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],o=t[n++];e=e.then(i,o)}return t.length=0,e}function x(e){var t=O({},e);return t.data=Un(e.data,e.headers,e.status,r.transformResponse),Bn(e.status)?t:l.reject(t)}}return y.pendingRequests=[],function(e){C(arguments,(function(e){y[e]=function(t,n){return y(O({},n||{},{method:e,url:t}))}}))}("get","delete","head","jsonp"),function(e){C(arguments,(function(e){y[e]=function(t,n,r){return y(O({},r||{},{method:e,url:t,data:n}))}}))}("post","put","patch"),y.defaults=e,y}]}function Hn(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function zn(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return function(e,t,n,r,i){return function(o,s,a,c,u,l,h,p,d,m){if(s=s||e.url(),"jsonp"===f(o))var $=r.createCallback(s),g=function(e,t,n){e=e.replace("JSON_CALLBACK",t);var o=i.createElement("script"),s=null;return o.type="text/javascript",o.src=e,o.async=!0,s=function(e){o.removeEventListener("load",s),o.removeEventListener("error",s),i.body.removeChild(o),o=null;var a=-1,c="unknown";e&&("load"!==e.type||r.wasCalled(t)||(e={type:"error"}),c=e.type,a="error"===e.type?404:200),n&&n(a,c)},o.addEventListener("load",s),o.addEventListener("error",s),i.body.appendChild(o),s}(s,$,(function(e,t){var n=200===e&&r.getResponse($);x(c,e,n,"",t,"complete"),r.removeCallback($)}));else{var v=t(o,s),y=!1;v.open(o,s,!0),C(u,(function(e,t){I(e)&&v.setRequestHeader(t,e)})),v.onload=function(){var e=v.statusText||"",t="response"in v?v.response:v.responseText,n=1223===v.status?204:v.status;0===n&&(n=t?200:"file"===ai(s).protocol?404:0),x(c,n,t,v.getAllResponseHeaders(),e,"complete")};if(v.onerror=function(){x(c,-1,null,null,"","error")},v.ontimeout=function(){x(c,-1,null,null,"","timeout")},v.onabort=function(){x(c,-1,null,null,"",y?"timeout":"abort")},C(d,(function(e,t){v.addEventListener(t,e)})),C(m,(function(e,t){v.upload.addEventListener(t,e)})),h&&(v.withCredentials=!0),p)try{v.responseType=p}catch(e){if("json"!==p)throw e}v.send(V(a)?null:a)}if(l>0)var b=n((function(){w("timeout")}),l);else Z(l)&&l.then((function(){w(I(l.$$timeoutId)?"timeout":"abort")}));function w(e){y="timeout"===e,g&&g(),v&&v.abort()}function x(e,t,r,i,o,s){I(b)&&n.cancel(b),g=v=null,e(t,r,i,o,s)}}}(e,r,e.defer,t,n[0])}]}var Wn=y.$interpolateMinErr=i("$interpolate");function Kn(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){var o=e.length,s=t.length,a=new RegExp(e.replace(/./g,u),"g"),c=new RegExp(t.replace(/./g,u),"g");function u(e){return"\\\\\\"+e}function l(n){return n.replace(a,e).replace(c,t)}function f(e,t,n,r){var i=e.$watch((function(e){return i(),r(e)}),t,n);return i}function h(a,c,u,h){var p=u===i.URL||u===i.MEDIA_URL;if(!a.length||-1===a.indexOf(e)){if(c)return;var d=l(a);p&&(d=i.getTrusted(u,d));var m=R(d);return m.exp=a,m.expressions=[],m.$$watchDelegate=f,m}h=!!h;for(var $,g,v,y,b,w=0,C=[],x=a.length,k=[],E=[];w<x;){if(-1===($=a.indexOf(e,w))||-1===(g=a.indexOf(t,$+o))){w!==x&&k.push(l(a.substring(w)));break}w!==$&&k.push(l(a.substring(w,$))),y=a.substring($+o,g),C.push(y),w=g+s,E.push(k.length),k.push("")}b=1===k.length&&1===E.length;var S=p&&b?void 0:function(e){try{return e=u&&!p?i.getTrusted(u,e):i.valueOf(e),h&&!I(e)?e:De(e)}catch(e){r(Wn.interr(a,e))}};if(v=C.map((function(e){return n(e,S)})),!c||C.length){var A=function(e){for(var t=0,n=C.length;t<n;t++){if(h&&V(e[t]))return;k[E[t]]=e[t]}return p?i.getTrusted(u,b?k[0]:k.join("")):(u&&k.length>1&&Wn.throwNoconcat(a),k.join(""))};return O((function(e){var t=0,n=C.length,i=new Array(n);try{for(;t<n;t++)i[t]=v[t](e);return A(i)}catch(e){r(Wn.interr(a,e))}}),{exp:a,expressions:C,$$watchDelegate:function(e,t){var n;return e.$watchGroup(v,(function(r,i){var o=A(r);t.call(this,o,r!==i?n:o,e),n=o}))}})}}return h.startSymbol=function(){return e},h.endSymbol=function(){return t},h}]}Wn.throwNoconcat=function(e){throw Wn("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",e)},Wn.interr=function(e,t){return Wn("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Yn=i("$interval");function Jn(){this.$get=["$$intervalFactory","$window",function(e,t){var n={},r=function(e){t.clearInterval(e),delete n[e]},i=e((function(e,r,i){var o=t.setInterval(e,r);return n[o]=i,o}),r);return i.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$intervalId"))throw Yn("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!n.hasOwnProperty(e.$$intervalId))return!1;var t=e.$$intervalId,i=n[t];return Ir(i.promise),i.reject("canceled"),r(t),!0},i}]}function Gn(){this.$get=["$browser","$q","$$q","$rootScope",function(e,t,n,r){return function(i,o){return function(s,a,c,u){var l=arguments.length>4,f=l?fe(arguments,4):[],h=0,p=I(u)&&!u,d=(p?n:t).defer(),m=d.promise;function $(){l?s.apply(null,f):s(h)}function g(){p?e.defer($):r.$evalAsync($),d.notify(h++),c>0&&h>=c&&(d.resolve(h),o(m.$$intervalId)),p||r.$apply()}return c=I(c)?c:0,m.$$intervalId=i(g,a,d,p),m}}}]}var Zn=function(){this.$get=function(){var e=y.callbacks,t={};return{createCallback:function(n){var r="_"+(e.$$counter++).toString(36),i="angular.callbacks."+r,o=function(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}(r);return t[i]=e[r]=o,i},wasCalled:function(e){return t[e].called},getResponse:function(e){return t[e].data},removeCallback:function(n){var r=t[n];delete e[r.id],delete t[n]}}}},Xn=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Qn={http:80,https:443,ftp:21},er=i("$location");function tr(e,t){var n=ai(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=_(n.port)||Qn[n.protocol]||null}var nr=/^\s*[\\/]{2,}/;function rr(e,t,n){if(nr.test(e))throw er("badpath",'Invalid url "{0}".',e);var r="/"!==e.charAt(0);r&&(e="/"+e);var i=ai(e),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;t.$$path=function(e,t){for(var n=e.split("/"),r=n.length;r--;)n[r]=decodeURIComponent(n[r]),t&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}(o,n),t.$$search=Ce(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function ir(e,t){return e.slice(0,t.length)===t}function or(e,t){if(ir(t,e))return t.substr(e.length)}function sr(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function ar(e,t,n){this.$$html5=!0,n=n||"",tr(e,this),this.$$parse=function(e){var n=or(t,e);if(!U(n))throw er("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);rr(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(e){return t+e.substr(1)},this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(I(o=or(e,r))?(s=o,a=n&&I(o=or(n,o))?t+(or("/",o)||o):e+s):I(o=or(t,r))?a=t+o:t===r+"/"&&(a=t),a&&this.$$parse(a),!!a);var o,s,a}}function cr(e,t,n){tr(e,this),this.$$parse=function(r){var i,o=or(e,r)||or(t,r);V(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",V(o)&&(e=r,this.replace())):V(i=or(n,o))&&(i=o),rr(i,this,!1),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return ir(t,n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e))?r[1]:e}(this.$$path,i,e),this.$$compose()},this.$$normalizeUrl=function(t){return e+(t?n+t:"")},this.$$parseLinkUrl=function(t,n){return sr(e)===sr(t)&&(this.$$parse(t),!0)}}function ur(e,t,n){this.$$html5=!0,cr.apply(this,arguments),this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(e===sr(r)?o=r:(s=or(t,r))?o=e+n+s:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o);var o,s},this.$$normalizeUrl=function(t){return e+n+t}}var lr={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){var e,t,n,r,i,o;this.$$url=(e=this.$$path,t=this.$$search,n=this.$$hash,r=[],C(t,(function(e,t){H(e)?C(e,(function(e){r.push(ke(t,!0)+(!0===e?"":"="+ke(e,!0)))})):r.push(ke(t,!0)+(!0===e?"":"="+ke(e,!0)))})),i=r.length?r.join("&"):"",o=n?"#"+xe(n):"",function(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=xe(t[n].replace(/%2F/g,"/"));return t.join("/")}(e)+(i?"?"+i:"")+o),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:fr("$$absUrl"),url:function(e){if(V(e))return this.$$url;var t=Xn.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:fr("$$protocol"),host:fr("$$host"),port:fr("$$port"),path:hr("$$path",(function(e){return"/"===(e=null!==e?e.toString():"").charAt(0)?e:"/"+e})),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(U(e)||B(e))e=e.toString(),this.$$search=Ce(e);else{if(!D(e))throw er("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");C(e=oe(e,{}),(function(t,n){null==t&&delete e[n]})),this.$$search=e}break;default:V(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:hr("$$hash",(function(e){return null!==e?e.toString():""})),replace:function(){return this.$$replace=!0,this}};function fr(e){return function(){return this[e]}}function hr(e,t){return function(n){return V(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function pr(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return I(t)?(e=t,this):e},this.html5Mode=function(e){return G(e)?(t.enabled=e,this):D(e)?(G(e.enabled)&&(t.enabled=e.enabled),G(e.requireBase)&&(t.requireBase=e.requireBase),(G(e.rewriteLinks)||U(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){var c,u,l,f,h=r.baseHref(),p=r.url();if(t.enabled){if(!h&&t.requireBase)throw er("nobase","$location in HTML5 mode requires a <base> tag to be present!");l=(f=p).substring(0,f.indexOf("/",f.indexOf("//")+2))+(h||"/"),u=i.history?ar:ur}else l=sr(p),u=cr;var d=function(e){return e.substr(0,sr(e).lastIndexOf("/")+1)}(l);(c=new u(l,d,"#"+e)).$$parseLinkUrl(p,p),c.$$state=r.state();var m=/^\s*(javascript|mailto):/i;function $(e,t,n){var i=c.url(),o=c.$$state;try{r.url(e,t,n),c.$$state=r.state()}catch(e){throw c.url(i),c.$$state=o,e}}o.on("click",(function(e){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var a=s(e.target);"a"!==ne(a[0]);)if(a[0]===o[0]||!(a=a.parent())[0])return;if(!U(i)||!V(a.attr(i))){var u=a.prop("href"),l=a.attr("href")||a.attr("xlink:href");D(u)&&"[object SVGAnimatedString]"===u.toString()&&(u=ai(u.animVal).href),m.test(u)||!u||a.attr("target")||e.isDefaultPrevented()||c.$$parseLinkUrl(u,l)&&(e.preventDefault(),c.absUrl()!==r.url()&&n.$apply())}}})),c.absUrl()!==p&&r.url(c.absUrl(),!0);var g=!0;return r.onUrlChange((function(e,t){ir(e,d)?(n.$evalAsync((function(){var r,i=c.absUrl(),o=c.$$state;c.$$parse(e),c.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,c.absUrl()===e&&(r?(c.$$parse(i),c.$$state=o,$(i,!1,o)):(g=!1,v(i,o)))})),n.$$phase||n.$digest()):a.location.href=e})),n.$watch((function(){if(g||c.$$urlUpdatedByLocation){c.$$urlUpdatedByLocation=!1;var e=r.url(),t=c.absUrl(),o=r.state(),s=c.$$replace,a=!((u=e)===(l=t)||ai(u).href===ai(l).href)||c.$$html5&&i.history&&o!==c.$$state;(g||a)&&(g=!1,n.$evalAsync((function(){var t=c.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,c.$$state,o).defaultPrevented;c.absUrl()===t&&(r?(c.$$parse(e),c.$$state=o):(a&&$(t,s,o===c.$$state?null:c.$$state),v(e,o)))})))}var u,l;c.$$replace=!1})),c;function v(e,t){n.$broadcast("$locationChangeSuccess",c.absUrl(),e,c.$$state,t)}}]}function dr(){var e=!0,t=this;this.debugEnabled=function(t){return I(t)?(e=t,this):e},this.$get=["$window",function(n){var r,i=o||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:a("log"),info:a("info"),warn:a("warn"),error:a("error"),debug:(r=a("debug"),function(){e&&r.apply(t,arguments)})};function s(e){return z(e)&&(e.stack&&i?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function a(e){var t=n.console||{},r=t[e]||t.log||P;return function(){var e=[];return C(arguments,(function(t){e.push(s(t))})),Function.prototype.apply.call(r,t,e)}}}]}C([ur,cr,ar],(function(e){e.prototype=Object.create(lr),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==ar||!this.$$html5)throw er("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=V(t)?null:t,this.$$urlUpdatedByLocation=!0,this}}));var mr=i("$parse"),$r={}.constructor.prototype.valueOf;function gr(e){return e+""}var vr=Ie();C("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),(function(e){vr[e]=!0}));var yr={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},br=function(e){this.options=e};br.prototype={constructor:br,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=vr[t],o=vr[n],s=vr[r];if(i||o||s){var a=s?r:o?n:t;this.tokens.push({index:this.index,text:a,operator:!0}),this.index+=a.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=I(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw mr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=f(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var s=this.text.substring(this.index+1,this.index+5);s.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+s+"]"),this.index+=4,n+=String.fromCharCode(parseInt(s,16))}else n+=yr[o]||o;i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var wr=function(e,t){this.lexer=e,this.options=t};function Cr(e,t){return void 0!==e?e:t}function xr(e,t){return void 0===e?t:void 0===t?e:e+t}function kr(e,t,n){var r,i,o,s=e.isPure=function(e,t){switch(e.type){case wr.MemberExpression:if(e.computed)return!1;break;case wr.UnaryExpression:return 1;case wr.BinaryExpression:return"+"!==e.operator&&1;case wr.CallExpression:return!1}return void 0===t?2:t}(e,n);switch(e.type){case wr.Program:r=!0,C(e.body,(function(e){kr(e.expression,t,s),r=r&&e.expression.constant})),e.constant=r;break;case wr.Literal:e.constant=!0,e.toWatch=[];break;case wr.UnaryExpression:kr(e.argument,t,s),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case wr.BinaryExpression:kr(e.left,t,s),kr(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case wr.LogicalExpression:kr(e.left,t,s),kr(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case wr.ConditionalExpression:kr(e.test,t,s),kr(e.alternate,t,s),kr(e.consequent,t,s),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case wr.Identifier:e.constant=!1,e.toWatch=[e];break;case wr.MemberExpression:kr(e.object,t,s),e.computed&&kr(e.property,t,s),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case wr.CallExpression:o=!!e.filter&&function(e,t){return!e(t).$stateful}(t,e.callee.name),r=o,i=[],C(e.arguments,(function(e){kr(e,t,s),r=r&&e.constant,i.push.apply(i,e.toWatch)})),e.constant=r,e.toWatch=o?i:[e];break;case wr.AssignmentExpression:kr(e.left,t,s),kr(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case wr.ArrayExpression:r=!0,i=[],C(e.elements,(function(e){kr(e,t,s),r=r&&e.constant,i.push.apply(i,e.toWatch)})),e.constant=r,e.toWatch=i;break;case wr.ObjectExpression:r=!0,i=[],C(e.properties,(function(e){kr(e.value,t,s),r=r&&e.value.constant,i.push.apply(i,e.value.toWatch),e.computed&&(kr(e.key,t,!1),r=r&&e.key.constant,i.push.apply(i,e.key.toWatch))})),e.constant=r,e.toWatch=i;break;case wr.ThisExpression:case wr.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Er(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length||n[0]!==t?n:void 0}}function Sr(e){return e.type===wr.Identifier||e.type===wr.MemberExpression}function Ar(e){if(1===e.body.length&&Sr(e.body[0].expression))return{type:wr.AssignmentExpression,left:e.body[0].expression,right:{type:wr.NGValueParameter},operator:"="}}function Or(e){this.$filter=e}function Tr(e){this.$filter=e}function _r(e,t,n){this.ast=new wr(e,n),this.astCompiler=n.csp?new Tr(t):new Or(t)}function Mr(e){return W(e.valueOf)?e.valueOf():$r.call(e)}function Fr(){var e,t,n=Ie(),r={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){r[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(i){var o={csp:ce().noUnsafeEval,literals:oe(r),isIdentifierStart:W(e)&&e,isIdentifierContinue:W(t)&&t};return s.$$getAst=function(e){return new _r(new br(o),i,o).getAst(e).ast},s;function s(e,t){var r,s;switch(typeof e){case"string":return e=e.trim(),(r=n[s=e])||(r=new _r(new br(o),i,o).parse(e),n[s]=h(r)),p(r,t);case"function":return p(e,t);default:return p(P,t)}}function a(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&"object"==typeof(e=Mr(e))&&!n)&&(e===t||e!=e&&t!=t)}function c(e,t,n,r,i){var o,s=r.inputs;if(1===s.length){var c=a;return s=s[0],e.$watch((function(e){var t=s(e);return a(t,c,s.isPure)||(o=r(e,void 0,void 0,[t]),c=t&&Mr(t)),o}),t,n,i)}for(var u=[],l=[],f=0,h=s.length;f<h;f++)u[f]=a,l[f]=null;return e.$watch((function(e){for(var t=!1,n=0,i=s.length;n<i;n++){var c=s[n](e);(t||(t=!a(c,u[n],s[n].isPure)))&&(l[n]=c,u[n]=c&&Mr(c))}return t&&(o=r(e,void 0,void 0,l)),o}),t,n,i)}function u(e,t,n,r,i){var o,s,a=r.literal?l:I,c=r.$$intercepted||r,u=r.$$interceptor||j,f=r.inputs&&!c.inputs;return d.literal=r.literal,d.constant=r.constant,d.inputs=r.inputs,h(d),o=e.$watch(d,t,n,i);function p(){a(s)&&o()}function d(e,t,n,r){return s=f&&r?r[0]:c(e,t,n,r),a(s)&&e.$$postDigest(p),u(s)}}function l(e){var t=!0;return C(e,(function(e){I(e)||(t=!1)})),t}function f(e,t,n,r){var i=e.$watch((function(e){return i(),r(e)}),t,n);return i}function h(e){return e.constant?e.$$watchDelegate=f:e.oneTime?e.$$watchDelegate=u:e.inputs&&(e.$$watchDelegate=c),e}function p(e,t){if(!t)return e;e.$$interceptor&&(t=function(e,t){function n(n){return t(e(n))}return n.$stateful=e.$stateful||t.$stateful,n.$$pure=e.$$pure&&t.$$pure,n}(e.$$interceptor,t),e=e.$$intercepted);var n=!1,r=function(r,i,o,s){var a=n&&s?s[0]:e(r,i,o,s);return t(a)};return r.$$intercepted=e,r.$$interceptor=t,r.literal=e.literal,r.oneTime=e.oneTime,r.constant=e.constant,t.$stateful||(n=!e.inputs,r.inputs=e.inputs?e.inputs:[e],t.$$pure||(r.inputs=r.inputs.map((function(e){return 2===e.isPure?function(t){return e(t)}:e})))),h(r)}}]}function Pr(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return Rr((function(e){t.$evalAsync(e)}),n,e)}],this.errorOnUnhandledRejections=function(t){return I(t)?(e=t,this):e}}function jr(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return Rr((function(e){t.defer(e)}),n,e)}],this.errorOnUnhandledRejections=function(t){return I(t)?(e=t,this):e}}function Rr(e,t,n){var r=i("$q",TypeError),o=0,s=[];function a(){return new c}function c(){var e=this.promise=new u;this.resolve=function(t){h(e,t)},this.reject=function(t){d(e,t)},this.notify=function(t){$(e,t)}}function u(){this.$$state={status:0}}function l(){for(;!o&&s.length;){var e=s.shift();if(!Nr(e)){Vr(e);var n="Possibly unhandled rejection: "+Be(e.value);z(e.value)?t(e.value,n):t(n)}}}function f(r){!n||r.pending||2!==r.status||Nr(r)||(0===o&&0===s.length&&e(l),s.push(r)),!r.processScheduled&&r.pending&&(r.processScheduled=!0,++o,e((function(){!function(r){var i,s,a;a=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var c=0,u=a.length;c<u;++c){Vr(r),s=a[c][0],i=a[c][r.status];try{W(i)?h(s,i(r.value)):1===r.status?h(s,r.value):d(s,r.value)}catch(e){d(s,e),e&&!0===e.$$passToExceptionHandler&&t(e)}}}finally{--o,n&&0===o&&e(l)}}(r)})))}function h(e,t){e.$$state.status||(t===e?m(e,r("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):p(e,t))}function p(e,t){var n,r=!1;try{(D(t)||W(t))&&(n=t.then),W(n)?(e.$$state.status=-1,n.call(t,(function(t){r||(r=!0,p(e,t))}),i,(function(t){$(e,t)}))):(e.$$state.value=t,e.$$state.status=1,f(e.$$state))}catch(e){i(e)}function i(t){r||(r=!0,m(e,t))}}function d(e,t){e.$$state.status||m(e,t)}function m(e,t){e.$$state.value=t,e.$$state.status=2,f(e.$$state)}function $(n,r){var i=n.$$state.pending;n.$$state.status<=0&&i&&i.length&&e((function(){for(var e,n,o=0,s=i.length;o<s;o++){n=i[o][0],e=i[o][3];try{$(n,W(e)?e(r):r)}catch(e){t(e)}}}))}function g(e){var t=new u;return d(t,e),t}function v(e,t,n){var r=null;try{W(n)&&(r=n())}catch(e){return g(e)}return Z(r)?r.then((function(){return t(e)}),g):t(e)}function y(e,t,n,r){var i=new u;return h(i,e),i.then(t,n,r)}O(u.prototype,{then:function(e,t,n){if(V(e)&&V(t)&&V(n))return this;var r=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&f(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then((function(t){return v(t,b,e)}),(function(t){return v(t,g,e)}),t)}});var b=y;function w(e){if(!W(e))throw r("norslvr","Expected resolverFn, got '{0}'",e);var t=new u;return e((function(e){h(t,e)}),(function(e){d(t,e)})),t}return w.prototype=u.prototype,w.defer=a,w.reject=g,w.when=y,w.resolve=b,w.all=function(e){var t=new u,n=0,r=H(e)?[]:{};return C(e,(function(e,i){n++,y(e).then((function(e){r[i]=e,--n||h(t,r)}),(function(e){d(t,e)}))})),0===n&&h(t,r),t},w.race=function(e){var t=a();return C(e,(function(e){y(e).then(t.resolve,t.reject)})),t.promise},w}function Nr(e){return!!e.pur}function Vr(e){e.pur=!0}function Ir(e){e.$$state&&Vr(e.$$state)}function Dr(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function Lr(){var e=10,t=i("$rootScope"),n=null,r=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$exceptionHandler","$parse","$browser",function(i,s,a){function c(e){e.currentScope.$$destroyed=!0}function u(e){9===o&&(e.$$childHead&&u(e.$$childHead),e.$$nextSibling&&u(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function f(){this.$id=E(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}f.prototype={constructor:f,$new:function(e,t){var n;return t=t||this,e?(n=new f).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=E(),this.$$ChildScope=null,this.$$suspended=!1}return t.prototype=e,t}(this)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,(e||t!==this)&&n.$on("$destroy",c),n},$watch:function(e,t,r,i){var o=s(e),a=W(t)?t:P;if(o.$$watchDelegate)return o.$$watchDelegate(this,a,r,o,e);var c=this,u=c.$$watchers,l={fn:a,last:x,get:o,exp:i||e,eq:!!r};return n=null,u||((u=c.$$watchers=[]).$$digestWatchIndex=-1),u.unshift(l),u.$$digestWatchIndex++,y(this,1),function(){var e=ie(u,l);e>=0&&(y(c,-1),e<u.$$digestWatchIndex&&u.$$digestWatchIndex--),n=null}},$watchGroup:function(e,t){var n=new Array(e.length),r=new Array(e.length),i=[],o=this,s=!1,a=!0;if(!e.length){var c=!0;return o.$evalAsync((function(){c&&t(r,r,o)})),function(){c=!1}}if(1===e.length)return this.$watch(e[0],(function(e,i,o){r[0]=e,n[0]=i,t(r,e===i?r:n,o)}));function u(){s=!1;try{a?(a=!1,t(r,r,o)):t(r,n,o)}finally{for(var i=0;i<e.length;i++)n[i]=r[i]}}return C(e,(function(e,t){var n=o.$watch(e,(function(e){r[t]=e,s||(s=!0,o.$evalAsync(u))}));i.push(n)})),function(){for(;i.length;)i.shift()()}},$watchCollection:function(e,t){m.$$pure=s(e).literal,m.$stateful=!m.$$pure;var n,r,i,o=this,a=t.length>1,c=0,u=s(e,m),f=[],h={},p=!0,d=0;function m(e){var t,i,o,s;if(!V(n=e)){if(D(n))if(w(n)){r!==f&&(d=(r=f).length=0,c++),t=n.length,d!==t&&(c++,r.length=d=t);for(var a=0;a<t;a++)s=r[a],o=n[a],s!=s&&o!=o||s===o||(c++,r[a]=o)}else{for(i in r!==h&&(r=h={},d=0,c++),t=0,n)l.call(n,i)&&(t++,o=n[i],s=r[i],i in r?s!=s&&o!=o||s===o||(c++,r[i]=o):(d++,r[i]=o,c++));if(d>t)for(i in c++,r)l.call(n,i)||(d--,delete r[i])}else r!==n&&(r=n,c++);return c}}return this.$watch(u,(function(){if(p?(p=!1,t(n,n,o)):t(n,i,o),a)if(D(n))if(w(n)){i=new Array(n.length);for(var e=0;e<n.length;e++)i[e]=n[e]}else for(var r in i={},n)l.call(n,r)&&(i[r]=n[r]);else i=n}))},$digest:function(){var o,s,c,u,l,f,m,y,b,w=e,C=p.length?h:this,E=[];g("$digest"),a.$$checkUrlChange(),this===h&&null!==r&&(a.defer.cancel(r),k()),n=null;do{l=!1,m=C;for(var S=0;S<p.length;S++){try{(0,(b=p[S]).fn)(b.scope,b.locals)}catch(e){i(e)}n=null}p.length=0;e:do{if(u=!m.$$suspended&&m.$$watchers)for(u.$$digestWatchIndex=u.length;u.$$digestWatchIndex--;)try{if(o=u[u.$$digestWatchIndex])if((s=(0,o.get)(m))===(c=o.last)||(o.eq?ae(s,c):M(s)&&M(c))){if(o===n){l=!1;break e}}else l=!0,n=o,o.last=o.eq?oe(s,null):s,(0,o.fn)(s,c===x?s:c,m),w<5&&(E[y=4-w]||(E[y]=[]),E[y].push({msg:W(o.exp)?"fn: "+(o.exp.name||o.exp.toString()):o.exp,newVal:s,oldVal:c}))}catch(e){i(e)}if(!(f=!m.$$suspended&&m.$$watchersCount&&m.$$childHead||m!==C&&m.$$nextSibling))for(;m!==C&&!(f=m.$$nextSibling);)m=m.$parent}while(m=f);if((l||p.length)&&!w--)throw v(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,E)}while(l||p.length);for(v();$<d.length;)try{d[$++]()}catch(e){i(e)}d.length=$=0,a.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===h&&a.$$applicationDestroyed(),y(this,-this.$$watchersCount),this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=P,this.$on=this.$watch=this.$watchGroup=function(){return P},this.$$listeners={},this.$$nextSibling=null,u(this)}},$eval:function(e,t){return s(e)(this,t)},$evalAsync:function(e,t){h.$$phase||p.length||a.defer((function(){p.length&&h.$digest()}),null,"$evalAsync"),p.push({scope:this,fn:s(e),locals:t})},$$postDigest:function(e){d.push(e)},$apply:function(e){try{g("$apply");try{return this.$eval(e)}finally{v()}}catch(e){i(e)}finally{try{h.$digest()}catch(e){throw i(e),e}}},$applyAsync:function(e){var t=this;e&&m.push((function(){t.$eval(e)})),e=s(e),null===r&&(r=a.defer((function(){h.$apply(k)}),null,"$applyAsync"))},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do{r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++}while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(delete n[r],b(i,1,e))}},$emit:function(e,t){var n,r,o,s=[],a=this,c=!1,u={name:e,targetScope:a,stopPropagation:function(){c=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},l=le([u],arguments,1);do{for(n=a.$$listeners[e]||s,u.currentScope=a,r=0,o=n.length;r<o;r++)if(n[r])try{n[r].apply(null,l)}catch(e){i(e)}else n.splice(r,1),r--,o--;if(c)break;a=a.$parent}while(a);return u.currentScope=null,u},$broadcast:function(e,t){var n=this,r=n,o=n,s={name:e,targetScope:n,preventDefault:function(){s.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return s;for(var a,c,u,l=le([s],arguments,1);r=o;){for(s.currentScope=r,c=0,u=(a=r.$$listeners[e]||[]).length;c<u;c++)if(a[c])try{a[c].apply(null,l)}catch(e){i(e)}else a.splice(c,1),c--,u--;if(!(o=r.$$listenerCount[e]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r!==n&&!(o=r.$$nextSibling);)r=r.$parent}return s.currentScope=null,s}};var h=new f,p=h.$$asyncQueue=[],d=h.$$postDigestQueue=[],m=h.$$applyAsyncQueue=[],$=0;return h;function g(e){if(h.$$phase)throw t("inprog","{0} already in progress",h.$$phase);h.$$phase=e}function v(){h.$$phase=null}function y(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function b(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function x(){}function k(){for(;m.length;)try{m.shift()()}catch(e){i(e)}r=null}}]}function Ur(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(t){return I(t)?(e=t,this):e},this.imgSrcSanitizationTrustedUrlList=function(e){return I(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i=r?t:e,o=ai(n&&n.trim()).href;return""===o||o.match(i)?n:"unsafe:"+o}}}wr.Program="Program",wr.ExpressionStatement="ExpressionStatement",wr.AssignmentExpression="AssignmentExpression",wr.ConditionalExpression="ConditionalExpression",wr.LogicalExpression="LogicalExpression",wr.BinaryExpression="BinaryExpression",wr.UnaryExpression="UnaryExpression",wr.CallExpression="CallExpression",wr.MemberExpression="MemberExpression",wr.Identifier="Identifier",wr.Literal="Literal",wr.ArrayExpression="ArrayExpression",wr.Property="Property",wr.ObjectExpression="ObjectExpression",wr.ThisExpression="ThisExpression",wr.LocalsExpression="LocalsExpression",wr.NGValueParameter="NGValueParameter",wr.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:wr.Program,body:e}},expressionStatement:function(){return{type:wr.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!Sr(e))throw mr("lval","Trying to assign a value to a non l-value");e={type:wr.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:wr.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:wr.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:wr.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:wr.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:wr.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:wr.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:wr.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:wr.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=oe(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:wr.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:wr.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:wr.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:wr.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:wr.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:wr.Identifier,name:e.text}},constant:function(){return{type:wr.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:wr.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:wr.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:wr.ObjectExpression,properties:t}},throwError:function(e,t){throw mr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw mr("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw mr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],s=o.text;if(s===t||s===n||s===r||s===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:wr.ThisExpression},$locals:{type:wr.LocalsExpression}}},Or.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},kr(e,t.$filter);var n,r="";if(this.stage="assign",n=Ar(e)){this.state.computing="assign";var i=this.nextId();this.recurse(n,i),this.return_(i),r="fn.assign="+this.generateFunction("assign","s,v,l")}var o=Er(e.body);t.stage="inputs",C(o,(function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push({name:r,isPure:e.isPure}),e.watchId=n})),this.state.computing="fn",this.stage="main",this.recurse(e);var s='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",a=new Function("$filter","getStringValue","ifDefined","plus",s)(this.$filter,gr,Cr,xr);return this.state=this.stage=void 0,a},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return C(t,(function(t){e.push("var "+t.name+"="+n.generateFunction(t.name,"s")),t.isPure&&e.push(t.name,".isPure="+JSON.stringify(t.isPure)+";")})),t.length&&e.push("fn.inputs=["+t.map((function(e){return e.name})).join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return C(this.state.filters,(function(n,r){e.push(n+"=$filter("+t.escape(r)+")")})),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,r,i,o){var s,a,c,u,l,f=this;if(r=r||P,!o&&I(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,r,i,!0));switch(e.type){case wr.Program:C(e.body,(function(t,n){f.recurse(t.expression,void 0,void 0,(function(e){a=e})),n!==e.body.length-1?f.current().body.push(a,";"):f.return_(a)}));break;case wr.Literal:u=this.escape(e.value),this.assign(t,u),r(t||u);break;case wr.UnaryExpression:this.recurse(e.argument,void 0,void 0,(function(e){a=e})),u=e.operator+"("+this.ifDefined(a,0)+")",this.assign(t,u),r(u);break;case wr.BinaryExpression:this.recurse(e.left,void 0,void 0,(function(e){s=e})),this.recurse(e.right,void 0,void 0,(function(e){a=e})),u="+"===e.operator?this.plus(s,a):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(a,0):"("+s+")"+e.operator+"("+a+")",this.assign(t,u),r(u);break;case wr.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),r(t);break;case wr.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),r(t);break;case wr.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),(function(){f.if_("inputs"===f.stage||"s",(function(){i&&1!==i&&f.if_(f.isNull(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))}))}),t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),r(t);break;case wr.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,void 0,(function(){f.if_(f.notNull(s),(function(){e.computed?(a=f.nextId(),f.recurse(e.property,a),f.getStringValue(a),i&&1!==i&&f.if_(f.not(f.computedMember(s,a)),f.lazyAssign(f.computedMember(s,a),"{}")),u=f.computedMember(s,a),f.assign(t,u),n&&(n.computed=!0,n.name=a)):(i&&1!==i&&f.if_(f.isNull(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),u=f.nonComputedMember(s,e.property.name),f.assign(t,u),n&&(n.computed=!1,n.name=e.property.name))}),(function(){f.assign(t,"undefined")})),r(t)}),!!i);break;case wr.CallExpression:t=t||this.nextId(),e.filter?(a=f.filter(e.callee.name),c=[],C(e.arguments,(function(e){var t=f.nextId();f.recurse(e,t),c.push(t)})),u=a+"("+c.join(",")+")",f.assign(t,u),r(t)):(a=f.nextId(),s={},c=[],f.recurse(e.callee,a,s,(function(){f.if_(f.notNull(a),(function(){C(e.arguments,(function(t){f.recurse(t,e.constant?void 0:f.nextId(),void 0,(function(e){c.push(e)}))})),u=s.name?f.member(s.context,s.name,s.computed)+"("+c.join(",")+")":a+"("+c.join(",")+")",f.assign(t,u)}),(function(){f.assign(t,"undefined")})),r(t)})));break;case wr.AssignmentExpression:a=this.nextId(),s={},this.recurse(e.left,void 0,s,(function(){f.if_(f.notNull(s.context),(function(){f.recurse(e.right,a),u=f.member(s.context,s.name,s.computed)+e.operator+a,f.assign(t,u),r(t||u)}))}),1);break;case wr.ArrayExpression:c=[],C(e.elements,(function(t){f.recurse(t,e.constant?void 0:f.nextId(),void 0,(function(e){c.push(e)}))})),u="["+c.join(",")+"]",this.assign(t,u),r(t||u);break;case wr.ObjectExpression:c=[],l=!1,C(e.properties,(function(e){e.computed&&(l=!0)})),l?(t=t||this.nextId(),this.assign(t,"{}"),C(e.properties,(function(e){e.computed?(s=f.nextId(),f.recurse(e.key,s)):s=e.key.type===wr.Identifier?e.key.name:""+e.key.value,a=f.nextId(),f.recurse(e.value,a),f.assign(f.member(t,s,e.computed),a)}))):(C(e.properties,(function(t){f.recurse(t.value,e.constant?void 0:f.nextId(),void 0,(function(e){c.push(f.escape(t.key.type===wr.Identifier?t.key.name:""+t.key.value)+":"+e)}))})),u="{"+c.join(",")+"}",this.assign(t,u)),r(t||u);break;case wr.ThisExpression:this.assign(t,"s"),r(t||"s");break;case wr.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case wr.NGValueParameter:this.assign(t,"v"),r(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,o){var s=this;return function(){s.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(U(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(B(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw mr("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},Tr.prototype={compile:function(e){var t,n,r=this;kr(e,r.$filter),(t=Ar(e))&&(n=this.recurse(t));var i,o=Er(e.body);o&&(i=[],C(o,(function(e,t){var n=r.recurse(e);n.isPure=e.isPure,e.input=n,i.push(n),e.watchId=t})));var s=[];C(e.body,(function(e){s.push(r.recurse(e.expression))}));var a=0===e.body.length?P:1===e.body.length?s[0]:function(e,t){var n;return C(s,(function(r){n=r(e,t)})),n};return n&&(a.assign=function(e,t,r){return n(e,r,t)}),i&&(a.inputs=i),a},recurse:function(e,t,n){var r,i,o,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case wr.Literal:return this.value(e.value,t);case wr.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case wr.BinaryExpression:case wr.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case wr.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case wr.Identifier:return s.identifier(e.name,t,n);case wr.MemberExpression:return r=this.recurse(e.object,!1,!!n),e.computed||(i=e.property.name),e.computed&&(i=this.recurse(e.property)),e.computed?this.computedMember(r,i,t,n):this.nonComputedMember(r,i,t,n);case wr.CallExpression:return o=[],C(e.arguments,(function(e){o.push(s.recurse(e))})),e.filter&&(i=this.$filter(e.callee.name)),e.filter||(i=this.recurse(e.callee,!0)),e.filter?function(e,n,r,s){for(var a=[],c=0;c<o.length;++c)a.push(o[c](e,n,r,s));var u=i.apply(void 0,a,s);return t?{context:void 0,name:void 0,value:u}:u}:function(e,n,r,s){var a,c=i(e,n,r,s);if(null!=c.value){for(var u=[],l=0;l<o.length;++l)u.push(o[l](e,n,r,s));a=c.value.apply(c.context,u)}return t?{value:a}:a};case wr.AssignmentExpression:return r=this.recurse(e.left,!0,1),i=this.recurse(e.right),function(e,n,o,s){var a=r(e,n,o,s),c=i(e,n,o,s);return a.context[a.name]=c,t?{value:c}:c};case wr.ArrayExpression:return o=[],C(e.elements,(function(e){o.push(s.recurse(e))})),function(e,n,r,i){for(var s=[],a=0;a<o.length;++a)s.push(o[a](e,n,r,i));return t?{value:s}:s};case wr.ObjectExpression:return o=[],C(e.properties,(function(e){e.computed?o.push({key:s.recurse(e.key),computed:!0,value:s.recurse(e.value)}):o.push({key:e.key.type===wr.Identifier?e.key.name:""+e.key.value,computed:!1,value:s.recurse(e.value)})})),function(e,n,r,i){for(var s={},a=0;a<o.length;++a)o[a].computed?s[o[a].key(e,n,r,i)]=o[a].value(e,n,r,i):s[o[a].key]=o[a].value(e,n,r,i);return t?{value:s}:s};case wr.ThisExpression:return function(e){return t?{value:e}:e};case wr.LocalsExpression:return function(e,n){return t?{value:n}:n};case wr.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var s=e(n,r,i,o);return s=I(s)?+s:0,t?{value:s}:s}},"unary-":function(e,t){return function(n,r,i,o){var s=e(n,r,i,o);return s=I(s)?-s:-0,t?{value:s}:s}},"unary!":function(e,t){return function(n,r,i,o){var s=!e(n,r,i,o);return t?{value:s}:s}},"binary+":function(e,t,n){return function(r,i,o,s){var a=xr(e(r,i,o,s),t(r,i,o,s));return n?{value:a}:a}},"binary-":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s),c=t(r,i,o,s),u=(I(a)?a:0)-(I(c)?c:0);return n?{value:u}:u}},"binary*":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)*t(r,i,o,s);return n?{value:a}:a}},"binary/":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)/t(r,i,o,s);return n?{value:a}:a}},"binary%":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)%t(r,i,o,s);return n?{value:a}:a}},"binary===":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)===t(r,i,o,s);return n?{value:a}:a}},"binary!==":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)!==t(r,i,o,s);return n?{value:a}:a}},"binary==":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)==t(r,i,o,s);return n?{value:a}:a}},"binary!=":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)!=t(r,i,o,s);return n?{value:a}:a}},"binary<":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)<t(r,i,o,s);return n?{value:a}:a}},"binary>":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)>t(r,i,o,s);return n?{value:a}:a}},"binary<=":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)<=t(r,i,o,s);return n?{value:a}:a}},"binary>=":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)>=t(r,i,o,s);return n?{value:a}:a}},"binary&&":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)&&t(r,i,o,s);return n?{value:a}:a}},"binary||":function(e,t,n){return function(r,i,o,s){var a=e(r,i,o,s)||t(r,i,o,s);return n?{value:a}:a}},"ternary?:":function(e,t,n,r){return function(i,o,s,a){var c=e(i,o,s,a)?t(i,o,s,a):n(i,o,s,a);return r?{value:c}:c}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,s){var a=i&&e in i?i:r;n&&1!==n&&a&&null==a[e]&&(a[e]={});var c=a?a[e]:void 0;return t?{context:a,name:e,value:c}:c}},computedMember:function(e,t,n,r){return function(i,o,s,a){var c,u,l=e(i,o,s,a);return null!=l&&(c=gr(c=t(i,o,s,a)),r&&1!==r&&l&&!l[c]&&(l[c]={}),u=l[c]),n?{context:l,name:c,value:u}:u}},nonComputedMember:function(e,t,n,r){return function(i,o,s,a){var c=e(i,o,s,a);r&&1!==r&&c&&null==c[t]&&(c[t]={});var u=null!=c?c[t]:void 0;return n?{context:c,name:t,value:u}:u}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}},_r.prototype={constructor:_r,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=function(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===wr.Literal||e.body[0].expression.type===wr.ArrayExpression||e.body[0].expression.type===wr.ObjectExpression)}(t.ast),n.constant=function(e){return e.constant}(t.ast),n.oneTime=t.oneTime,n},getAst:function(e){var t=!1;return":"===(e=e.trim()).charAt(0)&&":"===e.charAt(1)&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};var Br=i("$sce"),qr={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Hr=/_([a-z])/g;function zr(e){return e.replace(Hr,Ge)}function Wr(e){var t=[];return I(e)&&C(e,(function(e){t.push(function(e){if("self"===e)return e;if(U(e)){if(e.indexOf("***")>-1)throw Br("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=ee(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(K(e))return new RegExp("^"+e.source+"$");throw Br("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))})),t}function Kr(){this.SCE_CONTEXTS=qr;var t=["self"],n=[];this.trustedResourceUrlList=function(e){return arguments.length&&(t=Wr(e)),t},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(e){this.trustedResourceUrlList=e}}),this.bannedResourceUrlList=function(e){return arguments.length&&(n=Wr(e)),n},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(e){this.bannedResourceUrlList=e}}),this.$get=["$injector","$$sanitizeUri",function(r,i){var o=function(e){throw Br("unsafe","Attempting to use an unsafe value in a safe context.")};function s(t,n){return"self"===t?ci(n,oi)||ci(n,e.document.baseURI?e.document.baseURI:(ri||((ri=e.document.createElement("a")).href=".",ri=ri.cloneNode(!1)),ri.href)):!!t.exec(n.href)}function a(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}r.has("$sanitize")&&(o=r.get("$sanitize"));var c=a(),u={};return u[qr.HTML]=a(c),u[qr.CSS]=a(c),u[qr.MEDIA_URL]=a(c),u[qr.URL]=a(u[qr.MEDIA_URL]),u[qr.JS]=a(c),u[qr.RESOURCE_URL]=a(u[qr.URL]),{trustAs:function(e,t){var n=u.hasOwnProperty(e)?u[e]:null;if(!n)throw Br("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||V(t)||""===t)return t;if("string"!=typeof t)throw Br("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(e,r){if(null===r||V(r)||""===r)return r;var a=u.hasOwnProperty(e)?u[e]:null;if(a&&r instanceof a)return r.$$unwrapTrustedValue();if(W(r.$$unwrapTrustedValue)&&(r=r.$$unwrapTrustedValue()),e===qr.MEDIA_URL||e===qr.URL)return i(r.toString(),e===qr.MEDIA_URL);if(e===qr.RESOURCE_URL){if(function(e){var r,i,o=ai(e.toString()),a=!1;for(r=0,i=t.length;r<i;r++)if(s(t[r],o)){a=!0;break}if(a)for(r=0,i=n.length;r<i;r++)if(s(n[r],o)){a=!1;break}return a}(r))return r;throw Br("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",r.toString())}if(e===qr.HTML)return o(r);throw Br("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof c?e.$$unwrapTrustedValue():e}}}]}function Yr(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&o<8)throw Br("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var r=Ue(qr);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=j),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,(function(t){return r.getTrusted(e,t)}))};var i=r.parseAs,s=r.getTrusted,a=r.trustAs;return C(qr,(function(e,t){var n=f(t);r[zr("parse_as_"+n)]=function(t){return i(e,t)},r[zr("get_trusted_"+n)]=function(t){return s(e,t)},r[zr("trust_as_"+n)]=function(t){return a(e,t)}})),r}]}function Jr(){this.$get=["$window","$document",function(e,t){var n={},r=!((!e.nw||!e.nw.process)&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,i=_((/android (\d+)/.exec(f((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),a=t[0]||{},c=a.body&&a.body.style,u=!1,l=!1;return c&&(u=!(!("transition"in c)&&!("webkitTransition"in c)),l=!(!("animation"in c)&&!("webkitAnimation"in c))),{history:!(!r||i<4||s),hasEvent:function(e){if("input"===e&&o)return!1;if(V(n[e])){var t=a.createElement("div");n[e]="on"+e in t}return n[e]},csp:ce(),transitions:u,animations:l,android:i}}]}function Gr(){this.$get=R((function(e){return new Zr(e)}))}function Zr(e){var t=this,n={},r=[],i=t.ALL_TASKS_TYPE="$$all$$",o=t.DEFAULT_TASK_TYPE="$$default$$";function s(){var e=r.pop();return e&&e.cb}function a(e){for(var t=r.length-1;t>=0;--t){var n=r[t];if(n.type===e)return r.splice(t,1),n.cb}}t.completeTask=function(t,r){r=r||o;try{t()}finally{!function(e){n[e=e||o]&&(n[e]--,n[i]--)}(r);var c=n[r],u=n[i];if(!u||!c)for(var l,f=u?a:s;l=f(r);)try{l()}catch(t){e.error(t)}}},t.incTaskCount=function(e){n[e=e||o]=(n[e]||0)+1,n[i]=(n[i]||0)+1},t.notifyWhenNoPendingTasks=function(e,t){n[t=t||i]?r.push({type:t,cb:e}):e()}}var Xr=i("$templateRequest");function Qr(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function s(a,c){s.totalPendingRequests++,U(a)&&!V(n.get(a))||(a=o.getTrustedResourceUrl(a));var u=r.defaults&&r.defaults.transformResponse;return H(u)?u=u.filter((function(e){return e!==In})):u===In&&(u=null),r.get(a,O({cache:n,transformResponse:u},e)).finally((function(){s.totalPendingRequests--})).then((function(e){return n.put(a,e.data)}),(function(e){return c||(e=Xr("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText),t(e)),i.reject(e)}))}return s.totalPendingRequests=0,s}]}function ei(){this.$get=["$rootScope","$browser","$location",function(e,t,n){return{findBindings:function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return C(r,(function(e){var r=y.element(e).data("$binding");r&&C(r,(function(r){n?new RegExp("(^|\\s)"+ee(t)+"(\\s|\\||$)").test(r)&&i.push(e):-1!==r.indexOf(t)&&i.push(e)}))})),i},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o="["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]',s=e.querySelectorAll(o);if(s.length)return s}},getLocation:function(){return n.url()},setLocation:function(t){t!==n.url()&&(n.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}}}]}var ti=i("$timeout");function ni(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){var o={};function s(s,a,c){W(s)||(c=a,a=s,s=P);var u,l=fe(arguments,3),f=I(c)&&!c,h=(f?r:n).defer(),p=h.promise;return u=t.defer((function(){try{h.resolve(s.apply(null,l))}catch(e){h.reject(e),i(e)}finally{delete o[p.$$timeoutId]}f||e.$apply()}),a,"$timeout"),p.$$timeoutId=u,o[u]=h,p}return s.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw ti("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!o.hasOwnProperty(e.$$timeoutId))return!1;var n=e.$$timeoutId,r=o[n];return Ir(r.promise),r.reject("canceled"),delete o[n],t.defer.cancel(n)},s}]}var ri,ii=e.document.createElement("a"),oi=ai(e.location.href);ii.href="http://[::1]";var si="[::1]"===ii.hostname;function ai(e){if(!U(e))return e;var t=e;o&&(ii.setAttribute("href",t),t=ii.href),ii.setAttribute("href",t);var n=ii.hostname;return!si&&n.indexOf(":")>-1&&(n="["+n+"]"),{href:ii.href,protocol:ii.protocol?ii.protocol.replace(/:$/,""):"",host:ii.host,search:ii.search?ii.search.replace(/^\?/,""):"",hash:ii.hash?ii.hash.replace(/^#/,""):"",hostname:n,port:ii.port,pathname:"/"===ii.pathname.charAt(0)?ii.pathname:"/"+ii.pathname}}function ci(e,t){return e=ai(e),t=ai(t),e.protocol===t.protocol&&e.host===t.host}function ui(){this.$get=R(e)}function li(e){var t=e[0]||{},n={},r="";function i(e){try{return decodeURIComponent(e)}catch(t){return e}}return function(){var e,o,s,a,c,u=function(e){try{return e.cookie||""}catch(e){return""}}(t);if(u!==r)for(e=(r=u).split("; "),n={},s=0;s<e.length;s++)(a=(o=e[s]).indexOf("="))>0&&(c=i(o.substring(0,a)),V(n[c])&&(n[c]=i(o.substring(a+1))));return n}}function fi(){this.$get=li}function hi(e){var t="Filter";function n(r,i){if(D(r)){var o={};return C(r,(function(e,t){o[t]=n(t,e)})),o}return e.factory(r+t,i)}this.register=n,this.$get=["$injector",function(e){return function(n){return e.get(n+t)}}],n("currency",$i),n("date",Oi),n("filter",pi),n("json",Ti),n("limitTo",Fi),n("lowercase",_i),n("number",gi),n("orderBy",ji),n("uppercase",Mi)}function pi(){return function(e,t,n,r){if(!w(e)){if(null==e)return e;throw i("filter")("notarray","Expected array but received: {0}",e)}var o,s;switch(r=r||"$",mi(t)){case"function":o=t;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":o=function(e,t,n,r){var i=D(e)&&n in e;return!0===t?t=ae:W(t)||(t=function(e,t){return!(V(e)||(null===e||null===t?e!==t:D(t)||D(e)&&!N(e)||(e=f(""+e),t=f(""+t),-1===e.indexOf(t))))}),function(o){return i&&!D(o)?di(o,e[n],t,n,!1):di(o,e,t,n,r)}}(t,n,r,s);break;default:return e}return Array.prototype.filter.call(e,o)}}function di(e,t,n,r,i,o){var s=mi(e),a=mi(t);if("string"===a&&"!"===t.charAt(0))return!di(e,t.substring(1),n,r,i);if(H(e))return e.some((function(e){return di(e,t,n,r,i)}));switch(s){case"object":var c;if(i){for(c in e)if(c.charAt&&"$"!==c.charAt(0)&&di(e[c],t,n,r,!0))return!0;return!o&&di(e,t,n,r,!1)}if("object"===a){for(c in t){var u=t[c];if(!W(u)&&!V(u)){var l=c===r;if(!di(l?e:e[c],u,n,r,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function mi(e){return null===e?"null":typeof e}function $i(e){var t=e.NUMBER_FORMATS;return function(e,n,r){V(n)&&(n=t.CURRENCY_SYM),V(r)&&(r=t.PATTERNS[1].maxFrac);var i=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:vi(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(i,n)}}function gi(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:vi(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function vi(e,t,n,r,i){if(!U(e)&&!B(e)||isNaN(e))return"";var o,s=!isFinite(e),a=!1,c=Math.abs(e)+"",u="";if(s)u="∞";else{!function(e,t,n,r){var i=e.d,o=i.length-e.i,s=(t=V(t)?Math.min(Math.max(n,o),r):+t)+e.i,a=i[s];if(s>0){i.splice(Math.max(e.i,s));for(var c=s;c<i.length;c++)i[c]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,s=t+1),i[0]=0;for(var u=1;u<s;u++)i[u]=0}if(a>=5)if(s-1<0){for(var l=0;l>s;l--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[s-1]++;for(;o<Math.max(0,t);o++)i.push(0);var f=i.reduceRight((function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)}),0);f&&(i.unshift(f),e.i++)}(o=function(e){var t,n,r,i,o,s=0;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;"0"===e.charAt(r);r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;"0"===e.charAt(o);)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>22&&(t=t.splice(0,21),s=n-1,n=1),{d:t,e:s,i:n}}(c),i,t.minFrac,t.maxFrac);var l=o.d,f=o.i,h=o.e,p=[];for(a=l.reduce((function(e,t){return e&&!t}),!0);f<0;)l.unshift(0),f++;f>0?p=l.splice(f,l.length):(p=l,l=[0]);var d=[];for(l.length>=t.lgSize&&d.unshift(l.splice(-t.lgSize,l.length).join(""));l.length>t.gSize;)d.unshift(l.splice(-t.gSize,l.length).join(""));l.length&&d.unshift(l.join("")),u=d.join(n),p.length&&(u+=r+p.join("")),h&&(u+="e+"+h)}return e<0&&!a?t.negPre+u+t.negSuf:t.posPre+u+t.posSuf}function yi(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),i+e}function bi(e,t,n,r,i){return n=n||0,function(o){var s=o["get"+e]();return(n>0||s>-n)&&(s+=n),0===s&&-12===n&&(s=12),yi(s,t,r,i)}}function wi(e,t,n){return function(r,i){var o=r["get"+e]();return i[h((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function Ci(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function xi(e){return function(t){var n,r=Ci(t.getFullYear()),i=(n=t,+new Date(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))-+r);return yi(1+Math.round(i/6048e5),e)}}function ki(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}li.$inject=["$document"],hi.$inject=["$provide"],$i.$inject=["$locale"],gi.$inject=["$locale"];var Ei={yyyy:bi("FullYear",4,0,!1,!0),yy:bi("FullYear",2,0,!0,!0),y:bi("FullYear",1,0,!1,!0),MMMM:wi("Month"),MMM:wi("Month",!0),MM:bi("Month",2,1),M:bi("Month",1,1),LLLL:wi("Month",!1,!0),dd:bi("Date",2),d:bi("Date",1),HH:bi("Hours",2),H:bi("Hours",1),hh:bi("Hours",2,-12),h:bi("Hours",1,-12),mm:bi("Minutes",2),m:bi("Minutes",1),ss:bi("Seconds",2),s:bi("Seconds",1),sss:bi("Milliseconds",3),EEEE:wi("Day"),EEE:wi("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=-1*n;return(r>=0?"+":"")+(yi(Math[r>0?"floor":"ceil"](r/60),2)+yi(Math.abs(r%60),2))},ww:xi(2),w:xi(1),G:ki,GG:ki,GGG:ki,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},Si=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Ai=/^-?\d+$/;function Oi(e){var t=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var o,s,a="",c=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,U(n)&&(n=Ai.test(n)?_(n):function(e){var n;if(n=e.match(t)){var r=new Date(0),i=0,o=0,s=n[8]?r.setUTCFullYear:r.setFullYear,a=n[8]?r.setUTCHours:r.setHours;n[9]&&(i=_(n[9]+n[10]),o=_(n[9]+n[11])),s.call(r,_(n[1]),_(n[2])-1,_(n[3]));var c=_(n[4]||0)-i,u=_(n[5]||0)-o,l=_(n[6]||0),f=Math.round(1e3*parseFloat("0."+(n[7]||0)));return a.call(r,c,u,l,f),r}return e}(n)),B(n)&&(n=new Date(n)),!q(n)||!isFinite(n.getTime()))return n;for(;r;)(s=Si.exec(r))?r=(c=le(c,s,1)).pop():(c.push(r),r=null);var u=n.getTimezoneOffset();return i&&(u=ge(i,u),n=ye(n,i,!0)),C(c,(function(t){a+=(o=Ei[t])?o(n,e.DATETIME_FORMATS,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),a}}function Ti(){return function(e,t){return V(t)&&(t=2),de(e,t)}}Oi.$inject=["$locale"];var _i=R(f),Mi=R(h);function Fi(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):_(t),M(t)?e:(B(e)&&(e=e.toString()),w(e)?(n=(n=!n||isNaN(n)?0:_(n))<0?Math.max(0,e.length+n):n,t>=0?Pi(e,n,n+t):0===n?Pi(e,t,e.length):Pi(e,Math.max(0,n+t),n)):e)}}function Pi(e,t,n){return U(e)?e.slice(t,n):p.call(e,t,n)}function ji(e){return function(r,o,s,a){if(null==r)return r;if(!w(r))throw i("orderBy")("notarray","Expected array but received: {0}",r);H(o)||(o=[o]),0===o.length&&(o=["+"]);var c=o.map((function(t){var n=1,r=j;if(W(t))r=t;else if(U(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t)).constant)){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})),u=s?-1:1,l=W(a)?a:n,f=Array.prototype.map.call(r,(function(e,n){return{value:e,tieBreaker:{value:n,type:"number",index:n},predicateValues:c.map((function(r){return function(e,n){var r=typeof e;return null===e?r="null":"object"===r&&(e=function(e){return W(e.valueOf)&&t(e=e.valueOf())||N(e)&&t(e=e.toString()),e}(e)),{value:e,type:r,index:n}}(r.get(e),n)}))}}));return f.sort((function(e,t){for(var r=0,i=c.length;r<i;r++){var o=l(e.predicateValues[r],t.predicateValues[r]);if(o)return o*c[r].descending*u}return(l(e.tieBreaker,t.tieBreaker)||n(e.tieBreaker,t.tieBreaker))*u})),f.map((function(e){return e.value}))};function t(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function n(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,s=t.value;"string"===r?(o=o.toLowerCase(),s=s.toLowerCase()):"object"===r&&(D(o)&&(o=e.index),D(s)&&(s=t.index)),o!==s&&(n=o<s?-1:1)}else n="undefined"===r?1:"undefined"===i?-1:"null"===r?1:"null"===i||r<i?-1:1;return n}}function Ri(e){return W(e)&&(e={link:e}),e.restrict=e.restrict||"AC",R(e)}ji.$inject=["$parse"];var Ni=R({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===$.call(t.prop("href"))?"xlink:href":"href";t.on("click",(function(e){t.attr(n)||e.preventDefault()}))}}}}),Vi={};C(_t,(function(e,t){if("multiple"!==e){var n=yn("ng-"+t),r=i;"checked"===e&&(r=function(e,t,r){r.ngModel!==r[n]&&i(e,0,r)}),Vi[n]=function(){return{restrict:"A",priority:100,link:r}}}function i(e,r,i){e.$watch(i[n],(function(e){i.$set(t,!!e)}))}})),C(Ft,(function(e,t){Vi[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(u);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],(function(e){r.$set(t,e)}))}}}})),C(["src","srcset","href"],(function(e){var t=yn("ng-"+e);Vi[t]=["$sce",function(n){return{priority:99,link:function(r,i,s){var a=e,c=e;"href"===e&&"[object SVGAnimatedString]"===$.call(i.prop("href"))&&(c="xlinkHref",s.$attr[c]="xlink:href",a=null),s.$set(t,n.getTrustedMediaUrl(s[t])),s.$observe(t,(function(t){t?(s.$set(c,t),o&&a&&i.prop(a,s[c])):"href"===e&&s.$set(c,null)}))}}}]}));var Ii={$addControl:P,$getControls:R([]),$$renameControl:function(e,t){e.$name=t},$removeControl:P,$setValidity:P,$setDirty:P,$setPristine:P,$setSubmitted:P,$$setSubmitted:P},Di="ng-pending",Li="ng-submitted";function Ui(e,t,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Ii,this.$$element=e,this.$$animate=r,zi(this)}Ui.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Ui.prototype={$rollbackViewValue:function(){C(this.$$controls,(function(e){e.$rollbackViewValue()}))},$commitViewValue:function(){C(this.$$controls,(function(e){e.$commitViewValue()}))},$addControl:function(e){Ne(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$getControls:function(){return Ue(this.$$controls)},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],C(this.$pending,(function(t,n){this.$setValidity(n,null,e)}),this),C(this.$error,(function(t,n){this.$setValidity(n,null,e)}),this),C(this.$$success,(function(t,n){this.$setValidity(n,null,e)}),this),ie(this.$$controls,e),e.$$parentForm=Ii},$setDirty:function(){this.$$animate.removeClass(this.$$element,Uo),this.$$animate.addClass(this.$$element,Bo),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Uo,Bo+" "+Li),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,C(this.$$controls,(function(e){e.$setPristine()}))},$setUntouched:function(){C(this.$$controls,(function(e){e.$setUntouched()}))},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==Ii;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,Li),this.$submitted=!0,C(this.$$controls,(function(e){e.$$setSubmitted&&e.$$setSubmitted()}))}},Wi({clazz:Ui,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(ie(r,n),0===r.length&&delete e[t])}});var Bi=function(e){return["$timeout","$parse",function(t,n){return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:Ui,compile:function(n,i){n.addClass(Uo).addClass(Do);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,s){var a=s[0];if(!("action"in i)){var c=function(t){e.$apply((function(){a.$commitViewValue(),a.$setSubmitted()})),t.preventDefault()};n[0].addEventListener("submit",c),n.on("$destroy",(function(){t((function(){n[0].removeEventListener("submit",c)}),0,!1)}))}(s[1]||a.$$parentForm).$addControl(a);var u=o?r(a.$name):P;o&&(u(e,a),i.$observe(o,(function(t){a.$name!==t&&(u(e,void 0),a.$$parentForm.$$renameControl(a,t),(u=r(a.$name))(e,a))}))),n.on("$destroy",(function(){a.$$parentForm.$removeControl(a),u(e,void 0),O(a,Ii)}))}}}};function r(e){return""===e?n('this[""]').assign:n(e).assign||P}}]},qi=Bi(),Hi=Bi(!0);function zi(e){e.$$classCache={},e.$$classCache[Lo]=!(e.$$classCache[Do]=e.$$element.hasClass(Do))}function Wi(e){var t=e.clazz,n=e.set,r=e.unset;function i(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function o(e,t,n){t=t?"-"+Me(t,"-"):"",i(e,Do+t,!0===n),i(e,Lo+t,!1===n)}t.prototype.$setValidity=function(e,t,s){var a;V(t)?function(e,t,r,i){e[t]||(e[t]={}),n(e[t],r,i)}(this,"$pending",e,s):function(e,t,n,i){e[t]&&r(e[t],n,i),Ki(e[t])&&(e[t]=void 0)}(this,"$pending",e,s),G(t)?t?(r(this.$error,e,s),n(this.$$success,e,s)):(n(this.$error,e,s),r(this.$$success,e,s)):(r(this.$error,e,s),r(this.$$success,e,s)),this.$pending?(i(this,Di,!0),this.$valid=this.$invalid=void 0,o(this,"",null)):(i(this,Di,!1),this.$valid=Ki(this.$error),this.$invalid=!this.$valid,o(this,"",this.$valid)),o(this,e,a=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null)),this.$$parentForm.$setValidity(e,a,this)}}function Ki(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var Yi=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ji=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Gi=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Zi=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Xi=/^(\d{4,})-(\d{2})-(\d{2})$/,Qi=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,eo=/^(\d{4,})-W(\d\d)$/,to=/^(\d{4,})-(\d\d)$/,no=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ro=Ie();C("date,datetime-local,month,time,week".split(","),(function(e){ro[e]=!0}));var io={text:function(e,t,n,r,i,o){so(0,t,n,r,i,o),oo(r)},date:co("date",Xi,ao(Xi,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":co("datetimelocal",Qi,ao(Qi,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:co("time",no,ao(no,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:co("week",eo,(function(e,t){if(q(e))return e;if(U(e)){eo.lastIndex=0;var n=eo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,s=0,a=0,c=0,u=Ci(r),l=7*(i-1);return t&&(o=t.getHours(),s=t.getMinutes(),a=t.getSeconds(),c=t.getMilliseconds()),new Date(r,0,u.getDate()+l,o,s,a,c)}}return NaN}),"yyyy-Www"),month:co("month",to,ao(to,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,i,o,s,a){var c;if(uo(0,t,0,r,"number"),lo(r),so(0,t,n,r,i,o),I(n.min)||n.ngMin){var u=n.min||a(n.ngMin)(e);c=fo(u),r.$validators.min=function(e,t){return r.$isEmpty(t)||V(c)||t>=c},n.$observe("min",(function(e){e!==u&&(c=fo(e),u=e,r.$validate())}))}if(I(n.max)||n.ngMax){var l=n.max||a(n.ngMax)(e),f=fo(l);r.$validators.max=function(e,t){return r.$isEmpty(t)||V(f)||t<=f},n.$observe("max",(function(e){e!==l&&(f=fo(e),l=e,r.$validate())}))}if(I(n.step)||n.ngStep){var h=n.step||a(n.ngStep)(e),p=fo(h);r.$validators.step=function(e,t){return r.$isEmpty(t)||V(p)||mo(t,c||0,p)},n.$observe("step",(function(e){e!==h&&(p=fo(e),h=e,r.$validate())}))}},url:function(e,t,n,r,i,o){so(0,t,n,r,i,o),oo(r),r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ji.test(n)}},email:function(e,t,n,r,i,o){so(0,t,n,r,i,o),oo(r),r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Gi.test(n)}},radio:function(e,t,n,r){var i=!n.ngTrim||"false"!==Q(n.ngTrim);V(n.name)&&t.attr("name",E()),t.on("change",(function(e){var o;t[0].checked&&(o=n.value,i&&(o=Q(o)),r.$setViewValue(o,e&&e.type))})),r.$render=function(){var e=n.value;i&&(e=Q(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)},range:function(e,t,n,r,i,o){uo(0,t,0,r,"range"),lo(r),so(0,t,n,r,i,o);var s=r.$$hasNativeValidators&&"range"===t[0].type,a=s?0:void 0,c=s?100:void 0,u=s?1:void 0,l=t[0].validity,f=I(n.min),h=I(n.max),p=I(n.step),d=r.$render;function m(e,r){t.attr(e,n[e]);var i=n[e];n.$observe(e,(function(e){e!==i&&(i=e,r(e))}))}r.$render=s&&I(l.rangeUnderflow)&&I(l.rangeOverflow)?function(){d(),r.$setViewValue(t.val())}:d,f&&(a=fo(n.min),r.$validators.min=s?function(){return!0}:function(e,t){return r.$isEmpty(t)||V(a)||t>=a},m("min",(function(e){if(a=fo(e),!M(r.$modelValue))if(s){var n=t.val();a>n&&(n=a,t.val(n)),r.$setViewValue(n)}else r.$validate()}))),h&&(c=fo(n.max),r.$validators.max=s?function(){return!0}:function(e,t){return r.$isEmpty(t)||V(c)||t<=c},m("max",(function(e){if(c=fo(e),!M(r.$modelValue))if(s){var n=t.val();c<n&&(t.val(c),n=c<a?a:c),r.$setViewValue(n)}else r.$validate()}))),p&&(u=fo(n.step),r.$validators.step=s?function(){return!l.stepMismatch}:function(e,t){return r.$isEmpty(t)||V(u)||mo(t,a||0,u)},m("step",(function(e){u=fo(e),M(r.$modelValue)||(s?r.$viewValue!==t.val()&&r.$setViewValue(t.val()):r.$validate())})))},checkbox:function(e,t,n,r,i,o,s,a){var c=$o(a,e,"ngTrueValue",n.ngTrueValue,!0),u=$o(a,e,"ngFalseValue",n.ngFalseValue,!1);t.on("change",(function(e){r.$setViewValue(t[0].checked,e&&e.type)})),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push((function(e){return ae(e,c)})),r.$parsers.push((function(e){return e?c:u}))},hidden:P,button:P,submit:P,reset:P,file:P};function oo(e){e.$formatters.push((function(t){return e.$isEmpty(t)?t:t.toString()}))}function so(e,t,n,r,i,o){var s,a=f(t[0].type);if(!i.android){var c=!1;t.on("compositionstart",(function(){c=!0})),t.on("compositionupdate",(function(e){(V(e.data)||""===e.data)&&(c=!1)})),t.on("compositionend",(function(){c=!1,u()}))}var u=function(e){if(s&&(o.defer.cancel(s),s=null),!c){var i=t.val(),u=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Q(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,u)}};if(i.hasEvent("input"))t.on("input",u);else{var l=function(e,t,n){s||(s=o.defer((function(){s=null,t&&t.value===n||u(e)})))};t.on("keydown",(function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||l(e,this,this.value)})),i.hasEvent("paste")&&t.on("paste cut drop",l)}t.on("change",u),ro[a]&&r.$$hasNativeValidators&&a===n.type&&t.on("keydown wheel mousedown",(function(e){if(!s){var t=this.validity,n=t.badInput,r=t.typeMismatch;s=o.defer((function(){s=null,t.badInput===n&&t.typeMismatch===r||u(e)}))}})),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function ao(e,t){return function(n,r){var i,o;if(q(n))return n;if(U(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Yi.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n)){i.shift(),o=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},C(i,(function(e,n){n<t.length&&(o[t[n]]=+e)}));var s=new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0);return o.yyyy<100&&s.setFullYear(o.yyyy),s}}return NaN}}function co(e,t,n,r){return function(i,o,s,a,c,u,l,f){uo(0,o,0,a,e),so(0,o,s,a,c,u);var h,p,d="time"===e||"datetimelocal"===e;if(a.$parsers.push((function(n){return a.$isEmpty(n)?null:t.test(n)?w(n,h):void(a.$$parserName=e)})),a.$formatters.push((function(e){if(e&&!q(e))throw Ko("datefmt","Expected `{0}` to be a date",e);if(y(e)){h=e;var t=a.$options.getOption("timezone");return t&&(p=t,h=ye(h,t,!0)),function(e,t){var n=r;d&&U(a.$options.getOption("timeSecondsFormat"))&&(n=r.replace("ss.sss",a.$options.getOption("timeSecondsFormat")).replace(/:$/,""));var i=l("date")(e,n,t);return d&&a.$options.getOption("timeStripZeroSeconds")&&(i=i.replace(/(?::00)?(?:\.000)?$/,"")),i}(e,t)}return h=null,p=null,""})),I(s.min)||s.ngMin){var m=s.min||f(s.ngMin)(i),$=b(m);a.$validators.min=function(e){return!y(e)||V($)||n(e)>=$},s.$observe("min",(function(e){e!==m&&($=b(e),m=e,a.$validate())}))}if(I(s.max)||s.ngMax){var g=s.max||f(s.ngMax)(i),v=b(g);a.$validators.max=function(e){return!y(e)||V(v)||n(e)<=v},s.$observe("max",(function(e){e!==g&&(v=b(e),g=e,a.$validate())}))}function y(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function b(e){return I(e)&&!q(e)?w(e)||void 0:e}function w(e,t){var r=a.$options.getOption("timezone");p&&p!==r&&(t=ve(t,ge(p)));var i=n(e,t);return!isNaN(i)&&r&&(i=ye(i,r)),i}}}function uo(e,t,n,r,i){var o=t[0];(r.$$hasNativeValidators=D(o.validity))&&r.$parsers.push((function(e){var n=t.prop("validity")||{};if(!n.badInput&&!n.typeMismatch)return e;r.$$parserName=i}))}function lo(e){e.$parsers.push((function(t){return e.$isEmpty(t)?null:Zi.test(t)?parseFloat(t):void(e.$$parserName="number")})),e.$formatters.push((function(t){if(!e.$isEmpty(t)){if(!B(t))throw Ko("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t}))}function fo(e){return I(e)&&!B(e)&&(e=parseFloat(e)),M(e)?void 0:e}function ho(e){return(0|e)===e}function po(e){var t=e.toString(),n=t.indexOf(".");if(-1===n){if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}return t.length-n-1}function mo(e,t,n){var r=Number(e),i=!ho(r),o=!ho(t),s=!ho(n);if(i||o||s){var a=i?po(r):0,c=o?po(t):0,u=s?po(n):0,l=Math.max(a,c,u),f=Math.pow(10,l);r*=f,t*=f,n*=f,i&&(r=Math.round(r)),o&&(t=Math.round(t)),s&&(n=Math.round(n))}return(r-t)%n==0}function $o(e,t,n,r,i){var o;if(I(r)){if(!(o=e(r)).constant)throw Ko("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}var go=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,s,a){a[0]&&(io[f(s.type)]||io.text)(i,o,s,a[0],t,e,n,r)}}}}],vo=function(){var e={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(e){this.setAttribute("value",e)}};return{restrict:"E",priority:200,compile:function(t,n){if("hidden"===f(n.type))return{pre:function(t,n,r,i){var o=n[0];o.parentNode&&o.parentNode.insertBefore(o,o.nextSibling),Object.defineProperty&&Object.defineProperty(o,"value",e)}}}}},yo=/^(true|false|\d+)$/,bo=function(){function e(e,t,n){var r=I(n)?n:9===o?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return yo.test(n.ngValue)?function(t,n,r){e(n,r,t.$eval(r.ngValue))}:function(t,n,r){t.$watch(r.ngValue,(function(t){e(n,r,t)}))}}}},wo=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,(function(e){n.textContent=De(e)}))}}}}],Co=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",(function(e){r.textContent=V(e)?"":e}))}}}}],xo=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),s=t(i.ngBindHtml,(function(t){return e.valueOf(t)}));return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(s,(function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")}))}}}}],ko=R({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push((function(){e.$eval(n.ngChange)}))}});function Eo(e,t){var n;return e="ngClass"+e,["$parse",function(s){return{restrict:"AC",link:function(a,c,u){var l,f=c.data("$classCounts"),h=!0;function p(e,t){var n=[];return C(e,(function(e){(t>0||f[e])&&(f[e]=(f[e]||0)+t,f[e]===+(t>0)&&n.push(e))})),n.join(" ")}f||(f=Ie(),c.data("$classCounts",f)),"ngClass"!==e&&(n||(n=s("$index",(function(e){return 1&e}))),a.$watch(n,(function(e){var n;e===t?(n=p(i(n=l),1),u.$addClass(n)):function(e){e=p(i(e),-1),u.$removeClass(e)}(l),h=e}))),a.$watch(s(u[e],o),(function(e){h===t&&function(e,t){var n=i(e),o=i(t),s=r(n,o),a=r(o,n),c=p(s,-1),l=p(a,1);u.$addClass(l),u.$removeClass(c)}(l,e),l=e}))}}}];function r(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i===t[o])continue e;n.push(i)}return n}function i(e){return e&&e.split(" ")}function o(e){if(!e)return e;var t=e;return H(e)?t=e.map(o).join(" "):D(e)?t=Object.keys(e).filter((function(t){return e[t]})).join(" "):U(e)||(t=e+""),t}}var So=Eo("",!0),Ao=Eo("Odd",0),Oo=Eo("Even",1),To=Ri({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),_o=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Mo={},Fo={blur:!0,focus:!0};function Po(e,t,n,r,i,o){return{restrict:"A",compile:function(s,a){var c=e(a[r]);return function(e,r){r.on(i,(function(r){var i=function(){c(e,{$event:r})};if(t.$$phase)if(o)e.$evalAsync(i);else try{i()}catch(e){n(e)}else e.$apply(i)}))}}}}C("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),(function(e){var t=yn("ng-"+e);Mo[t]=["$parse","$rootScope","$exceptionHandler",function(n,r,i){return Po(n,r,i,t,e,Fo[e])}]}));var jo=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,s){var a,c,u;n.$watch(i.ngIf,(function(n){n?c||s((function(n,o){c=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),a={clone:n},e.enter(n,r.parent(),r)})):(u&&(u.remove(),u=null),c&&(c.$destroy(),c=null),a&&(u=Ve(a.clone),e.leave(u).done((function(e){!1!==e&&(u=null)})),a=null))}))}}}],Ro=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:y.noop,compile:function(r,i){var o=i.ngInclude||i.src,s=i.onload||"",a=i.autoscroll;return function(r,i,c,u,l){var f,h,p,d=0,m=function(){h&&(h.remove(),h=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).done((function(e){!1!==e&&(h=null)})),h=p,p=null)};r.$watch(o,(function(o){var c=function(e){!1===e||!I(a)||a&&!r.$eval(a)||t()},h=++d;o?(e(o,!0).then((function(e){if(!r.$$destroyed&&h===d){var t=r.$new();u.template=e;var a=l(t,(function(e){m(),n.enter(e,null,i).done(c)}));p=a,(f=t).$emit("$includeContentLoaded",o),r.$eval(s)}}),(function(){r.$$destroyed||h===d&&(m(),r.$emit("$includeContentError",o))})),r.$emit("$includeContentRequested",o)):(m(),u.template=null)}))}}}}],No=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if($.call(r[0]).match(/SVG/))return r.empty(),void t(ut(o.template,e.document).childNodes)(n,(function(e){r.append(e)}),{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],Vo=Ri({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Io=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",o="false"!==n.ngTrim,s=o?Q(i):i;r.$parsers.push((function(e){if(!V(e)){var t=[];return e&&C(e.split(s),(function(e){e&&t.push(o?Q(e):e)})),t}})),r.$formatters.push((function(e){if(H(e))return e.join(i)})),r.$isEmpty=function(e){return!e||!e.length}}}},Do="ng-valid",Lo="ng-invalid",Uo="ng-pristine",Bo="ng-dirty",qo="ng-untouched",Ho="ng-touched",zo="ng-empty",Wo="ng-not-empty",Ko=i("ngModel");function Yo(e,t,n,r,i,o,s,a,c){var u;this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=Ii,this.$options=Jo,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=s,this.$$parse=i,this.$$q=a,this.$$exceptionHandler=t,zi(this),(u=this).$$scope.$watch((function(e){var t=u.$$ngModelGet(e);return t===u.$modelValue||u.$modelValue!=u.$modelValue&&t!=t||u.$$setModelValue(t),t}))}Yo.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Yo.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return W(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){W(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw Ko("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,be(this.$$element))},$render:P,$isEmpty:function(e){return V(e)||""===e||null===e||e!=e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,Wo),this.$$animate.addClass(this.$$element,zo)):(this.$$animate.removeClass(this.$$element,zo),this.$$animate.addClass(this.$$element,Wo))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Bo),this.$$animate.addClass(this.$$element,Uo)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Uo),this.$$animate.addClass(this.$$element,Bo),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,qo,Ho)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,Ho,qo)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!M(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,(function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())}))}},$$runValidators:function(e,t,n){this.$$currentValidationRunId++;var r,i,o,s,a=this.$$currentValidationRunId,c=this;function u(e,t){a===c.$$currentValidationRunId&&c.$setValidity(e,t)}function l(e){a===c.$$currentValidationRunId&&n(e)}s=c.$$parserName,(V(c.$$parserValid)?(u(s,null),1):(c.$$parserValid||(C(c.$validators,(function(e,t){u(t,null)})),C(c.$asyncValidators,(function(e,t){u(t,null)}))),u(s,c.$$parserValid),c.$$parserValid))?(o=!0,C(c.$validators,(function(n,r){var i=Boolean(n(e,t));o=o&&i,u(r,i)})),!o&&(C(c.$asyncValidators,(function(e,t){u(t,null)})),1)?l(!1):(r=[],i=!0,C(c.$asyncValidators,(function(n,o){var s=n(e,t);if(!Z(s))throw Ko("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);u(o,void 0),r.push(s.then((function(){u(o,!0)}),(function(){i=!1,u(o,!1)})))})),r.length?c.$$q.all(r).then((function(){l(i)}),P):l(!0))):l(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var e=this.$$lastCommittedViewValue,t=this;if(this.$$parserValid=!V(e)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var n=0;n<this.$parsers.length;n++)if(V(e=this.$parsers[n](e))){this.$$parserValid=!1;break}M(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var r=this.$modelValue,i=this.$options.getOption("allowInvalid");function o(){t.$modelValue!==r&&t.$$writeModelToScope()}this.$$rawModelValue=e,i&&(this.$modelValue=e,o()),this.$$runValidators(e,this.$$lastCommittedViewValue,(function(n){i||(t.$modelValue=n?e:void 0,o())}))},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),C(this.$viewChangeListeners,(function(e){try{e()}catch(e){this.$$exceptionHandler(e)}}),this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");B(t[e])?t=t[e]:B(t.default)&&-1===this.$options.getOption("updateOn").indexOf(e)?t=t.default:B(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout((function(){n.$commitViewValue()}),t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply((function(){n.$commitViewValue()}))},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,P))},$$format:function(){for(var e=this.$formatters,t=e.length,n=this.$modelValue;t--;)n=e[t](n);return n},$$setModelValue:function(e){this.$modelValue=this.$$rawModelValue=e,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),this.$$updateEvents=this.$options.getOption("updateOn"),this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(e){this.$$debounceViewValueCommit(e&&e.type)}},Wi({clazz:Yo,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Jo,Go=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Yo,priority:1,compile:function(t){return t.addClass(Uo).addClass(qo).addClass(Do),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,s=r[2];s&&(i.$options=s.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",(function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)})),e.$on("$destroy",(function(){i.$$parentForm.$removeControl(i)}))},post:function(t,n,r,i){var o=i[0];function s(){o.$setTouched()}o.$$setUpdateOnEvents(),n.on("blur",(function(){o.$touched||(e.$$phase?t.$evalAsync(s):t.$apply(s))}))}}}}}],Zo=/(\s+|^)default(\s+|$)/;function Xo(e){this.$$options=e}Xo.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return C(e=O({},e),(function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=Q(n.replace(Zo,(function(){return e.updateOnDefault=!0," "}))))}),this),t&&(delete e["*"],es(e,this.$$options)),es(e,Jo.$$options),new Xo(e)}},Jo=new Xo({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Qo=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Jo,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}};function es(e,t){C(t,(function(t,n){I(e[n])||(e[n]=t)}))}var ts=Ri({terminal:!0,priority:1e3}),ns=i("ngOptions"),rs=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,is=["$compile","$document","$parse",function(t,n,r){var i=e.document.createElement("option"),o=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=P},post:function(e,a,c,u){for(var l=u[0],f=u[1],h=c.multiple,p=0,d=a.children(),m=d.length;p<m;p++)if(""===d[p].value){l.hasEmptyOption=!0,l.emptyOption=d.eq(p);break}a.empty();var $,g=!!l.emptyOption;s(i.cloneNode(!1)).val("?");var v=function(e,t,n){var i=e.match(rs);if(!i)throw ns("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,be(t));var o=i[5]||i[7],s=i[6],a=/ as /.test(i[0])&&i[1],c=i[9],u=r(i[2]?i[1]:o),l=a&&r(a)||u,f=c&&r(c),h=c?function(e,t){return f(n,t)}:function(e){return Vt(e)},p=function(e,t){return h(e,y(e,t))},d=r(i[2]||i[1]),m=r(i[3]||""),$=r(i[4]||""),g=r(i[8]),v={},y=s?function(e,t){return v[s]=t,v[o]=e,v}:function(e){return v[o]=e,v};function b(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function C(e){var t;if(!s&&w(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}return{trackBy:c,getTrackByValue:p,getWatchables:r(g,(function(e){for(var t=[],r=C(e=e||[]),o=r.length,s=0;s<o;s++){var a=e===r?s:r[s],c=e[a],u=y(c,a),l=h(c,u);if(t.push(l),i[2]||i[1]){var f=d(n,u);t.push(f)}if(i[4]){var p=$(n,u);t.push(p)}}return t})),getOptions:function(){for(var e=[],t={},r=g(n)||[],i=C(r),o=i.length,s=0;s<o;s++){var a=r===i?s:i[s],u=r[a],f=y(u,a),v=l(n,f),w=h(v,f),x=new b(w,v,d(n,f),m(n,f),$(n,f));e.push(x),t[w]=x}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[p(e)]},getViewValueFromOption:function(e){return c?oe(e.viewValue):e.viewValue}}}}}(c.ngOptions,a,e),y=n[0].createDocumentFragment();function b(e,t){var n=i.cloneNode(!1);t.appendChild(n),function(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}(e,n)}function x(e){var t=$.getOptionFromViewValue(e),n=t&&t.element;return n&&!n.selected&&(n.selected=!0),t}l.generateUnknownOptionValue=function(e){return"?"},h?(l.writeValue=function(e){if($){var t=e&&e.map(x)||[];$.items.forEach((function(e){e.element.selected&&!re(t,e)&&(e.element.selected=!1)}))}},l.readValue=function(){var e=a.val()||[],t=[];return C(e,(function(e){var n=$.selectValueMap[e];n&&!n.disabled&&t.push($.getViewValueFromOption(n))})),t},v.trackBy&&e.$watchCollection((function(){if(H(f.$viewValue))return f.$viewValue.map((function(e){return v.getTrackByValue(e)}))}),(function(){f.$render()}))):(l.writeValue=function(e){if($){var t=a[0].options[a[0].selectedIndex],n=$.getOptionFromViewValue(e);t&&t.removeAttribute("selected"),n?(a[0].value!==n.selectValue&&(l.removeUnknownOption(),a[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):l.selectUnknownOrEmptyOption(e)}},l.readValue=function(){var e=$.selectValueMap[a.val()];return e&&!e.disabled?(l.unselectEmptyOption(),l.removeUnknownOption(),$.getViewValueFromOption(e)):null},v.trackBy&&e.$watch((function(){return v.getTrackByValue(f.$viewValue)}),(function(){f.$render()}))),g&&(t(l.emptyOption)(e),a.prepend(l.emptyOption),8===l.emptyOption[0].nodeType?(l.hasEmptyOption=!1,l.registerOption=function(e,t){""===t.val()&&(l.hasEmptyOption=!0,l.emptyOption=t,l.emptyOption.removeClass("ng-scope"),f.$render(),t.on("$destroy",(function(){var e=l.$isEmptyOptionSelected();l.hasEmptyOption=!1,l.emptyOption=void 0,e&&f.$render()})))}):l.emptyOption.removeClass("ng-scope")),e.$watchCollection(v.getWatchables,(function(){var e=$&&l.readValue();if($)for(var t=$.items.length-1;t>=0;t--){var n=$.items[t];I(n.group)?At(n.element.parentNode):At(n.element)}$=v.getOptions();var r={};if($.items.forEach((function(e){var t;I(e.group)?((t=r[e.group])||(t=o.cloneNode(!1),y.appendChild(t),t.label=null===e.group?"null":e.group,r[e.group]=t),b(e,t)):b(e,y)})),a[0].appendChild(y),f.$render(),!f.$isEmpty(e)){var i=l.readValue();(v.trackBy||h?ae(e,i):e===i)||(f.$setViewValue(i),f.$render())}}))}}}}],os=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(o,s,a){var c,u=a.count,l=a.$attr.when&&s.attr(a.$attr.when),h=a.offset||0,p=o.$eval(l)||{},d={},m=t.startSymbol(),$=t.endSymbol(),g=m+u+"-"+h+$,v=y.noop;function b(e){s.text(e||"")}C(a,(function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+f(n[2]);p[r]=s.attr(a.$attr[t])}})),C(p,(function(e,n){d[n]=t(e.replace(r,g))})),o.$watch(u,(function(t){var r=parseFloat(t),i=M(r);if(i||r in p||(r=e.pluralCat(r-h)),!(r===c||i&&M(c))){v();var s=d[r];V(s)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+l),v=P,b()):v=o.$watch(s,b),c=r}}))}}}],ss=i("ngRef"),as=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var r=yn(ne(t)),i=e(n.ngRef),o=i.assign||function(){throw ss("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(e,t,s){var a;if(s.hasOwnProperty("ngRefRead")){if("$element"===s.ngRefRead)a=t;else if(!(a=t.data("$"+s.ngRefRead+"Controller")))throw ss("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',s.ngRefRead,n.ngRef)}else a=t.data("$"+r+"Controller");o(e,a=a||t),t.on("$destroy",(function(){i(e)===a&&o(e,null)}))}}}}],cs=["$parse","$animate","$compile",function(e,t,n){var r="$$NG_REMOVED",o=i("ngRepeat"),s=function(e,t,n,r,i,o,s){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===s-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},a=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]},u=function(e,t,n){return Vt(n)},f=function(e,t){return t};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,h){var p=h.ngRepeat,d=n.$$createComment("end ngRepeat",p),m=p.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!m)throw o("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",p);var $=m[1],g=m[2],v=m[3],y=m[4];if(!(m=$.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw o("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",$);var b,x=m[3]||m[1],k=m[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw o("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);if(y){var E={$id:Vt},S=e(y);b=function(e,t,n,r){return k&&(E[k]=t),E[x]=n,E.$index=r,S(e,E)}}return function(e,n,i,h,m){var $=Ie();e.$watchCollection(g,(function(i){var h,g,y,S,A,O,T,_,M,F,P,j,R=n[0],N=Ie();if(v&&(e[v]=i),w(i))M=i,_=b||u;else for(var V in _=b||f,M=[],i)l.call(i,V)&&"$"!==V.charAt(0)&&M.push(V);for(S=M.length,P=new Array(S),h=0;h<S;h++)if(A=i===M?h:M[h],O=i[A],T=_(e,A,O,h),$[T])F=$[T],delete $[T],N[T]=F,P[h]=F;else{if(N[T])throw C(P,(function(e){e&&e.scope&&($[e.id]=e)})),o("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",p,T,O);P[h]={id:T,scope:void 0,clone:void 0},N[T]=!0}for(var I in E&&(E[x]=void 0),$){if(j=Ve((F=$[I]).clone),t.leave(j),j[0].parentNode)for(h=0,g=j.length;h<g;h++)j[h][r]=!0;F.scope.$destroy()}for(h=0;h<S;h++)if(A=i===M?h:M[h],O=i[A],(F=P[h]).scope){y=R;do{y=y.nextSibling}while(y&&y[r]);a(F)!==y&&t.move(Ve(F.clone),null,R),R=c(F),s(F.scope,h,x,O,k,A,S)}else m((function(e,n){F.scope=n;var r=d.cloneNode(!1);e[e.length++]=r,t.enter(e,null,R),R=r,F.clone=e,N[F.id]=F,s(F.scope,h,x,O,k,A,S)}));$=N}))}}}}],us="ng-hide",ls="ng-hide-animate",fs=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,(function(t){e[t?"removeClass":"addClass"](n,us,{tempClasses:ls})}))}}}],hs=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,(function(t){e[t?"addClass":"removeClass"](n,us,{tempClasses:ls})}))}}}],ps=Ri((function(e,t,n){e.$watchCollection(n.ngStyle,(function(e,n){n&&e!==n&&C(n,(function(e,n){t.css(n,"")})),e&&t.css(e)}))})),ds=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,o){var s=i.ngSwitch||i.on,a=[],c=[],u=[],l=[],f=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(s,(function(n){for(var r,i;u.length;)e.cancel(u.pop());for(r=0,i=l.length;r<i;++r){var s=Ve(c[r].clone);l[r].$destroy(),(u[r]=e.leave(s)).done(f(u,r))}c.length=0,l.length=0,(a=o.cases["!"+n]||o.cases["?"])&&C(a,(function(n){n.transclude((function(r,i){l.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var s={clone:r};c.push(s),e.enter(r,o.parent(),o)}))}))}))}}}],ms=Ri({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){C(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter((function(e,t,n){return n[t-1]!==e})),(function(e){r.cases["!"+e]=r.cases["!"+e]||[],r.cases["!"+e].push({transclude:i,element:t})}))}}),$s=Ri({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),gs=i("ngTransclude"),vs=["$compile",function(e){return{restrict:"EAC",compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,r,i,o){if(!o)throw gs("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",be(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var s=r.ngTransclude||r.ngTranscludeSlot;function a(){n(e,(function(e){t.append(e)}))}o((function(e,n){e.length&&function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==Le||r.nodeValue.trim())return!0}}(e)?t.append(e):(a(),n.$destroy())}),null,s),s&&!o.isSlotFilled(s)&&a()}}}}],ys=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"===n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],bs={$setViewValue:P,$render:P};function ws(e,t){e.prop("selected",t),e.attr("selected",t)}var Cs=["$element","$scope",function(t,n){var r=this,i=new Lt;r.selectValueMap={},r.ngModelCtrl=bs,r.multiple=!1,r.unknownOption=s(e.document.createElement("option")),r.hasEmptyOption=!1,r.emptyOption=void 0,r.renderUnknownOption=function(e){var n=r.generateUnknownOptionValue(e);r.unknownOption.val(n),t.prepend(r.unknownOption),ws(r.unknownOption,!0),t.val(n)},r.updateUnknownOption=function(e){var n=r.generateUnknownOptionValue(e);r.unknownOption.val(n),ws(r.unknownOption,!0),t.val(n)},r.generateUnknownOptionValue=function(e){return"? "+Vt(e)+" ?"},r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.selectEmptyOption=function(){r.emptyOption&&(t.val(""),ws(r.emptyOption,!0))},r.unselectEmptyOption=function(){r.hasEmptyOption&&ws(r.emptyOption,!1)},n.$on("$destroy",(function(){r.renderUnknownOption=P})),r.readValue=function(){var e=t.val(),n=e in r.selectValueMap?r.selectValueMap[e]:e;return r.hasOption(n)?n:null},r.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];if(n&&ws(s(n),!1),r.hasOption(e)){r.removeUnknownOption();var i=Vt(e);t.val(i in r.selectValueMap?i:e);var o=t[0].options[t[0].selectedIndex];ws(s(o),!0)}else r.selectUnknownOrEmptyOption(e)},r.addOption=function(e,t){if(8!==t[0].nodeType){Ne(e,'"option value"'),""===e&&(r.hasEmptyOption=!0,r.emptyOption=t);var n=i.get(e)||0;i.set(e,n+1),a()}},r.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.delete(e),""===e&&(r.hasEmptyOption=!1,r.emptyOption=void 0)):i.set(e,t-1))},r.hasOption=function(e){return!!i.get(e)},r.$hasEmptyOption=function(){return r.hasEmptyOption},r.$isUnknownOptionSelected=function(){return t[0].options[0]===r.unknownOption[0]},r.$isEmptyOptionSelected=function(){return r.hasEmptyOption&&t[0].options[t[0].selectedIndex]===r.emptyOption[0]},r.selectUnknownOrEmptyOption=function(e){null==e&&r.emptyOption?(r.removeUnknownOption(),r.selectEmptyOption()):r.unknownOption.parent().length?r.updateUnknownOption(e):r.renderUnknownOption(e)};var o=!1;function a(){o||(o=!0,n.$$postDigest((function(){o=!1,r.ngModelCtrl.$render()})))}var c=!1;function u(e){c||(c=!0,n.$$postDigest((function(){n.$$destroyed||(c=!1,r.ngModelCtrl.$setViewValue(r.readValue()),e&&r.ngModelCtrl.$render())})))}r.registerOption=function(e,t,n,i,o){var s,c;n.$attr.ngValue?n.$observe("value",(function(e){var n,i=t.prop("selected");I(c)&&(r.removeOption(s),delete r.selectValueMap[c],n=!0),c=Vt(e),s=e,r.selectValueMap[c]=e,r.addOption(e,t),t.attr("value",c),n&&i&&u()})):i?n.$observe("value",(function(e){var n;r.readValue();var i=t.prop("selected");I(s)&&(r.removeOption(s),n=!0),s=e,r.addOption(e,t),n&&i&&u()})):o?e.$watch(o,(function(e,i){n.$set("value",e);var o=t.prop("selected");i!==e&&r.removeOption(i),r.addOption(e,t),i&&o&&u()})):r.addOption(n.value,t),n.$observe("disabled",(function(e){("true"===e||e&&t.prop("selected"))&&(r.multiple?u(!0):(r.ngModelCtrl.$setViewValue(null),r.ngModelCtrl.$render()))})),t.on("$destroy",(function(){var e=r.readValue(),t=n.value;r.removeOption(t),a(),(r.multiple&&e&&-1!==e.indexOf(t)||e===t)&&u(!0)}))}}],xs=function(){return{restrict:"E",require:["select","?ngModel"],controller:Cs,priority:1,link:{pre:function(e,t,n,r){var i=r[0],o=r[1];if(o){if(i.ngModelCtrl=o,t.on("change",(function(){i.removeUnknownOption(),e.$apply((function(){o.$setViewValue(i.readValue())}))})),n.multiple){i.multiple=!0,i.readValue=function(){var e=[];return C(t.find("option"),(function(t){if(t.selected&&!t.disabled){var n=t.value;e.push(n in i.selectValueMap?i.selectValueMap[n]:n)}})),e},i.writeValue=function(e){C(t.find("option"),(function(t){var n=!!e&&(re(e,t.value)||re(e,i.selectValueMap[t.value]));n!==t.selected&&ws(s(t),n)}))};var a,c=NaN;e.$watch((function(){c!==o.$viewValue||ae(a,o.$viewValue)||(a=Ue(o.$viewValue),o.$render()),c=o.$viewValue})),o.$isEmpty=function(e){return!e||0===e.length}}}else i.registerOption=P},post:function(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}}}},ks=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return I(n.ngValue)||(I(n.value)?r=e(n.value,!0):(i=e(t.text(),!0))||n.$set("value",t.text())),function(e,t,n){var o="$selectController",s=t.parent(),a=s.data(o)||s.parent().data(o);a&&a.registerOption(e,t,n,r,i)}}}}],Es=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.hasOwnProperty("required")||e(r.ngRequired)(t);r.ngRequired||(r.required=!0),i.$validators.required=function(e,t){return!o||!i.$isEmpty(t)},r.$observe("required",(function(e){o!==e&&(o=e,i.$validate())}))}}}}],Ss=["$parse",function(e){return{restrict:"A",require:"?ngModel",compile:function(t,n){var r,i;return n.ngPattern&&(r=n.ngPattern,i="/"===n.ngPattern.charAt(0)&&u.test(n.ngPattern)?function(){return n.ngPattern}:e(n.ngPattern)),function(e,t,n,o){if(o){var s=n.pattern;n.ngPattern?s=i(e):r=n.pattern;var a=Ts(s,r,t);n.$observe("pattern",(function(e){var n=a;a=Ts(e,r,t),(n&&n.toString())!==(a&&a.toString())&&o.$validate()})),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||V(a)||a.test(t)}}}}}}],As=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.maxlength||e(r.ngMaxlength)(t),s=_s(o);r.$observe("maxlength",(function(e){o!==e&&(s=_s(e),o=e,i.$validate())})),i.$validators.maxlength=function(e,t){return s<0||i.$isEmpty(t)||t.length<=s}}}}}],Os=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.minlength||e(r.ngMinlength)(t),s=_s(o)||-1;r.$observe("minlength",(function(e){o!==e&&(s=_s(e)||-1,o=e,i.$validate())})),i.$validators.minlength=function(e,t){return i.$isEmpty(t)||t.length>=s}}}}}];function Ts(e,t,n){if(e){if(U(e)&&(e=new RegExp("^"+e+"$")),!e.test)throw i("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",t,e,be(n));return e}}function _s(e){var t=_(e);return M(t)?-1:t}e.angular.bootstrap?e.console&&console.log("WARNING: Tried to load AngularJS more than once."):(function(){var t;if(!Fe){var n=ue();(a=V(n)?e.jQuery:n?e[n]:void 0)&&a.fn.on?(s=a,O(a.fn,{scope:Tt.scope,isolateScope:Tt.isolateScope,controller:Tt.controller,injector:Tt.injector,inheritedData:Tt.inheritedData})):s=ft,t=s.cleanData,s.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=(s._data(r)||{}).events)&&n.$destroy&&s(r).triggerHandler("$destroy");t(e)},y.element=s,Fe=!0}}(),function(t){O(t,{errorHandlingConfig:n,bootstrap:Ae,copy:oe,extend:O,merge:T,equals:ae,element:s,forEach:C,injector:Gt,noop:P,bind:he,toJson:de,fromJson:me,identity:j,isUndefined:V,isDefined:I,isString:U,isFunction:W,isObject:D,isNumber:B,isElement:te,isArray:H,version:qe,isDate:q,callbacks:{$$counter:0},getTestability:Te,reloadWithDebugInfo:Oe,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:Pe,$$minErr:i,$$csp:ce,$$encodeUriSegment:xe,$$encodeUriQuery:ke,$$lowercase:f,$$stringify:De,$$uppercase:h}),(c=function(e){var t=i("$injector"),n=i("ng");function r(e,t,n){return e[t]||(e[t]=n())}var o=r(e,"angular",Object);return o.$$minErr=o.$$minErr||i,r(o,"module",(function(){var e={};return function(i,o,s){var a={};return function(e,t){if("hasOwnProperty"===e)throw n("badname","hasOwnProperty is not a valid {0} name","module")}(i),o&&e.hasOwnProperty(i)&&(e[i]=null),r(e,i,(function(){if(!o)throw t("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",i);var e=[],r=[],c=[],u=f("$injector","invoke","push",r),l={_invokeQueue:e,_configBlocks:r,_runBlocks:c,info:function(e){if(I(e)){if(!D(e))throw n("aobj","Argument '{0}' must be an object","value");return a=e,this}return a},requires:o,name:i,provider:h("$provide","provider"),factory:h("$provide","factory"),service:h("$provide","service"),value:f("$provide","value"),constant:f("$provide","constant","unshift"),decorator:h("$provide","decorator",r),animation:h("$animateProvider","register"),filter:h("$filterProvider","register"),controller:h("$controllerProvider","register"),directive:h("$compileProvider","directive"),component:h("$compileProvider","component"),config:u,run:function(e){return c.push(e),this}};return s&&u(s),l;function f(t,n,r,i){return i||(i=e),function(){return i[r||"push"]([t,n,arguments]),l}}function h(t,n,r){return r||(r=e),function(e,o){return o&&W(o)&&(o.$$moduleName=i),r.push([t,n,arguments]),l}}}))}}))}(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Ur}),e.provider("$compile",mn).directive({a:Ni,input:go,textarea:go,form:qi,script:ys,select:xs,option:ks,ngBind:wo,ngBindHtml:xo,ngBindTemplate:Co,ngClass:So,ngClassEven:Oo,ngClassOdd:Ao,ngCloak:To,ngController:_o,ngForm:Hi,ngHide:hs,ngIf:jo,ngInclude:Ro,ngInit:Vo,ngNonBindable:ts,ngPluralize:os,ngRef:as,ngRepeat:cs,ngShow:fs,ngStyle:ps,ngSwitch:ds,ngSwitchWhen:ms,ngSwitchDefault:$s,ngOptions:is,ngTransclude:vs,ngModel:Go,ngList:Io,ngChange:ko,pattern:Ss,ngPattern:Ss,required:Es,ngRequired:Es,minlength:Os,ngMinlength:Os,maxlength:As,ngMaxlength:As,ngValue:bo,ngModelOptions:Qo}).directive({ngInclude:No,input:vo}).directive(Vi).directive(Mo),e.provider({$anchorScroll:Zt,$animate:on,$animateCss:cn,$$animateJs:nn,$$animateQueue:rn,$$AnimateRunner:an,$$animateAsyncRun:sn,$browser:ln,$cacheFactory:fn,$controller:En,$document:Sn,$$isDocumentHidden:An,$exceptionHandler:On,$filter:hi,$$forceReflow:Tn,$interpolate:Kn,$interval:Jn,$$intervalFactory:Gn,$http:qn,$httpParamSerializer:Nn,$httpParamSerializerJQLike:Vn,$httpBackend:zn,$xhrFactory:Hn,$jsonpCallbacks:Zn,$location:pr,$log:dr,$parse:Fr,$rootScope:Lr,$q:Pr,$$q:jr,$sce:Yr,$sceDelegate:Kr,$sniffer:Jr,$$taskTrackerFactory:Gr,$templateCache:hn,$templateRequest:Qr,$$testability:ei,$timeout:ni,$window:ui,$$rAF:Dr,$$jqLite:Nt,$$Map:Ut,$$cookieReader:fi})}]).info({angularVersion:"1.8.2"})}(y),y.module("ngLocale",[],["$provide",function(e){e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var n=0|e,r=function(e,t){var n=t;void 0===n&&(n=Math.min(function(e){var t=(e+="").indexOf(".");return-1==t?0:e.length-t-1}(e),3));var r=Math.pow(10,n);return{v:n,f:(e*r|0)%r}}(e,t);return 1==n&&0==r.v?"one":"other"}})}]),s((function(){!function(t,n){var r,i,o={};if(C(Ee,(function(e){var n=e+"app";!r&&t.hasAttribute&&t.hasAttribute(n)&&(r=t,i=t.getAttribute(n))})),C(Ee,(function(e){var n,o=e+"app";!r&&(n=t.querySelector("["+o.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(o))})),r){if(!Se)return void e.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");o.strictDi=null!==function(e,t){var n,r,i=Ee.length;for(r=0;r<i;++r)if(n=Ee[r]+"strict-di",U(n=e.getAttribute(n)))return n;return null}(r),n(r,i?[i]:[],o)}}(e.document,Ae)})))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(window.angular.element("<style>").text('@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}'))},4027:(e,t,n)=>{n(7808),e.exports=angular},7911:e=>{function t(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=t,t.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},t.prototype.reset=function(){this.attempts=0},t.prototype.setMin=function(e){this.ms=e},t.prototype.setMax=function(e){this.max=e},t.prototype.setJitter=function(e){this.jitter=e}},4526:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")()},3063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.installTimerFunctions=t.transports=t.Transport=t.protocol=t.Socket=void 0;const r=n(4924);Object.defineProperty(t,"Socket",{enumerable:!0,get:function(){return r.Socket}}),t.protocol=r.Socket.protocol;var i=n(7145);Object.defineProperty(t,"Transport",{enumerable:!0,get:function(){return i.Transport}});var o=n(2839);Object.defineProperty(t,"transports",{enumerable:!0,get:function(){return o.transports}});var s=n(5942);Object.defineProperty(t,"installTimerFunctions",{enumerable:!0,get:function(){return s.installTimerFunctions}})},4924:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Socket=void 0;const i=n(2839),o=n(5942),s=r(n(4355)),a=r(n(4243)),c=r(n(6406)),u=n(6452),l=n(3471),f=(0,c.default)("engine.io-client:socket");class h extends u.Emitter{constructor(e,t={}){super(),e&&"object"==typeof e&&(t=e,e=null),e?(e=(0,a.default)(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=(0,a.default)(t.host).host),(0,o.installTimerFunctions)(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},t),this.opts.path=this.opts.path.replace(/\/$/,"")+"/","string"==typeof this.opts.query&&(this.opts.query=s.default.decode(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&addEventListener("beforeunload",(()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())}),!1),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close")},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){f('creating transport "%s"',e);const t=function(e){const t={};for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.opts.query);t.EIO=l.protocol,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return f("options: %j",n),new i.transports[e](n)}open(){let e;if(this.opts.rememberUpgrade&&h.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return f("error while creating transport: %s",e),this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){f("setting transport %s",e.name),this.transport&&(f("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(()=>{this.onClose("transport close")}))}probe(e){f('probing transport "%s"',e);let t=this.createTransport(e),n=!1;h.priorWebsocketSuccess=!1;const r=()=>{n||(f('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(r=>{if(!n)if("pong"===r.type&&"probe"===r.data){if(f('probe transport "%s" pong',e),this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;h.priorWebsocketSuccess="websocket"===t.name,f('pausing current transport "%s"',this.transport.name),this.transport.pause((()=>{n||"closed"!==this.readyState&&(f("changing transport and sending upgrade packet"),u(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{f('probe transport "%s" failed',e);const n=new Error("probe error");n.transport=t.name,this.emitReserved("upgradeError",n)}})))};function i(){n||(n=!0,u(),t.close(),t=null)}const o=n=>{const r=new Error("probe error: "+n);r.transport=t.name,i(),f('probe transport "%s" failed because of error: %s',e,n),this.emitReserved("upgradeError",r)};function s(){o("transport closed")}function a(){o("socket closed")}function c(e){t&&e.name!==t.name&&(f('"%s" works - aborting "%s"',e.name,t.name),i())}const u=()=>{t.removeListener("open",r),t.removeListener("error",o),t.removeListener("close",s),this.off("close",a),this.off("upgrading",c)};t.once("open",r),t.once("error",o),t.once("close",s),this.once("close",a),this.once("upgrading",c),t.open()}onOpen(){if(f("socket open"),this.readyState="open",h.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){f("starting upgrade probes");let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(f('socket receive: type "%s", data "%s"',e.type,e.data),this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}else f('packet received with socket readyState "%s"',this.readyState)}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((()=>{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(f("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emitReserved("flush"))}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;const i={type:e,data:t,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),f("socket closing - telling transport to close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?n():e()})):this.upgrading?n():e()),this}onError(e){f("socket error %j",e),h.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(f('socket close with reason: "%s"',e),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&removeEventListener("offline",this.offlineEventListener,!1),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const r=e.length;for(;n<r;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}t.Socket=h,h.protocol=l.protocol},7145:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Transport=void 0;const i=n(3471),o=n(6452),s=n(5942),a=(0,r(n(6406)).default)("engine.io-client:transport");class c extends o.Emitter{constructor(e){super(),this.writable=!1,(0,s.installTimerFunctions)(this,e),this.opts=e,this.query=e.query,this.readyState="",this.socket=e.socket}onError(e,t){const n=new Error(e);return n.type="TransportError",n.description=t,super.emit("error",n),this}open(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState?this.write(e):a("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emit("open")}onData(e){const t=(0,i.decodePacket)(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emit("packet",e)}onClose(){this.readyState="closed",super.emit("close")}}t.Transport=c},2839:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transports=void 0;const r=n(1733),i=n(595);t.transports={websocket:i.WS,polling:r.XHR}},1733:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Request=t.XHR=void 0;const i=r(n(563)),o=r(n(6406)),s=r(n(4526)),a=n(5942),c=n(6452),u=n(5230),l=(0,o.default)("engine.io-client:polling-xhr");function f(){}const h=null!=new i.default({xdomain:!1}).responseType;class p extends u.Polling{constructor(e){if(super(e),"undefined"!=typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port,this.xs=e.secure!==t}const t=e&&e.forceBase64;this.supportsBinary=h&&!t}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new d(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",(e=>{this.onError("xhr post error",e)}))}doPoll(){l("xhr poll");const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(e=>{this.onError("xhr poll error",e)})),this.pollXhr=e}}t.XHR=p;class d extends c.Emitter{constructor(e,t){super(),(0,a.installTimerFunctions)(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.create()}create(){const e=(0,a.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const t=this.xhr=new i.default(e);try{l("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&t.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(e){}if("POST"===this.method)try{t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(t.timeout=this.opts.requestTimeout),t.onreadystatechange=()=>{4===t.readyState&&(200===t.status||1223===t.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof t.status?t.status:0)}),0))},l("xhr data %s",this.data),t.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=d.requestsCount++,d.requests[this.index]=this)}onSuccess(){this.emit("success"),this.cleanup()}onData(e){this.emit("data",e),this.onSuccess()}onError(e){this.emit("error",e),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=f,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete d.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&this.onData(e)}abort(){this.cleanup()}}if(t.Request=d,d.requestsCount=0,d.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",m);else if("function"==typeof addEventListener){const e="onpagehide"in s.default?"pagehide":"unload";addEventListener(e,m,!1)}function m(){for(let e in d.requests)d.requests.hasOwnProperty(e)&&d.requests[e].abort()}},5230:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Polling=void 0;const i=n(7145),o=r(n(6406)),s=r(n(4973)),a=r(n(4355)),c=n(3471),u=(0,o.default)("engine.io-client:polling");class l extends i.Transport{constructor(){super(...arguments),this.polling=!1}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{u("paused"),this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(u("we are currently polling - waiting to pause"),e++,this.once("pollComplete",(function(){u("pre-pause polling complete"),--e||t()}))),this.writable||(u("we are currently writing - waiting to pause"),e++,this.once("drain",(function(){u("pre-pause writing complete"),--e||t()})))}else t()}poll(){u("polling"),this.polling=!0,this.doPoll(),this.emit("poll")}onData(e){u("polling got data %s",e),(0,c.decodePayload)(e,this.socket.binaryType).forEach((e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose(),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():u('ignoring poll - transport state "%s"',this.readyState))}doClose(){const e=()=>{u("writing close packet"),this.write([{type:"close"}])};"open"===this.readyState?(u("transport open - closing"),e()):(u("transport not open - deferring close"),this.once("open",e))}write(e){this.writable=!1,(0,c.encodePayload)(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emit("drain")}))}))}uri(){let e=this.query||{};const t=this.opts.secure?"https":"http";let n="";!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=(0,s.default)()),this.supportsBinary||e.sid||(e.b64=1),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(n=":"+this.opts.port);const r=a.default.encode(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+(r.length?"?"+r:"")}}t.Polling=l},6210:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultBinaryType=t.usingBrowserWebSocket=t.WebSocket=t.nextTick=void 0;const i=r(n(4526));t.nextTick="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),t.WebSocket=i.default.WebSocket||i.default.MozWebSocket,t.usingBrowserWebSocket=!0,t.defaultBinaryType="arraybuffer"},595:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WS=void 0;const i=n(7145),o=r(n(4355)),s=r(n(4973)),a=n(5942),c=n(6210),u=r(n(6406)),l=n(3471),f=(0,u.default)("engine.io-client:websocket"),h="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class p extends i.Transport{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=h?{}:(0,a.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=c.usingBrowserWebSocket&&!h?t?new c.WebSocket(e,t):new c.WebSocket(e):new c.WebSocket(e,t,n)}catch(e){return this.emit("error",e)}this.ws.binaryType=this.socket.binaryType||c.defaultBinaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=this.onClose.bind(this),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],r=t===e.length-1;(0,l.encodePacket)(n,this.supportsBinary,(e=>{const t={};!c.usingBrowserWebSocket&&(n.options&&(t.compress=n.options.compress),this.opts.perMessageDeflate)&&("string"==typeof e?Buffer.byteLength(e):e.length)<this.opts.perMessageDeflate.threshold&&(t.compress=!1);try{c.usingBrowserWebSocket?this.ws.send(e):this.ws.send(e,t)}catch(e){f("websocket closed before onclose event")}r&&(0,c.nextTick)((()=>{this.writable=!0,this.emit("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const t=this.opts.secure?"wss":"ws";let n="";this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(n=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=(0,s.default)()),this.supportsBinary||(e.b64=1);const r=o.default.encode(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+n+this.opts.path+(r.length?"?"+r:"")}check(){return!(!c.WebSocket||"__initialize"in c.WebSocket&&this.name===p.prototype.name)}}t.WS=p},563:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(9166)),o=r(n(4526));t.default=function(e){const t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||i.default))return new XMLHttpRequest}catch(e){}if(!t)try{return new(o.default[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}},5942:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.installTimerFunctions=t.pick=void 0;const i=r(n(4526));t.pick=function(e,...t){return t.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})};const o=setTimeout,s=clearTimeout;t.installTimerFunctions=function(e,t){t.useNativeTimers?(e.setTimeoutFn=o.bind(i.default),e.clearTimeoutFn=s.bind(i.default)):(e.setTimeoutFn=setTimeout.bind(i.default),e.clearTimeoutFn=clearTimeout.bind(i.default))}},6406:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(3487)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3487:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o,s=null;function a(...e){if(!a.enabled)return;const r=a,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];n=o.call(r,t),e.splice(s,1),s--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(6607),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},6607:e=>{var t=1e3,n=60*t,r=60*n,i=24*r;function o(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,s){s=s||{};var a,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===u&&isFinite(e))return s.long?(a=e,(c=Math.abs(a))>=i?o(a,c,i,"day"):c>=r?o(a,c,r,"hour"):c>=n?o(a,c,n,"minute"):c>=t?o(a,c,t,"second"):a+" ms"):function(e){var o=Math.abs(e);return o>=i?Math.round(e/i)+"d":o>=r?Math.round(e/r)+"h":o>=n?Math.round(e/n)+"m":o>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},3878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERROR_PACKET=t.PACKET_TYPES_REVERSE=t.PACKET_TYPES=void 0;const n=Object.create(null);t.PACKET_TYPES=n,n.open="0",n.close="1",n.ping="2",n.pong="3",n.message="4",n.upgrade="5",n.noop="6";const r=Object.create(null);t.PACKET_TYPES_REVERSE=r,Object.keys(n).forEach((e=>{r[n[e]]=e})),t.ERROR_PACKET={type:"error",data:"parser error"}},7262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3878),i=n(1796),o="function"==typeof ArrayBuffer,s=(e,t)=>{if(o){const n=(0,i.decode)(e);return a(n,t)}return{base64:!0,data:e}},a=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}};t.default=(e,t)=>{if("string"!=typeof e)return{type:"message",data:a(e,t)};const n=e.charAt(0);return"b"===n?{type:"message",data:s(e.substring(1),t)}:r.PACKET_TYPES_REVERSE[n]?e.length>1?{type:r.PACKET_TYPES_REVERSE[n],data:e.substring(1)}:{type:r.PACKET_TYPES_REVERSE[n]}:r.ERROR_PACKET}},7650:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3878),i="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),o="function"==typeof ArrayBuffer,s=(e,t)=>{const n=new FileReader;return n.onload=function(){const e=n.result.split(",")[1];t("b"+e)},n.readAsDataURL(e)};t.default=({type:e,data:t},n,a)=>{return i&&t instanceof Blob?n?a(t):s(t,a):o&&(t instanceof ArrayBuffer||(c=t,"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(c):c&&c.buffer instanceof ArrayBuffer))?n?a(t):s(new Blob([t]),a):a(r.PACKET_TYPES[e]+(t||""));var c}},3471:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodePayload=t.decodePacket=t.encodePayload=t.encodePacket=t.protocol=void 0;const r=n(7650);t.encodePacket=r.default;const i=n(7262);t.decodePacket=i.default;const o=String.fromCharCode(30);t.encodePayload=(e,t)=>{const n=e.length,i=new Array(n);let s=0;e.forEach(((e,a)=>{(0,r.default)(e,!1,(e=>{i[a]=e,++s===n&&t(i.join(o))}))}))},t.decodePayload=(e,t)=>{const n=e.split(o),r=[];for(let e=0;e<n.length;e++){const o=(0,i.default)(n[e],t);if(r.push(o),"error"===o.type)break}return r},t.protocol=4},9166:e=>{try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){e.exports=!1}},7655:function(e,t){var n,r,i;!function(o,s){"use strict";"object"==typeof e.exports?e.exports=s():(r=[],void 0===(i="function"==typeof(n=s)?n.apply(t,r):n)||(e.exports=i))}(0,(function(){"use strict";var e=Object.prototype.toString;function t(e,t){return null!=e&&Object.prototype.hasOwnProperty.call(e,t)}function n(e){if(!e)return!0;if(i(e)&&0===e.length)return!0;if("string"!=typeof e){for(var n in e)if(t(e,n))return!1;return!0}return!1}function r(t){return e.call(t)}var i=Array.isArray||function(t){return"[object Array]"===e.call(t)};function o(e){var t=parseInt(e);return t.toString()===e?t:e}function s(e){var s,a=function(e){return Object.keys(a).reduce((function(t,n){return"create"===n||"function"==typeof a[n]&&(t[n]=a[n].bind(a,e)),t}),{})};function c(e,t){if(s(e,t))return e[t]}function u(t,n,r,i){if("number"==typeof n&&(n=[n]),!n||0===n.length)return t;if("string"==typeof n)return u(t,n.split(".").map(o),r,i);var s=n[0],a=c(t,s);if(e.includeInheritedProps&&("__proto__"===s||"constructor"===s&&"function"==typeof a))throw new Error("For security reasons, object's magic properties cannot be set");return 1===n.length?(void 0!==a&&i||(t[s]=r),a):(void 0===a&&("number"==typeof n[1]?t[s]=[]:t[s]={}),u(t[s],n.slice(1),r,i))}return s=(e=e||{}).includeInheritedProps?function(){return!0}:function(e,n){return"number"==typeof n&&Array.isArray(e)||t(e,n)},a.has=function(n,r){if("number"==typeof r?r=[r]:"string"==typeof r&&(r=r.split(".")),!r||0===r.length)return!!n;for(var s=0;s<r.length;s++){var a=o(r[s]);if(!("number"==typeof a&&i(n)&&a<n.length||(e.includeInheritedProps?a in Object(n):t(n,a))))return!1;n=n[a]}return!0},a.ensureExists=function(e,t,n){return u(e,t,n,!0)},a.set=function(e,t,n,r){return u(e,t,n,r)},a.insert=function(e,t,n,r){var o=a.get(e,t);r=~~r,i(o)||(o=[],a.set(e,t,o)),o.splice(r,0,n)},a.empty=function(e,t){var o,c;if(!n(t)&&null!=e&&(o=a.get(e,t))){if("string"==typeof o)return a.set(e,t,"");if(function(e){return"boolean"==typeof e||"[object Boolean]"===r(e)}(o))return a.set(e,t,!1);if("number"==typeof o)return a.set(e,t,0);if(i(o))o.length=0;else{if(!function(e){return"object"==typeof e&&"[object Object]"===r(e)}(o))return a.set(e,t,null);for(c in o)s(o,c)&&delete o[c]}}},a.push=function(e,t){var n=a.get(e,t);i(n)||(n=[],a.set(e,t,n)),n.push.apply(n,Array.prototype.slice.call(arguments,2))},a.coalesce=function(e,t,n){for(var r,i=0,o=t.length;i<o;i++)if(void 0!==(r=a.get(e,t[i])))return r;return n},a.get=function(e,t,n){if("number"==typeof t&&(t=[t]),!t||0===t.length)return e;if(null==e)return n;if("string"==typeof t)return a.get(e,t.split("."),n);var r=o(t[0]),i=c(e,r);return void 0===i?n:1===t.length?i:a.get(e[r],t.slice(1),n)},a.del=function(e,t){if("number"==typeof t&&(t=[t]),null==e)return e;if(n(t))return e;if("string"==typeof t)return a.del(e,t.split("."));var r=o(t[0]);return s(e,r)?1!==t.length?a.del(e[r],t.slice(1)):(i(e)?e.splice(r,1):delete e[r],e):e},a}var a=s();return a.create=s,a.withInheritedProps=s({includeInheritedProps:!0}),a}))},4355:(e,t)=>{t.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},t.decode=function(e){for(var t={},n=e.split("&"),r=0,i=n.length;r<i;r++){var o=n[r].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}},4243:e=>{var t=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var r,i,o=e,s=e.indexOf("["),a=e.indexOf("]");-1!=s&&-1!=a&&(e=e.substring(0,s)+e.substring(s,a).replace(/:/g,";")+e.substring(a,e.length));for(var c,u,l=t.exec(e||""),f={},h=14;h--;)f[n[h]]=l[h]||"";return-1!=s&&-1!=a&&(f.source=o,f.host=f.host.substring(1,f.host.length-1).replace(/;/g,":"),f.authority=f.authority.replace("[","").replace("]","").replace(/;/g,":"),f.ipv6uri=!0),f.pathNames=(r=f.path,i=r.replace(/\/{2,9}/g,"/").split("/"),"/"!=r.substr(0,1)&&0!==r.length||i.splice(0,1),"/"==r.substr(r.length-1,1)&&i.splice(i.length-1,1),i),f.queryKey=(c=f.query,u={},c.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,n){t&&(u[t]=n)})),u),f}},5243:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.connect=t.io=t.Socket=t.Manager=t.protocol=void 0;const i=n(5404),o=n(3138);Object.defineProperty(t,"Manager",{enumerable:!0,get:function(){return o.Manager}});const s=n(6695);Object.defineProperty(t,"Socket",{enumerable:!0,get:function(){return s.Socket}});const a=r(n(9556)).default("socket.io-client"),c={};function u(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};const n=i.url(e,t.path||"/socket.io"),r=n.source,s=n.id,u=n.path,l=c[s]&&u in c[s].nsps;let f;return t.forceNew||t["force new connection"]||!1===t.multiplex||l?(a("ignoring socket cache for %s",r),f=new o.Manager(r,t)):(c[s]||(a("new io instance for %s",r),c[s]=new o.Manager(r,t)),f=c[s]),n.query&&!t.query&&(t.query=n.queryKey),f.socket(n.path,t)}t.io=u,t.connect=u,t.default=u,Object.assign(u,{Manager:o.Manager,Socket:s.Socket,io:u,connect:u});var l=n(7764);Object.defineProperty(t,"protocol",{enumerable:!0,get:function(){return l.protocol}}),e.exports=u},3138:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Manager=void 0;const a=n(3063),c=n(6695),u=o(n(7764)),l=n(8368),f=s(n(7911)),h=n(6452),p=s(n(9556)).default("socket.io-client:manager");class d extends h.Emitter{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,a.installTimerFunctions(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new f.default({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||u;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(p("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;p("opening %s",this.uri),this.engine=new a.Socket(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=l.on(t,"open",(function(){n.onopen(),e&&e()})),i=l.on(t,"error",(t=>{p("error"),n.cleanup(),n._readyState="closed",this.emitReserved("error",t),e?e(t):n.maybeReconnectOnOpen()}));if(!1!==this._timeout){const e=this._timeout;p("connect attempt will timeout after %d",e),0===e&&r();const n=this.setTimeoutFn((()=>{p("connect attempt timed out after %d",e),r(),t.close(),t.emit("error",new Error("timeout"))}),e);this.opts.autoUnref&&n.unref(),this.subs.push((function(){clearTimeout(n)}))}return this.subs.push(r),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){p("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(l.on(e,"ping",this.onping.bind(this)),l.on(e,"data",this.ondata.bind(this)),l.on(e,"error",this.onerror.bind(this)),l.on(e,"close",this.onclose.bind(this)),l.on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){this.decoder.add(e)}ondecoded(e){this.emitReserved("packet",e)}onerror(e){p("error",e),this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n||(n=new c.Socket(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const e of t)if(this.nsps[e].active)return void p("socket %s is still active, skipping close",e);this._close()}_packet(e){p("writing packet %j",e);const t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],e.options)}cleanup(){p("cleanup"),this.subs.forEach((e=>e())),this.subs.length=0,this.decoder.destroy()}_close(){p("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e){p("closed due to %s",e),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)p("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();p("will wait %dms before reconnect attempt",t),this._reconnecting=!0;const n=this.setTimeoutFn((()=>{e.skipReconnect||(p("attempting reconnect"),this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(p("reconnect attempt error"),e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):(p("reconnect success"),e.onreconnect())})))}),t);this.opts.autoUnref&&n.unref(),this.subs.push((function(){clearTimeout(n)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}t.Manager=d},8368:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=void 0,t.on=function(e,t,n){return e.on(t,n),function(){e.off(t,n)}}},6695:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Socket=void 0;const i=n(7764),o=n(8368),s=n(6452),a=r(n(9556)).default("socket.io-client:socket"),c=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class u extends s.Emitter{constructor(e,t,n){super(),this.connected=!1,this.disconnected=!0,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this.io._autoConnect&&this.open()}subEvents(){if(this.subs)return;const e=this.io;this.subs=[o.on(e,"open",this.onopen.bind(this)),o.on(e,"packet",this.onpacket.bind(this)),o.on(e,"error",this.onerror.bind(this)),o.on(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(c.hasOwnProperty(e))throw new Error('"'+e+'" is a reserved event name');t.unshift(e);const n={type:i.PacketType.EVENT,data:t,options:{}};if(n.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++;a("emitting packet with ack id %d",e);const r=t.pop();this._registerAckCallback(e,r),n.id=e}const r=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return!this.flags.volatile||r&&this.connected?this.connected?this.packet(n):this.sendBuffer.push(n):a("discard packet as the transport is not currently writable"),this.flags={},this}_registerAckCallback(e,t){const n=this.flags.timeout;if(void 0===n)return void(this.acks[e]=t);const r=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&(a("removing packet with ack id %d from the buffer",e),this.sendBuffer.splice(t,1));a("event with ack id %d has timed out after %d ms",e,n),t.call(this,new Error("operation has timed out"))}),n);this.acks[e]=(...e)=>{this.io.clearTimeoutFn(r),t.apply(this,[null,...e])}}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){a("transport is open - connecting"),"function"==typeof this.auth?this.auth((e=>{this.packet({type:i.PacketType.CONNECT,data:e})})):this.packet({type:i.PacketType.CONNECT,data:this.auth})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e){a("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emitReserved("disconnect",e)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case i.PacketType.CONNECT:if(e.data&&e.data.sid){const t=e.data.sid;this.onconnect(t)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case i.PacketType.EVENT:case i.PacketType.BINARY_EVENT:this.onevent(e);break;case i.PacketType.ACK:case i.PacketType.BINARY_ACK:this.onack(e);break;case i.PacketType.DISCONNECT:this.ondisconnect();break;case i.PacketType.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];a("emitting event %j",t),null!=e.id&&(a("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e)}ack(e){const t=this;let n=!1;return function(...r){n||(n=!0,a("sending ack %j",r),t.packet({type:i.PacketType.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];"function"==typeof t?(a("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):a("bad ack %s",e.id)}onconnect(e){a("socket connected with id %s",e),this.id=e,this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>this.packet(e))),this.sendBuffer=[]}ondisconnect(){a("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(a("performing disconnect (%s)",this.nsp),this.packet({type:i.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}}t.Socket=u},5404:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.url=void 0;const i=r(n(4243)),o=r(n(9556)).default("socket.io-client:url");t.url=function(e,t="",n){let r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(o("protocol-less url %s",e),e=void 0!==n?n.protocol+"//"+e:"https://"+e),o("parse %s",e),r=i.default(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const s=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+s+":"+r.port+t,r.href=r.protocol+"://"+s+(n&&n.port===r.port?"":":"+r.port),r}},9556:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(116)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},116:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o,s=null;function a(...e){if(!a.enabled)return;const r=a,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];n=o.call(r,t),e.splice(s,1),s--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(2930),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},2930:e=>{var t=1e3,n=60*t,r=60*n,i=24*r;function o(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,s){s=s||{};var a,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===u&&isFinite(e))return s.long?(a=e,(c=Math.abs(a))>=i?o(a,c,i,"day"):c>=r?o(a,c,r,"hour"):c>=n?o(a,c,n,"minute"):c>=t?o(a,c,t,"second"):a+" ms"):function(e){var o=Math.abs(e);return o>=i?Math.round(e/i)+"d":o>=r?Math.round(e/r)+"h":o>=n?Math.round(e/n)+"m":o>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9551:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reconstructPacket=t.deconstructPacket=void 0;const r=n(9562);function i(e,t){if(!e)return e;if(r.isBinary(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=i(e[r],t);return n}if("object"==typeof e&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=i(e[r],t));return n}return e}function o(e,t){if(!e)return e;if(e&&e._placeholder)return t[e.num];if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=o(e[n],t);else if("object"==typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=o(e[n],t));return e}t.deconstructPacket=function(e){const t=[],n=e.data,r=e;return r.data=i(n,t),r.attachments=t.length,{packet:r,buffers:t}},t.reconstructPacket=function(e,t){return e.data=o(e.data,t),e.attachments=void 0,e}},7764:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Decoder=t.Encoder=t.PacketType=t.protocol=void 0;const r=n(6452),i=n(9551),o=n(9562),s=n(2885).default("socket.io-parser");var a;t.protocol=5,function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(a=t.PacketType||(t.PacketType={})),t.Encoder=class{encode(e){return s("encoding packet %j",e),e.type!==a.EVENT&&e.type!==a.ACK||!o.hasBinary(e)?[this.encodeAsString(e)]:(e.type=e.type===a.EVENT?a.BINARY_EVENT:a.BINARY_ACK,this.encodeAsBinary(e))}encodeAsString(e){let t=""+e.type;return e.type!==a.BINARY_EVENT&&e.type!==a.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data)),s("encoded %j as %s",e,t),t}encodeAsBinary(e){const t=i.deconstructPacket(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}};class c extends r.Emitter{constructor(){super()}add(e){let t;if("string"==typeof e)t=this.decodeString(e),t.type===a.BINARY_EVENT||t.type===a.BINARY_ACK?(this.reconstructor=new u(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t);else{if(!o.isBinary(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const n={type:Number(e.charAt(0))};if(void 0===a[n.type])throw new Error("unknown packet type "+n.type);if(n.type===a.BINARY_EVENT||n.type===a.BINARY_ACK){const r=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const i=e.substring(r,t);if(i!=Number(i)||"-"!==e.charAt(t))throw new Error("Illegal attachments");n.attachments=Number(i)}if("/"===e.charAt(t+1)){const r=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);n.nsp=e.substring(r,t)}else n.nsp="/";const r=e.charAt(t+1);if(""!==r&&Number(r)==r){const r=t+1;for(;++t;){const n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){const r=function(e){try{return JSON.parse(e)}catch(e){return!1}}(e.substr(t));if(!c.isPayloadValid(n.type,r))throw new Error("invalid payload");n.data=r}return s("decoded %s as %j",e,n),n}static isPayloadValid(e,t){switch(e){case a.CONNECT:return"object"==typeof t;case a.DISCONNECT:return void 0===t;case a.CONNECT_ERROR:return"string"==typeof t||"object"==typeof t;case a.EVENT:case a.BINARY_EVENT:return Array.isArray(t)&&t.length>0;case a.ACK:case a.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}t.Decoder=c;class u{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=i.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}},9562:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBinary=t.isBinary=void 0;const n="function"==typeof ArrayBuffer,r=Object.prototype.toString,i="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===r.call(Blob),o="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===r.call(File);function s(e){return n&&(e instanceof ArrayBuffer||(e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer)(e))||i&&e instanceof Blob||o&&e instanceof File}t.isBinary=s,t.hasBinary=function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t)){for(let n=0,r=t.length;n<r;n++)if(e(t[n]))return!0;return!1}if(s(t))return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1===arguments.length)return e(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return!0;return!1}},2885:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(90)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},90:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o,s=null;function a(...e){if(!a.enabled)return;const r=a,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];n=o.call(r,t),e.splice(s,1),s--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(3160),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},3160:e=>{var t=1e3,n=60*t,r=60*n,i=24*r;function o(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,s){s=s||{};var a,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===u&&isFinite(e))return s.long?(a=e,(c=Math.abs(a))>=i?o(a,c,i,"day"):c>=r?o(a,c,r,"hour"):c>=n?o(a,c,n,"minute"):c>=t?o(a,c,t,"second"):a+" ms"):function(e){var o=Math.abs(e);return o>=i?Math.round(e/i)+"d":o>=r?Math.round(e/r)+"h":o>=n?Math.round(e/n)+"m":o>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},778:function(e,t,n){"use strict";var r,i;void 0===(i="function"==typeof(r=function(){var e,t={},r="undefined"!=typeof window?window:n.g,i=r.document,o="localStorage";if(t.disabled=!1,t.version="1.3.20",t.set=function(e,t){},t.get=function(e,t){},t.has=function(e){return void 0!==t.get(e)},t.remove=function(e){},t.clear=function(){},t.transact=function(e,n,r){null==r&&(r=n,n=null),null==n&&(n={});var i=t.get(e,n);r(i),t.set(e,i)},t.getAll=function(){},t.forEach=function(){},t.serialize=function(e){return JSON.stringify(e)},t.deserialize=function(e){if("string"==typeof e)try{return JSON.parse(e)}catch(t){return e||void 0}},function(){try{return o in r&&r.localStorage}catch(e){return!1}}())e=r.localStorage,t.set=function(n,r){return void 0===r?t.remove(n):(e.setItem(n,t.serialize(r)),r)},t.get=function(n,r){var i=t.deserialize(e.getItem(n));return void 0===i?r:i},t.remove=function(t){e.removeItem(t)},t.clear=function(){e.clear()},t.getAll=function(){var e={};return t.forEach((function(t,n){e[t]=n})),e},t.forEach=function(n){for(var r=0;r<e.length;r++){var i=e.key(r);n(i,t.get(i))}};else if(i&&i.documentElement.addBehavior){var s,a;try{(a=new ActiveXObject("htmlfile")).open(),a.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),a.close(),s=a.w.frames[0].document,e=s.createElement("div")}catch(t){e=i.createElement("div"),s=i.body}var c=function(n){return function(){var r=Array.prototype.slice.call(arguments,0);r.unshift(e),s.appendChild(e),e.addBehavior("#default#userData"),e.load(o);var i=n.apply(t,r);return s.removeChild(e),i}},u=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g"),l=function(e){return e.replace(/^d/,"___$&").replace(u,"___")};t.set=c((function(e,n,r){return n=l(n),void 0===r?t.remove(n):(e.setAttribute(n,t.serialize(r)),e.save(o),r)})),t.get=c((function(e,n,r){n=l(n);var i=t.deserialize(e.getAttribute(n));return void 0===i?r:i})),t.remove=c((function(e,t){t=l(t),e.removeAttribute(t),e.save(o)})),t.clear=c((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(o);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(o)})),t.getAll=function(e){var n={};return t.forEach((function(e,t){n[e]=t})),n},t.forEach=c((function(e,n){for(var r,i=e.XMLDocument.documentElement.attributes,o=0;r=i[o];++o)n(r.name,t.deserialize(e.getAttribute(r.name)))}))}try{var f="__storejs__";t.set(f,f),t.get(f)!=f&&(t.disabled=!0),t.remove(f)}catch(e){t.disabled=!0}return t.enabled=!t.disabled,t})?r.apply(t,[]):r)||(e.exports=i)},4973:e=>{"use strict";var t,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),r={},i=0,o=0;function s(e){var t="";do{t=n[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function a(){var e=s(+new Date);return e!==t?(i=0,t=e):e+"."+s(i++)}for(;o<64;o++)r[n[o]]=o;a.encode=s,a.decode=function(e){var t=0;for(o=0;o<e.length;o++)t=64*t+r[e.charAt(o)];return t},e.exports=a},8680:e=>{e.exports=window.angular},7122:(e,t,n)=>{var r=n(9662);r.directive("icon",n(6566)),r.directive("linkTo",n(7120)),r.directive("switch",n(5411)),r.directive("newTab",n(7233))},6566:e=>{e.exports=function(){return{scope:{icon:"@"},restrict:"E",replace:!0,template:'<svg bs-svg-icon><use xlink:href="{{iconName}}"></use></svg>',link:function(e,t,n){return e.iconName="#svg-"+e.icon,e}}}},7120:e=>{e.exports=function(){return{restrict:"E",replace:!1,transclude:!0,scope:{path:"@"},template:"<a href='#' ng-click='navi(path)' ng-transclude=''>as</a>",controller:["$scope","$location","$injector",function(e,t,n){var r=n.get("pagesConfig"),i=n.get("Pages");e.navi=function(e){var n=r[e];i.enable(n),t.path(e)}}]}}},7233:e=>{e.exports=function(){return{scope:{url:"@",mode:"@"},restrict:"E",replace:!0,template:'<a href="{{url}}" bs-button="subtle-alt icon" target="_blank" title="Open a new tab" ng-show="mode !== \'snippet\'"><icon icon="newtab"></icon> New Tab </a>'}}},5411:e=>{e.exports=function(){return{scope:{toggle:"&",item:"=",switchid:"@",title:"@",tagline:"@",active:"=",prop:"@"},restrict:"E",replace:!0,transclude:!0,templateUrl:"bs-switch.html",controllerAs:"ctrl",controller:["$scope",function(e){this.item=e.item}]}}},6709:(e,t,n)=>{var r=n(9662),i=n(4288);r.filter("ucfirst",(function(){return i.ucfirst})).filter("localRootUrl",(function(){return i.localRootUrl})).filter("localUrl",(function(){return i.localRootUrl})).filter("orderObjectBy",(function(){return i.orderObjectBy}))},9051:(e,t,n)=>{n(9662).controller("MainController",["$scope","$rootScope","$location","$injector",function(e,t,n,r){var i=this;i.options=!1,i.browsers=[],i.socketId="";var o=r.get("pagesConfig"),s=r.get("Pages"),a=r.get("Socket"),c=r.get("Clients");i.ui={menu:o,sectionMenu:!1,disconnected:!1},i.setActiveSection=function(e){s.enable(e),n.path(e.path),i.ui.sectionMenu=!1},i.reloadAll=function(){c.reloadAll(),t.$emit("notify:flash",{heading:"Instruction sent:",message:"Reload All Browsers  ✔"})},i.scrollAllTo=function(){c.scrollAllTo(0),t.$emit("notify:flash",{heading:"Instruction sent:",message:"Scroll all browsers to Y=0  ✔"})},i.sendAllTo=function(e){c.sendAllTo(e),t.$emit("notify:flash",{heading:"Instruction sent:",message:"Reset all Browsers to /"})},i.toggleMenu=function(){i.ui.sectionMenu=!i.ui.sectionMenu},i.socketEvents={connection:function(e){i.update(e)},disconnect:function(){i.ui.disconnected=!0}},i.update=function(e){i.options=function(e){return e.displayUrl=!!(t=e.urls)&&(t.external||t.local),e;var t}(e),i.ui.disconnected=!1,s.transform(o.overview,(function(e){return e}))},i.setActiveSection(s.current()),a.options().then(i.socketEvents.connection),t.$on("ui:disconnect",i.socketEvents.disconnect),t.$on("ui:connection",(function(t,n){i.socketEvents.connection(n),e.$digest()}))}])},9662:e=>{e.exports=window.angular.module("BrowserSync")},6987:(e,t,n)=>{n(8680).module("bsClients",["bsSocket"]).service("Clients",["Socket",function(e){return{reloadAll:function(){e.clientEvent("browser:reload")},sendAllTo:function(t){e.emit("ui",{namespace:"history",event:"sendAllTo",data:{path:t}})},scrollAllTo:function(){e.clientEvent("scroll",{position:{raw:0,proportional:0},override:!0})},highlight:function(t){e.emit("ui:highlight",t)}}}])},1252:(e,t,n)=>{function r(e,t,n){e._disconnected=!1,e.ui={visible:!1,heading:"Browsersync",message:"Disconnected"},e.socketEvents={connection:function(){e._disconnected&&n.location.reload(!0),e.ui.visible=!1,e.$digest()},disconnect:function(){e._disconnected=!0,e.ui.visible=!0,e.$digest()}},t.$on("ui:connection",e.socketEvents.connection),t.$on("ui:disconnect",e.socketEvents.disconnect)}n(8680).module("bsDisconnect",[]).directive("disconnectElem",(function(){return{restrict:"E",scope:{},template:'<section bs-overlay ng-class="{\'active\': ui.visible}">\n    <p><icon icon="block"></icon></p>\n    <h1>{{ui.heading}} {{ui.message}}</h1>\n    <p>Possible reasons are:</p>\n    <ul bs-list>\n        <li>1. Your process was exited by another tool</li>\n    </ul>\n    <p>You should check your terminal window to see what happened. <br/>(Or simply try reloading this page.)</p>\n</section>',controller:["$scope","$rootScope","$window",r]}}))},7488:(e,t,n)=>{n(8680).module("bsHistory",["bsSocket"]).service("History",["Socket",function(e){var t=[],n=[];return e.on("ui:history:update",(function(e){n.forEach((function(t){t(e)}))})),{visited:t,updateHistory:function(e){t=e},get:function(){return e.getData("visited")},remove:function(t){e.emit("ui",{namespace:"history",event:"remove",data:t})},clear:function(){e.emit("ui",{namespace:"history",event:"clear"})},on:function(e,t){n.push(t)},off:function(e){var t=n.indexOf(e);t>-1&&(n=n.splice(t,1))}}}])},8704:(e,t,n)=>{function r(e,t){var n="info",r="Browsersync:";e.ui={status:n,heading:r,message:"Welcome to Browsersync"},e.show=function(t,i){i=i||{},e._timer&&clearTimeout(e._timer),e._timer=window.setTimeout(e.reset,i.timeout||2e3),e.ui.visible=!0,e.ui.status=i.status||n,e.ui.heading=i.heading||r,e.ui.message=i.message||r},e.reset=function(){e.ui.visible=!1,e.$digest()},t.$on("notify:flash",e.show)}n(8680).module("bsNotify",[]).directive("notifyElem",(function(){return{restrict:"E",scope:{},template:'<div bs-notify ng-class="{\'active\': ui.visible}">\n    <p class="notification__text">{{ui.heading}} <span class="color--lime">{{ui.message}}</span></p>\n</div>',controller:["$scope","$rootScope",r]}}))},1891:(e,t,n)=>{var r=n(8680),i=n(5243),o=window.___browserSync___.socketConfig,s=window.___browserSync___.socketUrl,a=i(s,o);r.module("bsSocket",[]).service("Socket",["$q","$rootScope",function(e,t){var n,r=e.defer();a.on("connection",(function(e){n=e.session,t.$emit("ui:connection",e),r.resolve(e,this),""===window.name?window.name=JSON.stringify({id:i.id}):(JSON.parse(window.name).id,i.id)})),a.on("disconnect",(function(){t.$emit("ui:disconnect")}));var o={on:function(e,t){a.on(e,t)},off:function(e,t){a.off(e,t)},removeEvent:function(e,t){a.removeListener(e,t)},emit:function(e,t){a.emit(e,t||{})},clientEvent:function(e,t){a.emit("ui:client:proxy",{event:e,data:t})},options:function(){return r.promise},getData:function(t){var n=e.defer();return a.on("ui:receive:"+t,(function(e){n.resolve(e)})),a.emit("ui:get:"+t),n.promise},uiEvent:function(e){a.emit("ui",e)},newSession:function(){}};return Object.defineProperty(o,"sessionId",{get:function(){return n}}),o}])},5949:(e,t,n)=>{var r=n(8680),i=n(778),o=n(7655);function s(e){var t=i.get("bs",{});Object.keys(t).length||i.set("bs",{}),this.ns=e,this.get=function(t){var n=i.get("bs",{});return Object.keys(n).length||i.set("bs",{}),o.get(n,[e].concat(t).join("."))},this.set=function(t,n){var r=i.get("bs",{});Object.keys(r).length||i.set("bs",{}),r[e]||(r[e]={}),r[e][t]=n,i.set("bs",r)},this.remove=function(t){var n=i.get("bs",{});Object.keys(n).length||i.set("bs",{}),n[e]||(n[e]={}),n[e][t]&&delete n[e][t],i.set("bs",n)}}r.module("bsStore",[]).service("Store",["$q","$rootScope",function(){return{create:function(e){return new s(e)}}}])},7607:(e,t,n)=>{n(9662).factory("Options",["Socket",function(e){return{all:function(){return e.getData("options")}}}])},2323:(e,t,n)=>{n(9662).service("Pages",["pagesConfig","$location",function(e,t){return{enable:function(t){return angular.forEach(e,(function(e){e.active=!1})),t.active=!0,e},transform:function(e,t){if("function"==typeof t)return t(e);throw new TypeError("Noooo")},current:function(){return"/"===t.path()?e.overview:(angular.forEach(e,(function(e){e.path===t.path()&&(n=e)})),n);var n}}}])},4288:e=>{e.exports={ucfirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},localRootUrl:function(e,t){return[t,"://",window.location.hostname,":",e].join("")},localUrl:function(e,t,n){return"snippet"===n?e:["//",window.location.hostname,":",t,e].join("")},orderObjectBy:function(e,t,n){var r=[];return Object.keys(e).forEach((function(t){r.push(e[t])})),r.sort((function(e,n){return e[t]>n[t]?1:-1})),n&&r.reverse(),r}}}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(4027),n(2339),n(9326),n(5746),window.angular.module("BrowserSync",["bsHistory","bsClients","bsDisconnect","bsNotify","bsSocket","bsStore","ngRoute","ngTouch","ngSanitize"]).config(["$locationProvider",function(e){e.html5Mode({enabled:!0,requireBase:!1})}]),n(1252),n(8704),n(7488),n(6987),n(1891),n(2323),n(7607),n(5949),n(9051),n(6709),n(7122)})();
//# sourceMappingURL=app.js.map

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0417 ]--