MyRepo-Ums/node_modules/browser-sync-ui/public/js/app.js
2024-01-19 11:09:11 +01:00

30 lines
277 KiB
JavaScript

(()=>{var _e=(c,s)=>()=>(s||c((s={exports:{}}).exports,s),s.exports);var Du=_e(()=>{(function(c){"use strict";var s={objectMaxDepth:5,urlErrorParamsEnabled:!0};function f(e){if(Y(e))fe(e.objectMaxDepth)&&(s.objectMaxDepth=v(e.objectMaxDepth)?e.objectMaxDepth:NaN),fe(e.urlErrorParamsEnabled)&&$n(e.urlErrorParamsEnabled)&&(s.urlErrorParamsEnabled=e.urlErrorParamsEnabled);else return s}function v(e){return de(e)&&e>0}function w(e,t){t=t||Error;var n="https://errors.angularjs.org/1.8.2/",r=n.replace(".","\\.")+"[\\s\\S]*",i=new RegExp(r,"g");return function(){var l=arguments[0],u=arguments[1],a="["+(e?e+":":"")+l+"] ",o=Nr(arguments,2).map(function(p){return Bo(p,s.objectMaxDepth)}),h,d;if(a+=u.replace(/\{\d+\}/g,function(p){var g=+p.slice(1,-1);return g<o.length?o[g].replace(i,""):p}),a+=`
`+n+(e?e+"/":"")+l,s.urlErrorParamsEnabled)for(d=0,h="?";d<o.length;d++,h="&")a+=h+"p"+d+"="+encodeURIComponent(o[d]);return new t(a)}}var q=/^\/(.+)\/([a-z]*)$/,ae="validity",$e=Object.prototype.hasOwnProperty,pe=function(e){return V(e)?e.toLowerCase():e},Pe=function(e){return V(e)?e.toUpperCase():e},x,S,Q,se=[].slice,ge=[].splice,j=[].push,P=Object.prototype.toString,G=Object.getPrototypeOf,X=w("ng"),ue=c.angular||(c.angular={}),Oe,qe=0;x=c.document.documentMode;function Le(e){if(e==null||Rt(e))return!1;if(oe(e)||V(e)||S&&e instanceof S)return!0;var t="length"in Object(e)&&e.length;return de(t)&&(t>=0&&t-1 in e||typeof e.item=="function")}function M(e,t,n){var r,i;if(e)if(ve(e))for(r in e)r!=="prototype"&&r!=="length"&&r!=="name"&&e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else if(oe(e)||Le(e)){var l=typeof e!="object";for(r=0,i=e.length;r<i;r++)(l||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==M)e.forEach(t,n,e);else if(Ae(e))for(r in e)t.call(n,e[r],r,e);else if(typeof e.hasOwnProperty=="function")for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)$e.call(e,r)&&t.call(n,e[r],r,e);return e}function We(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 Ze(e){return function(t,n){e(n,t)}}function vt(){return++qe}function Qe(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function Ct(e,t,n){for(var r=e.$$hashKey,i=0,l=t.length;i<l;++i){var u=t[i];if(!(!Y(u)&&!ve(u)))for(var a=Object.keys(u),o=0,h=a.length;o<h;o++){var d=a[o],p=u[d];n&&Y(p)?Ee(p)?e[d]=new Date(p.valueOf()):Tt(p)?e[d]=new RegExp(p):p.nodeName?e[d]=p.cloneNode(!0):ds(p)?e[d]=p.clone():d!=="__proto__"&&(Y(e[d])||(e[d]=oe(p)?[]:{}),Ct(e[d],[p],!0)):e[d]=p}}return Qe(e,r),e}function Fe(e){return Ct(e,se.call(arguments,1),!1)}function Bt(e){return Ct(e,se.call(arguments,1),!0)}function Ye(e){return parseInt(e,10)}var je=Number.isNaN||function(t){return t!==t};function It(e,t){return Fe(Object.create(e),t)}function we(){}we.$inject=[];function _t(e){return e}_t.$inject=[];function st(e){return function(){return e}}function zt(e){return ve(e.toString)&&e.toString!==P}function he(e){return typeof e>"u"}function fe(e){return typeof e<"u"}function Y(e){return e!==null&&typeof e=="object"}function Ae(e){return e!==null&&typeof e=="object"&&!G(e)}function V(e){return typeof e=="string"}function de(e){return typeof e=="number"}function Ee(e){return P.call(e)==="[object Date]"}function oe(e){return Array.isArray(e)||e instanceof Array}function xe(e){var t=P.call(e);switch(t){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return e instanceof Error}}function ve(e){return typeof e=="function"}function Tt(e){return P.call(e)==="[object RegExp]"}function Rt(e){return e&&e.window===e}function Vt(e){return e&&e.$evalAsync&&e.$watch}function ai(e){return P.call(e)==="[object File]"}function Rf(e){return P.call(e)==="[object FormData]"}function Mf(e){return P.call(e)==="[object Blob]"}function $n(e){return typeof e=="boolean"}function ui(e){return e&&ve(e.then)}var Ff=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;function Lf(e){return e&&de(e.length)&&Ff.test(P.call(e))}function Df(e){return P.call(e)==="[object ArrayBuffer]"}var tt=function(e){return V(e)?e.trim():e},Mo=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function ds(e){return!!(e&&(e.nodeName||e.prop&&e.attr&&e.find))}function If(e){var t={},n=e.split(","),r;for(r=0;r<n.length;r++)t[n[r]]=!0;return t}function en(e){return pe(e.nodeName||e[0]&&e[0].nodeName)}function ps(e,t){return Array.prototype.indexOf.call(e,t)!==-1}function Dr(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function Rn(e,t,n){var r=[],i=[];if(n=v(n)?n:NaN,t){if(Lf(t)||Df(t))throw X("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw X("cpi","Can't copy! Source and destination are identical.");return oe(t)?t.length=0:M(t,function(o,h){h!=="$$hashKey"&&delete t[h]}),r.push(e),i.push(t),l(e,t,n)}return u(e,n);function l(o,h,d){if(d--,d<0)return"...";var p=h.$$hashKey,g;if(oe(o))for(var y=0,b=o.length;y<b;y++)h.push(u(o[y],d));else if(Ae(o))for(g in o)h[g]=u(o[g],d);else if(o&&typeof o.hasOwnProperty=="function")for(g in o)o.hasOwnProperty(g)&&(h[g]=u(o[g],d));else for(g in o)$e.call(o,g)&&(h[g]=u(o[g],d));return Qe(h,p),h}function u(o,h){if(!Y(o))return o;var d=r.indexOf(o);if(d!==-1)return i[d];if(Rt(o)||Vt(o))throw X("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var p=!1,g=a(o);return g===void 0&&(g=oe(o)?[]:Object.create(G(o)),p=!0),r.push(o),i.push(g),p?l(o,g,h):g}function a(o){switch(P.call(o)){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 o.constructor(u(o.buffer),o.byteOffset,o.length);case"[object ArrayBuffer]":if(!o.slice){var h=new ArrayBuffer(o.byteLength);return new Uint8Array(h).set(new Uint8Array(o)),h}return o.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new o.constructor(o.valueOf());case"[object RegExp]":var d=new RegExp(o.source,o.toString().match(/[^/]*$/)[0]);return d.lastIndex=o.lastIndex,d;case"[object Blob]":return new o.constructor([o],{type:o.type})}if(ve(o.cloneNode))return o.cloneNode(!0)}}function vs(e,t){return e===t||e!==e&&t!==t}function tn(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;var n=typeof e,r=typeof t,i,l,u;if(n===r&&n==="object")if(oe(e)){if(!oe(t))return!1;if((i=e.length)===t.length){for(l=0;l<i;l++)if(!tn(e[l],t[l]))return!1;return!0}}else{if(Ee(e))return Ee(t)?vs(e.getTime(),t.getTime()):!1;if(Tt(e))return Tt(t)?e.toString()===t.toString():!1;if(Vt(e)||Vt(t)||Rt(e)||Rt(t)||oe(t)||Ee(t)||Tt(t))return!1;u=nt();for(l in e)if(!(l.charAt(0)==="$"||ve(e[l]))){if(!tn(e[l],t[l]))return!1;u[l]=!0}for(l in t)if(!(l in u)&&l.charAt(0)!=="$"&&fe(t[l])&&!ve(t[l]))return!1;return!0}return!1}var Mn=function(){if(!fe(Mn.rules)){var e=c.document.querySelector("[ng-csp]")||c.document.querySelector("[data-ng-csp]");if(e){var t=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");Mn.rules={noUnsafeEval:!t||t.indexOf("no-unsafe-eval")!==-1,noInlineStyle:!t||t.indexOf("no-inline-style")!==-1}}else Mn.rules={noUnsafeEval:n(),noInlineStyle:!1}}return Mn.rules;function n(){try{return new Function(""),!1}catch{return!0}}},ci=function(){if(fe(ci.name_))return ci.name_;var e,t,n=Zn.length,r,i;for(t=0;t<n;++t)if(r=Zn[t],e=c.document.querySelector("["+r.replace(":","\\:")+"jq]"),e){i=e.getAttribute(r+"jq");break}return ci.name_=i};function Ir(e,t,n){return e.concat(se.call(t,n))}function Nr(e,t){return se.call(e,t||0)}function Kn(e,t){var n=arguments.length>2?Nr(arguments,2):[];return ve(t)&&!(t instanceof RegExp)?n.length?function(){return arguments.length?t.apply(e,Ir(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}:t}function Fo(e,t){var n=t;return typeof e=="string"&&e.charAt(0)==="$"&&e.charAt(1)==="$"?n=void 0:Rt(t)?n="$WINDOW":t&&c.document===t?n="$DOCUMENT":Vt(t)&&(n="$SCOPE"),n}function qr(e,t){if(!he(e))return de(t)||(t=t?2:null),JSON.stringify(e,Fo,t)}function Lo(e){return V(e)?JSON.parse(e):e}var Nf=/:/g;function gs(e,t){e=e.replace(Nf,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return je(n)?t:n}function Do(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function $s(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=gs(t,r);return Do(e,n*(i-r))}function un(e){e=S(e).clone().empty();var t=S("<div></div>").append(e).html();try{return e[0].nodeType===wn?pe(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(n,r){return"<"+pe(r)})}catch{return pe(t)}}function Io(e){try{return decodeURIComponent(e)}catch{}}function ms(e){var t={};return M((e||"").split("&"),function(n){var r,i,l;n&&(i=n=n.replace(/\+/g,"%20"),r=n.indexOf("="),r!==-1&&(i=n.substring(0,r),l=n.substring(r+1)),i=Io(i),fe(i)&&(l=fe(l)?Io(l):!0,$e.call(t,i)?oe(t[i])?t[i].push(l):t[i]=[t[i],l]:t[i]=l))}),t}function qf(e){var t=[];return M(e,function(n,r){oe(n)?M(n,function(i){t.push(Gt(r,!0)+(i===!0?"":"="+Gt(i,!0)))}):t.push(Gt(r,!0)+(n===!0?"":"="+Gt(n,!0)))}),t.length?t.join("&"):""}function ys(e){return Gt(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Gt(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 Zn=["ng-","data-ng-","ng:","x-ng-"];function Uf(e,t){var n,r,i=Zn.length;for(r=0;r<i;++r)if(n=Zn[r]+t,V(n=e.getAttribute(n)))return n;return null}function Bf(e){var t=e.currentScript;if(!t)return!0;if(!(t instanceof c.HTMLScriptElement||t instanceof c.SVGScriptElement))return!1;var n=t.attributes,r=[n.getNamedItem("src"),n.getNamedItem("href"),n.getNamedItem("xlink:href")];return r.every(function(i){if(!i)return!0;if(!i.value)return!1;var l=e.createElement("a");if(l.href=i.value,e.location.origin===l.origin)return!0;switch(l.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}})}var Vf=Bf(c.document);function jf(e,t){var n,r,i={};if(M(Zn,function(l){var u=l+"app";!n&&e.hasAttribute&&e.hasAttribute(u)&&(n=e,r=e.getAttribute(u))}),M(Zn,function(l){var u=l+"app",a;!n&&(a=e.querySelector("["+u.replace(":","\\:")+"]"))&&(n=a,r=a.getAttribute(u))}),n){if(!Vf){c.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");return}i.strictDi=Uf(n,"strict-di")!==null,t(n,r?[r]:[],i)}}function No(e,t,n){Y(n)||(n={});var r={strictDi:!1};n=Fe(r,n);var i=function(){if(e=S(e),e.injector()){var a=e[0]===c.document?"document":un(e);throw X("btstrpd","App already bootstrapped with this element '{0}'",a.replace(/</,"&lt;").replace(/>/,"&gt;"))}t=t||[],t.unshift(["$provide",function(h){h.value("$rootElement",e)}]),n.debugInfoEnabled&&t.push(["$compileProvider",function(h){h.debugInfoEnabled(!0)}]),t.unshift("ng");var o=jr(t,n.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(d,p,g,y){d.$apply(function(){p.data("$injector",y),g(p)(d)})}]),o},l=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;if(c&&l.test(c.name)&&(n.debugInfoEnabled=!0,c.name=c.name.replace(l,"")),c&&!u.test(c.name))return i();c.name=c.name.replace(u,""),ue.resumeBootstrap=function(a){return M(a,function(o){t.push(o)}),i()},ve(ue.resumeDeferredBootstrap)&&ue.resumeDeferredBootstrap()}function Hf(){c.name="NG_ENABLE_DEBUG_INFO!"+c.name,c.location.reload()}function Wf(e){var t=ue.element(e).injector();if(!t)throw X("test","no injector found for element argument to getTestability");return t.get("$$testability")}var zf=/[A-Z]/g;function qo(e,t){return t=t||"_",e.replace(zf,function(n,r){return(r?t:"")+n.toLowerCase()})}var Uo=!1;function Gf(){var e;if(!Uo){var t=ci();Q=he(t)?c.jQuery:t?c[t]:void 0,Q&&Q.fn.on?(S=Q,Fe(Q.fn,{scope:tr.scope,isolateScope:tr.isolateScope,controller:tr.controller,injector:tr.injector,inheritedData:tr.inheritedData})):S=ct,e=S.cleanData,S.cleanData=function(n){for(var r,i=0,l;(l=n[i])!=null;i++)r=(S._data(l)||{}).events,r&&r.$destroy&&S(l).triggerHandler("$destroy");e(n)},ue.element=S,Uo=!0}}function Xf(){ct.legacyXHTMLReplacement=!0}function Ur(e,t,n){if(!e)throw X("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function fi(e,t,n){return n&&oe(e)&&(e=e[e.length-1]),Ur(ve(e),t,"not a function, got "+(e&&typeof e=="object"?e.constructor.name||"Object":typeof e)),e}function Qn(e,t){if(e==="hasOwnProperty")throw X("badname","hasOwnProperty is not a valid {0} name",t)}function Yf(e,t,n){if(!t)return e;for(var r=t.split("."),i,l=e,u=r.length,a=0;a<u;a++)i=r[a],e&&(e=(l=e)[i]);return!n&&ve(e)?Kn(l,e):e}function li(e){for(var t=e[0],n=e[e.length-1],r,i=1;t!==n&&(t=t.nextSibling);i++)(r||e[i]!==t)&&(r||(r=S(se.call(e,0,i))),r.push(t));return r||e}function nt(){return Object.create(null)}function bs(e){if(e==null)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:zt(e)&&!oe(e)&&!Ee(e)?e=e.toString():e=qr(e)}return e}var mn=1,Jf=2,wn=3,Br=8,Cs=9,Es=11;function Kf(e){var t=w("$injector"),n=w("ng");function r(l,u,a){return l[u]||(l[u]=a())}var i=r(e,"angular",Object);return i.$$minErr=i.$$minErr||w,r(i,"module",function(){var l={};return function(a,o,h){var d={},p=function(g,y){if(g==="hasOwnProperty")throw n("badname","hasOwnProperty is not a valid {0} name",y)};return p(a,"module"),o&&l.hasOwnProperty(a)&&(l[a]=null),r(l,a,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.",a);var g=[],y=[],b=[],D=I("$injector","invoke","push",y),z={_invokeQueue:g,_configBlocks:y,_runBlocks:b,info:function(F){if(fe(F)){if(!Y(F))throw n("aobj","Argument '{0}' must be an object","value");return d=F,this}return d},requires:o,name:a,provider:L("$provide","provider"),factory:L("$provide","factory"),service:L("$provide","service"),value:I("$provide","value"),constant:I("$provide","constant","unshift"),decorator:L("$provide","decorator",y),animation:L("$animateProvider","register"),filter:L("$filterProvider","register"),controller:L("$controllerProvider","register"),directive:L("$compileProvider","directive"),component:L("$compileProvider","component"),config:D,run:function(F){return b.push(F),this}};return h&&D(h),z;function I(F,U,A,T){return T||(T=g),function(){return T[A||"push"]([F,U,arguments]),z}}function L(F,U,A){return A||(A=g),function(T,m){return m&&ve(m)&&(m.$$moduleName=a),A.push([F,U,arguments]),z}}})}})}function nn(e,t){if(oe(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(Y(e)){t=t||{};for(var i in e)i.charAt(0)==="$"&&i.charAt(1)==="$"||(t[i]=e[i])}return t||e}function Zf(e,t){var n=[];return v(t)&&(e=ue.copy(e,null,t)),JSON.stringify(e,function(r,i){if(i=Fo(r,i),Y(i)){if(n.indexOf(i)>=0)return"...";n.push(i)}return i})}function Bo(e,t){return typeof e=="function"?e.toString().replace(/ \{[\s\S]*$/,""):he(e)?"undefined":typeof e!="string"?Zf(e,t):e}var Qf={full:"1.8.2",major:1,minor:8,dot:2,codeName:"meteoric-mining"};function el(e){Fe(e,{errorHandlingConfig:f,bootstrap:No,copy:Rn,extend:Fe,merge:Bt,equals:tn,element:S,forEach:M,injector:jr,noop:we,bind:Kn,toJson:qr,fromJson:Lo,identity:_t,isUndefined:he,isDefined:fe,isString:V,isFunction:ve,isObject:Y,isNumber:de,isElement:ds,isArray:oe,version:Qf,isDate:Ee,callbacks:{$$counter:0},getTestability:Wf,reloadWithDebugInfo:Hf,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:Xf,$$minErr:w,$$csp:Mn,$$encodeUriSegment:ys,$$encodeUriQuery:Gt,$$lowercase:pe,$$stringify:bs,$$uppercase:Pe}),Oe=Kf(c),Oe("ng",["ngLocale"],["$provide",function(n){n.provider({$$sanitizeUri:Ih}),n.provider("$compile",aa).directive({a:md,input:au,textarea:au,form:bd,script:mp,select:Cp,option:Ep,ngBind:Nd,ngBindHtml:Ud,ngBindTemplate:qd,ngClass:Vd,ngClassEven:Hd,ngClassOdd:jd,ngCloak:Wd,ngController:zd,ngForm:Cd,ngHide:lp,ngIf:Xd,ngInclude:Yd,ngInit:Kd,ngNonBindable:rp,ngPluralize:ap,ngRef:up,ngRepeat:cp,ngShow:fp,ngStyle:hp,ngSwitch:dp,ngSwitchWhen:pp,ngSwitchDefault:vp,ngOptions:op,ngTransclude:$p,ngModel:ep,ngList:Zd,ngChange:Bd,pattern:yu,ngPattern:yu,required:mu,ngRequired:mu,minlength:Cu,ngMinlength:Cu,maxlength:bu,ngMaxlength:bu,ngValue:Id,ngModelOptions:np}).directive({ngInclude:Jd,input:Ld}).directive(xi).directive(uu),n.provider({$anchorScroll:Ol,$animate:Ll,$animateCss:Nl,$$animateJs:Ml,$$animateQueue:Fl,$$AnimateRunner:Il,$$animateAsyncRun:Dl,$browser:Vl,$cacheFactory:jl,$controller:Xl,$document:Yl,$$isDocumentHidden:Jl,$exceptionHandler:Kl,$filter:Da,$$forceReflow:Zl,$interpolate:ch,$interval:lh,$$intervalFactory:hh,$http:sh,$httpParamSerializer:nh,$httpParamSerializerJQLike:rh,$httpBackend:ah,$xhrFactory:oh,$jsonpCallbacks:dh,$location:wh,$log:Ah,$parse:Rh,$rootScope:Dh,$q:Mh,$$q:Fh,$sce:Bh,$sceDelegate:Uh,$sniffer:Vh,$$taskTrackerFactory:jh,$templateCache:Hl,$templateRequest:zh,$$testability:Gh,$timeout:Yh,$window:td,$$rAF:Lh,$$jqLite:yl,$$Map:Cl,$$cookieReader:nd})}]).info({angularVersion:"1.8.2"})}ct.expando="ng339";var er=ct.cache={},tl=1;ct._data=function(e){return this.cache[e[this.expando]]||{}};function nl(){return++tl}var rl=/-([a-z])/g,il=/^-ms-/,hi={mouseleave:"mouseout",mouseenter:"mouseover"},ws=w("jqLite");function sl(e){return di(e.replace(il,"ms-"))}function Vo(e,t){return t.toUpperCase()}function di(e){return e.replace(rl,Vo)}var ol=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,al=/<|&#?\w+;/,ul=/<([\w:-]+)/,cl=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,cn={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};cn.tbody=cn.tfoot=cn.colgroup=cn.caption=cn.thead,cn.th=cn.td;var Vr={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var jo in cn){var Ho=cn[jo],Wo=Ho.slice().reverse();Vr[jo]=[Wo.length,"<"+Wo.join("><")+">","</"+Ho.join("></")+">"]}Vr.optgroup=Vr.option;function As(e){return!al.test(e)}function Ss(e){var t=e.nodeType;return t===mn||!t||t===Cs}function fl(e){for(var t in er[e.ng339])return!0;return!1}function zo(e,t){var n,r,i,l,u=t.createDocumentFragment(),a=[],o;if(As(e))a.push(t.createTextNode(e));else{if(n=u.appendChild(t.createElement("div")),r=(ul.exec(e)||["",""])[1].toLowerCase(),l=ct.legacyXHTMLReplacement?e.replace(cl,"<$1></$2>"):e,x<10)for(i=Vr[r]||Vr._default,n.innerHTML=i[1]+l+i[2],o=i[0];o--;)n=n.firstChild;else{for(i=cn[r]||[],o=i.length;--o>-1;)n.appendChild(c.document.createElement(i[o])),n=n.firstChild;n.innerHTML=l}a=Ir(a,n.childNodes),n=u.firstChild,n.textContent=""}return u.textContent="",u.innerHTML="",M(a,function(h){u.appendChild(h)}),u}function ll(e,t){t=t||c.document;var n;return(n=ol.exec(e))?[t.createElement(n[1])]:(n=zo(e,t))?n.childNodes:[]}function hl(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}var dl=c.Node.prototype.contains||function(e){return!!(this.compareDocumentPosition(e)&16)};function ct(e){if(e instanceof ct)return e;var t;if(V(e)&&(e=tt(e),t=!0),!(this instanceof ct)){if(t&&e.charAt(0)!=="<")throw ws("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ct(e)}t?Os(this,ll(e)):ve(e)?Zo(e):Os(this,e)}function _s(e){return e.cloneNode(!0)}function pi(e,t){!t&&Ss(e)&&S.cleanData([e]),e.querySelectorAll&&S.cleanData(e.querySelectorAll("*"))}function Go(e){var t;for(t in e)return!1;return!0}function Xo(e){var t=e.ng339,n=t&&er[t],r=n&&n.events,i=n&&n.data;(!i||Go(i))&&(!r||Go(r))&&(delete er[t],e.ng339=void 0)}function Yo(e,t,n,r){if(fe(r))throw ws("offargs","jqLite#off() does not support the `selector` argument");var i=vi(e),l=i&&i.events,u=i&&i.handle;if(!!u){if(t){var a=function(o){var h=l[o];fe(n)&&Dr(h||[],n),fe(n)&&h&&h.length>0||(e.removeEventListener(o,u),delete l[o])};M(t.split(" "),function(o){a(o),hi[o]&&a(hi[o])})}else for(t in l)t!=="$destroy"&&e.removeEventListener(t,u),delete l[t];Xo(e)}}function Ts(e,t){var n=e.ng339,r=n&&er[n];r&&(t?delete r.data[t]:r.data={},Xo(e))}function vi(e,t){var n=e.ng339,r=n&&er[n];return t&&!r&&(e.ng339=n=nl(),r=er[n]={events:{},data:{},handle:void 0}),r}function ks(e,t,n){if(Ss(e)){var r,i=fe(n),l=!i&&t&&!Y(t),u=!t,a=vi(e,!l),o=a&&a.data;if(i)o[di(t)]=n;else{if(u)return o;if(l)return o&&o[di(t)];for(r in t)o[di(r)]=t[r]}}}function gi(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function $i(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;M(t.split(" "),function(i){i=tt(i),r=r.replace(" "+i+" "," ")}),r!==n&&e.setAttribute("class",tt(r))}}function mi(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;M(t.split(" "),function(i){i=tt(i),r.indexOf(" "+i+" ")===-1&&(r+=i+" ")}),r!==n&&e.setAttribute("class",tt(r))}}function Os(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if(typeof n=="number"&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Jo(e,t){return yi(e,"$"+(t||"ngController")+"Controller")}function yi(e,t,n){e.nodeType===Cs&&(e=e.documentElement);for(var r=oe(t)?t:[t];e;){for(var i=0,l=r.length;i<l;i++)if(fe(n=S.data(e,r[i])))return n;e=e.parentNode||e.nodeType===Es&&e.host}}function Ko(e){for(pi(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function bi(e,t){t||pi(e);var n=e.parentNode;n&&n.removeChild(e)}function pl(e,t){t=t||c,t.document.readyState==="complete"?t.setTimeout(e):S(t).on("load",e)}function Zo(e){function t(){c.document.removeEventListener("DOMContentLoaded",t),c.removeEventListener("load",t),e()}c.document.readyState==="complete"?c.setTimeout(e):(c.document.addEventListener("DOMContentLoaded",t),c.addEventListener("load",t))}var tr=ct.prototype={ready:Zo,toString:function(){var e=[];return M(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return e>=0?S(this[e]):S(this[this.length+e])},length:0,push:j,sort:[].sort,splice:[].splice},Ci={};M("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ci[pe(e)]=e});var Qo={};M("input,select,option,textarea,button,form,details".split(","),function(e){Qo[e]=!0});var ea={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function ta(e,t){var n=Ci[t.toLowerCase()];return n&&Qo[en(e)]&&n}function vl(e){return ea[e]}M({data:ks,removeData:Ts,hasData:fl,cleanData:function(t){for(var n=0,r=t.length;n<r;n++)Ts(t[n]),Yo(t[n])}},function(e,t){ct[t]=e}),M({data:ks,inheritedData:yi,scope:function(e){return S.data(e,"$scope")||yi(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return S.data(e,"$isolateScope")||S.data(e,"$isolateScopeNoTemplate")},controller:Jo,injector:function(e){return yi(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:gi,css:function(e,t,n){if(t=sl(t),fe(n))e.style[t]=n;else return e.style[t]},attr:function(e,t,n){var r,i=e.nodeType;if(!(i===wn||i===Jf||i===Br||!e.getAttribute)){var l=pe(t),u=Ci[l];if(fe(n))n===null||n===!1&&u?e.removeAttribute(t):e.setAttribute(t,u?l:n);else return r=e.getAttribute(t),u&&r!==null&&(r=l),r===null?void 0:r}},prop:function(e,t,n){if(fe(n))e[t]=n;else return e[t]},text:function(){return e.$dv="",e;function e(t,n){if(he(n)){var r=t.nodeType;return r===mn||r===wn?t.textContent:""}t.textContent=n}}(),val:function(e,t){if(he(t)){if(e.multiple&&en(e)==="select"){var n=[];return M(e.options,function(r){r.selected&&n.push(r.value||r.text)}),n}return e.value}e.value=t},html:function(e,t){if(he(t))return e.innerHTML;pi(e,!0),e.innerHTML=t},empty:Ko},function(e,t){ct.prototype[t]=function(n,r){var i,l,u=this.length;if(e!==Ko&&he(e.length===2&&e!==gi&&e!==Jo?n:r))if(Y(n)){for(i=0;i<u;i++)if(e===ks)e(this[i],n);else for(l in n)e(this[i],l,n[l]);return this}else{for(var a=e.$dv,o=he(a)?Math.min(u,1):u,h=0;h<o;h++){var d=e(this[h],n,r);a=a?a+d:d}return a}else{for(i=0;i<u;i++)e(this[i],n,r);return this}}});function gl(e,t){var n=function(r,i){r.isDefaultPrevented=function(){return r.defaultPrevented};var l=t[i||r.type],u=l?l.length:0;if(!!u){if(he(r.immediatePropagationStopped)){var a=r.stopImmediatePropagation;r.stopImmediatePropagation=function(){r.immediatePropagationStopped=!0,r.stopPropagation&&r.stopPropagation(),a&&a.call(r)}}r.isImmediatePropagationStopped=function(){return r.immediatePropagationStopped===!0};var o=l.specialHandlerWrapper||$l;u>1&&(l=nn(l));for(var h=0;h<u;h++)r.isImmediatePropagationStopped()||o(e,r,l[h])}};return n.elem=e,n}function $l(e,t,n){n.call(e,t)}function ml(e,t,n){var r=t.relatedTarget;(!r||r!==e&&!dl.call(e,r))&&n.call(e,t)}M({removeData:Ts,on:function(t,n,r,i){if(fe(i))throw ws("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(!!Ss(t)){var l=vi(t,!0),u=l.events,a=l.handle;a||(a=l.handle=gl(t,u));for(var o=n.indexOf(" ")>=0?n.split(" "):[n],h=o.length,d=function(p,g,y){var b=u[p];b||(b=u[p]=[],b.specialHandlerWrapper=g,p!=="$destroy"&&!y&&t.addEventListener(p,a)),b.push(r)};h--;)n=o[h],hi[n]?(d(hi[n],ml),d(n,void 0,!0)):d(n)}},off:Yo,one:function(e,t,n){e=S(e),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;pi(e),M(new ct(t),function(i){n?r.insertBefore(i,n.nextSibling):r.replaceChild(i,e),n=i})},children:function(e){var t=[];return M(e.childNodes,function(n){n.nodeType===mn&&t.push(n)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(!(n!==mn&&n!==Es)){t=new ct(t);for(var r=0,i=t.length;r<i;r++){var l=t[r];e.appendChild(l)}}},prepend:function(e,t){if(e.nodeType===mn){var n=e.firstChild;M(new ct(t),function(r){e.insertBefore(r,n)})}},wrap:function(e,t){hl(e,S(t).eq(0).clone()[0])},remove:bi,detach:function(e){bi(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r){t=new ct(t);for(var i=0,l=t.length;i<l;i++){var u=t[i];r.insertBefore(u,n.nextSibling),n=u}}},addClass:mi,removeClass:$i,toggleClass:function(e,t,n){t&&M(t.split(" "),function(r){var i=n;he(i)&&(i=!gi(e,r)),(i?mi:$i)(e,r)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==Es?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:_s,triggerHandler:function(e,t,n){var r,i,l,u=t.type||t,a=vi(e),o=a&&a.events,h=o&&o[u];h&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:we,type:u,target:e},t.type&&(r=Fe(r,t)),i=nn(h),l=n?[r].concat(n):[r],M(i,function(d){r.isImmediatePropagationStopped()||d.apply(e,l)}))}},function(e,t){ct.prototype[t]=function(n,r,i){for(var l,u=0,a=this.length;u<a;u++)he(l)?(l=e(this[u],n,r,i),fe(l)&&(l=S(l))):Os(l,e(this[u],n,r,i));return fe(l)?l:this}}),ct.prototype.bind=ct.prototype.on,ct.prototype.unbind=ct.prototype.off;function yl(){this.$get=function(){return Fe(ct,{hasClass:function(t,n){return t.attr&&(t=t[0]),gi(t,n)},addClass:function(t,n){return t.attr&&(t=t[0]),mi(t,n)},removeClass:function(t,n){return t.attr&&(t=t[0]),$i(t,n)}})}}function nr(e,t){var n=e&&e.$$hashKey;if(n)return typeof n=="function"&&(n=e.$$hashKey()),n;var r=typeof e;return r==="function"||r==="object"&&e!==null?n=e.$$hashKey=r+":"+(t||vt)():n=r+":"+e,n}var bl=Object.create(null);function na(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}na.prototype={_idx:function(e){return e!==this._lastKey&&(this._lastKey=e,this._lastIndex=this._keys.indexOf(e)),this._lastIndex},_transformKey:function(e){return je(e)?bl:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(t!==-1)return this._values[t]},has:function(e){e=this._transformKey(e);var t=this._idx(e);return t!==-1},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);n===-1&&(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 t===-1?!1:(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Ei=na,Cl=[function(){this.$get=[function(){return Ei}]}],El=/^([^(]+?)=>/,wl=/^[^(]*\(\s*([^)]*)\)/m,Al=/,/,Sl=/^\s*(_?)(\S+?)\1\s*$/,_l=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Fn=w("$injector");function ra(e){return Function.prototype.toString.call(e)}function ia(e){var t=ra(e).replace(_l,""),n=t.match(El)||t.match(wl);return n}function Tl(e){var t=ia(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function kl(e,t,n){var r,i,l;if(typeof e=="function"){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw(!V(n)||!n)&&(n=e.name||Tl(e)),Fn("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=ia(e),M(i[1].split(Al),function(u){u.replace(Sl,function(a,o,h){r.push(h)})})}e.$inject=r}}else oe(e)?(l=e.length-1,fi(e[l],"fn"),r=e.slice(0,l)):fi(e,"fn",!0);return r}function jr(e,t){t=t===!0;var n={},r="Provider",i=[],l=new Ei,u={$provide:{provider:g(y),factory:g(D),service:g(z),value:g(I),constant:g(L),decorator:F}},a=u.$injector=A(u,function(T,m){throw ue.isString(m)&&i.push(m),Fn("unpr","Unknown provider: {0}",i.join(" <- "))}),o={},h=A(o,function(T,m){var $=a.get(T+r,m);return d.invoke($.$get,$,void 0,T)}),d=h;u["$injector"+r]={$get:st(h)},d.modules=a.modules=nt();var p=U(e);return d=h.get("$injector"),d.strictDi=t,M(p,function(T){T&&d.invoke(T)}),d.loadNewModules=function(T){M(U(T),function(m){m&&d.invoke(m)})},d;function g(T){return function(m,$){if(Y(m))M(m,Ze(T));else return T(m,$)}}function y(T,m){if(Qn(T,"service"),(ve(m)||oe(m))&&(m=a.instantiate(m)),!m.$get)throw Fn("pget","Provider '{0}' must define $get factory method.",T);return u[T+r]=m}function b(T,m){return function(){var C=d.invoke(m,this);if(he(C))throw Fn("undef","Provider '{0}' must return a value from $get factory method.",T);return C}}function D(T,m,$){return y(T,{$get:$!==!1?b(T,m):m})}function z(T,m){return D(T,["$injector",function($){return $.instantiate(m)}])}function I(T,m){return D(T,st(m),!1)}function L(T,m){Qn(T,"constant"),u[T]=m,o[T]=m}function F(T,m){var $=a.get(T+r),C=$.$get;$.$get=function(){var E=d.invoke(C,$);return d.invoke(m,null,{$delegate:E})}}function U(T){Ur(he(T)||oe(T),"modulesToLoad","not an array");var m=[],$;return M(T,function(C){if(l.get(C))return;l.set(C,!0);function E(O){var B,R;for(B=0,R=O.length;B<R;B++){var W=O[B],K=a.get(W[0]);K[W[1]].apply(K,W[2])}}try{V(C)?($=Oe(C),d.modules[C]=$,m=m.concat(U($.requires)).concat($._runBlocks),E($._invokeQueue),E($._configBlocks)):ve(C)||oe(C)?m.push(a.invoke(C)):fi(C,"module")}catch(O){throw oe(C)&&(C=C[C.length-1]),O.message&&O.stack&&O.stack.indexOf(O.message)===-1&&(O=O.message+`
`+O.stack),Fn("modulerr",`Failed to instantiate module {0} due to:
{1}`,C,O.stack||O.message||O)}}),m}function A(T,m){function $(R,W){if(T.hasOwnProperty(R)){if(T[R]===n)throw Fn("cdep","Circular dependency found: {0}",R+" <- "+i.join(" <- "));return T[R]}else try{return i.unshift(R),T[R]=n,T[R]=m(R,W),T[R]}catch(K){throw T[R]===n&&delete T[R],K}finally{i.shift()}}function C(R,W,K){for(var ne=[],J=jr.$$annotate(R,t,K),ie=0,Te=J.length;ie<Te;ie++){var Se=J[ie];if(typeof Se!="string")throw Fn("itkn","Incorrect injection token! Expected service name as string, got {0}",Se);ne.push(W&&W.hasOwnProperty(Se)?W[Se]:$(Se,K))}return ne}function E(R){if(x||typeof R!="function")return!1;var W=R.$$ngIsClass;return $n(W)||(W=R.$$ngIsClass=/^class\b/.test(ra(R))),W}function O(R,W,K,ne){typeof K=="string"&&(ne=K,K=null);var J=C(R,K,ne);return oe(R)&&(R=R[R.length-1]),E(R)?(J.unshift(null),new(Function.prototype.bind.apply(R,J))):R.apply(W,J)}function B(R,W,K){var ne=oe(R)?R[R.length-1]:R,J=C(R,W,K);return J.unshift(null),new(Function.prototype.bind.apply(ne,J))}return{invoke:O,instantiate:B,get:$,annotate:jr.$$annotate,has:function(R){return u.hasOwnProperty(R+r)||T.hasOwnProperty(R)}}}}jr.$$annotate=kl;function Ol(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){var i=t.document;function l(h){var d=null;return Array.prototype.some.call(h,function(p){if(en(p)==="a")return d=p,!0}),d}function u(){var h=o.yOffset;if(ve(h))h=h();else if(ds(h)){var d=h[0],p=t.getComputedStyle(d);p.position!=="fixed"?h=0:h=d.getBoundingClientRect().bottom}else de(h)||(h=0);return h}function a(h){if(h){h.scrollIntoView();var d=u();if(d){var p=h.getBoundingClientRect().top;t.scrollBy(0,p-d)}}else t.scrollTo(0,0)}function o(h){h=V(h)?h:de(h)?h.toString():n.hash();var d;h?(d=i.getElementById(h))||(d=l(i.getElementsByName(h)))?a(d):h==="top"&&a(null):a(null)}return e&&r.$watch(function(){return n.hash()},function(d,p){d===p&&d===""||pl(function(){r.$evalAsync(o)})}),o}]}var sa=w("$animate"),xl=1,oa="ng-animate";function Hr(e,t){return!e&&!t?"":e?t?(oe(e)&&(e=e.join(" ")),oe(t)&&(t=t.join(" ")),e+" "+t):e:t}function Pl(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===xl)return n}}function Rl(e){V(e)&&(e=e.split(" "));var t=nt();return M(e,function(n){n.length&&(t[n]=!0)}),t}function Ln(e){return Y(e)?e:{}}var Ml=function(){this.$get=we},Fl=function(){var e=new Ei,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:we,on:we,off:we,pin:we,push:function(a,o,h,d){d&&d(),h=h||{},h.from&&a.css(h.from),h.to&&a.css(h.to),(h.addClass||h.removeClass)&&u(a,h.addClass,h.removeClass);var p=new n;return p.complete(),p}};function i(a,o,h){var d=!1;return o&&(o=V(o)?o.split(" "):oe(o)?o:[],M(o,function(p){p&&(d=!0,a[p]=h)})),d}function l(){M(t,function(a){var o=e.get(a);if(o){var h=Rl(a.attr("class")),d="",p="";M(o,function(g,y){var b=!!h[y];g!==b&&(g?d+=(d.length?" ":"")+y:p+=(p.length?" ":"")+y)}),M(a,function(g){d&&mi(g,d),p&&$i(g,p)}),e.delete(a)}}),t.length=0}function u(a,o,h){var d=e.get(a)||{},p=i(d,o,!0),g=i(d,h,!1);(p||g)&&(e.set(a,d),t.push(a),t.length===1&&r.$$postDigest(l))}}]},Ll=["$provide",function(e){var t=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(i,l){if(i&&i.charAt(0)!==".")throw sa("notcsel","Expecting class selector starting with '.' got '{0}'.",i);var u=i+"-animation";t.$$registeredAnimations[i.substr(1)]=u,e.factory(u,l)},this.customFilter=function(i){return arguments.length===1&&(r=ve(i)?i:null),r},this.classNameFilter=function(i){if(arguments.length===1&&(n=i instanceof RegExp?i:null,n)){var l=new RegExp("[(\\s|\\/)]"+oa+"[(\\s|\\/)]");if(l.test(n.toString()))throw n=null,sa("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',oa)}return n},this.$get=["$$animateQueue",function(i){function l(u,a,o){if(o){var h=Pl(o);h&&!h.parentNode&&!h.previousElementSibling&&(o=null)}o?o.after(u):a.prepend(u)}return{on:i.on,off:i.off,pin:i.pin,enabled:i.enabled,cancel:function(u){u.cancel&&u.cancel()},enter:function(u,a,o,h){return a=a&&S(a),o=o&&S(o),a=a||o.parent(),l(u,a,o),i.push(u,"enter",Ln(h))},move:function(u,a,o,h){return a=a&&S(a),o=o&&S(o),a=a||o.parent(),l(u,a,o),i.push(u,"move",Ln(h))},leave:function(u,a){return i.push(u,"leave",Ln(a),function(){u.remove()})},addClass:function(u,a,o){return o=Ln(o),o.addClass=Hr(o.addclass,a),i.push(u,"addClass",o)},removeClass:function(u,a,o){return o=Ln(o),o.removeClass=Hr(o.removeClass,a),i.push(u,"removeClass",o)},setClass:function(u,a,o,h){return h=Ln(h),h.addClass=Hr(h.addClass,a),h.removeClass=Hr(h.removeClass,o),i.push(u,"setClass",h)},animate:function(u,a,o,h,d){return d=Ln(d),d.from=d.from?Fe(d.from,a):a,d.to=d.to?Fe(d.to,o):o,h=h||"ng-inline-animate",d.tempClasses=Hr(d.tempClasses,h),i.push(u,"animate",d)}}}]}],Dl=function(){this.$get=["$$rAF",function(e){var t=[];function n(r){t.push(r),!(t.length>1)&&e(function(){for(var i=0;i<t.length;i++)t[i]();t=[]})}return function(){var r=!1;return n(function(){r=!0}),function(i){r?i():n(i)}}}]},Il=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,i){var l=0,u=1,a=2;o.chain=function(h,d){var p=0;g();function g(){if(p===h.length){d(!0);return}h[p](function(y){if(y===!1){d(!1);return}p++,g()})}},o.all=function(h,d){var p=0,g=!0;M(h,function(b){b.done(y)});function y(b){g=g&&b,++p===h.length&&d(g)}};function o(h){this.setHost(h);var d=n(),p=function(g){i(g,0,!1)};this._doneCallbacks=[],this._tick=function(g){r()?p(g):d(g)},this._state=0}return o.prototype={setHost:function(h){this.host=h||{}},done:function(h){this._state===a?h():this._doneCallbacks.push(h)},progress:we,getPromise:function(){if(!this.promise){var h=this;this.promise=e(function(d,p){h.done(function(g){g===!1?p():d()})})}return this.promise},then:function(h,d){return this.getPromise().then(h,d)},catch:function(h){return this.getPromise().catch(h)},finally:function(h){return this.getPromise().finally(h)},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(h){var d=this;d._state===l&&(d._state=u,d._tick(function(){d._resolve(h)}))},_resolve:function(h){this._state!==a&&(M(this._doneCallbacks,function(d){d(h)}),this._doneCallbacks.length=0,this._state=a)}},o}]},Nl=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(r,i){var l=i||{};l.$$prepared||(l=Rn(l)),l.cleanupStyles&&(l.from=l.to=null),l.from&&(r.css(l.from),l.from=null);var u,a=new n;return{start:o,end:o};function o(){return e(function(){h(),u||a.complete(),u=!0}),a}function h(){l.addClass&&(r.addClass(l.addClass),l.addClass=null),l.removeClass&&(r.removeClass(l.removeClass),l.removeClass=null),l.to&&(r.css(l.to),l.to=null)}}}]};function ql(e){var t=e.indexOf("#");return t===-1?"":e.substr(t)}function Ul(e){return e.replace(/#$/,"")}function Bl(e,t,n,r,i){var l=this,u=e.location,a=e.history,o=e.setTimeout,h=e.clearTimeout,d={},p=i(n);l.isMock=!1,l.$$completeOutstandingRequest=p.completeTask,l.$$incOutstandingRequestCount=p.incTaskCount,l.notifyWhenNoOutstandingRequests=p.notifyWhenNoPendingTasks;var g,y,b=u.href,D=t.find("base"),z=null,I=r.history?function(){try{return a.state}catch{}}:we;T(),l.url=function($,C,E){if(he(E)&&(E=null),u!==e.location&&(u=e.location),a!==e.history&&(a=e.history),$){var O=y===E;if($=Nt($).href,b===$&&(!r.history||O))return l;var B=b&&In(b)===In($);return b=$,y=E,r.history&&(!B||!O)?(a[C?"replaceState":"pushState"](E,"",$),T()):(B||(z=$),C?u.replace($):B?u.hash=ql($):u.href=$,u.href!==$&&(z=$)),z&&(z=$),l}else return Ul(z||u.href)},l.state=function(){return g};var L=[],F=!1;function U(){z=null,m()}var A=null;function T(){g=I(),g=he(g)?null:g,tn(g,A)&&(g=A),A=g,y=g}function m(){var $=y;T(),!(b===l.url()&&$===g)&&(b=l.url(),y=g,M(L,function(C){C(l.url(),g)}))}l.onUrlChange=function($){return F||(r.history&&S(e).on("popstate",U),S(e).on("hashchange",U),F=!0),L.push($),$},l.$$applicationDestroyed=function(){S(e).off("hashchange popstate",U)},l.$$checkUrlChange=m,l.baseHref=function(){var $=D.attr("href");return $?$.replace(/^(https?:)?\/\/[^/]*/,""):""},l.defer=function($,C,E){var O;return C=C||0,E=E||p.DEFAULT_TASK_TYPE,p.incTaskCount(E),O=o(function(){delete d[O],p.completeTask($,E)},C),d[O]=E,O},l.defer.cancel=function($){if(d.hasOwnProperty($)){var C=d[$];return delete d[$],h($),p.completeTask(we,C),!0}return!1}}function Vl(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(e,t,n,r,i){return new Bl(e,r,t,n,i)}]}function jl(){this.$get=function(){var e={};function t(n,r){if(n in e)throw w("$cacheFactory")("iid","CacheId '{0}' is already taken!",n);var i=0,l=Fe({},r,{id:n}),u=nt(),a=r&&r.capacity||Number.MAX_VALUE,o=nt(),h=null,d=null;return e[n]={put:function(y,b){if(!he(b)){if(a<Number.MAX_VALUE){var D=o[y]||(o[y]={key:y});p(D)}return y in u||i++,u[y]=b,i>a&&this.remove(d.key),b}},get:function(y){if(a<Number.MAX_VALUE){var b=o[y];if(!b)return;p(b)}return u[y]},remove:function(y){if(a<Number.MAX_VALUE){var b=o[y];if(!b)return;b===h&&(h=b.p),b===d&&(d=b.n),g(b.n,b.p),delete o[y]}y in u&&(delete u[y],i--)},removeAll:function(){u=nt(),i=0,o=nt(),h=d=null},destroy:function(){u=null,l=null,o=null,delete e[n]},info:function(){return Fe({},l,{size:i})}};function p(y){y!==h&&(d?d===y&&(d=y.n):d=y,g(y.n,y.p),g(y,h),h=y,h.n=null)}function g(y,b){y!==b&&(y&&(y.p=b),b&&(b.n=y))}}return t.info=function(){var n={};return M(e,function(r,i){n[i]=r.info()}),n},t.get=function(n){return e[n]},t}}function Hl(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var ht=w("$compile");function Wl(){}var xs=new Wl;aa.$inject=["$provide","$$sanitizeUriProvider"];function aa(e,t){var n={},r="Directive",i=/^\s*directive:\s*([\w-]+)\s+(.*)$/,l=/(([\w-]+)(?::([^;]+))?;?)/,u=If("ngSrc,ngSrcset,src,srcset"),a=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,o=/^(on[a-z]+|formaction)$/,h=nt();function d(A,T,m){var $=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,C=nt();return M(A,function(E,O){if(E=E.trim(),E in h){C[O]=h[E];return}var B=E.match($);if(!B)throw ht("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",T,O,E,m?"controller bindings definition":"isolate scope definition");C[O]={mode:B[1][0],collection:B[2]==="*",optional:B[3]==="?",attrName:B[4]||O},B[4]&&(h[E]=C[O])}),C}function p(A,T){var m={isolateScope:null,bindToController:null};if(Y(A.scope)&&(A.bindToController===!0?(m.bindToController=d(A.scope,T,!0),m.isolateScope={}):m.isolateScope=d(A.scope,T,!1)),Y(A.bindToController)&&(m.bindToController=d(A.bindToController,T,!0)),m.bindToController&&!A.controller)throw ht("noctrl","Cannot bind to controller without directive '{0}'s controller.",T);return m}function g(A){var T=A.charAt(0);if(!T||T!==pe(T))throw ht("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",A);if(A!==A.trim())throw ht("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",A)}function y(A){var T=A.require||A.controller&&A.name;return!oe(T)&&Y(T)&&M(T,function(m,$){var C=m.match(a),E=m.substring(C[0].length);E||(T[$]=C[0]+$)}),T}function b(A,T){if(A&&!(V(A)&&/[EACM]/.test(A)))throw ht("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",A,T);return A||"EA"}this.directive=function A(T,m){return Ur(T,"name"),Qn(T,"directive"),V(T)?(g(T),Ur(m,"directiveFactory"),n.hasOwnProperty(T)||(n[T]=[],e.factory(T+r,["$injector","$exceptionHandler",function($,C){var E=[];return M(n[T],function(O,B){try{var R=$.invoke(O);ve(R)?R={compile:st(R)}:!R.compile&&R.link&&(R.compile=st(R.link)),R.priority=R.priority||0,R.index=B,R.name=R.name||T,R.require=y(R),R.restrict=b(R.restrict,T),R.$$moduleName=O.$$moduleName,E.push(R)}catch(W){C(W)}}),E}])),n[T].push(m)):M(T,Ze(A)),this},this.component=function A(T,m){if(!V(T))return M(T,Ze(Kn(this,A))),this;var $=m.controller||function(){};function C(E){function O(W){return ve(W)||oe(W)?function(K,ne){return E.invoke(W,this,{$element:K,$attrs:ne})}:W}var B=!m.template&&!m.templateUrl?"":m.template,R={controller:$,controllerAs:Gl(m.controller)||m.controllerAs||"$ctrl",template:O(B),templateUrl:O(m.templateUrl),transclude:m.transclude,scope:{},bindToController:m.bindings||{},restrict:"E",require:m.require};return M(m,function(W,K){K.charAt(0)==="$"&&(R[K]=W)}),R}return M(m,function(E,O){O.charAt(0)==="$"&&(C[O]=E,ve($)&&($[O]=E))}),C.$inject=["$injector"],this.directive(T,C)},this.aHrefSanitizationTrustedUrlList=function(A){return fe(A)?(t.aHrefSanitizationTrustedUrlList(A),this):t.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(A){this.aHrefSanitizationTrustedUrlList=A}}),this.imgSrcSanitizationTrustedUrlList=function(A){return fe(A)?(t.imgSrcSanitizationTrustedUrlList(A),this):t.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(A){this.imgSrcSanitizationTrustedUrlList=A}});var D=!0;this.debugInfoEnabled=function(A){return fe(A)?(D=A,this):D};var z=!1;this.strictComponentBindingsEnabled=function(A){return fe(A)?(z=A,this):z};var I=10;this.onChangesTtl=function(A){return arguments.length?(I=A,this):I};var L=!0;this.commentDirectivesEnabled=function(A){return arguments.length?(L=A,this):L};var F=!0;this.cssClassDirectivesEnabled=function(A){return arguments.length?(F=A,this):F};var U=nt();this.addPropertySecurityContext=function(A,T,m){var $=A.toLowerCase()+"|"+T.toLowerCase();if($ in U&&U[$]!==m)throw ht("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",A,T,U[$],m);return U[$]=m,this},function(){function T(m,$){M($,function(C){U[C.toLowerCase()]=m})}T(dt.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),T(dt.CSS,["*|style"]),T(dt.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),T(dt.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),T(dt.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(A,T,m,$,C,E,O,B,R){var W=/^\w/,K=c.document.createElement("div"),ne=L,J=F,ie=I,Te;function Se(){try{if(!--ie)throw Te=void 0,ht("infchng",`{0} $onChanges() iterations reached. Aborting!
`,I);O.$apply(function(){for(var _=0,k=Te.length;_<k;++_)try{Te[_]()}catch(N){m(N)}Te=void 0})}finally{ie++}}function Me(_,k){if(!_)return _;if(!V(_))throw ht("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',k,_.toString());for(var N="",H=tt(_),Z=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,ee=/\s/.test(H)?Z:/(,)/,ce=H.split(ee),Re=Math.floor(ce.length/2),le=0;le<Re;le++){var me=le*2;N+=B.getTrustedMediaUrl(tt(ce[me])),N+=" "+tt(ce[me+1])}var ye=tt(ce[le*2]).split(/\s/);return N+=B.getTrustedMediaUrl(tt(ye[0])),ye.length===2&&(N+=" "+tt(ye[1])),N}function Ue(_,k){if(k){var N=Object.keys(k),H,Z,ee;for(H=0,Z=N.length;H<Z;H++)ee=N[H],this[ee]=k[ee]}else this.$attr={};this.$$element=_}Ue.prototype={$normalize:rn,$addClass:function(_){_&&_.length>0&&R.addClass(this.$$element,_)},$removeClass:function(_){_&&_.length>0&&R.removeClass(this.$$element,_)},$updateClass:function(_,k){var N=ca(_,k);N&&N.length&&R.addClass(this.$$element,N);var H=ca(k,_);H&&H.length&&R.removeClass(this.$$element,H)},$set:function(_,k,N,H){var Z=this.$$element[0],ee=ta(Z,_),ce=vl(_),Re=_,le;ee?(this.$$element.prop(_,k),H=ee):ce&&(this[ce]=k,Re=ce),this[_]=k,H?this.$attr[_]=H:(H=this.$attr[_],H||(this.$attr[_]=H=qo(_,"-"))),le=en(this.$$element),le==="img"&&_==="srcset"&&(this[_]=k=Me(k,"$set('srcset', value)")),N!==!1&&(k===null||he(k)?this.$$element.removeAttr(H):W.test(H)?ee&&k===!1?this.$$element.removeAttr(H):this.$$element.attr(H,k):Be(this.$$element[0],H,k));var me=this.$$observers;me&&M(me[Re],function(ye){try{ye(k)}catch(Ce){m(Ce)}})},$observe:function(_,k){var N=this,H=N.$$observers||(N.$$observers=nt()),Z=H[_]||(H[_]=[]);return Z.push(k),O.$evalAsync(function(){!Z.$$inter&&N.hasOwnProperty(_)&&!he(N[_])&&k(N[_])}),function(){Dr(Z,k)}}};function Be(_,k,N){K.innerHTML="<span "+k+">";var H=K.firstChild.attributes,Z=H[0];H.removeNamedItem(Z.name),Z.value=N,_.attributes.setNamedItem(Z)}function Ge(_,k){try{_.addClass(k)}catch{}}var ot=T.startSymbol(),et=T.endSymbol(),wt=ot==="{{"&&et==="}}"?_t:function(k){return k.replace(/\{\{/g,ot).replace(/}}/g,et)},pt=/^ng(Attr|Prop|On)([A-Z].*)$/,bt=/^(.+)Start$/;return it.$$addBindingInfo=D?function(k,N){var H=k.data("$binding")||[];oe(N)?H=H.concat(N):H.push(N),k.data("$binding",H)}:we,it.$$addBindingClass=D?function(k){Ge(k,"ng-binding")}:we,it.$$addScopeInfo=D?function(k,N,H,Z){var ee=H?Z?"$isolateScopeNoTemplate":"$isolateScope":"$scope";k.data(ee,N)}:we,it.$$addScopeClass=D?function(k,N){Ge(k,N?"ng-isolate-scope":"ng-scope")}:we,it.$$createComment=function(_,k){var N="";return D&&(N=" "+(_||"")+": ",k&&(N+=k+" ")),c.document.createComment(N)},it;function it(_,k,N,H,Z){_ instanceof S||(_=S(_));var ee=Bn(_,k,_,N,H,Z);it.$$addScopeClass(_);var ce=null;return function(le,me,ye){if(!_)throw ht("multilink","This element has already been linked.");Ur(le,"scope"),Z&&Z.needsNewScope&&(le=le.$parent.$new()),ye=ye||{};var Ce=ye.parentBoundTranscludeFn,re=ye.transcludeControllers,ke=ye.futureParentElement;Ce&&Ce.$$boundTransclude&&(Ce=Ce.$$boundTransclude),ce||(ce=Un(ke));var De;if(ce!=="html"?De=S(ro(ce,S("<div></div>").append(_).html())):me?De=tr.clone.call(_):De=_,re)for(var Xe in re)De.data("$"+Xe+"Controller",re[Xe].instance);return it.$$addScopeInfo(De,le),me&&me(De,le),ee&&ee(le,De,De,Ce),me||(_=ee=null),De}}function Un(_){var k=_&&_[0];return k&&en(k)!=="foreignobject"&&P.call(k).match(/SVG/)?"svg":"html"}function Bn(_,k,N,H,Z,ee){for(var ce=[],Re=oe(_)||_ instanceof S,le,me,ye,Ce,re,ke,De,Xe=0;Xe<_.length;Xe++)le=new Ue,x===11&&eo(_,Xe,Re),me=Sn(_[Xe],[],le,Xe===0?H:void 0,Z),ye=me.length?Au(me,_[Xe],le,k,N,null,[],[],ee):null,ye&&ye.scope&&it.$$addScopeClass(le.$$element),re=ye&&ye.terminal||!(Ce=_[Xe].childNodes)||!Ce.length?null:Bn(Ce,ye?(ye.transcludeOnThisElement||!ye.templateOnThisElement)&&ye.transclude:k),(ye||re)&&(ce.push(Xe,ye,re),ke=!0,De=De||ye),ee=null;return ke?ze:null;function ze(Ie,Ne,be,He){var Ve,ft,lt,at,Je,At,gt,Ot,fn;if(De){var cr=Ne.length;for(fn=new Array(cr),Je=0;Je<ce.length;Je+=3)gt=ce[Je],fn[gt]=Ne[gt]}else fn=Ne;for(Je=0,At=ce.length;Je<At;)lt=fn[ce[Je++]],Ve=ce[Je++],ft=ce[Je++],Ve?(Ve.scope?(at=Ie.$new(),it.$$addScopeInfo(S(lt),at)):at=Ie,Ve.transcludeOnThisElement?Ot=sn(Ie,Ve.transclude,He):!Ve.templateOnThisElement&&He?Ot=He:!He&&k?Ot=sn(Ie,k):Ot=null,Ve(ft,at,lt,be,Ot)):ft&&ft(Ie,lt.childNodes,void 0,He)}}function eo(_,k,N){var H=_[k],Z=H.parentNode,ee;if(H.nodeType===wn)for(;ee=Z?H.nextSibling:_[k+1],!(!ee||ee.nodeType!==wn);)H.nodeValue=H.nodeValue+ee.nodeValue,ee.parentNode&&ee.parentNode.removeChild(ee),N&&ee===_[k+1]&&_.splice(k+1,1)}function sn(_,k,N){function H(ce,Re,le,me,ye){return ce||(ce=_.$new(!1,ye),ce.$$transcluded=!0),k(ce,Re,{parentBoundTranscludeFn:N,transcludeControllers:le,futureParentElement:me})}var Z=H.$$slots=nt();for(var ee in k.$$slots)k.$$slots[ee]?Z[ee]=sn(_,k.$$slots[ee],N):Z[ee]=null;return H}function Sn(_,k,N,H,Z){var ee=_.nodeType,ce=N.$attr,Re,le,me;switch(ee){case mn:le=en(_),Ii(k,rn(le),"E",H,Z);for(var ye,Ce,re,ke,De,Xe=_.attributes,ze=0,Ie=Xe&&Xe.length;ze<Ie;ze++){var Ne=!1,be=!1,He=!1,Ve=!1,ft=!1,lt;ye=Xe[ze],Ce=ye.name,ke=ye.value,re=rn(Ce.toLowerCase()),(De=re.match(pt))?(He=De[1]==="Attr",Ve=De[1]==="Prop",ft=De[1]==="On",Ce=Ce.replace(ua,"").toLowerCase().substr(4+De[1].length).replace(/_(.)/g,function(at,Je){return Je.toUpperCase()})):(lt=re.match(bt))&&Ap(lt[1])&&(Ne=Ce,be=Ce.substr(0,Ce.length-5)+"end",Ce=Ce.substr(0,Ce.length-6)),Ve||ft?(N[re]=ke,ce[re]=ye.name,Ve?Pp(_,k,re,Ce):Rp(k,re,Ce)):(re=rn(Ce.toLowerCase()),ce[re]=Ce,(He||!N.hasOwnProperty(re))&&(N[re]=ke,ta(_,re)&&(N[re]=!0)),Mp(_,k,ke,re,He),Ii(k,re,"A",H,Z,Ne,be))}if(le==="input"&&_.getAttribute("type")==="hidden"&&_.setAttribute("autocomplete","off"),!J)break;if(me=_.className,Y(me)&&(me=me.animVal),V(me)&&me!=="")for(;Re=l.exec(me);)re=rn(Re[2]),Ii(k,re,"C",H,Z)&&(N[re]=tt(Re[3])),me=me.substr(Re.index+Re[0].length);break;case wn:Tp(k,_.nodeValue);break;case Br:if(!ne)break;to(_,k,N,H,Z);break}return k.sort(_p),k}function to(_,k,N,H,Z){try{var ee=i.exec(_.nodeValue);if(ee){var ce=rn(ee[1]);Ii(k,ce,"M",H,Z)&&(N[ce]=tt(ee[2]))}}catch{}}function Kr(_,k,N){var H=[],Z=0;if(k&&_.hasAttribute&&_.hasAttribute(k))do{if(!_)throw ht("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",k,N);_.nodeType===mn&&(_.hasAttribute(k)&&Z++,_.hasAttribute(N)&&Z--),H.push(_),_=_.nextSibling}while(Z>0);else H.push(_);return S(H)}function wu(_,k,N){return function(Z,ee,ce,Re,le){return ee=Kr(ee[0],k,N),_(Z,ee,ce,Re,le)}}function no(_,k,N,H,Z,ee){var ce;return _?it(k,N,H,Z,ee):function(){return ce||(ce=it(k,N,H,Z,ee),k=N=ee=null),ce.apply(this,arguments)}}function Au(_,k,N,H,Z,ee,ce,Re,le){le=le||{};for(var me=-Number.MAX_VALUE,ye=le.newScopeDirective,Ce=le.controllerDirectives,re=le.newIsolateScopeDirective,ke=le.templateDirective,De=le.nonTlbTranscludeDirective,Xe=!1,ze=!1,Ie=le.hasElementTranscludeDirective,Ne=N.$$element=S(k),be,He,Ve,ft=ee,lt=H,at,Je=!1,At=!1,gt,Ot=0,fn=_.length;Ot<fn;Ot++){be=_[Ot];var cr=be.$$start,io=be.$$end;if(cr&&(Ne=Kr(k,cr,io)),Ve=void 0,me>be.priority)break;if(gt=be.scope,gt&&(be.templateUrl||(Y(gt)?(ur("new/isolated scope",re||ye,be,Ne),re=be):ur("new/isolated scope",re,be,Ne)),ye=ye||be),He=be.name,!Je&&(be.replace&&(be.templateUrl||be.template)||be.transclude&&!be.$$tlb)){for(var fr,Fp=Ot+1;fr=_[Fp++];)if(fr.transclude&&!fr.$$tlb||fr.replace&&(fr.templateUrl||fr.template)){At=!0;break}Je=!0}if(!be.templateUrl&&be.controller&&(Ce=Ce||nt(),ur("'"+He+"' controller",Ce[He],be,Ne),Ce[He]=be),gt=be.transclude,gt)if(Xe=!0,be.$$tlb||(ur("transclusion",De,be,Ne),De=be),gt==="element")Ie=!0,me=be.priority,Ve=Ne,Ne=N.$$element=S(it.$$createComment(He,N[He])),k=Ne[0],Ni(Z,Nr(Ve),k),lt=no(At,Ve,H,me,ft&&ft.name,{nonTlbTranscludeDirective:De});else{var bn=nt();if(!Y(gt))Ve=S(_s(k)).contents();else{Ve=c.document.createDocumentFragment();var xu=nt(),so=nt();M(gt,function(rt,Ke){var on=rt.charAt(0)==="?";rt=on?rt.substring(1):rt,xu[rt]=Ke,bn[Ke]=null,so[Ke]=on}),M(Ne.contents(),function(rt){var Ke=xu[rn(en(rt))];Ke?(so[Ke]=!0,bn[Ke]=bn[Ke]||c.document.createDocumentFragment(),bn[Ke].appendChild(rt)):Ve.appendChild(rt)}),M(so,function(rt,Ke){if(!rt)throw ht("reqslot","Required transclusion slot `{0}` was not filled.",Ke)});for(var oo in bn)if(bn[oo]){var Lp=S(bn[oo].childNodes);bn[oo]=no(At,Lp,H)}Ve=S(Ve.childNodes)}Ne.empty(),lt=no(At,Ve,H,void 0,void 0,{needsNewScope:be.$$isolateScope||be.$$newScope}),lt.$$slots=bn}if(be.template)if(ze=!0,ur("template",ke,be,Ne),ke=be,gt=ve(be.template)?be.template(Ne,N):be.template,gt=wt(gt),be.replace){if(ft=be,As(gt)?Ve=[]:Ve=fa(ro(be.templateNamespace,tt(gt))),k=Ve[0],Ve.length!==1||k.nodeType!==mn)throw ht("tplrt","Template for directive '{0}' must have exactly one root element. {1}",He,"");Ni(Z,Ne,k);var Pu={$attr:{}},Ru=Sn(k,[],Pu),Dp=_.splice(Ot+1,_.length-(Ot+1));(re||ye)&&Su(Ru,re,ye),_=_.concat(Ru).concat(Dp),_u(N,Pu),fn=_.length}else Ne.html(gt);if(be.templateUrl)ze=!0,ur("template",ke,be,Ne),ke=be,be.replace&&(ft=be),Vn=Sp(_.splice(Ot,_.length-Ot),Ne,N,Z,Xe&&lt,ce,Re,{controllerDirectives:Ce,newScopeDirective:ye!==be&&ye,newIsolateScopeDirective:re,templateDirective:ke,nonTlbTranscludeDirective:De}),fn=_.length;else if(be.compile)try{at=be.compile(Ne,N,lt);var ao=be.$$originalDirective||be;ve(at)?Mu(null,Kn(ao,at),cr,io):at&&Mu(Kn(ao,at.pre),Kn(ao,at.post),cr,io)}catch(rt){m(rt,un(Ne))}be.terminal&&(Vn.terminal=!0,me=Math.max(me,be.priority))}return Vn.scope=ye&&ye.scope===!0,Vn.transcludeOnThisElement=Xe,Vn.templateOnThisElement=ze,Vn.transclude=lt,le.hasElementTranscludeDirective=Ie,Vn;function Mu(rt,Ke,on,uo){rt&&(on&&(rt=wu(rt,on,uo)),rt.require=be.require,rt.directiveName=He,(re===be||be.$$isolateScope)&&(rt=Tu(rt,{isolateScope:!0})),ce.push(rt)),Ke&&(on&&(Ke=wu(Ke,on,uo)),Ke.require=be.require,Ke.directiveName=He,(re===be||be.$$isolateScope)&&(Ke=Tu(Ke,{isolateScope:!0})),Re.push(Ke))}function Vn(rt,Ke,on,uo,lr){var _n,Fu,Yt,ln,Qr,hn,hr,Mt,jn,co;k===on?(jn=N,Mt=N.$$element):(Mt=S(on),jn=new Ue(Mt,N)),Qr=Ke,re?ln=Ke.$new(!0):ye&&(Qr=Ke.$parent),lr&&(hr=Np,hr.$$boundTransclude=lr,hr.isSlotFilled=function(Ft){return!!lr.$$slots[Ft]}),Ce&&(hn=wp(Mt,jn,hr,Ce,ln,Ke,re)),re&&(it.$$addScopeInfo(Mt,ln,!0,!(ke&&(ke===re||ke===re.$$originalDirective))),it.$$addScopeClass(Mt,!0),ln.$$isolateBindings=re.$$isolateBindings,co=Ou(Ke,jn,ln,ln.$$isolateBindings,re),co.removeWatches&&ln.$on("$destroy",co.removeWatches));for(var Lu in hn){var fo=Ce[Lu],ei=hn[Lu],Ip=fo.$$bindings.bindToController;ei.instance=ei(),Mt.data("$"+fo.name+"Controller",ei.instance),ei.bindingInfo=Ou(Qr,jn,ei.instance,Ip,fo)}for(M(Ce,function(Ft,$t){var Lt=Ft.require;Ft.bindToController&&!oe(Lt)&&Y(Lt)&&Fe(hn[$t].instance,Zr($t,Lt,Mt,hn))}),M(hn,function(Ft){var $t=Ft.instance;if(ve($t.$onChanges))try{$t.$onChanges(Ft.bindingInfo.initialChanges)}catch(Lt){m(Lt)}if(ve($t.$onInit))try{$t.$onInit()}catch(Lt){m(Lt)}ve($t.$doCheck)&&(Qr.$watch(function(){$t.$doCheck()}),$t.$doCheck()),ve($t.$onDestroy)&&Qr.$on("$destroy",function(){$t.$onDestroy()})}),_n=0,Fu=ce.length;_n<Fu;_n++)Yt=ce[_n],ku(Yt,Yt.isolateScope?ln:Ke,Mt,jn,Yt.require&&Zr(Yt.directiveName,Yt.require,Mt,hn),hr);var Ui=Ke;for(re&&(re.template||re.templateUrl===null)&&(Ui=ln),rt&&rt(Ui,on.childNodes,void 0,lr),_n=Re.length-1;_n>=0;_n--)Yt=Re[_n],ku(Yt,Yt.isolateScope?ln:Ke,Mt,jn,Yt.require&&Zr(Yt.directiveName,Yt.require,Mt,hn),hr);M(hn,function(Ft){var $t=Ft.instance;ve($t.$postLink)&&$t.$postLink()});function Np(Ft,$t,Lt,Bi){var lo;if(Vt(Ft)||(Bi=Lt,Lt=$t,$t=Ft,Ft=void 0),Ie&&(lo=hn),Lt||(Lt=Ie?Mt.parent():Mt),Bi){var ho=lr.$$slots[Bi];if(ho)return ho(Ft,$t,lo,Lt,Ui);if(he(ho))throw ht("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',Bi,un(Mt))}else return lr(Ft,$t,lo,Lt,Ui)}}}function Zr(_,k,N,H){var Z;if(V(k)){var ee=k.match(a),ce=k.substring(ee[0].length),Re=ee[1]||ee[3],le=ee[2]==="?";if(Re==="^^"?N=N.parent():(Z=H&&H[ce],Z=Z&&Z.instance),!Z){var me="$"+ce+"Controller";Re==="^^"&&N[0]&&N[0].nodeType===Cs?Z=null:Z=Re?N.inheritedData(me):N.data(me)}if(!Z&&!le)throw ht("ctreq","Controller '{0}', required by directive '{1}', can't be found!",ce,_)}else if(oe(k)){Z=[];for(var ye=0,Ce=k.length;ye<Ce;ye++)Z[ye]=Zr(_,k[ye],N,H)}else Y(k)&&(Z={},M(k,function(re,ke){Z[ke]=Zr(_,re,N,H)}));return Z||null}function wp(_,k,N,H,Z,ee,ce){var Re=nt();for(var le in H){var me=H[le],ye={$scope:me===ce||me.$$isolateScope?Z:ee,$element:_,$attrs:k,$transclude:N},Ce=me.controller;Ce==="@"&&(Ce=k[me.name]);var re=E(Ce,ye,!0,me.controllerAs);Re[me.name]=re,_.data("$"+me.name+"Controller",re.instance)}return Re}function Su(_,k,N){for(var H=0,Z=_.length;H<Z;H++)_[H]=It(_[H],{$$isolateScope:k,$$newScope:N})}function Ii(_,k,N,H,Z,ee,ce){if(k===Z)return null;var Re=null;if(n.hasOwnProperty(k)){for(var le,me=A.get(k+r),ye=0,Ce=me.length;ye<Ce;ye++)if(le=me[ye],(he(H)||H>le.priority)&&le.restrict.indexOf(N)!==-1){if(ee&&(le=It(le,{$$start:ee,$$end:ce})),!le.$$bindings){var re=le.$$bindings=p(le,le.name);Y(re.isolateScope)&&(le.$$isolateBindings=re.isolateScope)}_.push(le),Re=le}}return Re}function Ap(_){if(n.hasOwnProperty(_)){for(var k,N=A.get(_+r),H=0,Z=N.length;H<Z;H++)if(k=N[H],k.multiElement)return!0}return!1}function _u(_,k){var N=k.$attr,H=_.$attr;M(_,function(Z,ee){ee.charAt(0)!=="$"&&(k[ee]&&k[ee]!==Z&&(Z.length?Z+=(ee==="style"?";":" ")+k[ee]:Z=k[ee]),_.$set(ee,Z,!0,N[ee]))}),M(k,function(Z,ee){!_.hasOwnProperty(ee)&&ee.charAt(0)!=="$"&&(_[ee]=Z,ee!=="class"&&ee!=="style"&&(H[ee]=N[ee]))})}function Sp(_,k,N,H,Z,ee,ce,Re){var le=[],me,ye,Ce=k[0],re=_.shift(),ke=It(re,{templateUrl:null,transclude:null,replace:null,$$originalDirective:re}),De=ve(re.templateUrl)?re.templateUrl(k,N):re.templateUrl,Xe=re.templateNamespace;return k.empty(),$(De).then(function(ze){var Ie,Ne,be,He;if(ze=wt(ze),re.replace){if(As(ze)?be=[]:be=fa(ro(Xe,tt(ze))),Ie=be[0],be.length!==1||Ie.nodeType!==mn)throw ht("tplrt","Template for directive '{0}' must have exactly one root element. {1}",re.name,De);Ne={$attr:{}},Ni(H,k,Ie);var Ve=Sn(Ie,[],Ne);Y(re.scope)&&Su(Ve,!0),_=Ve.concat(_),_u(N,Ne)}else Ie=Ce,k.html(ze);for(_.unshift(ke),me=Au(_,Ie,N,Z,k,re,ee,ce,Re),M(H,function(Ot,fn){Ot===Ie&&(H[fn]=k[0])}),ye=Bn(k[0].childNodes,Z);le.length;){var ft=le.shift(),lt=le.shift(),at=le.shift(),Je=le.shift(),At=k[0];if(!ft.$$destroyed){if(lt!==Ce){var gt=lt.className;Re.hasElementTranscludeDirective&&re.replace||(At=_s(Ie)),Ni(at,S(lt),At),Ge(S(At),gt)}me.transcludeOnThisElement?He=sn(ft,me.transclude,Je):He=Je,me(ye,ft,At,H,He)}}le=null}).catch(function(ze){xe(ze)&&m(ze)}),function(Ie,Ne,be,He,Ve){var ft=Ve;Ne.$$destroyed||(le?le.push(Ne,be,He,ft):(me.transcludeOnThisElement&&(ft=sn(Ne,me.transclude,Ve)),me(ye,Ne,be,He,ft)))}}function _p(_,k){var N=k.priority-_.priority;return N!==0?N:_.name!==k.name?_.name<k.name?-1:1:_.index-k.index}function ur(_,k,N,H){function Z(ee){return ee?" (module: "+ee+")":""}if(k)throw ht("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",k.name,Z(k.$$moduleName),N.name,Z(N.$$moduleName),_,un(H))}function Tp(_,k){var N=T(k,!0);N&&_.push({priority:0,compile:function(Z){var ee=Z.parent(),ce=!!ee.length;return ce&&it.$$addBindingClass(ee),function(le,me){var ye=me.parent();ce||it.$$addBindingClass(ye),it.$$addBindingInfo(ye,N.expressions),le.$watch(N,function(re){me[0].nodeValue=re})}}})}function ro(_,k){switch(_=pe(_||"html"),_){case"svg":case"math":var N=c.document.createElement("div");return N.innerHTML="<"+_+">"+k+"</"+_+">",N.childNodes[0].childNodes;default:return k}}function kp(_,k){if(k==="srcdoc")return B.HTML;if(k==="src"||k==="ngSrc")return["img","video","audio","source","track"].indexOf(_)===-1?B.RESOURCE_URL:B.MEDIA_URL;if(k==="xlinkHref")return _==="image"?B.MEDIA_URL:_==="a"?B.URL:B.RESOURCE_URL;if(_==="form"&&k==="action"||_==="base"&&k==="href"||_==="link"&&k==="href")return B.RESOURCE_URL;if(_==="a"&&(k==="href"||k==="ngHref"))return B.URL}function Op(_,k){var N=k.toLowerCase();return U[_+"|"+N]||U["*|"+N]}function xp(_){return Me(B.valueOf(_),"ng-prop-srcset")}function Pp(_,k,N,H){if(o.test(H))throw ht("nodomevents","Property bindings for HTML DOM event properties are disallowed");var Z=en(_),ee=Op(Z,H),ce=_t;H==="srcset"&&(Z==="img"||Z==="source")?ce=xp:ee&&(ce=B.getTrusted.bind(B,ee)),k.push({priority:100,compile:function(le,me){var ye=C(me[N]),Ce=C(me[N],function(ke){return B.valueOf(ke)});return{pre:function(ke,De){function Xe(){var ze=ye(ke);De[0][H]=ce(ze)}Xe(),ke.$watch(Ce,Xe)}}}})}function Rp(_,k,N){_.push(cu(C,O,m,k,N,!1))}function Mp(_,k,N,H,Z){var ee=en(_),ce=kp(ee,H),Re=!Z,le=u[H]||Z,me=T(N,Re,ce,le);if(!!me){if(H==="multiple"&&ee==="select")throw ht("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",un(_));if(o.test(H))throw ht("nodomevents","Interpolations for HTML DOM event attributes are disallowed");k.push({priority:100,compile:function(){return{pre:function(Ce,re,ke){var De=ke.$$observers||(ke.$$observers=nt()),Xe=ke[H];Xe!==N&&(me=Xe&&T(Xe,!0,ce,le),N=Xe),me&&(ke[H]=me(Ce),(De[H]||(De[H]=[])).$$inter=!0,(ke.$$observers&&ke.$$observers[H].$$scope||Ce).$watch(me,function(Ie,Ne){H==="class"&&Ie!==Ne?ke.$updateClass(Ie,Ne):ke.$set(H,Ie)}))}}}})}}function Ni(_,k,N){var H=k[0],Z=k.length,ee=H.parentNode,ce,Re;if(_){for(ce=0,Re=_.length;ce<Re;ce++)if(_[ce]===H){_[ce++]=N;for(var le=ce,me=le+Z-1,ye=_.length;le<ye;le++,me++)me<ye?_[le]=_[me]:delete _[le];_.length-=Z-1,_.context===H&&(_.context=N);break}}ee&&ee.replaceChild(N,H);var Ce=c.document.createDocumentFragment();for(ce=0;ce<Z;ce++)Ce.appendChild(k[ce]);for(S.hasData(H)&&(S.data(N,S.data(H)),S(H).off("$destroy")),S.cleanData(Ce.querySelectorAll("*")),ce=1;ce<Z;ce++)delete k[ce];k[0]=N,k.length=1}function Tu(_,k){return Fe(function(){return _.apply(null,arguments)},_,k)}function ku(_,k,N,H,Z,ee){try{_(k,N,H,Z,ee)}catch(ce){m(ce,un(N))}}function qi(_,k){if(z)throw ht("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",_,k)}function Ou(_,k,N,H,Z){var ee=[],ce={},Re;M(H,function(Ce,re){var ke=Ce.attrName,De=Ce.optional,Xe=Ce.mode,ze,Ie,Ne,be,He;switch(Xe){case"@":!De&&!$e.call(k,ke)&&(qi(ke,Z.name),N[re]=k[ke]=void 0),He=k.$observe(ke,function(at){if(V(at)||$n(at)){var Je=N[re];le(re,at,Je),N[re]=at}}),k.$$observers[ke].$$scope=_,ze=k[ke],V(ze)?N[re]=T(ze)(_):$n(ze)&&(N[re]=ze),ce[re]=new wi(xs,N[re]),ee.push(He);break;case"=":if(!$e.call(k,ke)){if(De)break;qi(ke,Z.name),k[ke]=void 0}if(De&&!k[ke])break;Ie=C(k[ke]),Ie.literal?be=tn:be=vs,Ne=Ie.assign||function(){throw ze=N[re]=Ie(_),ht("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",k[ke],ke,Z.name)},ze=N[re]=Ie(_);var Ve=function(Je){return be(Je,N[re])||(be(Je,ze)?Ne(_,Je=N[re]):N[re]=Je),ze=Je,ze};Ve.$stateful=!0,Ce.collection?He=_.$watchCollection(k[ke],Ve):He=_.$watch(C(k[ke],Ve),null,Ie.literal),ee.push(He);break;case"<":if(!$e.call(k,ke)){if(De)break;qi(ke,Z.name),k[ke]=void 0}if(De&&!k[ke])break;Ie=C(k[ke]);var ft=Ie.literal,lt=N[re]=Ie(_);ce[re]=new wi(xs,N[re]),He=_[Ce.collection?"$watchCollection":"$watch"](Ie,function(Je,At){if(At===Je){if(At===lt||ft&&tn(At,lt))return;At=lt}le(re,Je,At),N[re]=Je}),ee.push(He);break;case"&":if(!De&&!$e.call(k,ke)&&qi(ke,Z.name),Ie=k.hasOwnProperty(ke)?C(k[ke]):we,Ie===we&&De)break;N[re]=function(at){return Ie(_,at)};break}});function le(ye,Ce,re){ve(N.$onChanges)&&!vs(Ce,re)&&(Te||(_.$$postDigest(Se),Te=[]),Re||(Re={},Te.push(me)),Re[ye]&&(re=Re[ye].previousValue),Re[ye]=new wi(re,Ce))}function me(){N.$onChanges(Re),Re=void 0}return{initialChanges:ce,removeWatches:ee.length&&function(){for(var Ce=0,re=ee.length;Ce<re;++Ce)ee[Ce]()}}}}]}function wi(e,t){this.previousValue=e,this.currentValue=t}wi.prototype.isFirstChange=function(){return this.previousValue===xs};var ua=/^((?:x|data)[:\-_])/i,zl=/[:\-_]+(.)/g;function rn(e){return e.replace(ua,"").replace(zl,function(t,n,r){return r?n.toUpperCase():n})}function q$(e,t,n,r){}function U$(e,t,n,r,i){}function ca(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var l=0;l<r.length;l++){for(var u=r[l],a=0;a<i.length;a++)if(u===i[a])continue e;n+=(n.length>0?" ":"")+u}return n}function fa(e){e=S(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===Br||n.nodeType===wn&&n.nodeValue.trim()==="")&&ge.call(e,t,1)}return e}var la=w("$controller"),ha=/^(\S+)(\s+as\s+([\w$]+))?$/;function Gl(e,t){if(t&&V(t))return t;if(V(e)){var n=ha.exec(e);if(n)return n[3]}}function Xl(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){Qn(t,"controller"),Y(t)?Fe(e,t):e[t]=n},this.$get=["$injector",function(t){return function(i,l,u,a){var o,h,d,p;if(u=u===!0,a&&V(a)&&(p=a),V(i)){if(h=i.match(ha),!h)throw la("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",i);if(d=h[1],p=p||h[3],i=e.hasOwnProperty(d)?e[d]:Yf(l.$scope,d,!0),!i)throw la("ctrlreg","The controller with the name '{0}' is not registered.",d);fi(i,d,!0)}if(u){var g=(oe(i)?i[i.length-1]:i).prototype;return o=Object.create(g||null),p&&n(l,p,o,d||i.name),Fe(function(){var b=t.invoke(i,o,l,d);return b!==o&&(Y(b)||ve(b))&&(o=b,p&&n(l,p,o,d||i.name)),o},{instance:o,identifier:p})}return o=t.instantiate(i,l,d),p&&n(l,p,o,d||i.name),o};function n(r,i,l,u){if(!(r&&Y(r.$scope)))throw w("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",u,i);r.$scope[i]=l}}]}function Yl(){this.$get=["$window",function(e){return S(e.document)}]}function Jl(){this.$get=["$document","$rootScope",function(e,t){var n=e[0],r=n&&n.hidden;e.on("visibilitychange",i),t.$on("$destroy",function(){e.off("visibilitychange",i)});function i(){r=n.hidden}return function(){return r}}]}function Kl(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}var Zl=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}}]},da="application/json",Ps={"Content-Type":da+";charset=utf-8"},Ql=/^\[|^\{(?!\{)/,eh={"[":/]$/,"{":/}$/},th=/^\)]\}',?\n/,Ai=w("$http");function Rs(e){return Y(e)?Ee(e)?e.toISOString():qr(e):e}function nh(){this.$get=function(){return function(t){if(!t)return"";var n=[];return We(t,function(r,i){r===null||he(r)||ve(r)||(oe(r)?M(r,function(l){n.push(Gt(i)+"="+Gt(Rs(l)))}):n.push(Gt(i)+"="+Gt(Rs(r))))}),n.join("&")}}}function rh(){this.$get=function(){return function(t){if(!t)return"";var n=[];return r(t,"",!0),n.join("&");function r(i,l,u){oe(i)?M(i,function(a,o){r(a,l+"["+(Y(a)?o:"")+"]")}):Y(i)&&!Ee(i)?We(i,function(a,o){r(a,l+(u?"":"[")+o+(u?"":"]"))}):(ve(i)&&(i=i()),n.push(Gt(l)+"="+(i==null?"":Gt(Rs(i)))))}}}}function Ms(e,t){if(V(e)){var n=e.replace(th,"").trim();if(n){var r=t("Content-Type"),i=r&&r.indexOf(da)===0;if(i||ih(n))try{e=Lo(n)}catch(l){if(!i)return e;throw Ai("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,l)}}}return e}function ih(e){var t=e.match(Ql);return t&&eh[t[0]].test(e)}function pa(e){var t=nt(),n;function r(i,l){i&&(t[i]=t[i]?t[i]+", "+l:l)}return V(e)?M(e.split(`
`),function(i){n=i.indexOf(":"),r(pe(tt(i.substr(0,n))),tt(i.substr(n+1)))}):Y(e)&&M(e,function(i,l){r(pe(l),tt(i))}),t}function va(e){var t;return function(n){if(t||(t=pa(e)),n){var r=t[pe(n)];return r===void 0&&(r=null),r}return t}}function ga(e,t,n,r){return ve(r)?r(e,t,n):(M(r,function(i){e=i(e,t,n)}),e)}function Fs(e){return 200<=e&&e<300}function sh(){var e=this.defaults={transformResponse:[Ms],transformRequest:[function(i){return Y(i)&&!ai(i)&&!Mf(i)&&!Rf(i)?qr(i):i}],headers:{common:{Accept:"application/json, text/plain, */*"},post:nn(Ps),put:nn(Ps),patch:nn(Ps)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(i){return fe(i)?(t=!!i,this):t};var n=this.interceptors=[],r=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(i){this.xsrfTrustedOrigins=i}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(i,l,u,a,o,h,d,p){var g=a("$http");e.paramSerializer=V(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var y=[];M(n,function(A){y.unshift(V(A)?d.get(A):d.invoke(A))});var b=Qh(r);function D(A){if(!Y(A))throw w("$http")("badreq","Http request configuration must be an object. Received: {0}",A);if(!V(p.valueOf(A.url)))throw w("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",A.url);var T=Fe({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},A);T.headers=R(A),T.method=Pe(T.method),T.paramSerializer=V(T.paramSerializer)?d.get(T.paramSerializer):T.paramSerializer,i.$$incOutstandingRequestCount("$http");var m=[],$=[],C=h.resolve(T);return M(y,function(ne){(ne.request||ne.requestError)&&m.unshift(ne.request,ne.requestError),(ne.response||ne.responseError)&&$.push(ne.response,ne.responseError)}),C=E(C,m),C=C.then(W),C=E(C,$),C=C.finally(O),C;function E(ne,J){for(var ie=0,Te=J.length;ie<Te;){var Se=J[ie++],Me=J[ie++];ne=ne.then(Se,Me)}return J.length=0,ne}function O(){i.$$completeOutstandingRequest(we,"$http")}function B(ne,J){var ie,Te={};return M(ne,function(Se,Me){ve(Se)?(ie=Se(J),ie!=null&&(Te[Me]=ie)):Te[Me]=Se}),Te}function R(ne){var J=e.headers,ie=Fe({},ne.headers),Te,Se,Me;J=Fe({},J.common,J[pe(ne.method)]);e:for(Te in J){Se=pe(Te);for(Me in ie)if(pe(Me)===Se)continue e;ie[Te]=J[Te]}return B(ie,nn(ne))}function W(ne){var J=ne.headers,ie=ga(ne.data,va(J),void 0,ne.transformRequest);return he(ie)&&M(J,function(Te,Se){pe(Se)==="content-type"&&delete J[Se]}),he(ne.withCredentials)&&!he(e.withCredentials)&&(ne.withCredentials=e.withCredentials),L(ne,ie).then(K,K)}function K(ne){var J=Fe({},ne);return J.data=ga(ne.data,ne.headers,ne.status,T.transformResponse),Fs(ne.status)?J:h.reject(J)}}return D.pendingRequests=[],z("get","delete","head","jsonp"),I("post","put","patch"),D.defaults=e,D;function z(A){M(arguments,function(T){D[T]=function(m,$){return D(Fe({},$||{},{method:T,url:m}))}})}function I(A){M(arguments,function(T){D[T]=function(m,$,C){return D(Fe({},C||{},{method:T,url:m,data:$}))}})}function L(A,T){var m=h.defer(),$=m.promise,C,E,O=A.headers,B=pe(A.method)==="jsonp",R=A.url;if(B?R=p.getTrustedResourceUrl(R):V(R)||(R=p.valueOf(R)),R=F(R,A.paramSerializer(A.params)),B&&(R=U(R,A.jsonpCallbackParam)),D.pendingRequests.push(A),$.then(Te,Te),(A.cache||e.cache)&&A.cache!==!1&&(A.method==="GET"||A.method==="JSONP")&&(C=Y(A.cache)?A.cache:Y(e.cache)?e.cache:g),C&&(E=C.get(R),fe(E)?ui(E)?E.then(ie,ie):oe(E)?J(E[1],E[0],nn(E[2]),E[3],E[4]):J(E,200,{},"OK","complete"):C.put(R,$)),he(E)){var W=b(A.url)?u()[A.xsrfCookieName||e.xsrfCookieName]:void 0;W&&(O[A.xsrfHeaderName||e.xsrfHeaderName]=W),l(A.method,R,T,ne,O,A.timeout,A.withCredentials,A.responseType,K(A.eventHandlers),K(A.uploadEventHandlers))}return $;function K(Se){if(Se){var Me={};return M(Se,function(Ue,Be){Me[Be]=function(Ge){t?o.$applyAsync(ot):o.$$phase?ot():o.$apply(ot);function ot(){Ue(Ge)}}}),Me}}function ne(Se,Me,Ue,Be,Ge){C&&(Fs(Se)?C.put(R,[Se,Me,pa(Ue),Be,Ge]):C.remove(R));function ot(){J(Me,Se,Ue,Be,Ge)}t?o.$applyAsync(ot):(ot(),o.$$phase||o.$apply())}function J(Se,Me,Ue,Be,Ge){Me=Me>=-1?Me:0,(Fs(Me)?m.resolve:m.reject)({data:Se,status:Me,headers:va(Ue),config:A,statusText:Be,xhrStatus:Ge})}function ie(Se){J(Se.data,Se.status,nn(Se.headers()),Se.statusText,Se.xhrStatus)}function Te(){var Se=D.pendingRequests.indexOf(A);Se!==-1&&D.pendingRequests.splice(Se,1)}}function F(A,T){return T.length>0&&(A+=(A.indexOf("?")===-1?"?":"&")+T),A}function U(A,T){var m=A.split("?");if(m.length>2)throw Ai("badjsonp",'Illegal use more than one "?", in url, "{1}"',A);var $=ms(m[1]);return M($,function(C,E){if(C==="JSON_CALLBACK")throw Ai("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',A);if(E===T)throw Ai("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',T,A)}),A+=(A.indexOf("?")===-1?"?":"&")+T+"=JSON_CALLBACK",A}}]}function oh(){this.$get=function(){return function(){return new c.XMLHttpRequest}}}function ah(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return uh(e,r,e.defer,t,n[0])}]}function uh(e,t,n,r,i){return function(u,a,o,h,d,p,g,y,b,D){if(a=a||e.url(),pe(u)==="jsonp")var z=r.createCallback(a),I=l(a,z,function(E,O){var B=E===200&&r.getResponse(z);C(h,E,B,"",O,"complete"),r.removeCallback(z)});else{var L=t(u,a),F=!1;L.open(u,a,!0),M(d,function(E,O){fe(E)&&L.setRequestHeader(O,E)}),L.onload=function(){var O=L.statusText||"",B="response"in L?L.response:L.responseText,R=L.status===1223?204:L.status;R===0&&(R=B?200:Nt(a).protocol==="file"?404:0),C(h,R,B,L.getAllResponseHeaders(),O,"complete")};var U=function(){C(h,-1,null,null,"","error")},A=function(){C(h,-1,null,null,"",F?"timeout":"abort")},T=function(){C(h,-1,null,null,"","timeout")};if(L.onerror=U,L.ontimeout=T,L.onabort=A,M(b,function(E,O){L.addEventListener(O,E)}),M(D,function(E,O){L.upload.addEventListener(O,E)}),g&&(L.withCredentials=!0),y)try{L.responseType=y}catch(E){if(y!=="json")throw E}L.send(he(o)?null:o)}if(p>0)var m=n(function(){$("timeout")},p);else ui(p)&&p.then(function(){$(fe(p.$$timeoutId)?"timeout":"abort")});function $(E){F=E==="timeout",I&&I(),L&&L.abort()}function C(E,O,B,R,W,K){fe(m)&&n.cancel(m),I=L=null,E(O,B,R,W,K)}};function l(u,a,o){u=u.replace("JSON_CALLBACK",a);var h=i.createElement("script"),d=null;return h.type="text/javascript",h.src=u,h.async=!0,d=function(p){h.removeEventListener("load",d),h.removeEventListener("error",d),i.body.removeChild(h),h=null;var g=-1,y="unknown";p&&(p.type==="load"&&!r.wasCalled(a)&&(p={type:"error"}),y=p.type,g=p.type==="error"?404:200),o&&o(g,y)},h.addEventListener("load",d),h.addEventListener("error",d),i.body.appendChild(h),d}}var Dn=ue.$interpolateMinErr=w("$interpolate");Dn.throwNoconcat=function(e){throw Dn("noconcat",`Error while interpolating: {0}
Strict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce`,e)},Dn.interr=function(e,t){return Dn("interr",`Can't interpolate: {0}
{1}`,e,t.toString())};function ch(){var e="{{",t="}}";this.startSymbol=function(n){return n?(e=n,this):e},this.endSymbol=function(n){return n?(t=n,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){var l=e.length,u=t.length,a=new RegExp(e.replace(/./g,h),"g"),o=new RegExp(t.replace(/./g,h),"g");function h(y){return"\\\\\\"+y}function d(y){return y.replace(a,e).replace(o,t)}function p(y,b,D,z){var I=y.$watch(function(F){return I(),z(F)},b,D);return I}function g(y,b,D,z){var I=D===i.URL||D===i.MEDIA_URL;if(!y.length||y.indexOf(e)===-1){if(b)return;var L=d(y);I&&(L=i.getTrusted(D,L));var F=st(L);return F.exp=y,F.expressions=[],F.$$watchDelegate=p,F}z=!!z;for(var U,A,T=0,m=[],$,C=y.length,E,O=[],B=[],R;T<C;)if((U=y.indexOf(e,T))!==-1&&(A=y.indexOf(t,U+l))!==-1)T!==U&&O.push(d(y.substring(T,U))),E=y.substring(U+l,A),m.push(E),T=A+u,B.push(O.length),O.push("");else{T!==C&&O.push(d(y.substring(T)));break}R=O.length===1&&B.length===1;var W=I&&R?void 0:ne;if($=m.map(function(J){return n(J,W)}),!b||m.length){var K=function(J){for(var ie=0,Te=m.length;ie<Te;ie++){if(z&&he(J[ie]))return;O[B[ie]]=J[ie]}return I?i.getTrusted(D,R?O[0]:O.join("")):(D&&O.length>1&&Dn.throwNoconcat(y),O.join(""))};return Fe(function(ie){var Te=0,Se=m.length,Me=new Array(Se);try{for(;Te<Se;Te++)Me[Te]=$[Te](ie);return K(Me)}catch(Ue){r(Dn.interr(y,Ue))}},{exp:y,expressions:m,$$watchDelegate:function(J,ie){var Te;return J.$watchGroup($,function(Me,Ue){var Be=K(Me);ie.call(this,Be,Me!==Ue?Te:Be,J),Te=Be})}})}function ne(J){try{return J=D&&!I?i.getTrusted(D,J):i.valueOf(J),z&&!fe(J)?J:bs(J)}catch(ie){r(Dn.interr(y,ie))}}}return g.startSymbol=function(){return e},g.endSymbol=function(){return t},g}]}var fh=w("$interval");function lh(){this.$get=["$$intervalFactory","$window",function(e,t){var n={},r=function(u,a,o){var h=t.setInterval(u,a);return n[h]=o,h},i=function(u){t.clearInterval(u),delete n[u]},l=e(r,i);return l.cancel=function(u){if(!u)return!1;if(!u.hasOwnProperty("$$intervalId"))throw fh("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!n.hasOwnProperty(u.$$intervalId))return!1;var a=u.$$intervalId,o=n[a];return Ra(o.promise),o.reject("canceled"),i(a),!0},l}]}function hh(){this.$get=["$browser","$q","$$q","$rootScope",function(e,t,n,r){return function(l,u){return function(o,h,d,p){var g=arguments.length>4,y=g?Nr(arguments,4):[],b=0,D=fe(p)&&!p,z=(D?n:t).defer(),I=z.promise;d=fe(d)?d:0;function L(){g?o.apply(null,y):o(b)}function F(){D?e.defer(L):r.$evalAsync(L),z.notify(b++),d>0&&b>=d&&(z.resolve(b),u(I.$$intervalId)),D||r.$apply()}return I.$$intervalId=l(F,h,z,D),I}}}]}var dh=function(){this.$get=function(){var e=ue.callbacks,t={};function n(r){var i=function(l){i.data=l,i.called=!0};return i.id=r,i}return{createCallback:function(r){var i="_"+(e.$$counter++).toString(36),l="angular.callbacks."+i,u=n(i);return t[l]=e[i]=u,l},wasCalled:function(r){return t[r].called},getResponse:function(r){return t[r].data},removeCallback:function(r){var i=t[r];delete e[i.id],delete t[r]}}}},ph=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,vh={http:80,https:443,ftp:21},Wr=w("$location");function gh(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ys(t[n].replace(/%2F/g,"/"));return t.join("/")}function $h(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("/")}function mh(e,t,n){var r=qf(t),i=n?"#"+ys(n):"",l=gh(e);return l+(r?"?"+r:"")+i}function $a(e,t){var n=Nt(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=Ye(n.port)||vh[n.protocol]||null}var yh=/^\s*[\\/]{2,}/;function ma(e,t,n){if(yh.test(e))throw Wr("badpath",'Invalid url "{0}".',e);var r=e.charAt(0)!=="/";r&&(e="/"+e);var i=Nt(e),l=r&&i.pathname.charAt(0)==="/"?i.pathname.substring(1):i.pathname;t.$$path=$h(l,n),t.$$search=ms(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&t.$$path.charAt(0)!=="/"&&(t.$$path="/"+t.$$path)}function Ls(e,t){return e.slice(0,t.length)===t}function yn(e,t){if(Ls(t,e))return t.substr(e.length)}function In(e){var t=e.indexOf("#");return t===-1?e:e.substr(0,t)}function bh(e){return e.substr(0,In(e).lastIndexOf("/")+1)}function Ch(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Ds(e,t,n){this.$$html5=!0,n=n||"",$a(e,this),this.$$parse=function(r){var i=yn(t,r);if(!V(i))throw Wr("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',r,t);ma(i,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(r){return t+r.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&i[0]==="#")return this.hash(i.slice(1)),!0;var l,u,a;return fe(l=yn(e,r))?(u=l,n&&fe(l=yn(n,l))?a=t+(yn("/",l)||l):a=e+u):fe(l=yn(t,r))?a=t+l:t===r+"/"&&(a=t),a&&this.$$parse(a),!!a}}function Is(e,t,n){$a(e,this),this.$$parse=function(r){var i=yn(e,r)||yn(t,r),l;!he(i)&&i.charAt(0)==="#"?(l=yn(n,i),he(l)&&(l=i)):this.$$html5?l=i:(l="",he(i)&&(e=r,this.replace())),ma(l,this,!1),this.$$path=u(this.$$path,l,e),this.$$compose();function u(a,o,h){var d=/^\/[A-Z]:(\/.*)/,p;return Ls(o,h)&&(o=o.replace(h,"")),d.exec(o)?a:(p=d.exec(a),p?p[1]:a)}},this.$$normalizeUrl=function(r){return e+(r?n+r:"")},this.$$parseLinkUrl=function(r,i){return In(e)===In(r)?(this.$$parse(r),!0):!1}}function ya(e,t,n){this.$$html5=!0,Is.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&i[0]==="#")return this.hash(i.slice(1)),!0;var l,u;return e===In(r)?l=r:(u=yn(t,r))?l=e+n+u:t===r+"/"&&(l=t),l&&this.$$parse(l),!!l},this.$$normalizeUrl=function(r){return e+n+r}}var Eh={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){this.$$url=mh(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:Si("$$absUrl"),url:function(e){if(he(e))return this.$$url;var t=ph.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:Si("$$protocol"),host:Si("$$host"),port:Si("$$port"),path:ba("$$path",function(e){return e=e!==null?e.toString():"",e.charAt(0)==="/"?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(V(e)||de(e))e=e.toString(),this.$$search=ms(e);else if(Y(e))e=Rn(e,{}),M(e,function(n,r){n==null&&delete e[r]}),this.$$search=e;else throw Wr("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");break;default:he(t)||t===null?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:ba("$$hash",function(e){return e!==null?e.toString():""}),replace:function(){return this.$$replace=!0,this}};M([ya,Is,Ds],function(e){e.prototype=Object.create(Eh),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==Ds||!this.$$html5)throw Wr("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=he(t)?null:t,this.$$urlUpdatedByLocation=!0,this}});function Si(e){return function(){return this[e]}}function ba(e,t){return function(n){return he(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function wh(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(n){return fe(n)?(e=n,this):e},this.html5Mode=function(n){return $n(n)?(t.enabled=n,this):Y(n)?($n(n.enabled)&&(t.enabled=n.enabled),$n(n.requireBase)&&(t.requireBase=n.requireBase),($n(n.rewriteLinks)||V(n.rewriteLinks))&&(t.rewriteLinks=n.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,l,u){var a,o,h=r.baseHref(),d=r.url(),p;if(t.enabled){if(!h&&t.requireBase)throw Wr("nobase","$location in HTML5 mode requires a <base> tag to be present!");p=Ch(d)+(h||"/"),o=i.history?Ds:ya}else p=In(d),o=Is;var g=bh(p);a=new o(p,g,"#"+e),a.$$parseLinkUrl(d,d),a.$$state=r.state();var y=/^\s*(javascript|mailto):/i;function b(L,F){return L===F||Nt(L).href===Nt(F).href}function D(L,F,U){var A=a.url(),T=a.$$state;try{r.url(L,F,U),a.$$state=r.state()}catch(m){throw a.url(A),a.$$state=T,m}}l.on("click",function(L){var F=t.rewriteLinks;if(!(!F||L.ctrlKey||L.metaKey||L.shiftKey||L.which===2||L.button===2)){for(var U=S(L.target);en(U[0])!=="a";)if(U[0]===l[0]||!(U=U.parent())[0])return;if(!(V(F)&&he(U.attr(F)))){var A=U.prop("href"),T=U.attr("href")||U.attr("xlink:href");Y(A)&&A.toString()==="[object SVGAnimatedString]"&&(A=Nt(A.animVal).href),!y.test(A)&&A&&!U.attr("target")&&!L.isDefaultPrevented()&&a.$$parseLinkUrl(A,T)&&(L.preventDefault(),a.absUrl()!==r.url()&&n.$apply())}}}),a.absUrl()!==d&&r.url(a.absUrl(),!0);var z=!0;return r.onUrlChange(function(L,F){if(!Ls(L,g)){u.location.href=L;return}n.$evalAsync(function(){var U=a.absUrl(),A=a.$$state,T;a.$$parse(L),a.$$state=F,T=n.$broadcast("$locationChangeStart",L,U,F,A).defaultPrevented,a.absUrl()===L&&(T?(a.$$parse(U),a.$$state=A,D(U,!1,A)):(z=!1,I(U,A)))}),n.$$phase||n.$digest()}),n.$watch(function(){if(z||a.$$urlUpdatedByLocation){a.$$urlUpdatedByLocation=!1;var F=r.url(),U=a.absUrl(),A=r.state(),T=a.$$replace,m=!b(F,U)||a.$$html5&&i.history&&A!==a.$$state;(z||m)&&(z=!1,n.$evalAsync(function(){var $=a.absUrl(),C=n.$broadcast("$locationChangeStart",$,F,a.$$state,A).defaultPrevented;a.absUrl()===$&&(C?(a.$$parse(F),a.$$state=A):(m&&D($,T,A===a.$$state?null:a.$$state),I(F,A)))}))}a.$$replace=!1}),a;function I(L,F){n.$broadcast("$locationChangeSuccess",a.absUrl(),L,a.$$state,F)}}]}function Ah(){var e=!0,t=this;this.debugEnabled=function(n){return fe(n)?(e=n,this):e},this.$get=["$window",function(n){var r=x||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:l("log"),info:l("info"),warn:l("warn"),error:l("error"),debug:function(){var u=l("debug");return function(){e&&u.apply(t,arguments)}}()};function i(u){return xe(u)&&(u.stack&&r?u=u.message&&u.stack.indexOf(u.message)===-1?"Error: "+u.message+`
`+u.stack:u.stack:u.sourceURL&&(u=u.message+`
`+u.sourceURL+":"+u.line)),u}function l(u){var a=n.console||{},o=a[u]||a.log||we;return function(){var h=[];return M(arguments,function(d){h.push(i(d))}),Function.prototype.apply.call(o,a,h)}}}]}var rr=w("$parse"),Sh={}.constructor.prototype.valueOf;function Ca(e){return e+""}var _i=nt();M("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){_i[e]=!0});var _h={n:`
`,f:"\f",r:"\r",t:" ",v:"\v","'":"'",'"':'"'},Ti=function(t){this.options=t};Ti.prototype={constructor:Ti,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=_i[t],l=_i[n],u=_i[r];if(i||l||u){var a=u?r:l?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 t.indexOf(e)!==-1},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return"0"<=e&&e<="9"&&typeof e=="string"},isWhitespace:function(e){return e===" "||e==="\r"||e===" "||e===`
`||e==="\v"||e==="\xA0"},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 e.length===1?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=fe(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw rr("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=pe(this.text.charAt(this.index));if(n==="."||this.isNumber(n))e+=n;else{var r=this.peek();if(n==="e"&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&e.charAt(e.length-1)==="e")e+=n;else if(this.isExpOperator(n)&&(!r||!this.isNumber(r))&&e.charAt(e.length-1)==="e")this.throwError("Invalid exponent");else break}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 l=this.text.charAt(this.index);if(r+=l,i){if(l==="u"){var u=this.text.substring(this.index+1,this.index+5);u.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+u+"]"),this.index+=4,n+=String.fromCharCode(parseInt(u,16))}else{var a=_h[l];n=n+(a||l)}i=!1}else if(l==="\\")i=!0;else if(l===e){this.index++,this.tokens.push({index:t,text:r,constant:!0,value:n});return}else n+=l;this.index++}this.throwError("Unterminated quote",t)}};var te=function(t,n){this.lexer=t,this.options=n};te.Program="Program",te.ExpressionStatement="ExpressionStatement",te.AssignmentExpression="AssignmentExpression",te.ConditionalExpression="ConditionalExpression",te.LogicalExpression="LogicalExpression",te.BinaryExpression="BinaryExpression",te.UnaryExpression="UnaryExpression",te.CallExpression="CallExpression",te.MemberExpression="MemberExpression",te.Identifier="Identifier",te.Literal="Literal",te.ArrayExpression="ArrayExpression",te.Property="Property",te.ObjectExpression="ObjectExpression",te.ThisExpression="ThisExpression",te.LocalsExpression="LocalsExpression",te.NGValueParameter="NGValueParameter",te.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return this.tokens.length!==0&&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:te.Program,body:e}},expressionStatement:function(){return{type:te.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(!_a(e))throw rr("lval","Trying to assign a value to a non l-value");e={type:te.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e=this.logicalOR(),t,n;return this.expect("?")&&(t=this.expression(),this.consume(":"))?(n=this.expression(),{type:te.ConditionalExpression,test:e,alternate:t,consequent:n}):e},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:te.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:te.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e=this.relational(),t;t=this.expect("==","!=","===","!==");)e={type:te.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var e=this.additive(),t;t=this.expect("<",">","<=",">=");)e={type:te.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var e=this.multiplicative(),t;t=this.expect("+","-");)e={type:te.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var e=this.unary(),t;t=this.expect("*","/","%");)e={type:te.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:te.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=Rn(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:te.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());for(var t;t=this.expect("(","[",".");)t.text==="("?(e={type:te.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):t.text==="["?(e={type:te.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):t.text==="."?e={type:te.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:te.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:te.Identifier,name:e.text}},constant:function(){return{type:te.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:te.ArrayExpression,elements:e}},object:function(){var e=[],t;if(this.peekToken().text!=="}")do{if(this.peek("}"))break;t={type:te.Property,kind:"init"},this.peek().constant?(t.key=this.constant(),t.computed=!1,this.consume(":"),t.value=this.expression()):this.peek().identifier?(t.key=this.identifier(),t.computed=!1,this.peek(":")?(this.consume(":"),t.value=this.expression()):t.value=t.key):this.peek("[")?(this.consume("["),t.key=this.expression(),this.consume("]"),t.computed=!0,this.consume(":"),t.value=this.expression()):this.throwError("invalid key",this.peek()),e.push(t)}while(this.expect(","));return this.consume("}"),{type:te.ObjectExpression,properties:e}},throwError:function(e,t){throw rr("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(this.tokens.length===0)throw rr("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(this.tokens.length===0)throw rr("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 l=this.tokens[e],u=l.text;if(u===t||u===n||u===r||u===i||!t&&!n&&!r&&!i)return l}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},selfReferential:{this:{type:te.ThisExpression},$locals:{type:te.LocalsExpression}}};function Th(e,t){return typeof e<"u"?e:t}function Ea(e,t){return typeof e>"u"?t:typeof t>"u"?e:e+t}function kh(e,t){var n=e(t);return!n.$stateful}var wa=1,Aa=2;function Oh(e,t){switch(e.type){case te.MemberExpression:if(e.computed)return!1;break;case te.UnaryExpression:return wa;case te.BinaryExpression:return e.operator!=="+"?wa:!1;case te.CallExpression:return!1}return t===void 0?Aa:t}function yt(e,t,n){var r,i,l,u=e.isPure=Oh(e,n);switch(e.type){case te.Program:r=!0,M(e.body,function(a){yt(a.expression,t,u),r=r&&a.expression.constant}),e.constant=r;break;case te.Literal:e.constant=!0,e.toWatch=[];break;case te.UnaryExpression:yt(e.argument,t,u),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case te.BinaryExpression:yt(e.left,t,u),yt(e.right,t,u),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case te.LogicalExpression:yt(e.left,t,u),yt(e.right,t,u),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case te.ConditionalExpression:yt(e.test,t,u),yt(e.alternate,t,u),yt(e.consequent,t,u),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case te.Identifier:e.constant=!1,e.toWatch=[e];break;case te.MemberExpression:yt(e.object,t,u),e.computed&&yt(e.property,t,u),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case te.CallExpression:l=e.filter?kh(t,e.callee.name):!1,r=l,i=[],M(e.arguments,function(a){yt(a,t,u),r=r&&a.constant,i.push.apply(i,a.toWatch)}),e.constant=r,e.toWatch=l?i:[e];break;case te.AssignmentExpression:yt(e.left,t,u),yt(e.right,t,u),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case te.ArrayExpression:r=!0,i=[],M(e.elements,function(a){yt(a,t,u),r=r&&a.constant,i.push.apply(i,a.toWatch)}),e.constant=r,e.toWatch=i;break;case te.ObjectExpression:r=!0,i=[],M(e.properties,function(a){yt(a.value,t,u),r=r&&a.value.constant,i.push.apply(i,a.value.toWatch),a.computed&&(yt(a.key,t,!1),r=r&&a.key.constant,i.push.apply(i,a.key.toWatch))}),e.constant=r,e.toWatch=i;break;case te.ThisExpression:e.constant=!1,e.toWatch=[];break;case te.LocalsExpression:e.constant=!1,e.toWatch=[];break}}function Sa(e){if(e.length===1){var t=e[0].expression,n=t.toWatch;return n.length!==1||n[0]!==t?n:void 0}}function _a(e){return e.type===te.Identifier||e.type===te.MemberExpression}function Ta(e){if(e.body.length===1&&_a(e.body[0].expression))return{type:te.AssignmentExpression,left:e.body[0].expression,right:{type:te.NGValueParameter},operator:"="}}function xh(e){return e.body.length===0||e.body.length===1&&(e.body[0].expression.type===te.Literal||e.body[0].expression.type===te.ArrayExpression||e.body[0].expression.type===te.ObjectExpression)}function Ph(e){return e.constant}function ka(e){this.$filter=e}ka.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},yt(e,t.$filter);var n="",r;if(this.stage="assign",r=Ta(e)){this.state.computing="assign";var i=this.nextId();this.recurse(r,i),this.return_(i),n="fn.assign="+this.generateFunction("assign","s,v,l")}var l=Sa(e.body);t.stage="inputs",M(l,function(o,h){var d="fn"+h;t.state[d]={vars:[],body:[],own:{}},t.state.computing=d;var p=t.nextId();t.recurse(o,p),t.return_(p),t.state.inputs.push({name:d,isPure:o.isPure}),o.watchId=h}),this.state.computing="fn",this.stage="main",this.recurse(e);var u='"'+this.USE+" "+this.STRICT+`";
`+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+n+this.watchFns()+"return fn;",a=new Function("$filter","getStringValue","ifDefined","plus",u)(this.$filter,Ca,Th,Ea);return this.state=this.stage=void 0,a},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return M(t,function(r){e.push("var "+r.name+"="+n.generateFunction(r.name,"s")),r.isPure&&e.push(r.name,".isPure="+JSON.stringify(r.isPure)+";")}),t.length&&e.push("fn.inputs=["+t.map(function(r){return r.name}).join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return M(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,l){var u,a,o=this,h,d,p;if(r=r||we,!l&&fe(e.watchId)){t=t||this.nextId(),this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,r,i,!0));return}switch(e.type){case te.Program:M(e.body,function(g,y){o.recurse(g.expression,void 0,void 0,function(b){a=b}),y!==e.body.length-1?o.current().body.push(a,";"):o.return_(a)});break;case te.Literal:d=this.escape(e.value),this.assign(t,d),r(t||d);break;case te.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(g){a=g}),d=e.operator+"("+this.ifDefined(a,0)+")",this.assign(t,d),r(d);break;case te.BinaryExpression:this.recurse(e.left,void 0,void 0,function(g){u=g}),this.recurse(e.right,void 0,void 0,function(g){a=g}),e.operator==="+"?d=this.plus(u,a):e.operator==="-"?d=this.ifDefined(u,0)+e.operator+this.ifDefined(a,0):d="("+u+")"+e.operator+"("+a+")",this.assign(t,d),r(d);break;case te.LogicalExpression:t=t||this.nextId(),o.recurse(e.left,t),o.if_(e.operator==="&&"?t:o.not(t),o.lazyRecurse(e.right,t)),r(t);break;case te.ConditionalExpression:t=t||this.nextId(),o.recurse(e.test,t),o.if_(t,o.lazyRecurse(e.alternate,t),o.lazyRecurse(e.consequent,t)),r(t);break;case te.Identifier:t=t||this.nextId(),n&&(n.context=o.stage==="inputs"?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),o.if_(o.stage==="inputs"||o.not(o.getHasOwnProperty("l",e.name)),function(){o.if_(o.stage==="inputs"||"s",function(){i&&i!==1&&o.if_(o.isNull(o.nonComputedMember("s",e.name)),o.lazyAssign(o.nonComputedMember("s",e.name),"{}")),o.assign(t,o.nonComputedMember("s",e.name))})},t&&o.lazyAssign(t,o.nonComputedMember("l",e.name))),r(t);break;case te.MemberExpression:u=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),o.recurse(e.object,u,void 0,function(){o.if_(o.notNull(u),function(){e.computed?(a=o.nextId(),o.recurse(e.property,a),o.getStringValue(a),i&&i!==1&&o.if_(o.not(o.computedMember(u,a)),o.lazyAssign(o.computedMember(u,a),"{}")),d=o.computedMember(u,a),o.assign(t,d),n&&(n.computed=!0,n.name=a)):(i&&i!==1&&o.if_(o.isNull(o.nonComputedMember(u,e.property.name)),o.lazyAssign(o.nonComputedMember(u,e.property.name),"{}")),d=o.nonComputedMember(u,e.property.name),o.assign(t,d),n&&(n.computed=!1,n.name=e.property.name))},function(){o.assign(t,"undefined")}),r(t)},!!i);break;case te.CallExpression:t=t||this.nextId(),e.filter?(a=o.filter(e.callee.name),h=[],M(e.arguments,function(g){var y=o.nextId();o.recurse(g,y),h.push(y)}),d=a+"("+h.join(",")+")",o.assign(t,d),r(t)):(a=o.nextId(),u={},h=[],o.recurse(e.callee,a,u,function(){o.if_(o.notNull(a),function(){M(e.arguments,function(g){o.recurse(g,e.constant?void 0:o.nextId(),void 0,function(y){h.push(y)})}),u.name?d=o.member(u.context,u.name,u.computed)+"("+h.join(",")+")":d=a+"("+h.join(",")+")",o.assign(t,d)},function(){o.assign(t,"undefined")}),r(t)}));break;case te.AssignmentExpression:a=this.nextId(),u={},this.recurse(e.left,void 0,u,function(){o.if_(o.notNull(u.context),function(){o.recurse(e.right,a),d=o.member(u.context,u.name,u.computed)+e.operator+a,o.assign(t,d),r(t||d)})},1);break;case te.ArrayExpression:h=[],M(e.elements,function(g){o.recurse(g,e.constant?void 0:o.nextId(),void 0,function(y){h.push(y)})}),d="["+h.join(",")+"]",this.assign(t,d),r(t||d);break;case te.ObjectExpression:h=[],p=!1,M(e.properties,function(g){g.computed&&(p=!0)}),p?(t=t||this.nextId(),this.assign(t,"{}"),M(e.properties,function(g){g.computed?(u=o.nextId(),o.recurse(g.key,u)):u=g.key.type===te.Identifier?g.key.name:""+g.key.value,a=o.nextId(),o.recurse(g.value,a),o.assign(o.member(t,u,g.computed),a)})):(M(e.properties,function(g){o.recurse(g.value,e.constant?void 0:o.nextId(),void 0,function(y){h.push(o.escape(g.key.type===te.Identifier?g.key.name:""+g.key.value)+":"+y)})}),d="{"+h.join(",")+"}",this.assign(t,d)),r(t||d);break;case te.ThisExpression:this.assign(t,"s"),r(t||"s");break;case te.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case te.NGValueParameter:this.assign(t,"v"),r(t||"v");break}},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(e===!0)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){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,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,l){var u=this;return function(){u.recurse(e,t,n,r,i,l)}},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(V(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(de(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(e===null)return"null";if(typeof e>"u")return"undefined";throw rr("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]}};function Oa(e){this.$filter=e}Oa.prototype={compile:function(e){var t=this;yt(e,t.$filter);var n,r;(n=Ta(e))&&(r=this.recurse(n));var i=Sa(e.body),l;i&&(l=[],M(i,function(o,h){var d=t.recurse(o);d.isPure=o.isPure,o.input=d,l.push(d),o.watchId=h}));var u=[];M(e.body,function(o){u.push(t.recurse(o.expression))});var a=e.body.length===0?we:e.body.length===1?u[0]:function(o,h){var d;return M(u,function(p){d=p(o,h)}),d};return r&&(a.assign=function(o,h,d){return r(o,d,h)}),l&&(a.inputs=l),a},recurse:function(e,t,n){var r,i,l=this,u;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case te.Literal:return this.value(e.value,t);case te.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case te.BinaryExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case te.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case te.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case te.Identifier:return l.identifier(e.name,t,n);case te.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 te.CallExpression:return u=[],M(e.arguments,function(a){u.push(l.recurse(a))}),e.filter&&(i=this.$filter(e.callee.name)),e.filter||(i=this.recurse(e.callee,!0)),e.filter?function(a,o,h,d){for(var p=[],g=0;g<u.length;++g)p.push(u[g](a,o,h,d));var y=i.apply(void 0,p,d);return t?{context:void 0,name:void 0,value:y}:y}:function(a,o,h,d){var p=i(a,o,h,d),g;if(p.value!=null){for(var y=[],b=0;b<u.length;++b)y.push(u[b](a,o,h,d));g=p.value.apply(p.context,y)}return t?{value:g}:g};case te.AssignmentExpression:return r=this.recurse(e.left,!0,1),i=this.recurse(e.right),function(a,o,h,d){var p=r(a,o,h,d),g=i(a,o,h,d);return p.context[p.name]=g,t?{value:g}:g};case te.ArrayExpression:return u=[],M(e.elements,function(a){u.push(l.recurse(a))}),function(a,o,h,d){for(var p=[],g=0;g<u.length;++g)p.push(u[g](a,o,h,d));return t?{value:p}:p};case te.ObjectExpression:return u=[],M(e.properties,function(a){a.computed?u.push({key:l.recurse(a.key),computed:!0,value:l.recurse(a.value)}):u.push({key:a.key.type===te.Identifier?a.key.name:""+a.key.value,computed:!1,value:l.recurse(a.value)})}),function(a,o,h,d){for(var p={},g=0;g<u.length;++g)u[g].computed?p[u[g].key(a,o,h,d)]=u[g].value(a,o,h,d):p[u[g].key]=u[g].value(a,o,h,d);return t?{value:p}:p};case te.ThisExpression:return function(a){return t?{value:a}:a};case te.LocalsExpression:return function(a,o){return t?{value:o}:o};case te.NGValueParameter:return function(a,o,h){return t?{value:h}:h}}},"unary+":function(e,t){return function(n,r,i,l){var u=e(n,r,i,l);return fe(u)?u=+u:u=0,t?{value:u}:u}},"unary-":function(e,t){return function(n,r,i,l){var u=e(n,r,i,l);return fe(u)?u=-u:u=-0,t?{value:u}:u}},"unary!":function(e,t){return function(n,r,i,l){var u=!e(n,r,i,l);return t?{value:u}:u}},"binary+":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u),o=t(r,i,l,u),h=Ea(a,o);return n?{value:h}:h}},"binary-":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u),o=t(r,i,l,u),h=(fe(a)?a:0)-(fe(o)?o:0);return n?{value:h}:h}},"binary*":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)*t(r,i,l,u);return n?{value:a}:a}},"binary/":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)/t(r,i,l,u);return n?{value:a}:a}},"binary%":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)%t(r,i,l,u);return n?{value:a}:a}},"binary===":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)===t(r,i,l,u);return n?{value:a}:a}},"binary!==":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)!==t(r,i,l,u);return n?{value:a}:a}},"binary==":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)==t(r,i,l,u);return n?{value:a}:a}},"binary!=":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)!=t(r,i,l,u);return n?{value:a}:a}},"binary<":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)<t(r,i,l,u);return n?{value:a}:a}},"binary>":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)>t(r,i,l,u);return n?{value:a}:a}},"binary<=":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)<=t(r,i,l,u);return n?{value:a}:a}},"binary>=":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)>=t(r,i,l,u);return n?{value:a}:a}},"binary&&":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)&&t(r,i,l,u);return n?{value:a}:a}},"binary||":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)||t(r,i,l,u);return n?{value:a}:a}},"ternary?:":function(e,t,n,r){return function(i,l,u,a){var o=e(i,l,u,a)?t(i,l,u,a):n(i,l,u,a);return r?{value:o}:o}},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,l,u){var a=i&&e in i?i:r;n&&n!==1&&a&&a[e]==null&&(a[e]={});var o=a?a[e]:void 0;return t?{context:a,name:e,value:o}:o}},computedMember:function(e,t,n,r){return function(i,l,u,a){var o=e(i,l,u,a),h,d;return o!=null&&(h=t(i,l,u,a),h=Ca(h),r&&r!==1&&o&&!o[h]&&(o[h]={}),d=o[h]),n?{context:o,name:h,value:d}:d}},nonComputedMember:function(e,t,n,r){return function(i,l,u,a){var o=e(i,l,u,a);r&&r!==1&&o&&o[t]==null&&(o[t]={});var h=o?.[t];return n?{context:o,name:t,value:h}:h}},inputs:function(e,t){return function(n,r,i,l){return l?l[t]:e(n,r,i)}}};function ki(e,t,n){this.ast=new te(e,n),this.astCompiler=n.csp?new Oa(t):new ka(t)}ki.prototype={constructor:ki,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=xh(t.ast),n.constant=Ph(t.ast),n.oneTime=t.oneTime,n},getAst:function(e){var t=!1;return e=e.trim(),e.charAt(0)===":"&&e.charAt(1)===":"&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};function Ns(e){return ve(e.valueOf)?e.valueOf():Sh.call(e)}function Rh(){var e=nt(),t={true:!0,false:!1,null:null,undefined:void 0},n,r;this.addLiteral=function(i,l){t[i]=l},this.setIdentifierFns=function(i,l){return n=i,r=l,this},this.$get=["$filter",function(i){var l=Mn().noUnsafeEval,u={csp:l,literals:Rn(t),isIdentifierStart:ve(n)&&n,isIdentifierContinue:ve(r)&&r};return a.$$getAst=o,a;function a(I,L){var F,U;switch(typeof I){case"string":if(I=I.trim(),U=I,F=e[U],!F){var A=new Ti(u),T=new ki(A,i,u);F=T.parse(I),e[U]=b(F)}return z(F,L);case"function":return z(I,L);default:return z(we,L)}}function o(I){var L=new Ti(u),F=new ki(L,i,u);return F.getAst(I).ast}function h(I,L,F){return I==null||L==null?I===L:typeof I=="object"&&(I=Ns(I),typeof I=="object"&&!F)?!1:I===L||I!==I&&L!==L}function d(I,L,F,U,A){var T=U.inputs,m;if(T.length===1){var $=h;return T=T[0],I.$watch(function(W){var K=T(W);return h(K,$,T.isPure)||(m=U(W,void 0,void 0,[K]),$=K&&Ns(K)),m},L,F,A)}for(var C=[],E=[],O=0,B=T.length;O<B;O++)C[O]=h,E[O]=null;return I.$watch(function(W){for(var K=!1,ne=0,J=T.length;ne<J;ne++){var ie=T[ne](W);(K||(K=!h(ie,C[ne],T[ne].isPure)))&&(E[ne]=ie,C[ne]=ie&&Ns(ie))}return K&&(m=U(W,void 0,void 0,E)),m},L,F,A)}function p(I,L,F,U,A){var T=U.literal?g:fe,m,$,C=U.$$intercepted||U,E=U.$$interceptor||_t,O=U.inputs&&!C.inputs;return R.literal=U.literal,R.constant=U.constant,R.inputs=U.inputs,b(R),m=I.$watch(R,L,F,A),m;function B(){T($)&&m()}function R(W,K,ne,J){return $=O&&J?J[0]:C(W,K,ne,J),T($)&&W.$$postDigest(B),E($)}}function g(I){var L=!0;return M(I,function(F){fe(F)||(L=!1)}),L}function y(I,L,F,U){var A=I.$watch(function(m){return A(),U(m)},L,F);return A}function b(I){return I.constant?I.$$watchDelegate=y:I.oneTime?I.$$watchDelegate=p:I.inputs&&(I.$$watchDelegate=d),I}function D(I,L){function F(U){return L(I(U))}return F.$stateful=I.$stateful||L.$stateful,F.$$pure=I.$$pure&&L.$$pure,F}function z(I,L){if(!L)return I;I.$$interceptor&&(L=D(I.$$interceptor,L),I=I.$$intercepted);var F=!1,U=function(T,m,$,C){var E=F&&C?C[0]:I(T,m,$,C);return L(E)};return U.$$intercepted=I,U.$$interceptor=L,U.literal=I.literal,U.oneTime=I.oneTime,U.constant=I.constant,L.$stateful||(F=!I.inputs,U.inputs=I.inputs?I.inputs:[I],L.$$pure||(U.inputs=U.inputs.map(function(A){return A.isPure===Aa?function(m){return A(m)}:A}))),b(U)}}]}function Mh(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return xa(function(r){t.$evalAsync(r)},n,e)}],this.errorOnUnhandledRejections=function(t){return fe(t)?(e=t,this):e}}function Fh(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return xa(function(r){t.defer(r)},n,e)}],this.errorOnUnhandledRejections=function(t){return fe(t)?(e=t,this):e}}function xa(e,t,n){var r=w("$q",TypeError),i=0,l=[];function u(){return new a}function a(){var $=this.promise=new o;this.resolve=function(C){g($,C)},this.reject=function(C){b($,C)},this.notify=function(C){z($,C)}}function o(){this.$$state={status:0}}Fe(o.prototype,{then:function($,C,E){if(he($)&&he(C)&&he(E))return this;var O=new o;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([O,$,C,E]),this.$$state.status>0&&p(this.$$state),O},catch:function($){return this.then(null,$)},finally:function($,C){return this.then(function(E){return L(E,U,$)},function(E){return L(E,I,$)},C)}});function h($){var C,E,O;O=$.pending,$.processScheduled=!1,$.pending=void 0;try{for(var B=0,R=O.length;B<R;++B){qs($),E=O[B][0],C=O[B][$.status];try{ve(C)?g(E,C($.value)):$.status===1?g(E,$.value):b(E,$.value)}catch(W){b(E,W),W&&W.$$passToExceptionHandler===!0&&t(W)}}}finally{--i,n&&i===0&&e(d)}}function d(){for(;!i&&l.length;){var $=l.shift();if(!Pa($)){qs($);var C="Possibly unhandled rejection: "+Bo($.value);xe($.value)?t($.value,C):t(C)}}}function p($){n&&!$.pending&&$.status===2&&!Pa($)&&(i===0&&l.length===0&&e(d),l.push($)),!($.processScheduled||!$.pending)&&($.processScheduled=!0,++i,e(function(){h($)}))}function g($,C){$.$$state.status||(C===$?D($,r("qcycle","Expected promise to be resolved with value other than itself '{0}'",C)):y($,C))}function y($,C){var E,O=!1;try{(Y(C)||ve(C))&&(E=C.then),ve(E)?($.$$state.status=-1,E.call(C,B,R,W)):($.$$state.value=C,$.$$state.status=1,p($.$$state))}catch(K){R(K)}function B(K){O||(O=!0,y($,K))}function R(K){O||(O=!0,D($,K))}function W(K){z($,K)}}function b($,C){$.$$state.status||D($,C)}function D($,C){$.$$state.value=C,$.$$state.status=2,p($.$$state)}function z($,C){var E=$.$$state.pending;$.$$state.status<=0&&E&&E.length&&e(function(){for(var O,B,R=0,W=E.length;R<W;R++){B=E[R][0],O=E[R][3];try{z(B,ve(O)?O(C):C)}catch(K){t(K)}}})}function I($){var C=new o;return b(C,$),C}function L($,C,E){var O=null;try{ve(E)&&(O=E())}catch(B){return I(B)}return ui(O)?O.then(function(){return C($)},I):C($)}function F($,C,E,O){var B=new o;return g(B,$),B.then(C,E,O)}var U=F;function A($){var C=new o,E=0,O=oe($)?[]:{};return M($,function(B,R){E++,F(B).then(function(W){O[R]=W,--E||g(C,O)},function(W){b(C,W)})}),E===0&&g(C,O),C}function T($){var C=u();return M($,function(E){F(E).then(C.resolve,C.reject)}),C.promise}function m($){if(!ve($))throw r("norslvr","Expected resolverFn, got '{0}'",$);var C=new o;function E(B){g(C,B)}function O(B){b(C,B)}return $(E,O),C}return m.prototype=o.prototype,m.defer=u,m.reject=I,m.when=F,m.resolve=U,m.all=A,m.race=T,m}function Pa(e){return!!e.pur}function qs(e){e.pur=!0}function Ra(e){e.$$state&&qs(e.$$state)}function Lh(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,l=i?function(u){var a=n(u);return function(){r(a)}}:function(u){var a=t(u,16.66,!1);return function(){t.cancel(a)}};return l.supported=i,l}]}function Dh(){var e=10,t=w("$rootScope"),n=null,r=null;this.digestTtl=function(l){return arguments.length&&(e=l),e};function i(l){function u(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=vt(),this.$$ChildScope=null,this.$$suspended=!1}return u.prototype=l,u}this.$get=["$exceptionHandler","$parse","$browser",function(l,u,a){function o(m){m.currentScope.$$destroyed=!0}function h(m){x===9&&(m.$$childHead&&h(m.$$childHead),m.$$nextSibling&&h(m.$$nextSibling)),m.$parent=m.$$nextSibling=m.$$prevSibling=m.$$childHead=m.$$childTail=m.$root=m.$$watchers=null}function d(){this.$id=vt(),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}d.prototype={constructor:d,$new:function(m,$){var C;return $=$||this,m?(C=new d,C.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=i(this)),C=new this.$$ChildScope),C.$parent=$,C.$$prevSibling=$.$$childTail,$.$$childHead?($.$$childTail.$$nextSibling=C,$.$$childTail=C):$.$$childHead=$.$$childTail=C,(m||$!==this)&&C.$on("$destroy",o),C},$watch:function(m,$,C,E){var O=u(m),B=ve($)?$:we;if(O.$$watchDelegate)return O.$$watchDelegate(this,B,C,O,m);var R=this,W=R.$$watchers,K={fn:B,last:U,get:O,exp:E||m,eq:!!C};return n=null,W||(W=R.$$watchers=[],W.$$digestWatchIndex=-1),W.unshift(K),W.$$digestWatchIndex++,L(this,1),function(){var J=Dr(W,K);J>=0&&(L(R,-1),J<W.$$digestWatchIndex&&W.$$digestWatchIndex--),n=null}},$watchGroup:function(m,$){var C=new Array(m.length),E=new Array(m.length),O=[],B=this,R=!1,W=!0;if(!m.length){var K=!0;return B.$evalAsync(function(){K&&$(E,E,B)}),function(){K=!1}}if(m.length===1)return this.$watch(m[0],function(ie,Te,Se){E[0]=ie,C[0]=Te,$(E,ie===Te?E:C,Se)});M(m,function(J,ie){var Te=B.$watch(J,function(Me){E[ie]=Me,R||(R=!0,B.$evalAsync(ne))});O.push(Te)});function ne(){R=!1;try{W?(W=!1,$(E,E,B)):$(E,C,B)}finally{for(var J=0;J<m.length;J++)C[J]=E[J]}}return function(){for(;O.length;)O.shift()()}},$watchCollection:function(m,$){Se.$$pure=u(m).literal,Se.$stateful=!Se.$$pure;var C=this,E,O,B,R=$.length>1,W=0,K=u(m,Se),ne=[],J={},ie=!0,Te=0;function Se(Ue){E=Ue;var Be,Ge,ot,et,wt;if(!he(E)){if(!Y(E))O!==E&&(O=E,W++);else if(Le(E)){O!==ne&&(O=ne,Te=O.length=0,W++),Be=E.length,Te!==Be&&(W++,O.length=Te=Be);for(var pt=0;pt<Be;pt++)wt=O[pt],et=E[pt],ot=wt!==wt&&et!==et,!ot&&wt!==et&&(W++,O[pt]=et)}else{O!==J&&(O=J={},Te=0,W++),Be=0;for(Ge in E)$e.call(E,Ge)&&(Be++,et=E[Ge],wt=O[Ge],Ge in O?(ot=wt!==wt&&et!==et,!ot&&wt!==et&&(W++,O[Ge]=et)):(Te++,O[Ge]=et,W++));if(Te>Be){W++;for(Ge in O)$e.call(E,Ge)||(Te--,delete O[Ge])}}return W}}function Me(){if(ie?(ie=!1,$(E,E,C)):$(E,B,C),R)if(!Y(E))B=E;else if(Le(E)){B=new Array(E.length);for(var Ue=0;Ue<E.length;Ue++)B[Ue]=E[Ue]}else{B={};for(var Be in E)$e.call(E,Be)&&(B[Be]=E[Be])}}return this.$watch(K,Me)},$digest:function(){var m,$,C,E,O,B,R,W=e,K,ne,J=g.length?p:this,ie=[],Te,Se;z("$digest"),a.$$checkUrlChange(),this===p&&r!==null&&(a.defer.cancel(r),A()),n=null;do{R=!1,ne=J;for(var Me=0;Me<g.length;Me++){try{Se=g[Me],E=Se.fn,E(Se.scope,Se.locals)}catch(Ue){l(Ue)}n=null}g.length=0;e:do{if(B=!ne.$$suspended&&ne.$$watchers)for(B.$$digestWatchIndex=B.length;B.$$digestWatchIndex--;)try{if(m=B[B.$$digestWatchIndex],m){if(O=m.get,($=O(ne))!==(C=m.last)&&!(m.eq?tn($,C):je($)&&je(C)))R=!0,n=m,m.last=m.eq?Rn($,null):$,E=m.fn,E($,C===U?$:C,ne),W<5&&(Te=4-W,ie[Te]||(ie[Te]=[]),ie[Te].push({msg:ve(m.exp)?"fn: "+(m.exp.name||m.exp.toString()):m.exp,newVal:$,oldVal:C}));else if(m===n){R=!1;break e}}}catch(Ue){l(Ue)}if(!(K=!ne.$$suspended&&ne.$$watchersCount&&ne.$$childHead||ne!==J&&ne.$$nextSibling))for(;ne!==J&&!(K=ne.$$nextSibling);)ne=ne.$parent}while(ne=K);if((R||g.length)&&!W--)throw I(),t("infdig",`{0} $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: {1}`,e,ie)}while(R||g.length);for(I();D<y.length;)try{y[D++]()}catch(Ue){l(Ue)}y.length=D=0,a.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var m=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===p&&a.$$applicationDestroyed(),L(this,-this.$$watchersCount);for(var $ in this.$$listenerCount)F(this,this.$$listenerCount[$],$);m&&m.$$childHead===this&&(m.$$childHead=this.$$nextSibling),m&&m.$$childTail===this&&(m.$$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=we,this.$on=this.$watch=this.$watchGroup=function(){return we},this.$$listeners={},this.$$nextSibling=null,h(this)}},$eval:function(m,$){return u(m)(this,$)},$evalAsync:function(m,$){!p.$$phase&&!g.length&&a.defer(function(){g.length&&p.$digest()},null,"$evalAsync"),g.push({scope:this,fn:u(m),locals:$})},$$postDigest:function(m){y.push(m)},$apply:function(m){try{z("$apply");try{return this.$eval(m)}finally{I()}}catch($){l($)}finally{try{p.$digest()}catch($){throw l($),$}}},$applyAsync:function(m){var $=this;m&&b.push(C),m=u(m),T();function C(){$.$eval(m)}},$on:function(m,$){var C=this.$$listeners[m];C||(this.$$listeners[m]=C=[]),C.push($);var E=this;do E.$$listenerCount[m]||(E.$$listenerCount[m]=0),E.$$listenerCount[m]++;while(E=E.$parent);var O=this;return function(){var B=C.indexOf($);B!==-1&&(delete C[B],F(O,1,m))}},$emit:function(m,$){var C=[],E,O=this,B=!1,R={name:m,targetScope:O,stopPropagation:function(){B=!0},preventDefault:function(){R.defaultPrevented=!0},defaultPrevented:!1},W=Ir([R],arguments,1),K,ne;do{for(E=O.$$listeners[m]||C,R.currentScope=O,K=0,ne=E.length;K<ne;K++){if(!E[K]){E.splice(K,1),K--,ne--;continue}try{E[K].apply(null,W)}catch(J){l(J)}}if(B)break;O=O.$parent}while(O);return R.currentScope=null,R},$broadcast:function(m,$){var C=this,E=C,O=C,B={name:m,targetScope:C,preventDefault:function(){B.defaultPrevented=!0},defaultPrevented:!1};if(!C.$$listenerCount[m])return B;for(var R=Ir([B],arguments,1),W,K,ne;E=O;){for(B.currentScope=E,W=E.$$listeners[m]||[],K=0,ne=W.length;K<ne;K++){if(!W[K]){W.splice(K,1),K--,ne--;continue}try{W[K].apply(null,R)}catch(J){l(J)}}if(!(O=E.$$listenerCount[m]&&E.$$childHead||E!==C&&E.$$nextSibling))for(;E!==C&&!(O=E.$$nextSibling);)E=E.$parent}return B.currentScope=null,B}};var p=new d,g=p.$$asyncQueue=[],y=p.$$postDigestQueue=[],b=p.$$applyAsyncQueue=[],D=0;return p;function z(m){if(p.$$phase)throw t("inprog","{0} already in progress",p.$$phase);p.$$phase=m}function I(){p.$$phase=null}function L(m,$){do m.$$watchersCount+=$;while(m=m.$parent)}function F(m,$,C){do m.$$listenerCount[C]-=$,m.$$listenerCount[C]===0&&delete m.$$listenerCount[C];while(m=m.$parent)}function U(){}function A(){for(;b.length;)try{b.shift()()}catch(m){l(m)}r=null}function T(){r===null&&(r=a.defer(function(){p.$apply(A)},null,"$applyAsync"))}}]}function Ih(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(n){return fe(n)?(e=n,this):e},this.imgSrcSanitizationTrustedUrlList=function(n){return fe(n)?(t=n,this):t},this.$get=function(){return function(r,i){var l=i?t:e,u=Nt(r&&r.trim()).href;return u!==""&&!u.match(l)?"unsafe:"+u:r}}}var An=w("$sce"),dt={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Nh=/_([a-z])/g;function Us(e){return e.replace(Nh,Vo)}function qh(e){if(e==="self")return e;if(V(e)){if(e.indexOf("***")>-1)throw An("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Mo(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}else{if(Tt(e))return new RegExp("^"+e.source+"$");throw An("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}}function Ma(e){var t=[];return fe(e)&&M(e,function(n){t.push(qh(n))}),t}function Uh(){this.SCE_CONTEXTS=dt;var e=["self"],t=[];this.trustedResourceUrlList=function(n){return arguments.length&&(e=Ma(n)),e},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(n){this.trustedResourceUrlList=n}}),this.bannedResourceUrlList=function(n){return arguments.length&&(t=Ma(n)),t},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(n){this.bannedResourceUrlList=n}}),this.$get=["$injector","$$sanitizeUri",function(n,r){var i=function(b){throw An("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(i=n.get("$sanitize"));function l(y,b){return y==="self"?Kh(b)||Zh(b):!!y.exec(b.href)}function u(y){var b=Nt(y.toString()),D,z,I=!1;for(D=0,z=e.length;D<z;D++)if(l(e[D],b)){I=!0;break}if(I){for(D=0,z=t.length;D<z;D++)if(l(t[D],b)){I=!1;break}}return I}function a(y){var b=function(z){this.$$unwrapTrustedValue=function(){return z}};return y&&(b.prototype=new y),b.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},b.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},b}var o=a(),h={};h[dt.HTML]=a(o),h[dt.CSS]=a(o),h[dt.MEDIA_URL]=a(o),h[dt.URL]=a(h[dt.MEDIA_URL]),h[dt.JS]=a(o),h[dt.RESOURCE_URL]=a(h[dt.URL]);function d(y,b){var D=h.hasOwnProperty(y)?h[y]:null;if(!D)throw An("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",y,b);if(b===null||he(b)||b==="")return b;if(typeof b!="string")throw An("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",y);return new D(b)}function p(y){return y instanceof o?y.$$unwrapTrustedValue():y}function g(y,b){if(b===null||he(b)||b==="")return b;var D=h.hasOwnProperty(y)?h[y]:null;if(D&&b instanceof D)return b.$$unwrapTrustedValue();if(ve(b.$$unwrapTrustedValue)&&(b=b.$$unwrapTrustedValue()),y===dt.MEDIA_URL||y===dt.URL)return r(b.toString(),y===dt.MEDIA_URL);if(y===dt.RESOURCE_URL){if(u(b))return b;throw An("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",b.toString())}else if(y===dt.HTML)return i(b);throw An("unsafe","Attempting to use an unsafe value in a safe context.")}return{trustAs:d,getTrusted:g,valueOf:p}}]}function Bh(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&x<8)throw An("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=nn(dt);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(a,o){return o},r.valueOf=_t),r.parseAs=function(o,h){var d=t(h);return d.literal&&d.constant?d:t(h,function(p){return r.getTrusted(o,p)})};var i=r.parseAs,l=r.getTrusted,u=r.trustAs;return M(dt,function(a,o){var h=pe(o);r[Us("parse_as_"+h)]=function(d){return i(a,d)},r[Us("get_trusted_"+h)]=function(d){return l(a,d)},r[Us("trust_as_"+h)]=function(d){return u(a,d)}}),r}]}function Vh(){this.$get=["$window","$document",function(e,t){var n={},r=e.nw&&e.nw.process,i=!r&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id),l=!i&&e.history&&e.history.pushState,u=Ye((/android (\d+)/.exec(pe((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),o=t[0]||{},h=o.body&&o.body.style,d=!1,p=!1;return h&&(d="transition"in h||"webkitTransition"in h,p="animation"in h||"webkitAnimation"in h),{history:!!(l&&!(u<4)&&!a),hasEvent:function(g){if(g==="input"&&x)return!1;if(he(n[g])){var y=o.createElement("div");n[g]="on"+g in y}return n[g]},csp:Mn(),transitions:d,animations:p,android:u}}]}function jh(){this.$get=st(function(e){return new Hh(e)})}function Hh(e){var t=this,n={},r=[],i=t.ALL_TASKS_TYPE="$$all$$",l=t.DEFAULT_TASK_TYPE="$$default$$";t.completeTask=u,t.incTaskCount=d,t.notifyWhenNoPendingTasks=p;function u(g,y){y=y||l;try{g()}finally{a(y);var b=n[y],D=n[i];if(!D||!b)for(var z=D?h:o,I;I=z(y);)try{I()}catch(L){e.error(L)}}}function a(g){g=g||l,n[g]&&(n[g]--,n[i]--)}function o(){var g=r.pop();return g&&g.cb}function h(g){for(var y=r.length-1;y>=0;--y){var b=r[y];if(b.type===g)return r.splice(y,1),b.cb}}function d(g){g=g||l,n[g]=(n[g]||0)+1,n[i]=(n[i]||0)+1}function p(g,y){y=y||i,n[y]?r.push({type:y,cb:g}):g()}}var Wh=w("$templateRequest");function zh(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,l){function u(a,o){u.totalPendingRequests++,(!V(a)||he(n.get(a)))&&(a=l.getTrustedResourceUrl(a));var h=r.defaults&&r.defaults.transformResponse;return oe(h)?h=h.filter(function(p){return p!==Ms}):h===Ms&&(h=null),r.get(a,Fe({cache:n,transformResponse:h},e)).finally(function(){u.totalPendingRequests--}).then(function(p){return n.put(a,p.data)},d);function d(p){return o||(p=Wh("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,p.status,p.statusText),t(p)),i.reject(p)}}return u.totalPendingRequests=0,u}]}function Gh(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(i,l,u){var a=i.getElementsByClassName("ng-binding"),o=[];return M(a,function(h){var d=ue.element(h).data("$binding");d&&M(d,function(p){if(u){var g=new RegExp("(^|\\s)"+Mo(l)+"(\\s|\\||$)");g.test(p)&&o.push(h)}else p.indexOf(l)!==-1&&o.push(h)})}),o},r.findModels=function(i,l,u){for(var a=["ng-","data-ng-","ng\\:"],o=0;o<a.length;++o){var h=u?"=":"*=",d="["+a[o]+"model"+h+'"'+l+'"]',p=i.querySelectorAll(d);if(p.length)return p}},r.getLocation=function(){return n.url()},r.setLocation=function(i){i!==n.url()&&(n.url(i),e.$digest())},r.whenStable=function(i){t.notifyWhenNoOutstandingRequests(i)},r}]}var Xh=w("$timeout");function Yh(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){var l={};function u(a,o,h){ve(a)||(h=o,o=a,a=we);var d=Nr(arguments,3),p=fe(h)&&!h,g=(p?r:n).defer(),y=g.promise,b;return b=t.defer(function(){try{g.resolve(a.apply(null,d))}catch(D){g.reject(D),i(D)}finally{delete l[y.$$timeoutId]}p||e.$apply()},o,"$timeout"),y.$$timeoutId=b,l[b]=g,y}return u.cancel=function(a){if(!a)return!1;if(!a.hasOwnProperty("$$timeoutId"))throw Xh("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!l.hasOwnProperty(a.$$timeoutId))return!1;var o=a.$$timeoutId,h=l[o];return Ra(h.promise),h.reject("canceled"),delete l[o],t.defer.cancel(o)},u}]}var Et=c.document.createElement("a"),Fa=Nt(c.location.href),ir;Et.href="http://[::1]";var Jh=Et.hostname==="[::1]";function Nt(e){if(!V(e))return e;var t=e;x&&(Et.setAttribute("href",t),t=Et.href),Et.setAttribute("href",t);var n=Et.hostname;return!Jh&&n.indexOf(":")>-1&&(n="["+n+"]"),{href:Et.href,protocol:Et.protocol?Et.protocol.replace(/:$/,""):"",host:Et.host,search:Et.search?Et.search.replace(/^\?/,""):"",hash:Et.hash?Et.hash.replace(/^#/,""):"",hostname:n,port:Et.port,pathname:Et.pathname.charAt(0)==="/"?Et.pathname:"/"+Et.pathname}}function Kh(e){return Bs(e,Fa)}function Zh(e){return Bs(e,ed())}function Qh(e){var t=[Fa].concat(e.map(Nt));return function(r){var i=Nt(r);return t.some(Bs.bind(null,i))}}function Bs(e,t){return e=Nt(e),t=Nt(t),e.protocol===t.protocol&&e.host===t.host}function ed(){return c.document.baseURI?c.document.baseURI:(ir||(ir=c.document.createElement("a"),ir.href=".",ir=ir.cloneNode(!1)),ir.href)}function td(){this.$get=st(c)}function La(e){var t=e[0]||{},n={},r="";function i(u){try{return u.cookie||""}catch{return""}}function l(u){try{return decodeURIComponent(u)}catch{return u}}return function(){var u,a,o,h,d,p=i(t);if(p!==r)for(r=p,u=r.split("; "),n={},o=0;o<u.length;o++)a=u[o],h=a.indexOf("="),h>0&&(d=l(a.substring(0,h)),he(n[d])&&(n[d]=l(a.substring(h+1))));return n}}La.$inject=["$document"];function nd(){this.$get=La}Da.$inject=["$provide"];function Da(e){var t="Filter";function n(r,i){if(Y(r)){var l={};return M(r,function(u,a){l[a]=n(a,u)}),l}else return e.factory(r+t,i)}this.register=n,this.$get=["$injector",function(r){return function(i){return r.get(i+t)}}],n("currency",qa),n("date",Ha),n("filter",rd),n("json",pd),n("limitTo",$d),n("lowercase",vd),n("number",Ua),n("orderBy",Wa),n("uppercase",gd)}function rd(){return function(e,t,n,r){if(!Le(e)){if(e==null)return e;throw w("filter")("notarray","Expected array but received: {0}",e)}r=r||"$";var i=Vs(t),l,u;switch(i){case"function":l=t;break;case"boolean":case"null":case"number":case"string":u=!0;case"object":l=id(t,n,r,u);break;default:return e}return Array.prototype.filter.call(e,l)}}function id(e,t,n,r){var i=Y(e)&&n in e,l;return t===!0?t=tn:ve(t)||(t=function(u,a){return he(u)?!1:u===null||a===null?u===a:Y(a)||Y(u)&&!zt(u)?!1:(u=pe(""+u),a=pe(""+a),u.indexOf(a)!==-1)}),l=function(u){return i&&!Y(u)?Nn(u,e[n],t,n,!1):Nn(u,e,t,n,r)},l}function Nn(e,t,n,r,i,l){var u=Vs(e),a=Vs(t);if(a==="string"&&t.charAt(0)==="!")return!Nn(e,t.substring(1),n,r,i);if(oe(e))return e.some(function(g){return Nn(g,t,n,r,i)});switch(u){case"object":var o;if(i){for(o in e)if(o.charAt&&o.charAt(0)!=="$"&&Nn(e[o],t,n,r,!0))return!0;return l?!1:Nn(e,t,n,r,!1)}else if(a==="object"){for(o in t){var h=t[o];if(!(ve(h)||he(h))){var d=o===r,p=d?e:e[o];if(!Nn(p,h,n,r,d,d))return!1}}return!0}else return n(e,t);case"function":return!1;default:return n(e,t)}}function Vs(e){return e===null?"null":typeof e}var Ia=22,Na=".",js="0";qa.$inject=["$locale"];function qa(e){var t=e.NUMBER_FORMATS;return function(n,r,i){he(r)&&(r=t.CURRENCY_SYM),he(i)&&(i=t.PATTERNS[1].maxFrac);var l=r?/\u00A4/g:/\s*\u00A4\s*/g;return n==null?n:Ba(n,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,i).replace(l,r)}}Ua.$inject=["$locale"];function Ua(e){var t=e.NUMBER_FORMATS;return function(n,r){return n==null?n:Ba(n,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,r)}}function sd(e){var t=0,n,r,i,l,u;for((r=e.indexOf(Na))>-1&&(e=e.replace(Na,"")),(i=e.search(/e/i))>0?(r<0&&(r=i),r+=+e.slice(i+1),e=e.substring(0,i)):r<0&&(r=e.length),i=0;e.charAt(i)===js;i++);if(i===(u=e.length))n=[0],r=1;else{for(u--;e.charAt(u)===js;)u--;for(r-=i,n=[],l=0;i<=u;i++,l++)n[l]=+e.charAt(i)}return r>Ia&&(n=n.splice(0,Ia-1),t=r-1,r=1),{d:n,e:t,i:r}}function od(e,t,n,r){var i=e.d,l=i.length-e.i;t=he(t)?Math.min(Math.max(n,l),r):+t;var u=t+e.i,a=i[u];if(u>0){i.splice(Math.max(e.i,u));for(var o=u;o<i.length;o++)i[o]=0}else{l=Math.max(0,l),e.i=1,i.length=Math.max(1,u=t+1),i[0]=0;for(var h=1;h<u;h++)i[h]=0}if(a>=5)if(u-1<0){for(var d=0;d>u;d--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[u-1]++;for(;l<Math.max(0,t);l++)i.push(0);var p=i.reduceRight(function(g,y,b,D){return y=y+g,D[b]=y%10,Math.floor(y/10)},0);p&&(i.unshift(p),e.i++)}function Ba(e,t,n,r,i){if(!(V(e)||de(e))||isNaN(e))return"";var l=!isFinite(e),u=!1,a=Math.abs(e)+"",o="",h;if(l)o="\u221E";else{h=sd(a),od(h,i,t.minFrac,t.maxFrac);var d=h.d,p=h.i,g=h.e,y=[];for(u=d.reduce(function(D,z){return D&&!z},!0);p<0;)d.unshift(0),p++;p>0?y=d.splice(p,d.length):(y=d,d=[0]);var b=[];for(d.length>=t.lgSize&&b.unshift(d.splice(-t.lgSize,d.length).join(""));d.length>t.gSize;)b.unshift(d.splice(-t.gSize,d.length).join(""));d.length&&b.unshift(d.join("")),o=b.join(n),y.length&&(o+=r+y.join("")),g&&(o+="e+"+g)}return e<0&&!u?t.negPre+o+t.negSuf:t.posPre+o+t.posSuf}function Oi(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length<t;)e=js+e;return n&&(e=e.substr(e.length-t)),i+e}function kt(e,t,n,r,i){return n=n||0,function(l){var u=l["get"+e]();return(n>0||u>-n)&&(u+=n),u===0&&n===-12&&(u=12),Oi(u,t,r,i)}}function zr(e,t,n){return function(r,i){var l=r["get"+e](),u=(n?"STANDALONE":"")+(t?"SHORT":""),a=Pe(u+e);return i[a][l]}}function ad(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Oi(Math[r>0?"floor":"ceil"](r/60),2)+Oi(Math.abs(r%60),2),i}function Va(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function ud(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ja(e){return function(t){var n=Va(t.getFullYear()),r=ud(t),i=+r-+n,l=1+Math.round(i/6048e5);return Oi(l,e)}}function cd(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Hs(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function fd(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}var ld={yyyy:kt("FullYear",4,0,!1,!0),yy:kt("FullYear",2,0,!0,!0),y:kt("FullYear",1,0,!1,!0),MMMM:zr("Month"),MMM:zr("Month",!0),MM:kt("Month",2,1),M:kt("Month",1,1),LLLL:zr("Month",!1,!0),dd:kt("Date",2),d:kt("Date",1),HH:kt("Hours",2),H:kt("Hours",1),hh:kt("Hours",2,-12),h:kt("Hours",1,-12),mm:kt("Minutes",2),m:kt("Minutes",1),ss:kt("Seconds",2),s:kt("Seconds",1),sss:kt("Milliseconds",3),EEEE:zr("Day"),EEE:zr("Day",!0),a:cd,Z:ad,ww:ja(2),w:ja(1),G:Hs,GG:Hs,GGG:Hs,GGGG:fd},hd=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,dd=/^-?\d+$/;Ha.$inject=["$locale"];function Ha(e){var t=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;function n(r){var i;if(i=r.match(t)){var l=new Date(0),u=0,a=0,o=i[8]?l.setUTCFullYear:l.setFullYear,h=i[8]?l.setUTCHours:l.setHours;i[9]&&(u=Ye(i[9]+i[10]),a=Ye(i[9]+i[11])),o.call(l,Ye(i[1]),Ye(i[2])-1,Ye(i[3]));var d=Ye(i[4]||0)-u,p=Ye(i[5]||0)-a,g=Ye(i[6]||0),y=Math.round(parseFloat("0."+(i[7]||0))*1e3);return h.call(l,d,p,g,y),l}return r}return function(r,i,l){var u="",a=[],o,h;if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,V(r)&&(r=dd.test(r)?Ye(r):n(r)),de(r)&&(r=new Date(r)),!Ee(r)||!isFinite(r.getTime()))return r;for(;i;)h=hd.exec(i),h?(a=Ir(a,h,1),i=a.pop()):(a.push(i),i=null);var d=r.getTimezoneOffset();return l&&(d=gs(l,d),r=$s(r,l,!0)),M(a,function(p){o=ld[p],u+=o?o(r,e.DATETIME_FORMATS,d):p==="''"?"'":p.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function pd(){return function(e,t){return he(t)&&(t=2),qr(e,t)}}var vd=st(pe),gd=st(Pe);function $d(){return function(e,t,n){return Math.abs(Number(t))===1/0?t=Number(t):t=Ye(t),je(t)||(de(e)&&(e=e.toString()),!Le(e))?e:(n=!n||isNaN(n)?0:Ye(n),n=n<0?Math.max(0,e.length+n):n,t>=0?Ws(e,n,n+t):n===0?Ws(e,t,e.length):Ws(e,Math.max(0,n+t),n))}}function Ws(e,t,n){return V(e)?e.slice(t,n):se.call(e,t,n)}Wa.$inject=["$parse"];function Wa(e){return function(u,a,o,h){if(u==null)return u;if(!Le(u))throw w("orderBy")("notarray","Expected array but received: {0}",u);oe(a)||(a=[a]),a.length===0&&(a=["+"]);var d=t(a),p=o?-1:1,g=ve(h)?h:l,y=Array.prototype.map.call(u,b);return y.sort(D),u=y.map(function(z){return z.value}),u;function b(z,I){return{value:z,tieBreaker:{value:I,type:"number",index:I},predicateValues:d.map(function(L){return i(L.get(z),I)})}}function D(z,I){for(var L=0,F=d.length;L<F;L++){var U=g(z.predicateValues[L],I.predicateValues[L]);if(U)return U*d[L].descending*p}return(g(z.tieBreaker,I.tieBreaker)||l(z.tieBreaker,I.tieBreaker))*p}};function t(u){return u.map(function(a){var o=1,h=_t;if(ve(a))h=a;else if(V(a)&&((a.charAt(0)==="+"||a.charAt(0)==="-")&&(o=a.charAt(0)==="-"?-1:1,a=a.substring(1)),a!==""&&(h=e(a),h.constant))){var d=h();h=function(p){return p[d]}}return{get:h,descending:o}})}function n(u){switch(typeof u){case"number":case"boolean":case"string":return!0;default:return!1}}function r(u){return ve(u.valueOf)&&(u=u.valueOf(),n(u))||zt(u)&&(u=u.toString(),n(u)),u}function i(u,a){var o=typeof u;return u===null?o="null":o==="object"&&(u=r(u)),{value:u,type:o,index:a}}function l(u,a){var o=0,h=u.type,d=a.type;if(h===d){var p=u.value,g=a.value;h==="string"?(p=p.toLowerCase(),g=g.toLowerCase()):h==="object"&&(Y(p)&&(p=u.index),Y(g)&&(g=a.index)),p!==g&&(o=p<g?-1:1)}else o=h==="undefined"?1:d==="undefined"?-1:h==="null"?1:d==="null"||h<d?-1:1;return o}}function sr(e){return ve(e)&&(e={link:e}),e.restrict=e.restrict||"AC",st(e)}var md=st({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(n,r){if(r[0].nodeName.toLowerCase()==="a"){var i=P.call(r.prop("href"))==="[object SVGAnimatedString]"?"xlink:href":"href";r.on("click",function(l){r.attr(i)||l.preventDefault()})}}}}),xi={};M(Ci,function(e,t){if(e==="multiple")return;function n(l,u,a){l.$watch(a[r],function(h){a.$set(t,!!h)})}var r=rn("ng-"+t),i=n;e==="checked"&&(i=function(l,u,a){a.ngModel!==a[r]&&n(l,u,a)}),xi[r]=function(){return{restrict:"A",priority:100,link:i}}}),M(ea,function(e,t){xi[t]=function(){return{priority:100,link:function(n,r,i){if(t==="ngPattern"&&i.ngPattern.charAt(0)==="/"){var l=i.ngPattern.match(q);if(l){i.$set("ngPattern",new RegExp(l[1],l[2]));return}}n.$watch(i[t],function(a){i.$set(t,a)})}}}}),M(["src","srcset","href"],function(e){var t=rn("ng-"+e);xi[t]=["$sce",function(n){return{priority:99,link:function(r,i,l){var u=e,a=e;e==="href"&&P.call(i.prop("href"))==="[object SVGAnimatedString]"&&(a="xlinkHref",l.$attr[a]="xlink:href",u=null),l.$set(t,n.getTrustedMediaUrl(l[t])),l.$observe(t,function(o){if(!o){e==="href"&&l.$set(a,null);return}l.$set(a,o),x&&u&&i.prop(u,l[a])})}}}]});var Gr={$addControl:we,$getControls:st([]),$$renameControl:yd,$removeControl:we,$setValidity:we,$setDirty:we,$setPristine:we,$setSubmitted:we,$$setSubmitted:we},za="ng-pending",Ga="ng-submitted";function yd(e,t){e.$name=t}Pi.$inject=["$element","$attrs","$scope","$animate","$interpolate"];function Pi(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=Gr,this.$$element=e,this.$$animate=r,Ya(this)}Pi.prototype={$rollbackViewValue:function(){M(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){M(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){Qn(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$getControls:function(){return nn(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],M(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),M(this.$error,function(t,n){this.$setValidity(n,null,e)},this),M(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),Dr(this.$$controls,e),e.$$parentForm=Gr},$setDirty:function(){this.$$animate.removeClass(this.$$element,ar),this.$$animate.addClass(this.$$element,Mi),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,ar,Mi+" "+Ga),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,M(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){M(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==Gr;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,Ga),this.$submitted=!0,M(this.$$controls,function(e){e.$$setSubmitted&&e.$$setSubmitted()})}},Ja({clazz:Pi,set:function(e,t,n){var r=e[t];if(!r)e[t]=[n];else{var i=r.indexOf(n);i===-1&&r.push(n)}},unset:function(e,t,n){var r=e[t];!r||(Dr(r,n),r.length===0&&delete e[t])}});var Xa=function(e){return["$timeout","$parse",function(t,n){var r={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:Pi,compile:function(u,a){u.addClass(ar).addClass(Yr);var o=a.name?"name":e&&a.ngForm?"ngForm":!1;return{pre:function(d,p,g,y){var b=y[0];if(!("action"in g)){var D=function(L){d.$apply(function(){b.$commitViewValue(),b.$setSubmitted()}),L.preventDefault()};p[0].addEventListener("submit",D),p.on("$destroy",function(){t(function(){p[0].removeEventListener("submit",D)},0,!1)})}var z=y[1]||b.$$parentForm;z.$addControl(b);var I=o?i(b.$name):we;o&&(I(d,b),g.$observe(o,function(L){b.$name!==L&&(I(d,void 0),b.$$parentForm.$$renameControl(b,L),I=i(b.$name),I(d,b))})),p.on("$destroy",function(){b.$$parentForm.$removeControl(b),I(d,void 0),Fe(b,Gr)})}}}};return r;function i(l){return l===""?n('this[""]').assign:n(l).assign||we}}]},bd=Xa(),Cd=Xa(!0);function Ya(e){e.$$classCache={},e.$$classCache[fu]=!(e.$$classCache[Yr]=e.$$element.hasClass(Yr))}function Ja(e){var t=e.clazz,n=e.set,r=e.unset;t.prototype.$setValidity=function(o,h,d){he(h)?i(this,"$pending",o,d):l(this,"$pending",o,d),$n(h)?h?(r(this.$error,o,d),n(this.$$success,o,d)):(n(this.$error,o,d),r(this.$$success,o,d)):(r(this.$error,o,d),r(this.$$success,o,d)),this.$pending?(u(this,za,!0),this.$valid=this.$invalid=void 0,a(this,"",null)):(u(this,za,!1),this.$valid=Ka(this.$error),this.$invalid=!this.$valid,a(this,"",this.$valid));var p;this.$pending&&this.$pending[o]?p=void 0:this.$error[o]?p=!1:this.$$success[o]?p=!0:p=null,a(this,o,p),this.$$parentForm.$setValidity(o,p,this)};function i(o,h,d,p){o[h]||(o[h]={}),n(o[h],d,p)}function l(o,h,d,p){o[h]&&r(o[h],d,p),Ka(o[h])&&(o[h]=void 0)}function u(o,h,d){d&&!o.$$classCache[h]?(o.$$animate.addClass(o.$$element,h),o.$$classCache[h]=!0):!d&&o.$$classCache[h]&&(o.$$animate.removeClass(o.$$element,h),o.$$classCache[h]=!1)}function a(o,h,d){h=h?"-"+qo(h,"-"):"",u(o,Yr+h,d===!0),u(o,fu+h,d===!1)}}function Ka(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!1}return!0}var Ed=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,wd=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Ad=/^(?=.{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])?)*$/,Sd=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Za=/^(\d{4,})-(\d{2})-(\d{2})$/,Qa=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,zs=/^(\d{4,})-W(\d\d)$/,eu=/^(\d{4,})-(\d\d)$/,tu=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,_d="keydown wheel mousedown",nu=nt();M("date,datetime-local,month,time,week".split(","),function(e){nu[e]=!0});var ru={text:Td,date:Xr("date",Za,Ri(Za,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Xr("datetimelocal",Qa,Ri(Qa,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Xr("time",tu,Ri(tu,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Xr("week",zs,kd,"yyyy-Www"),month:Xr("month",eu,Ri(eu,["yyyy","MM"]),"yyyy-MM"),number:Od,url:Pd,email:Rd,radio:Md,range:xd,checkbox:Fd,hidden:we,button:we,submit:we,reset:we,file:we};function Gs(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function Td(e,t,n,r,i,l){or(e,t,n,r,i,l),Gs(r)}function or(e,t,n,r,i,l){var u=pe(t[0].type);if(!i.android){var a=!1;t.on("compositionstart",function(){a=!0}),t.on("compositionupdate",function(p){(he(p.data)||p.data==="")&&(a=!1)}),t.on("compositionend",function(){a=!1,h()})}var o,h=function(p){if(o&&(l.defer.cancel(o),o=null),!a){var g=t.val(),y=p&&p.type;u!=="password"&&(!n.ngTrim||n.ngTrim!=="false")&&(g=tt(g)),(r.$viewValue!==g||g===""&&r.$$hasNativeValidators)&&r.$setViewValue(g,y)}};if(i.hasEvent("input"))t.on("input",h);else{var d=function(p,g,y){o||(o=l.defer(function(){o=null,(!g||g.value!==y)&&h(p)}))};t.on("keydown",function(p){var g=p.keyCode;g===91||15<g&&g<19||37<=g&&g<=40||d(p,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut drop",d)}t.on("change",h),nu[u]&&r.$$hasNativeValidators&&u===n.type&&t.on(_d,function(p){if(!o){var g=this[ae],y=g.badInput,b=g.typeMismatch;o=l.defer(function(){o=null,(g.badInput!==y||g.typeMismatch!==b)&&h(p)})}}),r.$render=function(){var p=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==p&&t.val(p)}}function kd(e,t){if(Ee(e))return e;if(V(e)){zs.lastIndex=0;var n=zs.exec(e);if(n){var r=+n[1],i=+n[2],l=0,u=0,a=0,o=0,h=Va(r),d=(i-1)*7;return t&&(l=t.getHours(),u=t.getMinutes(),a=t.getSeconds(),o=t.getMilliseconds()),new Date(r,0,h.getDate()+d,l,u,a,o)}}return NaN}function Ri(e,t){return function(n,r){var i,l;if(Ee(n))return n;if(V(n)){if(n.charAt(0)==='"'&&n.charAt(n.length-1)==='"'&&(n=n.substring(1,n.length-1)),Ed.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n),i){i.shift(),r?l={yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:l={yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},M(i,function(a,o){o<t.length&&(l[t[o]]=+a)});var u=new Date(l.yyyy,l.MM-1,l.dd,l.HH,l.mm,l.ss||0,l.sss*1e3||0);return l.yyyy<100&&u.setFullYear(l.yyyy),u}}return NaN}}function Xr(e,t,n,r){return function(l,u,a,o,h,d,p,g){Xs(l,u,a,o,e),or(l,u,a,o,h,d);var y=e==="time"||e==="datetimelocal",b,D;if(o.$parsers.push(function($){if(o.$isEmpty($))return null;if(t.test($))return T($,b);o.$$parserName=e}),o.$formatters.push(function($){if($&&!Ee($))throw Jr("datefmt","Expected `{0}` to be a date",$);if(U($)){b=$;var C=o.$options.getOption("timezone");return C&&(D=C,b=$s(b,C,!0)),m($,C)}else return b=null,D=null,""}),fe(a.min)||a.ngMin){var z=a.min||g(a.ngMin)(l),I=A(z);o.$validators.min=function($){return!U($)||he(I)||n($)>=I},a.$observe("min",function($){$!==z&&(I=A($),z=$,o.$validate())})}if(fe(a.max)||a.ngMax){var L=a.max||g(a.ngMax)(l),F=A(L);o.$validators.max=function($){return!U($)||he(F)||n($)<=F},a.$observe("max",function($){$!==L&&(F=A($),L=$,o.$validate())})}function U($){return $&&!($.getTime&&$.getTime()!==$.getTime())}function A($){return fe($)&&!Ee($)?T($)||void 0:$}function T($,C){var E=o.$options.getOption("timezone");D&&D!==E&&(C=Do(C,gs(D)));var O=n($,C);return!isNaN(O)&&E&&(O=$s(O,E)),O}function m($,C){var E=r;y&&V(o.$options.getOption("timeSecondsFormat"))&&(E=r.replace("ss.sss",o.$options.getOption("timeSecondsFormat")).replace(/:$/,""));var O=p("date")($,E,C);return y&&o.$options.getOption("timeStripZeroSeconds")&&(O=O.replace(/(?::00)?(?:\.000)?$/,"")),O}}}function Xs(e,t,n,r,i){var l=t[0],u=r.$$hasNativeValidators=Y(l.validity);u&&r.$parsers.push(function(a){var o=t.prop(ae)||{};if(o.badInput||o.typeMismatch){r.$$parserName=i;return}return a})}function iu(e){e.$parsers.push(function(t){if(e.$isEmpty(t))return null;if(Sd.test(t))return parseFloat(t);e.$$parserName="number"}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!de(t))throw Jr("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function Xt(e){return fe(e)&&!de(e)&&(e=parseFloat(e)),je(e)?void 0:e}function Ys(e){return(e|0)===e}function Js(e){var t=e.toString(),n=t.indexOf(".");if(n===-1){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 su(e,t,n){var r=Number(e),i=!Ys(r),l=!Ys(t),u=!Ys(n);if(i||l||u){var a=i?Js(r):0,o=l?Js(t):0,h=u?Js(n):0,d=Math.max(a,o,h),p=Math.pow(10,d);r=r*p,t=t*p,n=n*p,i&&(r=Math.round(r)),l&&(t=Math.round(t)),u&&(n=Math.round(n))}return(r-t)%n===0}function Od(e,t,n,r,i,l,u,a){Xs(e,t,n,r,"number"),iu(r),or(e,t,n,r,i,l);var o;if(fe(n.min)||n.ngMin){var h=n.min||a(n.ngMin)(e);o=Xt(h),r.$validators.min=function(b,D){return r.$isEmpty(D)||he(o)||D>=o},n.$observe("min",function(b){b!==h&&(o=Xt(b),h=b,r.$validate())})}if(fe(n.max)||n.ngMax){var d=n.max||a(n.ngMax)(e),p=Xt(d);r.$validators.max=function(b,D){return r.$isEmpty(D)||he(p)||D<=p},n.$observe("max",function(b){b!==d&&(p=Xt(b),d=b,r.$validate())})}if(fe(n.step)||n.ngStep){var g=n.step||a(n.ngStep)(e),y=Xt(g);r.$validators.step=function(b,D){return r.$isEmpty(D)||he(y)||su(D,o||0,y)},n.$observe("step",function(b){b!==g&&(y=Xt(b),g=b,r.$validate())})}}function xd(e,t,n,r,i,l){Xs(e,t,n,r,"range"),iu(r),or(e,t,n,r,i,l);var u=r.$$hasNativeValidators&&t[0].type==="range",a=u?0:void 0,o=u?100:void 0,h=u?1:void 0,d=t[0].validity,p=fe(n.min),g=fe(n.max),y=fe(n.step),b=r.$render;r.$render=u&&fe(d.rangeUnderflow)&&fe(d.rangeOverflow)?function(){b(),r.$setViewValue(t.val())}:b,p&&(a=Xt(n.min),r.$validators.min=u?function(){return!0}:function(U,A){return r.$isEmpty(A)||he(a)||A>=a},D("min",z)),g&&(o=Xt(n.max),r.$validators.max=u?function(){return!0}:function(U,A){return r.$isEmpty(A)||he(o)||A<=o},D("max",I)),y&&(h=Xt(n.step),r.$validators.step=u?function(){return!d.stepMismatch}:function(U,A){return r.$isEmpty(A)||he(h)||su(A,a||0,h)},D("step",L));function D(F,U){t.attr(F,n[F]);var A=n[F];n.$observe(F,function(m){m!==A&&(A=m,U(m))})}function z(F){if(a=Xt(F),!je(r.$modelValue))if(u){var U=t.val();a>U&&(U=a,t.val(U)),r.$setViewValue(U)}else r.$validate()}function I(F){if(o=Xt(F),!je(r.$modelValue))if(u){var U=t.val();o<U&&(t.val(o),U=o<a?a:o),r.$setViewValue(U)}else r.$validate()}function L(F){h=Xt(F),!je(r.$modelValue)&&(u?r.$viewValue!==t.val()&&r.$setViewValue(t.val()):r.$validate())}}function Pd(e,t,n,r,i,l){or(e,t,n,r,i,l),Gs(r),r.$validators.url=function(u,a){var o=u||a;return r.$isEmpty(o)||wd.test(o)}}function Rd(e,t,n,r,i,l){or(e,t,n,r,i,l),Gs(r),r.$validators.email=function(u,a){var o=u||a;return r.$isEmpty(o)||Ad.test(o)}}function Md(e,t,n,r){var i=!n.ngTrim||tt(n.ngTrim)!=="false";he(n.name)&&t.attr("name",vt());var l=function(u){var a;t[0].checked&&(a=n.value,i&&(a=tt(a)),r.$setViewValue(a,u&&u.type))};t.on("change",l),r.$render=function(){var u=n.value;i&&(u=tt(u)),t[0].checked=u===r.$viewValue},n.$observe("value",r.$render)}function ou(e,t,n,r,i){var l;if(fe(r)){if(l=e(r),!l.constant)throw Jr("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return l(t)}return i}function Fd(e,t,n,r,i,l,u,a){var o=ou(a,e,"ngTrueValue",n.ngTrueValue,!0),h=ou(a,e,"ngFalseValue",n.ngFalseValue,!1),d=function(p){r.$setViewValue(t[0].checked,p&&p.type)};t.on("change",d),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(p){return p===!1},r.$formatters.push(function(p){return tn(p,o)}),r.$parsers.push(function(p){return p?o:h})}var au=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,l,u,a){a[0]&&(ru[pe(u.type)]||ru.text)(i,l,u,a[0],t,e,n,r)}}}}],Ld=function(){var e={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(t){this.setAttribute("value",t)}};return{restrict:"E",priority:200,compile:function(t,n){if(pe(n.type)==="hidden")return{pre:function(r,i,l,u){var a=i[0];a.parentNode&&a.parentNode.insertBefore(a,a.nextSibling),Object.defineProperty&&Object.defineProperty(a,"value",e)}}}}},Dd=/^(true|false|\d+)$/,Id=function(){function e(t,n,r){var i=fe(r)?r:x===9?"":null;t.prop("value",i),n.$set("value",r)}return{restrict:"A",priority:100,compile:function(t,n){return Dd.test(n.ngValue)?function(i,l,u){var a=i.$eval(u.ngValue);e(l,u,a)}:function(i,l,u){i.$watch(u.ngValue,function(o){e(l,u,o)})}}}},Nd=["$compile",function(e){return{restrict:"AC",compile:function(n){return e.$$addBindingClass(n),function(i,l,u){e.$$addBindingInfo(l,u.ngBind),l=l[0],i.$watch(u.ngBind,function(o){l.textContent=bs(o)})}}}}],qd=["$interpolate","$compile",function(e,t){return{compile:function(r){return t.$$addBindingClass(r),function(l,u,a){var o=e(u.attr(a.$attr.ngBindTemplate));t.$$addBindingInfo(u,o.expressions),u=u[0],a.$observe("ngBindTemplate",function(h){u.textContent=he(h)?"":h})}}}}],Ud=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(i,l){var u=t(l.ngBindHtml),a=t(l.ngBindHtml,function(h){return e.valueOf(h)});return n.$$addBindingClass(i),function(h,d,p){n.$$addBindingInfo(d,p.ngBindHtml),h.$watch(a,function(){var y=u(h);d.html(e.getTrustedHtml(y)||"")})}}}}],Bd=st({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}});function Ks(e,t){e="ngClass"+e;var n;return["$parse",function(u){return{restrict:"AC",link:function(a,o,h){var d=o.data("$classCounts"),p=!0,g;d||(d=nt(),o.data("$classCounts",d)),e!=="ngClass"&&(n||(n=u("$index",function(U){return U&1})),a.$watch(n,I)),a.$watch(u(h[e],l),L);function y(F){F=z(i(F),1),h.$addClass(F)}function b(F){F=z(i(F),-1),h.$removeClass(F)}function D(F,U){var A=i(F),T=i(U),m=r(A,T),$=r(T,A),C=z(m,-1),E=z($,1);h.$addClass(E),h.$removeClass(C)}function z(F,U){var A=[];return M(F,function(T){(U>0||d[T])&&(d[T]=(d[T]||0)+U,d[T]===+(U>0)&&A.push(T))}),A.join(" ")}function I(F){F===t?y(g):b(g),p=F}function L(F){p===t&&D(g,F),g=F}}}}];function r(u,a){if(!u||!u.length)return[];if(!a||!a.length)return u;var o=[];e:for(var h=0;h<u.length;h++){for(var d=u[h],p=0;p<a.length;p++)if(d===a[p])continue e;o.push(d)}return o}function i(u){return u&&u.split(" ")}function l(u){if(!u)return u;var a=u;return oe(u)?a=u.map(l).join(" "):Y(u)?a=Object.keys(u).filter(function(o){return u[o]}).join(" "):V(u)||(a=u+""),a}}var Vd=Ks("",!0),jd=Ks("Odd",0),Hd=Ks("Even",1),Wd=sr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),zd=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],uu={},Gd={blur:!0,focus:!0};M("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=rn("ng-"+e);uu[t]=["$parse","$rootScope","$exceptionHandler",function(n,r,i){return cu(n,r,i,t,e,Gd[e])}]});function cu(e,t,n,r,i,l){return{restrict:"A",compile:function(u,a){var o=e(a[r]);return function(d,p){p.on(i,function(g){var y=function(){o(d,{$event:g})};if(!t.$$phase)d.$apply(y);else if(l)d.$evalAsync(y);else try{y()}catch(b){n(b)}})}}}}var Xd=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,l,u){var a,o,h;n.$watch(i.ngIf,function(p){p?o||u(function(g,y){o=y,g[g.length++]=t.$$createComment("end ngIf",i.ngIf),a={clone:g},e.enter(g,r.parent(),r)}):(h&&(h.remove(),h=null),o&&(o.$destroy(),o=null),a&&(h=li(a.clone),e.leave(h).done(function(g){g!==!1&&(h=null)}),a=null))})}}}],Yd=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ue.noop,compile:function(r,i){var l=i.ngInclude||i.src,u=i.onload||"",a=i.autoscroll;return function(o,h,d,p,g){var y=0,b,D,z,I=function(){D&&(D.remove(),D=null),b&&(b.$destroy(),b=null),z&&(n.leave(z).done(function(L){L!==!1&&(D=null)}),D=z,z=null)};o.$watch(l,function(F){var U=function(T){T!==!1&&fe(a)&&(!a||o.$eval(a))&&t()},A=++y;F?(e(F,!0).then(function(T){if(!o.$$destroyed&&A===y){var m=o.$new();p.template=T;var $=g(m,function(C){I(),n.enter(C,null,h).done(U)});b=m,z=$,b.$emit("$includeContentLoaded",F),o.$eval(u)}},function(){o.$$destroyed||A===y&&(I(),o.$emit("$includeContentError",F))}),o.$emit("$includeContentRequested",F)):(I(),p.template=null)})}}}}],Jd=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(t,n,r,i){if(P.call(n[0]).match(/SVG/)){n.empty(),e(zo(i.template,c.document).childNodes)(t,function(u){n.append(u)},{futureParentElement:n});return}n.html(i.template),e(n.contents())(t)}}}],Kd=sr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Zd=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",l=n.ngTrim!=="false",u=l?tt(i):i,a=function(o){if(!he(o)){var h=[];return o&&M(o.split(u),function(d){d&&h.push(l?tt(d):d)}),h}};r.$parsers.push(a),r.$formatters.push(function(o){if(oe(o))return o.join(i)}),r.$isEmpty=function(o){return!o||!o.length}}}},Yr="ng-valid",fu="ng-invalid",ar="ng-pristine",Mi="ng-dirty",Zs="ng-untouched",lu="ng-touched",hu="ng-empty",du="ng-not-empty",Jr=w("ngModel");Fi.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"];function Fi(e,t,n,r,i,l,u,a,o){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=o(n.name||"",!1)(e),this.$$parentForm=Gr,this.$options=Li,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=l,this.$$timeout=u,this.$$parse=i,this.$$q=a,this.$$exceptionHandler=t,Ya(this),Qd(this)}Fi.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(n){var r=this.$$parsedNgModel(n);return ve(r)&&(r=e(n)),r},this.$$ngModelSet=function(n,r){ve(this.$$parsedNgModel(n))?t(n,{$$$p:r}):this.$$parsedNgModelAssign(n,r)}}else if(!this.$$parsedNgModel.assign)throw Jr("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,un(this.$$element))},$render:we,$isEmpty:function(e){return he(e)||e===""||e===null||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,du),this.$$animate.addClass(this.$$element,hu)):(this.$$animate.removeClass(this.$$element,hu),this.$$animate.addClass(this.$$element,du))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Mi),this.$$animate.addClass(this.$$element,ar)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,ar),this.$$animate.addClass(this.$$element,Mi),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,Zs,lu)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,lu,Zs)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!je(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),l=this;this.$$runValidators(t,e,function(u){!i&&n!==u&&(l.$modelValue=u?t:void 0,l.$modelValue!==r&&l.$$writeModelToScope())})}},$$runValidators:function(e,t,n){this.$$currentValidationRunId++;var r=this.$$currentValidationRunId,i=this;if(!l()){h(!1);return}if(!u()){h(!1);return}a();function l(){var d=i.$$parserName;if(he(i.$$parserValid))o(d,null);else return i.$$parserValid||(M(i.$validators,function(p,g){o(g,null)}),M(i.$asyncValidators,function(p,g){o(g,null)})),o(d,i.$$parserValid),i.$$parserValid;return!0}function u(){var d=!0;return M(i.$validators,function(p,g){var y=Boolean(p(e,t));d=d&&y,o(g,y)}),d?!0:(M(i.$asyncValidators,function(p,g){o(g,null)}),!1)}function a(){var d=[],p=!0;M(i.$asyncValidators,function(g,y){var b=g(e,t);if(!ui(b))throw Jr("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",b);o(y,void 0),d.push(b.then(function(){o(y,!0)},function(){p=!1,o(y,!1)}))}),d.length?i.$$q.all(d).then(function(){h(p)},we):h(!0)}function o(d,p){r===i.$$currentValidationRunId&&i.$setValidity(d,p)}function h(d){r===i.$$currentValidationRunId&&n(d)}},$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=e,n=this;if(this.$$parserValid=he(t)?void 0:!0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid){for(var r=0;r<this.$parsers.length;r++)if(t=this.$parsers[r](t),he(t)){this.$$parserValid=!1;break}}je(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var i=this.$modelValue,l=this.$options.getOption("allowInvalid");this.$$rawModelValue=t,l&&(this.$modelValue=t,u()),this.$$runValidators(t,this.$$lastCommittedViewValue,function(a){l||(n.$modelValue=a?t:void 0,u())});function u(){n.$modelValue!==i&&n.$$writeModelToScope()}},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),M(this.$viewChangeListeners,function(e){try{e()}catch(t){this.$$exceptionHandler(t)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");de(t[e])?t=t[e]:de(t.default)&&this.$options.getOption("updateOn").indexOf(e)===-1?t=t.default:de(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,we))},$$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)}};function Qd(e){e.$$scope.$watch(function(n){var r=e.$$ngModelGet(n);return r!==e.$modelValue&&(e.$modelValue===e.$modelValue||r===r)&&e.$$setModelValue(r),r})}Ja({clazz:Fi,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var ep=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Fi,priority:1,compile:function(n){return n.addClass(ar).addClass(Zs).addClass(Yr),{pre:function(i,l,u,a){var o=a[0],h=a[1]||o.$$parentForm,d=a[2];d&&(o.$options=d.$options),o.$$initGetterSetters(),h.$addControl(o),u.$observe("name",function(p){o.$name!==p&&o.$$parentForm.$$renameControl(o,p)}),i.$on("$destroy",function(){o.$$parentForm.$removeControl(o)})},post:function(i,l,u,a){var o=a[0];o.$$setUpdateOnEvents();function h(){o.$setTouched()}l.on("blur",function(){o.$touched||(e.$$phase?i.$evalAsync(h):i.$apply(h))})}}}}}],Li,tp=/(\s+|^)default(\s+|$)/;function Qs(e){this.$$options=e}Qs.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=Fe({},e),M(e,function(n,r){n==="$inherit"?r==="*"?t=!0:(e[r]=this.$$options[r],r==="updateOn"&&(e.updateOnDefault=this.$$options.updateOnDefault)):r==="updateOn"&&(e.updateOnDefault=!1,e[r]=tt(n.replace(tp,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],pu(e,this.$$options)),pu(e,Li.$$options),new Qs(e)}},Li=new Qs({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var np=function(){e.$inject=["$attrs","$scope"];function e(t,n){this.$$attrs=t,this.$$scope=n}return e.prototype={$onInit:function(){var t=this.parentCtrl?this.parentCtrl.$options:Li,n=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(n)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}};function pu(e,t){M(t,function(n,r){fe(e[r])||(e[r]=n)})}var rp=sr({terminal:!0,priority:1e3}),ip=w("ngOptions"),sp=/^\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]+?))?$/,op=["$compile","$document","$parse",function(e,t,n){function r(a,o,h){var d=a.match(sp);if(!d)throw ip("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",a,un(o));var p=d[5]||d[7],g=d[6],y=/ as /.test(d[0])&&d[1],b=d[9],D=n(d[2]?d[1]:p),z=y&&n(y),I=z||D,L=b&&n(b),F=b?function(R,W){return L(h,W)}:function(W){return nr(W)},U=function(R,W){return F(R,E(R,W))},A=n(d[2]||d[1]),T=n(d[3]||""),m=n(d[4]||""),$=n(d[8]),C={},E=g?function(R,W){return C[g]=W,C[p]=R,C}:function(R){return C[p]=R,C};function O(R,W,K,ne,J){this.selectValue=R,this.viewValue=W,this.label=K,this.group=ne,this.disabled=J}function B(R){var W;if(!g&&Le(R))W=R;else{W=[];for(var K in R)R.hasOwnProperty(K)&&K.charAt(0)!=="$"&&W.push(K)}return W}return{trackBy:b,getTrackByValue:U,getWatchables:n($,function(R){var W=[];R=R||[];for(var K=B(R),ne=K.length,J=0;J<ne;J++){var ie=R===K?J:K[J],Te=R[ie],Se=E(Te,ie),Me=F(Te,Se);if(W.push(Me),d[2]||d[1]){var Ue=A(h,Se);W.push(Ue)}if(d[4]){var Be=m(h,Se);W.push(Be)}}return W}),getOptions:function(){for(var R=[],W={},K=$(h)||[],ne=B(K),J=ne.length,ie=0;ie<J;ie++){var Te=K===ne?ie:ne[ie],Se=K[Te],Me=E(Se,Te),Ue=I(h,Me),Be=F(Ue,Me),Ge=A(h,Me),ot=T(h,Me),et=m(h,Me),wt=new O(Be,Ue,Ge,ot,et);R.push(wt),W[Be]=wt}return{items:R,selectValueMap:W,getOptionFromViewValue:function(pt){return W[U(pt)]},getViewValueFromOption:function(pt){return b?Rn(pt.viewValue):pt.viewValue}}}}}var i=c.document.createElement("option"),l=c.document.createElement("optgroup");function u(a,o,h,d){for(var p=d[0],g=d[1],y=h.multiple,b=0,D=o.children(),z=D.length;b<z;b++)if(D[b].value===""){p.hasEmptyOption=!0,p.emptyOption=D.eq(b);break}o.empty();var I=!!p.emptyOption,L=S(i.cloneNode(!1));L.val("?");var F,U=r(h.ngOptions,o,a),A=t[0].createDocumentFragment();p.generateUnknownOptionValue=function(E){return"?"},y?(p.writeValue=function(O){if(!!F){var B=O&&O.map(m)||[];F.items.forEach(function(R){R.element.selected&&!ps(B,R)&&(R.element.selected=!1)})}},p.readValue=function(){var O=o.val()||[],B=[];return M(O,function(R){var W=F.selectValueMap[R];W&&!W.disabled&&B.push(F.getViewValueFromOption(W))}),B},U.trackBy&&a.$watchCollection(function(){if(oe(g.$viewValue))return g.$viewValue.map(function(E){return U.getTrackByValue(E)})},function(){g.$render()})):(p.writeValue=function(O){if(!!F){var B=o[0].options[o[0].selectedIndex],R=F.getOptionFromViewValue(O);B&&B.removeAttribute("selected"),R?(o[0].value!==R.selectValue&&(p.removeUnknownOption(),o[0].value=R.selectValue,R.element.selected=!0),R.element.setAttribute("selected","selected")):p.selectUnknownOrEmptyOption(O)}},p.readValue=function(){var O=F.selectValueMap[o.val()];return O&&!O.disabled?(p.unselectEmptyOption(),p.removeUnknownOption(),F.getViewValueFromOption(O)):null},U.trackBy&&a.$watch(function(){return U.getTrackByValue(g.$viewValue)},function(){g.$render()})),I&&(e(p.emptyOption)(a),o.prepend(p.emptyOption),p.emptyOption[0].nodeType===Br?(p.hasEmptyOption=!1,p.registerOption=function(E,O){O.val()===""&&(p.hasEmptyOption=!0,p.emptyOption=O,p.emptyOption.removeClass("ng-scope"),g.$render(),O.on("$destroy",function(){var B=p.$isEmptyOptionSelected();p.hasEmptyOption=!1,p.emptyOption=void 0,B&&g.$render()}))}):p.emptyOption.removeClass("ng-scope")),a.$watchCollection(U.getWatchables,C);function T(E,O){var B=i.cloneNode(!1);O.appendChild(B),$(E,B)}function m(E){var O=F.getOptionFromViewValue(E),B=O&&O.element;return B&&!B.selected&&(B.selected=!0),O}function $(E,O){E.element=O,O.disabled=E.disabled,E.label!==O.label&&(O.label=E.label,O.textContent=E.label),O.value=E.selectValue}function C(){var E=F&&p.readValue();if(F)for(var O=F.items.length-1;O>=0;O--){var B=F.items[O];fe(B.group)?bi(B.element.parentNode):bi(B.element)}F=U.getOptions();var R={};if(F.items.forEach(function(J){var ie;fe(J.group)?(ie=R[J.group],ie||(ie=l.cloneNode(!1),A.appendChild(ie),ie.label=J.group===null?"null":J.group,R[J.group]=ie),T(J,ie)):T(J,A)}),o[0].appendChild(A),g.$render(),!g.$isEmpty(E)){var W=p.readValue(),K=U.trackBy||y;(K?!tn(E,W):E!==W)&&(g.$setViewValue(W),g.$render())}}}return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(o,h,d,p){p[0].registerOption=we},post:u}}}],ap=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(l,u,a){var o=a.count,h=a.$attr.when&&u.attr(a.$attr.when),d=a.offset||0,p=l.$eval(h)||{},g={},y=t.startSymbol(),b=t.endSymbol(),D=y+o+"-"+d+b,z=ue.noop,I;M(a,function(F,U){var A=i.exec(U);if(A){var T=(A[1]?"-":"")+pe(A[2]);p[T]=u.attr(a.$attr[U])}}),M(p,function(F,U){g[U]=t(F.replace(r,D))}),l.$watch(o,function(U){var A=parseFloat(U),T=je(A);if(!T&&!(A in p)&&(A=e.pluralCat(A-d)),A!==I&&!(T&&je(I))){z();var m=g[A];he(m)?(U!=null&&n.debug("ngPluralize: no rule defined for '"+A+"' in "+h),z=we,L()):z=l.$watch(m,L),I=A}});function L(F){u.text(F||"")}}}}],vu=w("ngRef"),up=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var r=rn(en(t)),i=e(n.ngRef),l=i.assign||function(){throw vu("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(u,a,o){var h;if(o.hasOwnProperty("ngRefRead")){if(o.ngRefRead==="$element")h=a;else if(h=a.data("$"+o.ngRefRead+"Controller"),!h)throw vu("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',o.ngRefRead,n.ngRef)}else h=a.data("$"+r+"Controller");h=h||a,l(u,h),a.on("$destroy",function(){i(u)===h&&l(u,null)})}}}}],cp=["$parse","$animate","$compile",function(e,t,n){var r="$$NG_REMOVED",i=w("ngRepeat"),l=function(d,p,g,y,b,D,z){d[g]=y,b&&(d[b]=D),d.$index=p,d.$first=p===0,d.$last=p===z-1,d.$middle=!(d.$first||d.$last),d.$odd=!(d.$even=(p&1)===0)},u=function(d){return d.clone[0]},a=function(d){return d.clone[d.clone.length-1]},o=function(d,p,g){return nr(g)},h=function(d,p){return p};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(p,g){var y=g.ngRepeat,b=n.$$createComment("end ngRepeat",y),D=y.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!D)throw i("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",y);var z=D[1],I=D[2],L=D[3],F=D[4];if(D=z.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/),!D)throw i("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",z);var U=D[3]||D[1],A=D[2];if(L&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(L)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(L)))throw i("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",L);var T;if(F){var m={$id:nr},$=e(F);T=function(C,E,O,B){return A&&(m[A]=E),m[U]=O,m.$index=B,$(C,m)}}return function(E,O,B,R,W){var K=nt();E.$watchCollection(I,function(J){var ie,Te,Se=O[0],Me,Ue=nt(),Be,Ge,ot,et,wt,pt,bt,it,Un;if(L&&(E[L]=J),Le(J))pt=J,wt=T||o;else{wt=T||h,pt=[];for(var Bn in J)$e.call(J,Bn)&&Bn.charAt(0)!=="$"&&pt.push(Bn)}for(Be=pt.length,it=new Array(Be),ie=0;ie<Be;ie++)if(Ge=J===pt?ie:pt[ie],ot=J[Ge],et=wt(E,Ge,ot,ie),K[et])bt=K[et],delete K[et],Ue[et]=bt,it[ie]=bt;else{if(Ue[et])throw M(it,function(sn){sn&&sn.scope&&(K[sn.id]=sn)}),i("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",y,et,ot);it[ie]={id:et,scope:void 0,clone:void 0},Ue[et]=!0}m&&(m[U]=void 0);for(var eo in K){if(bt=K[eo],Un=li(bt.clone),t.leave(Un),Un[0].parentNode)for(ie=0,Te=Un.length;ie<Te;ie++)Un[ie][r]=!0;bt.scope.$destroy()}for(ie=0;ie<Be;ie++)if(Ge=J===pt?ie:pt[ie],ot=J[Ge],bt=it[ie],bt.scope){Me=Se;do Me=Me.nextSibling;while(Me&&Me[r]);u(bt)!==Me&&t.move(li(bt.clone),null,Se),Se=a(bt),l(bt.scope,ie,U,ot,A,Ge,Be)}else W(function(Sn,to){bt.scope=to;var Kr=b.cloneNode(!1);Sn[Sn.length++]=Kr,t.enter(Sn,null,Se),Se=Kr,bt.clone=Sn,Ue[bt.id]=bt,l(bt.scope,ie,U,ot,A,Ge,Be)});K=Ue})}}}}],gu="ng-hide",$u="ng-hide-animate",fp=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(l){e[l?"removeClass":"addClass"](n,gu,{tempClasses:$u})})}}}],lp=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(l){e[l?"addClass":"removeClass"](n,gu,{tempClasses:$u})})}}}],hp=sr(function(e,t,n){e.$watchCollection(n.ngStyle,function(i,l){l&&i!==l&&M(l,function(u,a){t.css(a,"")}),i&&t.css(i)})}),dp=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,l){var u=i.ngSwitch||i.on,a=[],o=[],h=[],d=[],p=function(g,y){return function(b){b!==!1&&g.splice(y,1)}};n.$watch(u,function(y){for(var b,D;h.length;)e.cancel(h.pop());for(b=0,D=d.length;b<D;++b){var z=li(o[b].clone);d[b].$destroy();var I=h[b]=e.leave(z);I.done(p(h,b))}o.length=0,d.length=0,(a=l.cases["!"+y]||l.cases["?"])&&M(a,function(L){L.transclude(function(F,U){d.push(U);var A=L.element;F[F.length++]=t.$$createComment("end ngSwitchWhen");var T={clone:F};o.push(T),e.enter(F,A.parent(),A)})})})}}}],pp=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){var l=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(u,a,o){return o[a-1]!==u});M(l,function(u){r.cases["!"+u]=r.cases["!"+u]||[],r.cases["!"+u].push({transclude:i,element:t})})}}),vp=sr({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})}}),gp=w("ngTransclude"),$p=["$compile",function(e){return{restrict:"EAC",compile:function(n){var r=e(n.contents());return n.empty(),function(l,u,a,o,h){if(!h)throw gp("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",un(u));a.ngTransclude===a.$attr.ngTransclude&&(a.ngTransclude="");var d=a.ngTransclude||a.ngTranscludeSlot;h(p,null,d),d&&!h.isSlotFilled(d)&&g();function p(b,D){b.length&&y(b)?u.append(b):(g(),D.$destroy())}function g(){r(l,function(b){u.append(b)})}function y(b){for(var D=0,z=b.length;D<z;D++){var I=b[D];if(I.nodeType!==wn||I.nodeValue.trim())return!0}}}}}}],mp=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if(n.type==="text/ng-template"){var r=n.id,i=t[0].text;e.put(r,i)}}}}],yp={$setViewValue:we,$render:we};function qn(e,t){e.prop("selected",t),e.attr("selected",t)}var bp=["$element","$scope",function(e,t){var n=this,r=new Ei;n.selectValueMap={},n.ngModelCtrl=yp,n.multiple=!1,n.unknownOption=S(c.document.createElement("option")),n.hasEmptyOption=!1,n.emptyOption=void 0,n.renderUnknownOption=function(o){var h=n.generateUnknownOptionValue(o);n.unknownOption.val(h),e.prepend(n.unknownOption),qn(n.unknownOption,!0),e.val(h)},n.updateUnknownOption=function(o){var h=n.generateUnknownOptionValue(o);n.unknownOption.val(h),qn(n.unknownOption,!0),e.val(h)},n.generateUnknownOptionValue=function(o){return"? "+nr(o)+" ?"},n.removeUnknownOption=function(){n.unknownOption.parent()&&n.unknownOption.remove()},n.selectEmptyOption=function(){n.emptyOption&&(e.val(""),qn(n.emptyOption,!0))},n.unselectEmptyOption=function(){n.hasEmptyOption&&qn(n.emptyOption,!1)},t.$on("$destroy",function(){n.renderUnknownOption=we}),n.readValue=function(){var h=e.val(),d=h in n.selectValueMap?n.selectValueMap[h]:h;return n.hasOption(d)?d:null},n.writeValue=function(h){var d=e[0].options[e[0].selectedIndex];if(d&&qn(S(d),!1),n.hasOption(h)){n.removeUnknownOption();var p=nr(h);e.val(p in n.selectValueMap?p:h);var g=e[0].options[e[0].selectedIndex];qn(S(g),!0)}else n.selectUnknownOrEmptyOption(h)},n.addOption=function(o,h){if(h[0].nodeType!==Br){Qn(o,'"option value"'),o===""&&(n.hasEmptyOption=!0,n.emptyOption=h);var d=r.get(o)||0;r.set(o,d+1),l()}},n.removeOption=function(o){var h=r.get(o);h&&(h===1?(r.delete(o),o===""&&(n.hasEmptyOption=!1,n.emptyOption=void 0)):r.set(o,h-1))},n.hasOption=function(o){return!!r.get(o)},n.$hasEmptyOption=function(){return n.hasEmptyOption},n.$isUnknownOptionSelected=function(){return e[0].options[0]===n.unknownOption[0]},n.$isEmptyOptionSelected=function(){return n.hasEmptyOption&&e[0].options[e[0].selectedIndex]===n.emptyOption[0]},n.selectUnknownOrEmptyOption=function(o){o==null&&n.emptyOption?(n.removeUnknownOption(),n.selectEmptyOption()):n.unknownOption.parent().length?n.updateUnknownOption(o):n.renderUnknownOption(o)};var i=!1;function l(){i||(i=!0,t.$$postDigest(function(){i=!1,n.ngModelCtrl.$render()}))}var u=!1;function a(o){u||(u=!0,t.$$postDigest(function(){t.$$destroyed||(u=!1,n.ngModelCtrl.$setViewValue(n.readValue()),o&&n.ngModelCtrl.$render())}))}n.registerOption=function(o,h,d,p,g){if(d.$attr.ngValue){var y,b;d.$observe("value",function(z){var I,L=h.prop("selected");fe(b)&&(n.removeOption(y),delete n.selectValueMap[b],I=!0),b=nr(z),y=z,n.selectValueMap[b]=z,n.addOption(z,h),h.attr("value",b),I&&L&&a()})}else p?d.$observe("value",function(z){n.readValue();var I,L=h.prop("selected");fe(y)&&(n.removeOption(y),I=!0),y=z,n.addOption(z,h),I&&L&&a()}):g?o.$watch(g,function(z,I){d.$set("value",z);var L=h.prop("selected");I!==z&&n.removeOption(I),n.addOption(z,h),I&&L&&a()}):n.addOption(d.value,h);d.$observe("disabled",function(D){(D==="true"||D&&h.prop("selected"))&&(n.multiple?a(!0):(n.ngModelCtrl.$setViewValue(null),n.ngModelCtrl.$render()))}),h.on("$destroy",function(){var D=n.readValue(),z=d.value;n.removeOption(z),l(),(n.multiple&&D&&D.indexOf(z)!==-1||D===z)&&a(!0)})}}],Cp=function(){return{restrict:"E",require:["select","?ngModel"],controller:bp,priority:1,link:{pre:e,post:t}};function e(n,r,i,l){var u=l[0],a=l[1];if(!a){u.registerOption=we;return}if(u.ngModelCtrl=a,r.on("change",function(){u.removeUnknownOption(),n.$apply(function(){a.$setViewValue(u.readValue())})}),i.multiple){u.multiple=!0,u.readValue=function(){var p=[];return M(r.find("option"),function(g){if(g.selected&&!g.disabled){var y=g.value;p.push(y in u.selectValueMap?u.selectValueMap[y]:y)}}),p},u.writeValue=function(p){M(r.find("option"),function(g){var y=!!p&&(ps(p,g.value)||ps(p,u.selectValueMap[g.value])),b=g.selected;y!==b&&qn(S(g),y)})};var o,h=NaN;n.$watch(function(){h===a.$viewValue&&!tn(o,a.$viewValue)&&(o=nn(a.$viewValue),a.$render()),h=a.$viewValue}),a.$isEmpty=function(d){return!d||d.length===0}}}function t(n,r,i,l){var u=l[1];if(!!u){var a=l[0];u.$render=function(){a.writeValue(u.$viewValue)}}}},Ep=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return fe(n.ngValue)||(fe(n.value)?r=e(n.value,!0):(i=e(t.text(),!0),i||n.$set("value",t.text()))),function(l,u,a){var o="$selectController",h=u.parent(),d=h.data(o)||h.parent().data(o);d&&d.registerOption(l,u,a,r,i)}}}}],mu=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(!!i){var l=r.hasOwnProperty("required")||e(r.ngRequired)(t);r.ngRequired||(r.required=!0),i.$validators.required=function(u,a){return!l||!i.$isEmpty(a)},r.$observe("required",function(u){l!==u&&(l=u,i.$validate())})}}}}],yu=["$parse",function(e){return{restrict:"A",require:"?ngModel",compile:function(t,n){var r,i;return n.ngPattern&&(r=n.ngPattern,n.ngPattern.charAt(0)==="/"&&q.test(n.ngPattern)?i=function(){return n.ngPattern}:i=e(n.ngPattern)),function(l,u,a,o){if(!!o){var h=a.pattern;a.ngPattern?h=i(l):r=a.pattern;var d=Eu(h,r,u);a.$observe("pattern",function(p){var g=d;d=Eu(p,r,u),(g&&g.toString())!==(d&&d.toString())&&o.$validate()}),o.$validators.pattern=function(p,g){return o.$isEmpty(g)||he(d)||d.test(g)}}}}}}],bu=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(!!i){var l=r.maxlength||e(r.ngMaxlength)(t),u=Di(l);r.$observe("maxlength",function(a){l!==a&&(u=Di(a),l=a,i.$validate())}),i.$validators.maxlength=function(a,o){return u<0||i.$isEmpty(o)||o.length<=u}}}}}],Cu=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(!!i){var l=r.minlength||e(r.ngMinlength)(t),u=Di(l)||-1;r.$observe("minlength",function(a){l!==a&&(u=Di(a)||-1,l=a,i.$validate())}),i.$validators.minlength=function(a,o){return i.$isEmpty(o)||o.length>=u}}}}}];function Eu(e,t,n){if(!!e){if(V(e)&&(e=new RegExp("^"+e+"$")),!e.test)throw w("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",t,e,un(n));return e}}function Di(e){var t=Ye(e);return je(t)?-1:t}if(c.angular.bootstrap){c.console&&console.log("WARNING: Tried to load AngularJS more than once.");return}Gf(),el(ue),ue.module("ngLocale",[],["$provide",function(e){var t={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};function n(i){i=i+"";var l=i.indexOf(".");return l==-1?0:i.length-l-1}function r(i,l){var u=l;u===void 0&&(u=Math.min(n(i),3));var a=Math.pow(10,u),o=(i*a|0)%a;return{v:u,f:o}}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:"-\xA4",negSuf:"",posPre:"\xA4",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(i,l){var u=i|0,a=r(i,l);return u==1&&a.v==0?t.ONE:t.OTHER}})}]),S(function(){jf(c.document,No)})})(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;}'))});var Nu=_e((H$,Iu)=>{Du();Iu.exports=angular});var qu=_e(()=>{(function(c,s){"use strict";function f(P,G){if(w(P)){G=G||[];for(var X=0,ue=P.length;X<ue;X++)G[X]=P[X]}else if(q(P)){G=G||{};for(var Oe in P)Oe.charAt(0)==="$"&&Oe.charAt(1)==="$"||(G[Oe]=P[Oe])}return G||P}function v(P,G){var X=[],ue=P.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(Oe,qe,Le,M){var We=M==="?"||M==="*?",Ze=M==="*"||M==="*?";return X.push({name:Le,optional:We}),qe=qe||"",(We?"(?:"+qe:qe+"(?:")+(Ze?"(.+?)":"([^/]+)")+(We?"?)?":")")}).replace(/([/$*])/g,"\\$1");return G.ignoreTrailingSlashes&&(ue=ue.replace(/\/+$/,"")+"/*"),{keys:X,regexp:new RegExp("^"+ue+"(?:[?#]|$)",G.caseInsensitiveMatch?"i":"")}}var w,q,ae,$e,pe=s.module("ngRoute",[]).info({angularVersion:"1.8.2"}).provider("$route",S).run(Q),Pe=s.$$minErr("ngRoute"),x;function S(){w=s.isArray,q=s.isObject,ae=s.isDefined,$e=s.noop;function P(X,ue){return s.extend(Object.create(X),ue)}var G={};this.when=function(X,ue){var Oe=f(ue);if(s.isUndefined(Oe.reloadOnUrl)&&(Oe.reloadOnUrl=!0),s.isUndefined(Oe.reloadOnSearch)&&(Oe.reloadOnSearch=!0),s.isUndefined(Oe.caseInsensitiveMatch)&&(Oe.caseInsensitiveMatch=this.caseInsensitiveMatch),G[X]=s.extend(Oe,{originalPath:X},X&&v(X,Oe)),X){var qe=X[X.length-1]==="/"?X.substr(0,X.length-1):X+"/";G[qe]=s.extend({originalPath:X,redirectTo:X},v(qe,Oe))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(X){return typeof X=="string"&&(X={redirectTo:X}),this.when(null,X),this},x=!0,this.eagerInstantiationEnabled=function(ue){return ae(ue)?(x=ue,this):x},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce","$browser",function(X,ue,Oe,qe,Le,M,We,Ze){var vt=!1,Qe,Ct,Fe={routes:G,reload:function(){vt=!0;var Y={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,vt=!1}};X.$evalAsync(function(){Ye(Y),Y.defaultPrevented||je()})},updateParams:function(Y){if(this.current&&this.current.$$route)Y=s.extend({},this.current.params,Y),ue.path(fe(this.current.$$route.originalPath,Y)),ue.search(Y);else throw Pe("norout","Tried updating route with no current route")}};return X.$on("$locationChangeStart",Ye),X.$on("$locationChangeSuccess",je),Fe;function Bt(Y,Ae){var V=Ae.keys,de={};if(!Ae.regexp)return null;var Ee=Ae.regexp.exec(Y);if(!Ee)return null;for(var oe=1,xe=Ee.length;oe<xe;++oe){var ve=V[oe-1],Tt=Ee[oe];ve&&Tt&&(de[ve.name]=Tt)}return de}function Ye(Y){var Ae=Fe.current;Qe=zt(),Ct=he(Qe,Ae),!Ct&&(Ae||Qe)&&X.$broadcast("$routeChangeStart",Qe,Ae).defaultPrevented&&Y&&Y.preventDefault()}function je(){var Y=Fe.current,Ae=Qe;if(Ct)Y.params=Ae.params,s.copy(Y.params,Oe),X.$broadcast("$routeUpdate",Y);else if(Ae||Y){vt=!1,Fe.current=Ae;var V=qe.resolve(Ae);Ze.$$incOutstandingRequestCount("$route"),V.then(It).then(we).then(function(de){return de&&V.then(_t).then(function(Ee){Ae===Fe.current&&(Ae&&(Ae.locals=Ee,s.copy(Ae.params,Oe)),X.$broadcast("$routeChangeSuccess",Ae,Y))})}).catch(function(de){Ae===Fe.current&&X.$broadcast("$routeChangeError",Ae,Y,de)}).finally(function(){Ze.$$completeOutstandingRequest($e,"$route")})}}function It(Y){var Ae={route:Y,hasRedirection:!1};if(Y){if(Y.redirectTo)if(s.isString(Y.redirectTo))Ae.path=fe(Y.redirectTo,Y.params),Ae.search=Y.params,Ae.hasRedirection=!0;else{var V=ue.path(),de=ue.search(),Ee=Y.redirectTo(Y.pathParams,V,de);s.isDefined(Ee)&&(Ae.url=Ee,Ae.hasRedirection=!0)}else if(Y.resolveRedirectTo)return qe.resolve(Le.invoke(Y.resolveRedirectTo)).then(function(oe){return s.isDefined(oe)&&(Ae.url=oe,Ae.hasRedirection=!0),Ae})}return Ae}function we(Y){var Ae=!0;if(Y.route!==Fe.current)Ae=!1;else if(Y.hasRedirection){var V=ue.url(),de=Y.url;de?ue.url(de).replace():de=ue.path(Y.path).search(Y.search).replace().url(),de!==V&&(Ae=!1)}return Ae}function _t(Y){if(Y){var Ae=s.extend({},Y.resolve);s.forEach(Ae,function(de,Ee){Ae[Ee]=s.isString(de)?Le.get(de):Le.invoke(de,null,null,Ee)});var V=st(Y);return s.isDefined(V)&&(Ae.$template=V),qe.all(Ae)}}function st(Y){var Ae,V;return s.isDefined(Ae=Y.template)?s.isFunction(Ae)&&(Ae=Ae(Y.params)):s.isDefined(V=Y.templateUrl)&&(s.isFunction(V)&&(V=V(Y.params)),s.isDefined(V)&&(Y.loadedTemplateUrl=We.valueOf(V),Ae=M(V))),Ae}function zt(){var Y,Ae;return s.forEach(G,function(V,de){!Ae&&(Y=Bt(ue.path(),V))&&(Ae=P(V,{params:s.extend({},ue.search(),Y),pathParams:Y}),Ae.$$route=V)}),Ae||G[null]&&P(G[null],{params:{},pathParams:{}})}function he(Y,Ae){return!vt&&Y&&Ae&&Y.$$route===Ae.$$route&&(!Y.reloadOnUrl||!Y.reloadOnSearch&&s.equals(Y.pathParams,Ae.pathParams))}function fe(Y,Ae){var V=[];return s.forEach((Y||"").split(":"),function(de,Ee){if(Ee===0)V.push(de);else{var oe=de.match(/(\w+)(?:[?*])?(.*)/),xe=oe[1];V.push(Ae[xe]),V.push(oe[2]||""),delete Ae[xe]}}),V.join("")}}]}Q.$inject=["$injector"];function Q(P){x&&P.get("$route")}pe.provider("$routeParams",se);function se(){this.$get=function(){return{}}}pe.directive("ngView",ge),pe.directive("ngView",j),ge.$inject=["$route","$anchorScroll","$animate"];function ge(P,G,X){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(ue,Oe,qe,Le,M){var We,Ze,vt,Qe=qe.autoscroll,Ct=qe.onload||"";ue.$on("$routeChangeSuccess",Bt),Bt();function Fe(){vt&&(X.cancel(vt),vt=null),We&&(We.$destroy(),We=null),Ze&&(vt=X.leave(Ze),vt.done(function(Ye){Ye!==!1&&(vt=null)}),Ze=null)}function Bt(){var Ye=P.current&&P.current.locals,je=Ye&&Ye.$template;if(s.isDefined(je)){var It=ue.$new(),we=P.current,_t=M(It,function(st){X.enter(st,null,Ze||Oe).done(function(he){he!==!1&&s.isDefined(Qe)&&(!Qe||ue.$eval(Qe))&&G()}),Fe()});Ze=_t,We=we.scope=It,We.$emit("$viewContentLoaded"),We.$eval(Ct)}else Fe()}}}}j.$inject=["$compile","$controller","$route"];function j(P,G,X){return{restrict:"ECA",priority:-400,link:function(ue,Oe){var qe=X.current,Le=qe.locals;Oe.html(Le.$template);var M=P(Oe.contents());if(qe.controller){Le.$scope=ue;var We=G(qe.controller,Le);qe.controllerAs&&(ue[qe.controllerAs]=We),Oe.data("$ngControllerController",We),Oe.children().data("$ngControllerController",We)}ue[qe.resolveAs||"$resolve"]=Le,M(ue)}}}})(window,window.angular)});var Bu=_e((G$,Uu)=>{qu();Uu.exports="ngRoute"});var Vu=_e(()=>{(function(c,s){"use strict";var f=s.$$minErr("$sanitize"),v,w,q,ae,$e,pe,Pe,x,S,Q;function se(){var j=!1,P=!1;this.$get=["$$sanitizeUri",function(V){return j=!0,P&&w(Qe,Ze),function(de){var Ee=[];return S(de,Q(Ee,function(oe,xe){return!/^unsafe:/.test(V(oe,xe))})),Ee.join("")}}],this.enableSvg=function(V){return $e(V)?(P=V,this):P},this.addValidElements=function(V){return j||(ae(V)&&(V={htmlElements:V}),we(Ze,V.svgElements),we(ue,V.htmlVoidElements),we(Qe,V.htmlVoidElements),we(Qe,V.htmlElements)),this},this.addValidAttrs=function(V){return j||w(Ye,It(V,!0)),this},v=s.bind,w=s.extend,q=s.forEach,ae=s.isArray,$e=s.isDefined,pe=s.$$lowercase,Pe=s.noop,S=st,Q=fe,x=c.Node.prototype.contains||function(V){return!!(this.compareDocumentPosition(V)&16)};var G=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,X=/([^#-~ |!])/g,ue=je("area,br,col,hr,img,wbr"),Oe=je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),qe=je("rp,rt"),Le=w({},qe,Oe),M=w({},Oe,je("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")),We=w({},qe,je("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")),Ze=je("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"),vt=je("script,style"),Qe=w({},ue,M,We,Le),Ct=je("background,cite,href,longdesc,src,xlink:href,xml:base"),Fe=je("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"),Bt=je("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),Ye=w({},Ct,Bt,Fe);function je(V,de){return It(V.split(","),de)}function It(V,de){var Ee={},oe;for(oe=0;oe<V.length;oe++)Ee[de?pe(V[oe]):V[oe]]=!0;return Ee}function we(V,de){de&&de.length&&w(V,It(de))}var _t=function(V,de){if(xe())return ve;if(!de||!de.implementation)throw f("noinert","Can't create an inert html document");var Ee=de.implementation.createHTMLDocument("inert"),oe=(Ee.documentElement||Ee.getDocumentElement()).querySelector("body");return Tt;function xe(){try{return!!ve("")}catch{return!1}}function ve(Rt){Rt="<remove></remove>"+Rt;try{var Vt=new V.DOMParser().parseFromString(Rt,"text/html").body;return Vt.firstChild.remove(),Vt}catch{return}}function Tt(Rt){return oe.innerHTML=Rt,de.documentMode&&Y(oe),oe}}(c,c.document);function st(V,de){V==null?V="":typeof V!="string"&&(V=""+V);var Ee=_t(V);if(!Ee)return"";var oe=5;do{if(oe===0)throw f("uinput","Failed to sanitize html because the input is unstable");oe--,V=Ee.innerHTML,Ee=_t(V)}while(V!==Ee.innerHTML);for(var xe=Ee.firstChild;xe;){switch(xe.nodeType){case 1:de.start(xe.nodeName.toLowerCase(),zt(xe.attributes));break;case 3:de.chars(xe.textContent);break}var ve;if(!(ve=xe.firstChild)&&(xe.nodeType===1&&de.end(xe.nodeName.toLowerCase()),ve=Ae("nextSibling",xe),!ve))for(;ve==null&&(xe=Ae("parentNode",xe),xe!==Ee);)ve=Ae("nextSibling",xe),xe.nodeType===1&&de.end(xe.nodeName.toLowerCase());xe=ve}for(;xe=Ee.firstChild;)Ee.removeChild(xe)}function zt(V){for(var de={},Ee=0,oe=V.length;Ee<oe;Ee++){var xe=V[Ee];de[xe.name]=xe.value}return de}function he(V){return V.replace(/&/g,"&amp;").replace(G,function(de){var Ee=de.charCodeAt(0),oe=de.charCodeAt(1);return"&#"+((Ee-55296)*1024+(oe-56320)+65536)+";"}).replace(X,function(de){return"&#"+de.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function fe(V,de){var Ee=!1,oe=v(V,V.push);return{start:function(xe,ve){xe=pe(xe),!Ee&&vt[xe]&&(Ee=xe),!Ee&&Qe[xe]===!0&&(oe("<"),oe(xe),q(ve,function(Tt,Rt){var Vt=pe(Rt),ai=xe==="img"&&Vt==="src"||Vt==="background";Ye[Vt]===!0&&(Ct[Vt]!==!0||de(Tt,ai))&&(oe(" "),oe(Rt),oe('="'),oe(he(Tt)),oe('"'))}),oe(">"))},end:function(xe){xe=pe(xe),!Ee&&Qe[xe]===!0&&ue[xe]!==!0&&(oe("</"),oe(xe),oe(">")),xe==Ee&&(Ee=!1)},chars:function(xe){Ee||oe(he(xe))}}}function Y(V){for(;V;){if(V.nodeType===c.Node.ELEMENT_NODE)for(var de=V.attributes,Ee=0,oe=de.length;Ee<oe;Ee++){var xe=de[Ee],ve=xe.name.toLowerCase();(ve==="xmlns:ns1"||ve.lastIndexOf("ns1:",0)===0)&&(V.removeAttributeNode(xe),Ee--,oe--)}var Tt=V.firstChild;Tt&&Y(Tt),V=Ae("nextSibling",V)}}function Ae(V,de){var Ee=de[V];if(Ee&&x.call(de,Ee))throw f("elclob","Failed to sanitize html because the element is clobbered: {0}",de.outerHTML||de.outerText);return Ee}}function ge(j){var P=[],G=Q(P,Pe);return G.chars(j),P.join("")}s.module("ngSanitize",[]).provider("$sanitize",se).info({angularVersion:"1.8.2"}),s.module("ngSanitize").filter("linky",["$sanitize",function(j){var P=/((s?ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,G=/^mailto:/i,X=s.$$minErr("linky"),ue=s.isDefined,Oe=s.isFunction,qe=s.isObject,Le=s.isString;return function(M,We,Ze){if(M==null||M==="")return M;if(!Le(M))throw X("notstring","Expected string but received: {0}",M);for(var vt=Oe(Ze)?Ze:qe(Ze)?function(){return Ze}:function(){return{}},Qe,Ct=M,Fe=[],Bt,Ye;Qe=Ct.match(P);)Bt=Qe[0],!Qe[2]&&!Qe[4]&&(Bt=(Qe[3]?"http://":"mailto:")+Bt),Ye=Qe.index,je(Ct.substr(0,Ye)),It(Bt,Qe[0].replace(G,"")),Ct=Ct.substring(Ye+Qe[0].length);return je(Ct),j(Fe.join(""));function je(we){!we||Fe.push(ge(we))}function It(we,_t){var st,zt=vt(we);Fe.push("<a ");for(st in zt)Fe.push(st+'="'+zt[st]+'" ');ue(We)&&!("target"in zt)&&Fe.push('target="',We,'" '),Fe.push('href="',we.replace(/"/g,"&quot;"),'">'),je(_t),Fe.push("</a>")}}}])})(window,window.angular)});var Hu=_e((J$,ju)=>{Vu();ju.exports="ngSanitize"});var Wu=_e(()=>{(function(c,s){"use strict";var f=s.module("ngTouch",[]);f.info({angularVersion:"1.8.2"});function v(q){return s.$$lowercase(q.nodeName||q[0]&&q[0].nodeName)}f.factory("$swipe",[function(){var q=10,ae={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 $e(Pe){var x=Pe.originalEvent||Pe,S=x.touches&&x.touches.length?x.touches:[x],Q=x.changedTouches&&x.changedTouches[0]||S[0];return{x:Q.clientX,y:Q.clientY}}function pe(Pe,x){var S=[];return s.forEach(Pe,function(Q){var se=ae[Q][x];se&&S.push(se)}),S.join(" ")}return{bind:function(Pe,x,S){var Q,se,ge,j,P=!1;S=S||["mouse","touch","pointer"],Pe.on(pe(S,"start"),function(X){ge=$e(X),P=!0,Q=0,se=0,j=ge,x.start&&x.start(ge,X)});var G=pe(S,"cancel");G&&Pe.on(G,function(X){P=!1,x.cancel&&x.cancel(X)}),Pe.on(pe(S,"move"),function(X){if(!!P&&!!ge){var ue=$e(X);if(Q+=Math.abs(ue.x-j.x),se+=Math.abs(ue.y-j.y),j=ue,!(Q<q&&se<q))if(se>Q){P=!1,x.cancel&&x.cancel(X);return}else X.preventDefault(),x.move&&x.move(ue,X)}}),Pe.on(pe(S,"end"),function(X){!P||(P=!1,x.end&&x.end($e(X),X))})}}}]);function w(q,ae,$e){f.directive(q,["$parse","$swipe",function(pe,Pe){var x=75,S=.3,Q=30;return function(se,ge,j){var P=pe(j[q]),G,X;function ue(qe){if(!G)return!1;var Le=Math.abs(qe.y-G.y),M=(qe.x-G.x)*ae;return X&&Le<x&&M>0&&M>Q&&Le/M<S}var Oe=["touch"];s.isDefined(j.ngSwipeDisableMouse)||Oe.push("mouse"),Pe.bind(ge,{start:function(qe,Le){G=qe,X=!0},cancel:function(qe){X=!1},end:function(qe,Le){ue(qe)&&se.$apply(function(){ge.triggerHandler($e),P(se,{$event:Le})})}},Oe)}}])}w("ngSwipeLeft",-1,"swipeleft"),w("ngSwipeRight",1,"swiperight")})(window,window.angular)});var Gu=_e((Q$,zu)=>{Wu();zu.exports="ngTouch"});var Hn=_e((em,Xu)=>{Xu.exports=window.angular});var Yu=_e(()=>{var qp=Hn();qp.module("bsDisconnect",[]).directive("disconnectElem",function(){return{restrict:"E",scope:{},template:`<section bs-overlay ng-class="{'active': ui.visible}">
<p><icon icon="block"></icon></p>
<h1>{{ui.heading}} {{ui.message}}</h1>
<p>Possible reasons are:</p>
<ul bs-list>
<li>1. Your process was exited by another tool</li>
</ul>
<p>You should check your terminal window to see what happened. <br/>(Or simply try reloading this page.)</p>
</section>`,controller:["$scope","$rootScope","$window",Up]}});function Up(c,s,f){let v="Browsersync",w="Disconnected";c._disconnected=!1,c.ui={visible:!1,heading:v,message:w},c.socketEvents={connection:function(){c._disconnected&&f.location.reload(!0),c.ui.visible=!1,c.$digest()},disconnect:function(){c._disconnected=!0,c.ui.visible=!0,c.$digest()}},s.$on("ui:connection",c.socketEvents.connection),s.$on("ui:disconnect",c.socketEvents.disconnect)}});var Ju=_e(()=>{var Bp=Hn();Bp.module("bsNotify",[]).directive("notifyElem",function(){return{restrict:"E",scope:{},template:`<div bs-notify ng-class="{'active': ui.visible}">
<p class="notification__text">{{ui.heading}} <span class="color--lime">{{ui.message}}</span></p>
</div>`,controller:["$scope","$rootScope",Vp]}});function Vp(c,s){var f="info",v="Browsersync:",w="Welcome to Browsersync",q=2e3;c.ui={status:f,heading:v,message:w},c.show=function(ae,$e){$e=$e||{},c._timer&&clearTimeout(c._timer),c._timer=window.setTimeout(c.reset,$e.timeout||q),c.ui.visible=!0,c.ui.status=$e.status||f,c.ui.heading=$e.heading||v,c.ui.message=$e.message||v},c.reset=function(){c.ui.visible=!1,c.$digest()},s.$on("notify:flash",c.show)}});var Ku=_e(()=>{var jp=Hn();jp.module("bsHistory",["bsSocket"]).service("History",["Socket",Hp]);function Hp(c){var s=[],f=[];return c.on("ui:history:update",function(v){f.forEach(function(w){w(v)})}),{visited:s,updateHistory:function(v){s=v},get:function(){return c.getData("visited")},remove:function(v){c.emit("ui",{namespace:"history",event:"remove",data:v})},clear:function(){c.emit("ui",{namespace:"history",event:"clear"})},on:function(v,w){f.push(w)},off:function(v){var w=f.indexOf(v);w>-1&&(f=f.splice(w,1))}}}});var Zu=_e(()=>{var Wp=Hn();Wp.module("bsClients",["bsSocket"]).service("Clients",["Socket",zp]);function zp(c){var s={reloadAll:function(){c.clientEvent("browser:reload")},sendAllTo:function(f){c.emit("ui",{namespace:"history",event:"sendAllTo",data:{path:f}})},scrollAllTo:function(){c.clientEvent("scroll",{position:{raw:0,proportional:0},override:!0})},highlight:function(f){c.emit("ui:highlight",f)}};return s}});var po=_e(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.ERROR_PACKET=Tn.PACKET_TYPES_REVERSE=Tn.PACKET_TYPES=void 0;var dn=Object.create(null);Tn.PACKET_TYPES=dn;dn.open="0";dn.close="1";dn.ping="2";dn.pong="3";dn.message="4";dn.upgrade="5";dn.noop="6";var Qu=Object.create(null);Tn.PACKET_TYPES_REVERSE=Qu;Object.keys(dn).forEach(c=>{Qu[dn[c]]=c});var Gp={type:"error",data:"parser error"};Tn.ERROR_PACKET=Gp});var tc=_e(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});var Xp=po(),Yp=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Jp=typeof ArrayBuffer=="function",Kp=c=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(c):c&&c.buffer instanceof ArrayBuffer,Zp=({type:c,data:s},f,v)=>Yp&&s instanceof Blob?f?v(s):ec(s,v):Jp&&(s instanceof ArrayBuffer||Kp(s))?f?v(s):ec(new Blob([s]),v):v(Xp.PACKET_TYPES[c]+(s||"")),ec=(c,s)=>{let f=new FileReader;return f.onload=function(){let v=f.result.split(",")[1];s("b"+v)},f.readAsDataURL(c)};vo.default=Zp});var nc=_e(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.decode=pr.encode=void 0;var dr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ti=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let c=0;c<dr.length;c++)ti[dr.charCodeAt(c)]=c;var Qp=c=>{let s=new Uint8Array(c),f,v=s.length,w="";for(f=0;f<v;f+=3)w+=dr[s[f]>>2],w+=dr[(s[f]&3)<<4|s[f+1]>>4],w+=dr[(s[f+1]&15)<<2|s[f+2]>>6],w+=dr[s[f+2]&63];return v%3===2?w=w.substring(0,w.length-1)+"=":v%3===1&&(w=w.substring(0,w.length-2)+"=="),w};pr.encode=Qp;var ev=c=>{let s=c.length*.75,f=c.length,v,w=0,q,ae,$e,pe;c[c.length-1]==="="&&(s--,c[c.length-2]==="="&&s--);let Pe=new ArrayBuffer(s),x=new Uint8Array(Pe);for(v=0;v<f;v+=4)q=ti[c.charCodeAt(v)],ae=ti[c.charCodeAt(v+1)],$e=ti[c.charCodeAt(v+2)],pe=ti[c.charCodeAt(v+3)],x[w++]=q<<2|ae>>4,x[w++]=(ae&15)<<4|$e>>2,x[w++]=($e&3)<<6|pe&63;return Pe};pr.decode=ev});var ic=_e(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});var Vi=po(),tv=nc(),nv=typeof ArrayBuffer=="function",rv=(c,s)=>{if(typeof c!="string")return{type:"message",data:rc(c,s)};let f=c.charAt(0);return f==="b"?{type:"message",data:iv(c.substring(1),s)}:Vi.PACKET_TYPES_REVERSE[f]?c.length>1?{type:Vi.PACKET_TYPES_REVERSE[f],data:c.substring(1)}:{type:Vi.PACKET_TYPES_REVERSE[f]}:Vi.ERROR_PACKET},iv=(c,s)=>{if(nv){let f=(0,tv.decode)(c);return rc(f,s)}else return{base64:!0,data:c}},rc=(c,s)=>{switch(s){case"blob":return c instanceof ArrayBuffer?new Blob([c]):c;case"arraybuffer":default:return c}};go.default=rv});var ni=_e(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.decodePayload=Jt.decodePacket=Jt.encodePayload=Jt.encodePacket=Jt.protocol=void 0;var sc=tc();Jt.encodePacket=sc.default;var oc=ic();Jt.decodePacket=oc.default;var ac=String.fromCharCode(30),sv=(c,s)=>{let f=c.length,v=new Array(f),w=0;c.forEach((q,ae)=>{(0,sc.default)(q,!1,$e=>{v[ae]=$e,++w===f&&s(v.join(ac))})})};Jt.encodePayload=sv;var ov=(c,s)=>{let f=c.split(ac),v=[];for(let w=0;w<f.length;w++){let q=(0,oc.default)(f[w],s);if(v.push(q),q.type==="error")break}return v};Jt.decodePayload=ov;Jt.protocol=4});var Wn=_e(uc=>{uc.Emitter=Dt;function Dt(c){if(c)return av(c)}function av(c){for(var s in Dt.prototype)c[s]=Dt.prototype[s];return c}Dt.prototype.on=Dt.prototype.addEventListener=function(c,s){return this._callbacks=this._callbacks||{},(this._callbacks["$"+c]=this._callbacks["$"+c]||[]).push(s),this};Dt.prototype.once=function(c,s){function f(){this.off(c,f),s.apply(this,arguments)}return f.fn=s,this.on(c,f),this};Dt.prototype.off=Dt.prototype.removeListener=Dt.prototype.removeAllListeners=Dt.prototype.removeEventListener=function(c,s){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var f=this._callbacks["$"+c];if(!f)return this;if(arguments.length==1)return delete this._callbacks["$"+c],this;for(var v,w=0;w<f.length;w++)if(v=f[w],v===s||v.fn===s){f.splice(w,1);break}return f.length===0&&delete this._callbacks["$"+c],this};Dt.prototype.emit=function(c){this._callbacks=this._callbacks||{};for(var s=new Array(arguments.length-1),f=this._callbacks["$"+c],v=1;v<arguments.length;v++)s[v-1]=arguments[v];if(f){f=f.slice(0);for(var v=0,w=f.length;v<w;++v)f[v].apply(this,s)}return this};Dt.prototype.emitReserved=Dt.prototype.emit;Dt.prototype.listeners=function(c){return this._callbacks=this._callbacks||{},this._callbacks["$"+c]||[]};Dt.prototype.hasListeners=function(c){return!!this.listeners(c).length}});var ri=_e(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});ji.globalThisShim=void 0;ji.globalThisShim=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())()});var vr=_e(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.byteLength=kn.installTimerFunctions=kn.pick=void 0;var Hi=ri();function uv(c,...s){return s.reduce((f,v)=>(c.hasOwnProperty(v)&&(f[v]=c[v]),f),{})}kn.pick=uv;var cv=setTimeout,fv=clearTimeout;function lv(c,s){s.useNativeTimers?(c.setTimeoutFn=cv.bind(Hi.globalThisShim),c.clearTimeoutFn=fv.bind(Hi.globalThisShim)):(c.setTimeoutFn=setTimeout.bind(Hi.globalThisShim),c.clearTimeoutFn=clearTimeout.bind(Hi.globalThisShim))}kn.installTimerFunctions=lv;var hv=1.33;function dv(c){return typeof c=="string"?pv(c):Math.ceil((c.byteLength||c.size)*hv)}kn.byteLength=dv;function pv(c){let s=0,f=0;for(let v=0,w=c.length;v<w;v++)s=c.charCodeAt(v),s<128?f+=1:s<2048?f+=2:s<55296||s>=57344?f+=3:(v++,f+=4);return f}});var fc=_e(($m,cc)=>{var gr=1e3,$r=gr*60,mr=$r*60,zn=mr*24,vv=zn*7,gv=zn*365.25;cc.exports=function(c,s){s=s||{};var f=typeof c;if(f==="string"&&c.length>0)return $v(c);if(f==="number"&&isFinite(c))return s.long?yv(c):mv(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function $v(c){if(c=String(c),!(c.length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(!!s){var f=parseFloat(s[1]),v=(s[2]||"ms").toLowerCase();switch(v){case"years":case"year":case"yrs":case"yr":case"y":return f*gv;case"weeks":case"week":case"w":return f*vv;case"days":case"day":case"d":return f*zn;case"hours":case"hour":case"hrs":case"hr":case"h":return f*mr;case"minutes":case"minute":case"mins":case"min":case"m":return f*$r;case"seconds":case"second":case"secs":case"sec":case"s":return f*gr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function mv(c){var s=Math.abs(c);return s>=zn?Math.round(c/zn)+"d":s>=mr?Math.round(c/mr)+"h":s>=$r?Math.round(c/$r)+"m":s>=gr?Math.round(c/gr)+"s":c+"ms"}function yv(c){var s=Math.abs(c);return s>=zn?Wi(c,s,zn,"day"):s>=mr?Wi(c,s,mr,"hour"):s>=$r?Wi(c,s,$r,"minute"):s>=gr?Wi(c,s,gr,"second"):c+" ms"}function Wi(c,s,f,v){var w=s>=f*1.5;return Math.round(c/f)+" "+v+(w?"s":"")}});var hc=_e((mm,lc)=>{function bv(c){f.debug=f,f.default=f,f.coerce=pe,f.disable=q,f.enable=w,f.enabled=ae,f.humanize=fc(),f.destroy=Pe,Object.keys(c).forEach(x=>{f[x]=c[x]}),f.names=[],f.skips=[],f.formatters={};function s(x){let S=0;for(let Q=0;Q<x.length;Q++)S=(S<<5)-S+x.charCodeAt(Q),S|=0;return f.colors[Math.abs(S)%f.colors.length]}f.selectColor=s;function f(x){let S,Q=null,se,ge;function j(...P){if(!j.enabled)return;let G=j,X=Number(new Date),ue=X-(S||X);G.diff=ue,G.prev=S,G.curr=X,S=X,P[0]=f.coerce(P[0]),typeof P[0]!="string"&&P.unshift("%O");let Oe=0;P[0]=P[0].replace(/%([a-zA-Z%])/g,(Le,M)=>{if(Le==="%%")return"%";Oe++;let We=f.formatters[M];if(typeof We=="function"){let Ze=P[Oe];Le=We.call(G,Ze),P.splice(Oe,1),Oe--}return Le}),f.formatArgs.call(G,P),(G.log||f.log).apply(G,P)}return j.namespace=x,j.useColors=f.useColors(),j.color=f.selectColor(x),j.extend=v,j.destroy=f.destroy,Object.defineProperty(j,"enabled",{enumerable:!0,configurable:!1,get:()=>Q!==null?Q:(se!==f.namespaces&&(se=f.namespaces,ge=f.enabled(x)),ge),set:P=>{Q=P}}),typeof f.init=="function"&&f.init(j),j}function v(x,S){let Q=f(this.namespace+(typeof S>"u"?":":S)+x);return Q.log=this.log,Q}function w(x){f.save(x),f.namespaces=x,f.names=[],f.skips=[];let S,Q=(typeof x=="string"?x:"").split(/[\s,]+/),se=Q.length;for(S=0;S<se;S++)!Q[S]||(x=Q[S].replace(/\*/g,".*?"),x[0]==="-"?f.skips.push(new RegExp("^"+x.slice(1)+"$")):f.names.push(new RegExp("^"+x+"$")))}function q(){let x=[...f.names.map($e),...f.skips.map($e).map(S=>"-"+S)].join(",");return f.enable(""),x}function ae(x){if(x[x.length-1]==="*")return!0;let S,Q;for(S=0,Q=f.skips.length;S<Q;S++)if(f.skips[S].test(x))return!1;for(S=0,Q=f.names.length;S<Q;S++)if(f.names[S].test(x))return!0;return!1}function $e(x){return x.toString().substring(2,x.toString().length-2).replace(/\.\*\?$/,"*")}function pe(x){return x instanceof Error?x.stack||x.message:x}function Pe(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return f.enable(f.load()),f}lc.exports=bv});var ii=_e((jt,zi)=>{jt.formatArgs=Ev;jt.save=wv;jt.load=Av;jt.useColors=Cv;jt.storage=Sv();jt.destroy=(()=>{let c=!1;return()=>{c||(c=!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`."))}})();jt.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"];function Cv(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Ev(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+zi.exports.humanize(this.diff),!this.useColors)return;let s="color: "+this.color;c.splice(1,0,s,"color: inherit");let f=0,v=0;c[0].replace(/%[a-zA-Z%]/g,w=>{w!=="%%"&&(f++,w==="%c"&&(v=f))}),c.splice(v,0,s)}jt.log=console.debug||console.log||(()=>{});function wv(c){try{c?jt.storage.setItem("debug",c):jt.storage.removeItem("debug")}catch{}}function Av(){let c;try{c=jt.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}function Sv(){try{return localStorage}catch{}}zi.exports=hc()(jt);var{formatters:_v}=zi.exports;_v.j=function(c){try{return JSON.stringify(c)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}});var Gi=_e(yr=>{"use strict";var Tv=yr&&yr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(yr,"__esModule",{value:!0});yr.Transport=void 0;var kv=ni(),Ov=Wn(),xv=vr(),Pv=Tv(ii()),Rv=(0,Pv.default)("engine.io-client:transport"),dc=class extends Error{constructor(s,f,v){super(s);this.description=f,this.context=v,this.type="TransportError"}},pc=class extends Ov.Emitter{constructor(s){super();this.writable=!1,(0,xv.installTimerFunctions)(this,s),this.opts=s,this.query=s.query,this.readyState="",this.socket=s.socket}onError(s,f,v){return super.emitReserved("error",new dc(s,f,v)),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(s){this.readyState==="open"?this.write(s):Rv("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(s){let f=(0,kv.decodePacket)(s,this.socket.binaryType);this.onPacket(f)}onPacket(s){super.emitReserved("packet",s)}onClose(s){this.readyState="closed",super.emitReserved("close",s)}};yr.Transport=pc});var mo=_e(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.yeast=xn.decode=xn.encode=void 0;var $c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Xi=64,mc={},vc=0,On=0,gc;function $o(c){let s="";do s=$c[c%Xi]+s,c=Math.floor(c/Xi);while(c>0);return s}xn.encode=$o;function Mv(c){let s=0;for(On=0;On<c.length;On++)s=s*Xi+mc[c.charAt(On)];return s}xn.decode=Mv;function Fv(){let c=$o(+new Date);return c!==gc?(vc=0,gc=c):c+"."+$o(vc++)}xn.yeast=Fv;for(;On<Xi;On++)mc[$c[On]]=On});var Yi=_e(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});br.decode=br.encode=void 0;function Lv(c){let s="";for(let f in c)c.hasOwnProperty(f)&&(s.length&&(s+="&"),s+=encodeURIComponent(f)+"="+encodeURIComponent(c[f]));return s}br.encode=Lv;function Dv(c){let s={},f=c.split("&");for(let v=0,w=f.length;v<w;v++){let q=f[v].split("=");s[decodeURIComponent(q[0])]=decodeURIComponent(q[1])}return s}br.decode=Dv});var bc=_e(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});Ji.hasCORS=void 0;var yc=!1;try{yc=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}Ji.hasCORS=yc});var Cc=_e(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.XHR=void 0;var Iv=bc(),Nv=ri();function qv(c){let s=c.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!s||Iv.hasCORS))return new XMLHttpRequest}catch{}if(!s)try{return new Nv.globalThisShim[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}Ki.XHR=qv});var Tc=_e(Pn=>{"use strict";var Uv=Pn&&Pn.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Pn,"__esModule",{value:!0});Pn.Request=Pn.Polling=void 0;var Bv=Gi(),Vv=Uv(ii()),jv=mo(),Hv=Yi(),Ec=ni(),Sc=Cc(),Wv=Wn(),wc=vr(),zv=ri(),qt=(0,Vv.default)("engine.io-client:polling");function Gv(){}var Xv=function(){return new Sc.XHR({xdomain:!1}).responseType!=null}(),_c=class extends Bv.Transport{constructor(s){super(s);if(this.polling=!1,typeof location<"u"){let v=location.protocol==="https:",w=location.port;w||(w=v?"443":"80"),this.xd=typeof location<"u"&&s.hostname!==location.hostname||w!==s.port,this.xs=s.secure!==v}let f=s&&s.forceBase64;this.supportsBinary=Xv&&!f}get name(){return"polling"}doOpen(){this.poll()}pause(s){this.readyState="pausing";let f=()=>{qt("paused"),this.readyState="paused",s()};if(this.polling||!this.writable){let v=0;this.polling&&(qt("we are currently polling - waiting to pause"),v++,this.once("pollComplete",function(){qt("pre-pause polling complete"),--v||f()})),this.writable||(qt("we are currently writing - waiting to pause"),v++,this.once("drain",function(){qt("pre-pause writing complete"),--v||f()}))}else f()}poll(){qt("polling"),this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(s){qt("polling got data %s",s);let f=v=>{if(this.readyState==="opening"&&v.type==="open"&&this.onOpen(),v.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(v)};(0,Ec.decodePayload)(s,this.socket.binaryType).forEach(f),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"?this.poll():qt('ignoring poll - transport state "%s"',this.readyState))}doClose(){let s=()=>{qt("writing close packet"),this.write([{type:"close"}])};this.readyState==="open"?(qt("transport open - closing"),s()):(qt("transport not open - deferring close"),this.once("open",s))}write(s){this.writable=!1,(0,Ec.encodePayload)(s,f=>{this.doWrite(f,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let s=this.query||{},f=this.opts.secure?"https":"http",v="";this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=(0,jv.yeast)()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.opts.port&&(f==="https"&&Number(this.opts.port)!==443||f==="http"&&Number(this.opts.port)!==80)&&(v=":"+this.opts.port);let w=(0,Hv.encode)(s),q=this.opts.hostname.indexOf(":")!==-1;return f+"://"+(q?"["+this.opts.hostname+"]":this.opts.hostname)+v+this.opts.path+(w.length?"?"+w:"")}request(s={}){return Object.assign(s,{xd:this.xd,xs:this.xs},this.opts),new Kt(this.uri(),s)}doWrite(s,f){let v=this.request({method:"POST",data:s});v.on("success",f),v.on("error",(w,q)=>{this.onError("xhr post error",w,q)})}doPoll(){qt("xhr poll");let s=this.request();s.on("data",this.onData.bind(this)),s.on("error",(f,v)=>{this.onError("xhr poll error",f,v)}),this.pollXhr=s}};Pn.Polling=_c;var Kt=class extends Wv.Emitter{constructor(s,f){super();(0,wc.installTimerFunctions)(this,f),this.opts=f,this.method=f.method||"GET",this.uri=s,this.async=f.async!==!1,this.data=f.data!==void 0?f.data:null,this.create()}create(){let s=(0,wc.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this.opts.xd,s.xscheme=!!this.opts.xs;let f=this.xhr=new Sc.XHR(s);try{qt("xhr open %s: %s",this.method,this.uri),f.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){f.setDisableHeaderCheck&&f.setDisableHeaderCheck(!0);for(let v in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(v)&&f.setRequestHeader(v,this.opts.extraHeaders[v])}}catch{}if(this.method==="POST")try{f.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{f.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in f&&(f.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(f.timeout=this.opts.requestTimeout),f.onreadystatechange=()=>{f.readyState===4&&(f.status===200||f.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof f.status=="number"?f.status:0)},0))},qt("xhr data %s",this.data),f.send(this.data)}catch(v){this.setTimeoutFn(()=>{this.onError(v)},0);return}typeof document<"u"&&(this.index=Kt.requestsCount++,Kt.requests[this.index]=this)}onError(s){this.emitReserved("error",s,this.xhr),this.cleanup(!0)}cleanup(s){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=Gv,s)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Kt.requests[this.index],this.xhr=null}}onLoad(){let s=this.xhr.responseText;s!==null&&(this.emitReserved("data",s),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}};Pn.Request=Kt;Kt.requestsCount=0;Kt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Ac);else if(typeof addEventListener=="function"){let c="onpagehide"in zv.globalThisShim?"pagehide":"unload";addEventListener(c,Ac,!1)}}function Ac(){for(let c in Kt.requests)Kt.requests.hasOwnProperty(c)&&Kt.requests[c].abort()}});var yo=_e(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.defaultBinaryType=pn.usingBrowserWebSocket=pn.WebSocket=pn.nextTick=void 0;var kc=ri();pn.nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?s=>Promise.resolve().then(s):(s,f)=>f(s,0))();pn.WebSocket=kc.globalThisShim.WebSocket||kc.globalThisShim.MozWebSocket;pn.usingBrowserWebSocket=!0;pn.defaultBinaryType="arraybuffer"});var Pc=_e(Cr=>{"use strict";var Yv=Cr&&Cr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.WS=void 0;var Jv=Gi(),Kv=Yi(),Zv=mo(),Qv=vr(),Cn=yo(),eg=Yv(ii()),tg=ni(),ng=(0,eg.default)("engine.io-client:websocket"),Oc=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",xc=class extends Jv.Transport{constructor(s){super(s);this.supportsBinary=!s.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;let s=this.uri(),f=this.opts.protocols,v=Oc?{}:(0,Qv.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(v.headers=this.opts.extraHeaders);try{this.ws=Cn.usingBrowserWebSocket&&!Oc?f?new Cn.WebSocket(s,f):new Cn.WebSocket(s):new Cn.WebSocket(s,f,v)}catch(w){return this.emitReserved("error",w)}this.ws.binaryType=this.socket.binaryType||Cn.defaultBinaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=s=>this.onClose({description:"websocket connection closed",context:s}),this.ws.onmessage=s=>this.onData(s.data),this.ws.onerror=s=>this.onError("websocket error",s)}write(s){this.writable=!1;for(let f=0;f<s.length;f++){let v=s[f],w=f===s.length-1;(0,tg.encodePacket)(v,this.supportsBinary,q=>{let ae={};Cn.usingBrowserWebSocket||(v.options&&(ae.compress=v.options.compress),this.opts.perMessageDeflate&&(typeof q=="string"?Buffer.byteLength(q):q.length)<this.opts.perMessageDeflate.threshold&&(ae.compress=!1));try{Cn.usingBrowserWebSocket?this.ws.send(q):this.ws.send(q,ae)}catch{ng("websocket closed before onclose event")}w&&(0,Cn.nextTick)(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let s=this.query||{},f=this.opts.secure?"wss":"ws",v="";this.opts.port&&(f==="wss"&&Number(this.opts.port)!==443||f==="ws"&&Number(this.opts.port)!==80)&&(v=":"+this.opts.port),this.opts.timestampRequests&&(s[this.opts.timestampParam]=(0,Zv.yeast)()),this.supportsBinary||(s.b64=1);let w=(0,Kv.encode)(s),q=this.opts.hostname.indexOf(":")!==-1;return f+"://"+(q?"["+this.opts.hostname+"]":this.opts.hostname)+v+this.opts.path+(w.length?"?"+w:"")}check(){return!!Cn.WebSocket}};Cr.WS=xc});var bo=_e(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});Zi.transports=void 0;var rg=Tc(),ig=Pc();Zi.transports={websocket:ig.WS,polling:rg.Polling}});var Co=_e(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.parse=void 0;var sg=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,og=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ag(c){let s=c,f=c.indexOf("["),v=c.indexOf("]");f!=-1&&v!=-1&&(c=c.substring(0,f)+c.substring(f,v).replace(/:/g,";")+c.substring(v,c.length));let w=sg.exec(c||""),q={},ae=14;for(;ae--;)q[og[ae]]=w[ae]||"";return f!=-1&&v!=-1&&(q.source=s,q.host=q.host.substring(1,q.host.length-1).replace(/;/g,":"),q.authority=q.authority.replace("[","").replace("]","").replace(/;/g,":"),q.ipv6uri=!0),q.pathNames=ug(q,q.path),q.queryKey=cg(q,q.query),q}Qi.parse=ag;function ug(c,s){let f=/\/{2,9}/g,v=s.replace(f,"/").split("/");return(s.slice(0,1)=="/"||s.length===0)&&v.splice(0,1),s.slice(-1)=="/"&&v.splice(v.length-1,1),v}function cg(c,s){let f={};return s.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(v,w,q){w&&(f[w]=q)}),f}});var Lc=_e(Er=>{"use strict";var fg=Er&&Er.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Er,"__esModule",{value:!0});Er.Socket=void 0;var lg=bo(),Rc=vr(),hg=Yi(),Mc=Co(),dg=fg(ii()),pg=Wn(),Fc=ni(),ut=(0,dg.default)("engine.io-client:socket"),En=class extends pg.Emitter{constructor(s,f={}){super();s&&typeof s=="object"&&(f=s,s=null),s?(s=(0,Mc.parse)(s),f.hostname=s.host,f.secure=s.protocol==="https"||s.protocol==="wss",f.port=s.port,s.query&&(f.query=s.query)):f.host&&(f.hostname=(0,Mc.parse)(f.host).host),(0,Rc.installTimerFunctions)(this,f),this.secure=f.secure!=null?f.secure:typeof location<"u"&&location.protocol==="https:",f.hostname&&!f.port&&(f.port=this.secure?"443":"80"),this.hostname=f.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=f.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=f.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},f),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=(0,hg.decode)(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(s){ut('creating transport "%s"',s);let f=Object.assign({},this.opts.query);f.EIO=Fc.protocol,f.transport=s,this.id&&(f.sid=this.id);let v=Object.assign({},this.opts.transportOptions[s],this.opts,{query:f,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return ut("options: %j",v),new lg.transports[s](v)}open(){let s;if(this.opts.rememberUpgrade&&En.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)s="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else s=this.transports[0];this.readyState="opening";try{s=this.createTransport(s)}catch(f){ut("error while creating transport: %s",f),this.transports.shift(),this.open();return}s.open(),this.setTransport(s)}setTransport(s){ut("setting transport %s",s.name),this.transport&&(ut("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=s,s.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",f=>this.onClose("transport close",f))}probe(s){ut('probing transport "%s"',s);let f=this.createTransport(s),v=!1;En.priorWebsocketSuccess=!1;let w=()=>{v||(ut('probe transport "%s" opened',s),f.send([{type:"ping",data:"probe"}]),f.once("packet",S=>{if(!v)if(S.type==="pong"&&S.data==="probe"){if(ut('probe transport "%s" pong',s),this.upgrading=!0,this.emitReserved("upgrading",f),!f)return;En.priorWebsocketSuccess=f.name==="websocket",ut('pausing current transport "%s"',this.transport.name),this.transport.pause(()=>{v||this.readyState!=="closed"&&(ut("changing transport and sending upgrade packet"),x(),this.setTransport(f),f.send([{type:"upgrade"}]),this.emitReserved("upgrade",f),f=null,this.upgrading=!1,this.flush())})}else{ut('probe transport "%s" failed',s);let Q=new Error("probe error");Q.transport=f.name,this.emitReserved("upgradeError",Q)}}))};function q(){v||(v=!0,x(),f.close(),f=null)}let ae=S=>{let Q=new Error("probe error: "+S);Q.transport=f.name,q(),ut('probe transport "%s" failed because of error: %s',s,S),this.emitReserved("upgradeError",Q)};function $e(){ae("transport closed")}function pe(){ae("socket closed")}function Pe(S){f&&S.name!==f.name&&(ut('"%s" works - aborting "%s"',S.name,f.name),q())}let x=()=>{f.removeListener("open",w),f.removeListener("error",ae),f.removeListener("close",$e),this.off("close",pe),this.off("upgrading",Pe)};f.once("open",w),f.once("error",ae),f.once("close",$e),this.once("close",pe),this.once("upgrading",Pe),f.open()}onOpen(){if(ut("socket open"),this.readyState="open",En.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){ut("starting upgrade probes");let s=0,f=this.upgrades.length;for(;s<f;s++)this.probe(this.upgrades[s])}}onPacket(s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(ut('socket receive: type "%s", data "%s"',s.type,s.data),this.emitReserved("packet",s),this.emitReserved("heartbeat"),s.type){case"open":this.onHandshake(JSON.parse(s.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":let f=new Error("server error");f.code=s.data,this.onError(f);break;case"message":this.emitReserved("data",s.data),this.emitReserved("message",s.data);break}else ut('packet received with socket readyState "%s"',this.readyState)}onHandshake(s){this.emitReserved("handshake",s),this.id=s.sid,this.transport.query.sid=s.sid,this.upgrades=this.filterUpgrades(s.upgrades),this.pingInterval=s.pingInterval,this.pingTimeout=s.pingTimeout,this.maxPayload=s.maxPayload,this.onOpen(),this.readyState!=="closed"&&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,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let s=this.getWritablePackets();ut("flushing %d packets in socket",s.length),this.transport.send(s),this.prevBufferLen=s.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let f=1;for(let v=0;v<this.writeBuffer.length;v++){let w=this.writeBuffer[v].data;if(w&&(f+=(0,Rc.byteLength)(w)),v>0&&f>this.maxPayload)return ut("only send %d out of %d packets",v,this.writeBuffer.length),this.writeBuffer.slice(0,v);f+=2}return ut("payload size is %d (max: %d)",f,this.maxPayload),this.writeBuffer}write(s,f,v){return this.sendPacket("message",s,f,v),this}send(s,f,v){return this.sendPacket("message",s,f,v),this}sendPacket(s,f,v,w){if(typeof f=="function"&&(w=f,f=void 0),typeof v=="function"&&(w=v,v=null),this.readyState==="closing"||this.readyState==="closed")return;v=v||{},v.compress=v.compress!==!1;let q={type:s,data:f,options:v};this.emitReserved("packetCreate",q),this.writeBuffer.push(q),w&&this.once("flush",w),this.flush()}close(){let s=()=>{this.onClose("forced close"),ut("socket closing - telling transport to close"),this.transport.close()},f=()=>{this.off("upgrade",f),this.off("upgradeError",f),s()},v=()=>{this.once("upgrade",f),this.once("upgradeError",f)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?v():s()}):this.upgrading?v():s()),this}onError(s){ut("socket error %j",s),En.priorWebsocketSuccess=!1,this.emitReserved("error",s),this.onClose("transport error",s)}onClose(s,f){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(ut('socket close with reason: "%s"',s),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",s,f),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(s){let f=[],v=0,w=s.length;for(;v<w;v++)~this.transports.indexOf(s[v])&&f.push(s[v]);return f}};Er.Socket=En;En.protocol=Fc.protocol});var Eo=_e(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.nextTick=xt.parse=xt.installTimerFunctions=xt.transports=xt.Transport=xt.protocol=xt.Socket=void 0;var Dc=Lc();Object.defineProperty(xt,"Socket",{enumerable:!0,get:function(){return Dc.Socket}});xt.protocol=Dc.Socket.protocol;var vg=Gi();Object.defineProperty(xt,"Transport",{enumerable:!0,get:function(){return vg.Transport}});var gg=bo();Object.defineProperty(xt,"transports",{enumerable:!0,get:function(){return gg.transports}});var $g=vr();Object.defineProperty(xt,"installTimerFunctions",{enumerable:!0,get:function(){return $g.installTimerFunctions}});var mg=Co();Object.defineProperty(xt,"parse",{enumerable:!0,get:function(){return mg.parse}});var yg=yo();Object.defineProperty(xt,"nextTick",{enumerable:!0,get:function(){return yg.nextTick}})});var Nc=_e((Pm,Ic)=>{var wr=1e3,Ar=wr*60,Sr=Ar*60,Gn=Sr*24,bg=Gn*7,Cg=Gn*365.25;Ic.exports=function(c,s){s=s||{};var f=typeof c;if(f==="string"&&c.length>0)return Eg(c);if(f==="number"&&isFinite(c))return s.long?Ag(c):wg(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function Eg(c){if(c=String(c),!(c.length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(!!s){var f=parseFloat(s[1]),v=(s[2]||"ms").toLowerCase();switch(v){case"years":case"year":case"yrs":case"yr":case"y":return f*Cg;case"weeks":case"week":case"w":return f*bg;case"days":case"day":case"d":return f*Gn;case"hours":case"hour":case"hrs":case"hr":case"h":return f*Sr;case"minutes":case"minute":case"mins":case"min":case"m":return f*Ar;case"seconds":case"second":case"secs":case"sec":case"s":return f*wr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function wg(c){var s=Math.abs(c);return s>=Gn?Math.round(c/Gn)+"d":s>=Sr?Math.round(c/Sr)+"h":s>=Ar?Math.round(c/Ar)+"m":s>=wr?Math.round(c/wr)+"s":c+"ms"}function Ag(c){var s=Math.abs(c);return s>=Gn?es(c,s,Gn,"day"):s>=Sr?es(c,s,Sr,"hour"):s>=Ar?es(c,s,Ar,"minute"):s>=wr?es(c,s,wr,"second"):c+" ms"}function es(c,s,f,v){var w=s>=f*1.5;return Math.round(c/f)+" "+v+(w?"s":"")}});var Uc=_e((Rm,qc)=>{function Sg(c){f.debug=f,f.default=f,f.coerce=pe,f.disable=q,f.enable=w,f.enabled=ae,f.humanize=Nc(),f.destroy=Pe,Object.keys(c).forEach(x=>{f[x]=c[x]}),f.names=[],f.skips=[],f.formatters={};function s(x){let S=0;for(let Q=0;Q<x.length;Q++)S=(S<<5)-S+x.charCodeAt(Q),S|=0;return f.colors[Math.abs(S)%f.colors.length]}f.selectColor=s;function f(x){let S,Q=null,se,ge;function j(...P){if(!j.enabled)return;let G=j,X=Number(new Date),ue=X-(S||X);G.diff=ue,G.prev=S,G.curr=X,S=X,P[0]=f.coerce(P[0]),typeof P[0]!="string"&&P.unshift("%O");let Oe=0;P[0]=P[0].replace(/%([a-zA-Z%])/g,(Le,M)=>{if(Le==="%%")return"%";Oe++;let We=f.formatters[M];if(typeof We=="function"){let Ze=P[Oe];Le=We.call(G,Ze),P.splice(Oe,1),Oe--}return Le}),f.formatArgs.call(G,P),(G.log||f.log).apply(G,P)}return j.namespace=x,j.useColors=f.useColors(),j.color=f.selectColor(x),j.extend=v,j.destroy=f.destroy,Object.defineProperty(j,"enabled",{enumerable:!0,configurable:!1,get:()=>Q!==null?Q:(se!==f.namespaces&&(se=f.namespaces,ge=f.enabled(x)),ge),set:P=>{Q=P}}),typeof f.init=="function"&&f.init(j),j}function v(x,S){let Q=f(this.namespace+(typeof S>"u"?":":S)+x);return Q.log=this.log,Q}function w(x){f.save(x),f.namespaces=x,f.names=[],f.skips=[];let S,Q=(typeof x=="string"?x:"").split(/[\s,]+/),se=Q.length;for(S=0;S<se;S++)!Q[S]||(x=Q[S].replace(/\*/g,".*?"),x[0]==="-"?f.skips.push(new RegExp("^"+x.substr(1)+"$")):f.names.push(new RegExp("^"+x+"$")))}function q(){let x=[...f.names.map($e),...f.skips.map($e).map(S=>"-"+S)].join(",");return f.enable(""),x}function ae(x){if(x[x.length-1]==="*")return!0;let S,Q;for(S=0,Q=f.skips.length;S<Q;S++)if(f.skips[S].test(x))return!1;for(S=0,Q=f.names.length;S<Q;S++)if(f.names[S].test(x))return!0;return!1}function $e(x){return x.toString().substring(2,x.toString().length-2).replace(/\.\*\?$/,"*")}function pe(x){return x instanceof Error?x.stack||x.message:x}function Pe(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return f.enable(f.load()),f}qc.exports=Sg});var si=_e((Ht,ts)=>{Ht.formatArgs=Tg;Ht.save=kg;Ht.load=Og;Ht.useColors=_g;Ht.storage=xg();Ht.destroy=(()=>{let c=!1;return()=>{c||(c=!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`."))}})();Ht.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"];function _g(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Tg(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+ts.exports.humanize(this.diff),!this.useColors)return;let s="color: "+this.color;c.splice(1,0,s,"color: inherit");let f=0,v=0;c[0].replace(/%[a-zA-Z%]/g,w=>{w!=="%%"&&(f++,w==="%c"&&(v=f))}),c.splice(v,0,s)}Ht.log=console.debug||console.log||(()=>{});function kg(c){try{c?Ht.storage.setItem("debug",c):Ht.storage.removeItem("debug")}catch{}}function Og(){let c;try{c=Ht.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}function xg(){try{return localStorage}catch{}}ts.exports=Uc()(Ht);var{formatters:Pg}=ts.exports;Pg.j=function(c){try{return JSON.stringify(c)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}});var Vc=_e(_r=>{"use strict";var Rg=_r&&_r.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(_r,"__esModule",{value:!0});_r.url=void 0;var Mg=Eo(),Fg=Rg(si()),Bc=Fg.default("socket.io-client:url");function Lg(c,s="",f){let v=c;f=f||typeof location<"u"&&location,c==null&&(c=f.protocol+"//"+f.host),typeof c=="string"&&(c.charAt(0)==="/"&&(c.charAt(1)==="/"?c=f.protocol+c:c=f.host+c),/^(https?|wss?):\/\//.test(c)||(Bc("protocol-less url %s",c),typeof f<"u"?c=f.protocol+"//"+c:c="https://"+c),Bc("parse %s",c),v=Mg.parse(c)),v.port||(/^(http|ws)$/.test(v.protocol)?v.port="80":/^(http|ws)s$/.test(v.protocol)&&(v.port="443")),v.path=v.path||"/";let q=v.host.indexOf(":")!==-1?"["+v.host+"]":v.host;return v.id=v.protocol+"://"+q+":"+v.port+s,v.href=v.protocol+"://"+q+(f&&f.port===v.port?"":":"+v.port),v}_r.url=Lg});var wo=_e(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.hasBinary=Tr.isBinary=void 0;var Dg=typeof ArrayBuffer=="function",Ig=c=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(c):c.buffer instanceof ArrayBuffer,jc=Object.prototype.toString,Ng=typeof Blob=="function"||typeof Blob<"u"&&jc.call(Blob)==="[object BlobConstructor]",qg=typeof File=="function"||typeof File<"u"&&jc.call(File)==="[object FileConstructor]";function Hc(c){return Dg&&(c instanceof ArrayBuffer||Ig(c))||Ng&&c instanceof Blob||qg&&c instanceof File}Tr.isBinary=Hc;function ns(c,s){if(!c||typeof c!="object")return!1;if(Array.isArray(c)){for(let f=0,v=c.length;f<v;f++)if(ns(c[f]))return!0;return!1}if(Hc(c))return!0;if(c.toJSON&&typeof c.toJSON=="function"&&arguments.length===1)return ns(c.toJSON(),!0);for(let f in c)if(Object.prototype.hasOwnProperty.call(c,f)&&ns(c[f]))return!0;return!1}Tr.hasBinary=ns});var Wc=_e(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.reconstructPacket=kr.deconstructPacket=void 0;var Ug=wo();function Bg(c){let s=[],f=c.data,v=c;return v.data=Ao(f,s),v.attachments=s.length,{packet:v,buffers:s}}kr.deconstructPacket=Bg;function Ao(c,s){if(!c)return c;if(Ug.isBinary(c)){let f={_placeholder:!0,num:s.length};return s.push(c),f}else if(Array.isArray(c)){let f=new Array(c.length);for(let v=0;v<c.length;v++)f[v]=Ao(c[v],s);return f}else if(typeof c=="object"&&!(c instanceof Date)){let f={};for(let v in c)Object.prototype.hasOwnProperty.call(c,v)&&(f[v]=Ao(c[v],s));return f}return c}function Vg(c,s){return c.data=So(c.data,s),c.attachments=void 0,c}kr.reconstructPacket=Vg;function So(c,s){if(!c)return c;if(c&&c._placeholder===!0){if(typeof c.num=="number"&&c.num>=0&&c.num<s.length)return s[c.num];throw new Error("illegal attachments")}else if(Array.isArray(c))for(let f=0;f<c.length;f++)c[f]=So(c[f],s);else if(typeof c=="object")for(let f in c)Object.prototype.hasOwnProperty.call(c,f)&&(c[f]=So(c[f],s));return c}});var Gc=_e((Dm,zc)=>{var Or=1e3,xr=Or*60,Pr=xr*60,Xn=Pr*24,jg=Xn*7,Hg=Xn*365.25;zc.exports=function(c,s){s=s||{};var f=typeof c;if(f==="string"&&c.length>0)return Wg(c);if(f==="number"&&isFinite(c))return s.long?Gg(c):zg(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function Wg(c){if(c=String(c),!(c.length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(!!s){var f=parseFloat(s[1]),v=(s[2]||"ms").toLowerCase();switch(v){case"years":case"year":case"yrs":case"yr":case"y":return f*Hg;case"weeks":case"week":case"w":return f*jg;case"days":case"day":case"d":return f*Xn;case"hours":case"hour":case"hrs":case"hr":case"h":return f*Pr;case"minutes":case"minute":case"mins":case"min":case"m":return f*xr;case"seconds":case"second":case"secs":case"sec":case"s":return f*Or;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function zg(c){var s=Math.abs(c);return s>=Xn?Math.round(c/Xn)+"d":s>=Pr?Math.round(c/Pr)+"h":s>=xr?Math.round(c/xr)+"m":s>=Or?Math.round(c/Or)+"s":c+"ms"}function Gg(c){var s=Math.abs(c);return s>=Xn?rs(c,s,Xn,"day"):s>=Pr?rs(c,s,Pr,"hour"):s>=xr?rs(c,s,xr,"minute"):s>=Or?rs(c,s,Or,"second"):c+" ms"}function rs(c,s,f,v){var w=s>=f*1.5;return Math.round(c/f)+" "+v+(w?"s":"")}});var Yc=_e((Im,Xc)=>{function Xg(c){f.debug=f,f.default=f,f.coerce=pe,f.disable=q,f.enable=w,f.enabled=ae,f.humanize=Gc(),f.destroy=Pe,Object.keys(c).forEach(x=>{f[x]=c[x]}),f.names=[],f.skips=[],f.formatters={};function s(x){let S=0;for(let Q=0;Q<x.length;Q++)S=(S<<5)-S+x.charCodeAt(Q),S|=0;return f.colors[Math.abs(S)%f.colors.length]}f.selectColor=s;function f(x){let S,Q=null,se,ge;function j(...P){if(!j.enabled)return;let G=j,X=Number(new Date),ue=X-(S||X);G.diff=ue,G.prev=S,G.curr=X,S=X,P[0]=f.coerce(P[0]),typeof P[0]!="string"&&P.unshift("%O");let Oe=0;P[0]=P[0].replace(/%([a-zA-Z%])/g,(Le,M)=>{if(Le==="%%")return"%";Oe++;let We=f.formatters[M];if(typeof We=="function"){let Ze=P[Oe];Le=We.call(G,Ze),P.splice(Oe,1),Oe--}return Le}),f.formatArgs.call(G,P),(G.log||f.log).apply(G,P)}return j.namespace=x,j.useColors=f.useColors(),j.color=f.selectColor(x),j.extend=v,j.destroy=f.destroy,Object.defineProperty(j,"enabled",{enumerable:!0,configurable:!1,get:()=>Q!==null?Q:(se!==f.namespaces&&(se=f.namespaces,ge=f.enabled(x)),ge),set:P=>{Q=P}}),typeof f.init=="function"&&f.init(j),j}function v(x,S){let Q=f(this.namespace+(typeof S>"u"?":":S)+x);return Q.log=this.log,Q}function w(x){f.save(x),f.namespaces=x,f.names=[],f.skips=[];let S,Q=(typeof x=="string"?x:"").split(/[\s,]+/),se=Q.length;for(S=0;S<se;S++)!Q[S]||(x=Q[S].replace(/\*/g,".*?"),x[0]==="-"?f.skips.push(new RegExp("^"+x.slice(1)+"$")):f.names.push(new RegExp("^"+x+"$")))}function q(){let x=[...f.names.map($e),...f.skips.map($e).map(S=>"-"+S)].join(",");return f.enable(""),x}function ae(x){if(x[x.length-1]==="*")return!0;let S,Q;for(S=0,Q=f.skips.length;S<Q;S++)if(f.skips[S].test(x))return!1;for(S=0,Q=f.names.length;S<Q;S++)if(f.names[S].test(x))return!0;return!1}function $e(x){return x.toString().substring(2,x.toString().length-2).replace(/\.\*\?$/,"*")}function pe(x){return x instanceof Error?x.stack||x.message:x}function Pe(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return f.enable(f.load()),f}Xc.exports=Xg});var Jc=_e((Wt,is)=>{Wt.formatArgs=Jg;Wt.save=Kg;Wt.load=Zg;Wt.useColors=Yg;Wt.storage=Qg();Wt.destroy=(()=>{let c=!1;return()=>{c||(c=!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`."))}})();Wt.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"];function Yg(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Jg(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+is.exports.humanize(this.diff),!this.useColors)return;let s="color: "+this.color;c.splice(1,0,s,"color: inherit");let f=0,v=0;c[0].replace(/%[a-zA-Z%]/g,w=>{w!=="%%"&&(f++,w==="%c"&&(v=f))}),c.splice(v,0,s)}Wt.log=console.debug||console.log||(()=>{});function Kg(c){try{c?Wt.storage.setItem("debug",c):Wt.storage.removeItem("debug")}catch{}}function Zg(){let c;try{c=Wt.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}function Qg(){try{return localStorage}catch{}}is.exports=Yc()(Wt);var{formatters:e$}=is.exports;e$.j=function(c){try{return JSON.stringify(c)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}});var os=_e(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.Decoder=an.Encoder=an.PacketType=an.protocol=void 0;var t$=Wn(),Kc=Wc(),Zc=wo(),n$=Jc(),_o=n$.default("socket.io-parser");an.protocol=5;var mt;(function(c){c[c.CONNECT=0]="CONNECT",c[c.DISCONNECT=1]="DISCONNECT",c[c.EVENT=2]="EVENT",c[c.ACK=3]="ACK",c[c.CONNECT_ERROR=4]="CONNECT_ERROR",c[c.BINARY_EVENT=5]="BINARY_EVENT",c[c.BINARY_ACK=6]="BINARY_ACK"})(mt=an.PacketType||(an.PacketType={}));var Qc=class{constructor(s){this.replacer=s}encode(s){return _o("encoding packet %j",s),(s.type===mt.EVENT||s.type===mt.ACK)&&Zc.hasBinary(s)?(s.type=s.type===mt.EVENT?mt.BINARY_EVENT:mt.BINARY_ACK,this.encodeAsBinary(s)):[this.encodeAsString(s)]}encodeAsString(s){let f=""+s.type;return(s.type===mt.BINARY_EVENT||s.type===mt.BINARY_ACK)&&(f+=s.attachments+"-"),s.nsp&&s.nsp!=="/"&&(f+=s.nsp+","),s.id!=null&&(f+=s.id),s.data!=null&&(f+=JSON.stringify(s.data,this.replacer)),_o("encoded %j as %s",s,f),f}encodeAsBinary(s){let f=Kc.deconstructPacket(s),v=this.encodeAsString(f.packet),w=f.buffers;return w.unshift(v),w}};an.Encoder=Qc;var ss=class extends t$.Emitter{constructor(s){super();this.reviver=s}add(s){let f;if(typeof s=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");f=this.decodeString(s),f.type===mt.BINARY_EVENT||f.type===mt.BINARY_ACK?(this.reconstructor=new ef(f),f.attachments===0&&super.emitReserved("decoded",f)):super.emitReserved("decoded",f)}else if(Zc.isBinary(s)||s.base64)if(this.reconstructor)f=this.reconstructor.takeBinaryData(s),f&&(this.reconstructor=null,super.emitReserved("decoded",f));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+s)}decodeString(s){let f=0,v={type:Number(s.charAt(0))};if(mt[v.type]===void 0)throw new Error("unknown packet type "+v.type);if(v.type===mt.BINARY_EVENT||v.type===mt.BINARY_ACK){let q=f+1;for(;s.charAt(++f)!=="-"&&f!=s.length;);let ae=s.substring(q,f);if(ae!=Number(ae)||s.charAt(f)!=="-")throw new Error("Illegal attachments");v.attachments=Number(ae)}if(s.charAt(f+1)==="/"){let q=f+1;for(;++f&&!(s.charAt(f)===","||f===s.length););v.nsp=s.substring(q,f)}else v.nsp="/";let w=s.charAt(f+1);if(w!==""&&Number(w)==w){let q=f+1;for(;++f;){let ae=s.charAt(f);if(ae==null||Number(ae)!=ae){--f;break}if(f===s.length)break}v.id=Number(s.substring(q,f+1))}if(s.charAt(++f)){let q=this.tryParse(s.substr(f));if(ss.isPayloadValid(v.type,q))v.data=q;else throw new Error("invalid payload")}return _o("decoded %s as %j",s,v),v}tryParse(s){try{return JSON.parse(s,this.reviver)}catch{return!1}}static isPayloadValid(s,f){switch(s){case mt.CONNECT:return typeof f=="object";case mt.DISCONNECT:return f===void 0;case mt.CONNECT_ERROR:return typeof f=="string"||typeof f=="object";case mt.EVENT:case mt.BINARY_EVENT:return Array.isArray(f)&&f.length>0;case mt.ACK:case mt.BINARY_ACK:return Array.isArray(f)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}};an.Decoder=ss;var ef=class{constructor(s){this.packet=s,this.buffers=[],this.reconPack=s}takeBinaryData(s){if(this.buffers.push(s),this.buffers.length===this.reconPack.attachments){let f=Kc.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),f}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}});var To=_e(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});as.on=void 0;function r$(c,s,f){return c.on(s,f),function(){c.off(s,f)}}as.on=r$});var ko=_e(Rr=>{"use strict";var i$=Rr&&Rr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Rr,"__esModule",{value:!0});Rr.Socket=void 0;var Zt=os(),us=To(),s$=Wn(),o$=i$(si()),Ut=o$.default("socket.io-client:socket"),a$=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),tf=class extends s$.Emitter{constructor(s,f,v){super();this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=s,this.nsp=f,v&&v.auth&&(this.auth=v.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let s=this.io;this.subs=[us.on(s,"open",this.onopen.bind(this)),us.on(s,"packet",this.onpacket.bind(this)),us.on(s,"error",this.onerror.bind(this)),us.on(s,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...s){return s.unshift("message"),this.emit.apply(this,s),this}emit(s,...f){if(a$.hasOwnProperty(s))throw new Error('"'+s.toString()+'" is a reserved event name');f.unshift(s);let v={type:Zt.PacketType.EVENT,data:f};if(v.options={},v.options.compress=this.flags.compress!==!1,typeof f[f.length-1]=="function"){let ae=this.ids++;Ut("emitting packet with ack id %d",ae);let $e=f.pop();this._registerAckCallback(ae,$e),v.id=ae}let w=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!w||!this.connected)?Ut("discard packet as the transport is not currently writable"):this.connected?(this.notifyOutgoingListeners(v),this.packet(v)):this.sendBuffer.push(v),this.flags={},this}_registerAckCallback(s,f){let v=this.flags.timeout;if(v===void 0){this.acks[s]=f;return}let w=this.io.setTimeoutFn(()=>{delete this.acks[s];for(let q=0;q<this.sendBuffer.length;q++)this.sendBuffer[q].id===s&&(Ut("removing packet with ack id %d from the buffer",s),this.sendBuffer.splice(q,1));Ut("event with ack id %d has timed out after %d ms",s,v),f.call(this,new Error("operation has timed out"))},v);this.acks[s]=(...q)=>{this.io.clearTimeoutFn(w),f.apply(this,[null,...q])}}packet(s){s.nsp=this.nsp,this.io._packet(s)}onopen(){Ut("transport is open - connecting"),typeof this.auth=="function"?this.auth(s=>{this.packet({type:Zt.PacketType.CONNECT,data:s})}):this.packet({type:Zt.PacketType.CONNECT,data:this.auth})}onerror(s){this.connected||this.emitReserved("connect_error",s)}onclose(s,f){Ut("close (%s)",s),this.connected=!1,delete this.id,this.emitReserved("disconnect",s,f)}onpacket(s){if(s.nsp===this.nsp)switch(s.type){case Zt.PacketType.CONNECT:if(s.data&&s.data.sid){let w=s.data.sid;this.onconnect(w)}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 Zt.PacketType.EVENT:case Zt.PacketType.BINARY_EVENT:this.onevent(s);break;case Zt.PacketType.ACK:case Zt.PacketType.BINARY_ACK:this.onack(s);break;case Zt.PacketType.DISCONNECT:this.ondisconnect();break;case Zt.PacketType.CONNECT_ERROR:this.destroy();let v=new Error(s.data.message);v.data=s.data.data,this.emitReserved("connect_error",v);break}}onevent(s){let f=s.data||[];Ut("emitting event %j",f),s.id!=null&&(Ut("attaching ack callback to event"),f.push(this.ack(s.id))),this.connected?this.emitEvent(f):this.receiveBuffer.push(Object.freeze(f))}emitEvent(s){if(this._anyListeners&&this._anyListeners.length){let f=this._anyListeners.slice();for(let v of f)v.apply(this,s)}super.emit.apply(this,s)}ack(s){let f=this,v=!1;return function(...w){v||(v=!0,Ut("sending ack %j",w),f.packet({type:Zt.PacketType.ACK,id:s,data:w}))}}onack(s){let f=this.acks[s.id];typeof f=="function"?(Ut("calling ack %s with %j",s.id,s.data),f.apply(this,s.data),delete this.acks[s.id]):Ut("bad ack %s",s.id)}onconnect(s){Ut("socket connected with id %s",s),this.id=s,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(s=>this.emitEvent(s)),this.receiveBuffer=[],this.sendBuffer.forEach(s=>{this.notifyOutgoingListeners(s),this.packet(s)}),this.sendBuffer=[]}ondisconnect(){Ut("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(s=>s()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(Ut("performing disconnect (%s)",this.nsp),this.packet({type:Zt.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(s){return this.flags.compress=s,this}get volatile(){return this.flags.volatile=!0,this}timeout(s){return this.flags.timeout=s,this}onAny(s){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(s),this}prependAny(s){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(s),this}offAny(s){if(!this._anyListeners)return this;if(s){let f=this._anyListeners;for(let v=0;v<f.length;v++)if(s===f[v])return f.splice(v,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(s){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(s),this}prependAnyOutgoing(s){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(s),this}offAnyOutgoing(s){if(!this._anyOutgoingListeners)return this;if(s){let f=this._anyOutgoingListeners;for(let v=0;v<f.length;v++)if(s===f[v])return f.splice(v,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(s){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){let f=this._anyOutgoingListeners.slice();for(let v of f)v.apply(this,s.data)}}};Rr.Socket=tf});var nf=_e(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});cs.Backoff=void 0;function Mr(c){c=c||{},this.ms=c.min||100,this.max=c.max||1e4,this.factor=c.factor||2,this.jitter=c.jitter>0&&c.jitter<=1?c.jitter:0,this.attempts=0}cs.Backoff=Mr;Mr.prototype.duration=function(){var c=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var s=Math.random(),f=Math.floor(s*this.jitter*c);c=(Math.floor(s*10)&1)==0?c-f:c+f}return Math.min(c,this.max)|0};Mr.prototype.reset=function(){this.attempts=0};Mr.prototype.setMin=function(c){this.ms=c};Mr.prototype.setMax=function(c){this.max=c};Mr.prototype.setJitter=function(c){this.jitter=c}});var sf=_e(Qt=>{"use strict";var u$=Qt&&Qt.__createBinding||(Object.create?function(c,s,f,v){v===void 0&&(v=f),Object.defineProperty(c,v,{enumerable:!0,get:function(){return s[f]}})}:function(c,s,f,v){v===void 0&&(v=f),c[v]=s[f]}),c$=Qt&&Qt.__setModuleDefault||(Object.create?function(c,s){Object.defineProperty(c,"default",{enumerable:!0,value:s})}:function(c,s){c.default=s}),f$=Qt&&Qt.__importStar||function(c){if(c&&c.__esModule)return c;var s={};if(c!=null)for(var f in c)f!=="default"&&Object.prototype.hasOwnProperty.call(c,f)&&u$(s,c,f);return c$(s,c),s},l$=Qt&&Qt.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Qt,"__esModule",{value:!0});Qt.Manager=void 0;var Oo=Eo(),h$=ko(),d$=f$(os()),Yn=To(),p$=nf(),v$=Wn(),g$=l$(si()),St=g$.default("socket.io-client:manager"),rf=class extends v$.Emitter{constructor(s,f){var v;super();this.nsps={},this.subs=[],s&&typeof s=="object"&&(f=s,s=void 0),f=f||{},f.path=f.path||"/socket.io",this.opts=f,Oo.installTimerFunctions(this,f),this.reconnection(f.reconnection!==!1),this.reconnectionAttempts(f.reconnectionAttempts||1/0),this.reconnectionDelay(f.reconnectionDelay||1e3),this.reconnectionDelayMax(f.reconnectionDelayMax||5e3),this.randomizationFactor((v=f.randomizationFactor)!==null&&v!==void 0?v:.5),this.backoff=new p$.Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(f.timeout==null?2e4:f.timeout),this._readyState="closed",this.uri=s;let w=f.parser||d$;this.encoder=new w.Encoder,this.decoder=new w.Decoder,this._autoConnect=f.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(s){return arguments.length?(this._reconnection=!!s,this):this._reconnection}reconnectionAttempts(s){return s===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=s,this)}reconnectionDelay(s){var f;return s===void 0?this._reconnectionDelay:(this._reconnectionDelay=s,(f=this.backoff)===null||f===void 0||f.setMin(s),this)}randomizationFactor(s){var f;return s===void 0?this._randomizationFactor:(this._randomizationFactor=s,(f=this.backoff)===null||f===void 0||f.setJitter(s),this)}reconnectionDelayMax(s){var f;return s===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=s,(f=this.backoff)===null||f===void 0||f.setMax(s),this)}timeout(s){return arguments.length?(this._timeout=s,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(s){if(St("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;St("opening %s",this.uri),this.engine=new Oo.Socket(this.uri,this.opts);let f=this.engine,v=this;this._readyState="opening",this.skipReconnect=!1;let w=Yn.on(f,"open",function(){v.onopen(),s&&s()}),q=Yn.on(f,"error",ae=>{St("error"),v.cleanup(),v._readyState="closed",this.emitReserved("error",ae),s?s(ae):v.maybeReconnectOnOpen()});if(this._timeout!==!1){let ae=this._timeout;St("connect attempt will timeout after %d",ae),ae===0&&w();let $e=this.setTimeoutFn(()=>{St("connect attempt timed out after %d",ae),w(),f.close(),f.emit("error",new Error("timeout"))},ae);this.opts.autoUnref&&$e.unref(),this.subs.push(function(){clearTimeout($e)})}return this.subs.push(w),this.subs.push(q),this}connect(s){return this.open(s)}onopen(){St("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");let s=this.engine;this.subs.push(Yn.on(s,"ping",this.onping.bind(this)),Yn.on(s,"data",this.ondata.bind(this)),Yn.on(s,"error",this.onerror.bind(this)),Yn.on(s,"close",this.onclose.bind(this)),Yn.on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(s){try{this.decoder.add(s)}catch(f){this.onclose("parse error",f)}}ondecoded(s){Oo.nextTick(()=>{this.emitReserved("packet",s)},this.setTimeoutFn)}onerror(s){St("error",s),this.emitReserved("error",s)}socket(s,f){let v=this.nsps[s];return v||(v=new h$.Socket(this,s,f),this.nsps[s]=v),v}_destroy(s){let f=Object.keys(this.nsps);for(let v of f)if(this.nsps[v].active){St("socket %s is still active, skipping close",v);return}this._close()}_packet(s){St("writing packet %j",s);let f=this.encoder.encode(s);for(let v=0;v<f.length;v++)this.engine.write(f[v],s.options)}cleanup(){St("cleanup"),this.subs.forEach(s=>s()),this.subs.length=0,this.decoder.destroy()}_close(){St("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(s,f){St("closed due to %s",s),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",s,f),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let s=this;if(this.backoff.attempts>=this._reconnectionAttempts)St("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let f=this.backoff.duration();St("will wait %dms before reconnect attempt",f),this._reconnecting=!0;let v=this.setTimeoutFn(()=>{s.skipReconnect||(St("attempting reconnect"),this.emitReserved("reconnect_attempt",s.backoff.attempts),!s.skipReconnect&&s.open(w=>{w?(St("reconnect attempt error"),s._reconnecting=!1,s.reconnect(),this.emitReserved("reconnect_error",w)):(St("reconnect success"),s.onreconnect())}))},f);this.opts.autoUnref&&v.unref(),this.subs.push(function(){clearTimeout(v)})}}onreconnect(){let s=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",s)}};Qt.Manager=rf});var cf=_e((Pt,uf)=>{"use strict";var $$=Pt&&Pt.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Pt,"__esModule",{value:!0});Pt.default=Pt.connect=Pt.io=Pt.Socket=Pt.Manager=Pt.protocol=void 0;var m$=Vc(),fs=sf();Object.defineProperty(Pt,"Manager",{enumerable:!0,get:function(){return fs.Manager}});var af=ko();Object.defineProperty(Pt,"Socket",{enumerable:!0,get:function(){return af.Socket}});var y$=$$(si()),of=y$.default("socket.io-client"),oi={};function Jn(c,s){typeof c=="object"&&(s=c,c=void 0),s=s||{};let f=m$.url(c,s.path||"/socket.io"),v=f.source,w=f.id,q=f.path,ae=oi[w]&&q in oi[w].nsps,$e=s.forceNew||s["force new connection"]||s.multiplex===!1||ae,pe;return $e?(of("ignoring socket cache for %s",v),pe=new fs.Manager(v,s)):(oi[w]||(of("new io instance for %s",v),oi[w]=new fs.Manager(v,s)),pe=oi[w]),f.query&&!s.query&&(s.query=f.queryKey),pe.socket(f.path,s)}Pt.io=Jn;Pt.connect=Jn;Pt.default=Jn;Object.assign(Jn,{Manager:fs.Manager,Socket:af.Socket,io:Jn,connect:Jn});var b$=os();Object.defineProperty(Pt,"protocol",{enumerable:!0,get:function(){return b$.protocol}});uf.exports=Jn});var ff=_e(()=>{var C$=Hn(),xo=cf(),E$=window.___browserSync___.socketConfig,w$=window.___browserSync___.socketUrl,vn=xo(w$,E$);C$.module("bsSocket",[]).service("Socket",["$q","$rootScope",A$]);function A$(c,s){var f=c.defer(),v;vn.on("connection",function(q){if(v=q.session,s.$emit("ui:connection",q),f.resolve(q,this),window.name==="")window.name=JSON.stringify({id:xo.id});else{var ae=JSON.parse(window.name);ae.id,xo.id}}),vn.on("disconnect",function(){s.$emit("ui:disconnect")});var w={on:function(q,ae){vn.on(q,ae)},off:function(q,ae){vn.off(q,ae)},removeEvent:function(q,ae){vn.removeListener(q,ae)},emit:function(q,ae){vn.emit(q,ae||{})},clientEvent:function(q,ae){vn.emit("ui:client:proxy",{event:q,data:ae})},options:function(){return f.promise},getData:function(q){var ae=c.defer();return vn.on("ui:receive:"+q,function($e){ae.resolve($e)}),vn.emit("ui:get:"+q),ae.promise},uiEvent:function(q){vn.emit("ui",q)},newSession:function(){}};return Object.defineProperty(w,"sessionId",{get:function(){return v}}),w}});var Fr=_e((Wm,lf)=>{lf.exports=window.angular.module("BrowserSync")});var hf=_e(()=>{var S$=Fr();S$.service("Pages",["pagesConfig","$location",_$]);function _$(c,s){return{enable:function(f){return angular.forEach(c,function(v){v.active=!1}),f.active=!0,c},transform:function(f,v){if(typeof v=="function")return f=v(f);throw new TypeError("Noooo")},current:function(){if(s.path()==="/")return c.overview;var f;return angular.forEach(c,function(v){v.path===s.path()&&(f=v)}),f}}}});var df=_e(()=>{var T$=Fr();T$.factory("Options",["Socket",k$]);function k$(c){return{all:function(){return c.getData("options")}}}});var vf=_e((Po,pf)=>{"use strict";(function(c,s){typeof define=="function"&&define.amd?define([],s):typeof Po=="object"?pf.exports=s():c.store=s()})(Po,function(){var c={},s=typeof window<"u"?window:global,f=s.document,v="localStorage",w="script",q;c.disabled=!1,c.version="1.3.20",c.set=function(se,ge){},c.get=function(se,ge){},c.has=function(se){return c.get(se)!==void 0},c.remove=function(se){},c.clear=function(){},c.transact=function(se,ge,j){j==null&&(j=ge,ge=null),ge==null&&(ge={});var P=c.get(se,ge);j(P),c.set(se,P)},c.getAll=function(){},c.forEach=function(){},c.serialize=function(se){return JSON.stringify(se)},c.deserialize=function(se){if(typeof se=="string")try{return JSON.parse(se)}catch{return se||void 0}};function ae(){try{return v in s&&s[v]}catch{return!1}}if(ae())q=s[v],c.set=function(se,ge){return ge===void 0?c.remove(se):(q.setItem(se,c.serialize(ge)),ge)},c.get=function(se,ge){var j=c.deserialize(q.getItem(se));return j===void 0?ge:j},c.remove=function(se){q.removeItem(se)},c.clear=function(){q.clear()},c.getAll=function(){var se={};return c.forEach(function(ge,j){se[ge]=j}),se},c.forEach=function(se){for(var ge=0;ge<q.length;ge++){var j=q.key(ge);se(j,c.get(j))}};else if(f&&f.documentElement.addBehavior){var $e,pe;try{pe=new ActiveXObject("htmlfile"),pe.open(),pe.write("<"+w+">document.w=window</"+w+'><iframe src="/favicon.ico"></iframe>'),pe.close(),$e=pe.w.frames[0].document,q=$e.createElement("div")}catch{q=f.createElement("div"),$e=f.body}var Pe=function(se){return function(){var ge=Array.prototype.slice.call(arguments,0);ge.unshift(q),$e.appendChild(q),q.addBehavior("#default#userData"),q.load(v);var j=se.apply(c,ge);return $e.removeChild(q),j}},x=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g"),S=function(se){return se.replace(/^d/,"___$&").replace(x,"___")};c.set=Pe(function(se,ge,j){return ge=S(ge),j===void 0?c.remove(ge):(se.setAttribute(ge,c.serialize(j)),se.save(v),j)}),c.get=Pe(function(se,ge,j){ge=S(ge);var P=c.deserialize(se.getAttribute(ge));return P===void 0?j:P}),c.remove=Pe(function(se,ge){ge=S(ge),se.removeAttribute(ge),se.save(v)}),c.clear=Pe(function(se){var ge=se.XMLDocument.documentElement.attributes;se.load(v);for(var j=ge.length-1;j>=0;j--)se.removeAttribute(ge[j].name);se.save(v)}),c.getAll=function(se){var ge={};return c.forEach(function(j,P){ge[j]=P}),ge},c.forEach=Pe(function(se,ge){for(var j=se.XMLDocument.documentElement.attributes,P=0,G;G=j[P];++P)ge(G.name,c.deserialize(se.getAttribute(G.name)))})}try{var Q="__storejs__";c.set(Q,Q),c.get(Q)!=Q&&(c.disabled=!0),c.remove(Q)}catch{c.disabled=!0}return c.enabled=!c.disabled,c})});var $f=_e((gf,ls)=>{(function(c,s){"use strict";typeof ls=="object"&&typeof ls.exports=="object"?ls.exports=s():typeof define=="function"&&define.amd?define([],s):c.objectPath=s()})(gf,function(){"use strict";var c=Object.prototype.toString;function s(x,S){return x==null?!1:Object.prototype.hasOwnProperty.call(x,S)}function f(x){if(!x||q(x)&&x.length===0)return!0;if(typeof x!="string"){for(var S in x)if(s(x,S))return!1;return!0}return!1}function v(x){return c.call(x)}function w(x){return typeof x=="object"&&v(x)==="[object Object]"}var q=Array.isArray||function(x){return c.call(x)==="[object Array]"};function ae(x){return typeof x=="boolean"||v(x)==="[object Boolean]"}function $e(x){var S=parseInt(x);return S.toString()===x?S:x}function pe(x){x=x||{};var S=function(j){return Object.keys(S).reduce(function(P,G){return G==="create"||typeof S[G]=="function"&&(P[G]=S[G].bind(S,j)),P},{})},Q;x.includeInheritedProps?Q=function(){return!0}:Q=function(j,P){return typeof P=="number"&&Array.isArray(j)||s(j,P)};function se(j,P){if(Q(j,P))return j[P]}function ge(j,P,G,X){if(typeof P=="number"&&(P=[P]),!P||P.length===0)return j;if(typeof P=="string")return ge(j,P.split(".").map($e),G,X);var ue=P[0],Oe=se(j,ue);if(x.includeInheritedProps&&(ue==="__proto__"||ue==="constructor"&&typeof Oe=="function"))throw new Error("For security reasons, object's magic properties cannot be set");return P.length===1?((Oe===void 0||!X)&&(j[ue]=G),Oe):(Oe===void 0&&(typeof P[1]=="number"?j[ue]=[]:j[ue]={}),ge(j[ue],P.slice(1),G,X))}return S.has=function(j,P){if(typeof P=="number"?P=[P]:typeof P=="string"&&(P=P.split(".")),!P||P.length===0)return!!j;for(var G=0;G<P.length;G++){var X=$e(P[G]);if(typeof X=="number"&&q(j)&&X<j.length||(x.includeInheritedProps?X in Object(j):s(j,X)))j=j[X];else return!1}return!0},S.ensureExists=function(j,P,G){return ge(j,P,G,!0)},S.set=function(j,P,G,X){return ge(j,P,G,X)},S.insert=function(j,P,G,X){var ue=S.get(j,P);X=~~X,q(ue)||(ue=[],S.set(j,P,ue)),ue.splice(X,0,G)},S.empty=function(j,P){if(!f(P)&&j!=null){var G,X;if(!!(G=S.get(j,P))){if(typeof G=="string")return S.set(j,P,"");if(ae(G))return S.set(j,P,!1);if(typeof G=="number")return S.set(j,P,0);if(q(G))G.length=0;else if(w(G))for(X in G)Q(G,X)&&delete G[X];else return S.set(j,P,null)}}},S.push=function(j,P){var G=S.get(j,P);q(G)||(G=[],S.set(j,P,G)),G.push.apply(G,Array.prototype.slice.call(arguments,2))},S.coalesce=function(j,P,G){for(var X,ue=0,Oe=P.length;ue<Oe;ue++)if((X=S.get(j,P[ue]))!==void 0)return X;return G},S.get=function(j,P,G){if(typeof P=="number"&&(P=[P]),!P||P.length===0)return j;if(j==null)return G;if(typeof P=="string")return S.get(j,P.split("."),G);var X=$e(P[0]),ue=se(j,X);return ue===void 0?G:P.length===1?ue:S.get(j[X],P.slice(1),G)},S.del=function(P,G){if(typeof G=="number"&&(G=[G]),P==null||f(G))return P;if(typeof G=="string")return S.del(P,G.split("."));var X=$e(G[0]);if(!Q(P,X))return P;if(G.length===1)q(P)?P.splice(X,1):delete P[X];else return S.del(P[X],G.slice(1));return P},S}var Pe=pe();return Pe.create=pe,Pe.withInheritedProps=pe({includeInheritedProps:!0}),Pe})});var mf=_e(()=>{var O$=Hn(),gn=vf(),x$=$f();O$.module("bsStore",[]).service("Store",["$q","$rootScope",R$]);function P$(c){var s=gn.get("bs",{});Object.keys(s).length||gn.set("bs",{}),this.ns=c,this.get=function(f){var v=gn.get("bs",{});return Object.keys(v).length||gn.set("bs",{}),x$.get(v,[c].concat(f).join("."))},this.set=function(f,v){var w=gn.get("bs",{});Object.keys(w).length||gn.set("bs",{}),w[c]||(w[c]={}),w[c][f]=v,gn.set("bs",w)},this.remove=function(f){var v=gn.get("bs",{});Object.keys(v).length||gn.set("bs",{}),v[c]||(v[c]={}),v[c][f]&&delete v[c][f],gn.set("bs",v)}}function R$(){return{create:function(c){var s=new P$(c);return s}}}});var yf=_e(()=>{var M$=Fr();M$.controller("MainController",["$scope","$rootScope","$location","$injector",F$]);function F$(c,s,f,v){var w=this;w.options=!1,w.browsers=[],w.socketId="";var q=v.get("pagesConfig"),ae=v.get("Pages"),$e=v.get("Socket"),pe=v.get("Clients");w.ui={menu:q,sectionMenu:!1,disconnected:!1},w.setActiveSection=function(Pe){ae.enable(Pe),f.path(Pe.path),w.ui.sectionMenu=!1},w.reloadAll=function(){pe.reloadAll(),s.$emit("notify:flash",{heading:"Instruction sent:",message:"Reload All Browsers \u2714"})},w.scrollAllTo=function(){pe.scrollAllTo(0),s.$emit("notify:flash",{heading:"Instruction sent:",message:"Scroll all browsers to Y=0 \u2714"})},w.sendAllTo=function(Pe){pe.sendAllTo(Pe),s.$emit("notify:flash",{heading:"Instruction sent:",message:"Reset all Browsers to /"})},w.toggleMenu=function(){w.ui.sectionMenu=!w.ui.sectionMenu},w.socketEvents={connection:function(Pe){w.update(Pe)},disconnect:function(){w.ui.disconnected=!0}},w.update=function(Pe){w.options=L$(Pe),w.ui.disconnected=!1,ae.transform(q.overview,function(x){return x})},w.setActiveSection(ae.current()),$e.options().then(w.socketEvents.connection),s.$on("ui:disconnect",w.socketEvents.disconnect),s.$on("ui:connection",function(Pe,x){w.socketEvents.connection(x),c.$digest()})}function L$(c){return c.displayUrl=D$(c.urls),c}function D$(c){return c?c.external||c.local:!1}});var Cf=_e((ey,bf)=>{bf.exports={ucfirst:function(c){return c.charAt(0).toUpperCase()+c.slice(1)},localRootUrl:function(c,s){return[s,"://",window.location.hostname,":",c].join("")},localUrl:function(c,s,f){return f==="snippet"?c:["//",window.location.hostname,":",s,c].join("")},orderObjectBy:function(c,s,f){var v=[];return Object.keys(c).forEach(function(w){v.push(c[w])}),v.sort(function(w,q){return w[s]>q[s]?1:-1}),f&&v.reverse(),v}}});var Ef=_e((ty,Ro)=>{var Ro=Fr(),hs=Cf();Ro.filter("ucfirst",function(){return hs.ucfirst}).filter("localRootUrl",function(){return hs.localRootUrl}).filter("localUrl",function(){return hs.localRootUrl}).filter("orderObjectBy",function(){return hs.orderObjectBy})});var Af=_e((ny,wf)=>{wf.exports=function(){return{scope:{icon:"@"},restrict:"E",replace:!0,template:'<svg bs-svg-icon><use xlink:href="{{iconName}}"></use></svg>',link:function(c,s,f){return c.iconName="#svg-"+c.icon,c}}}});var _f=_e((ry,Sf)=>{Sf.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(c,s,f){var v=f.get("pagesConfig"),w=f.get("Pages");c.navi=function(q){var ae=v[q];w.enable(ae),s.path(q)}}]}}});var kf=_e((iy,Tf)=>{Tf.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(c){var s=this;s.item=c.item}]}}});var xf=_e((sy,Of)=>{Of.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>`}}});var Pf=_e((oy,Lr)=>{var Lr=Fr();Lr.directive("icon",Af());Lr.directive("linkTo",_f());Lr.directive("switch",kf());Lr.directive("newTab",xf())});Nu();Bu();Hu();Gu();var I$=window.angular;I$.module("BrowserSync",["bsHistory","bsClients","bsDisconnect","bsNotify","bsSocket","bsStore","ngRoute","ngTouch","ngSanitize"]).config(["$locationProvider",N$]);function N$(c){c.html5Mode({enabled:!0,requireBase:!1})}var ay=Yu(),uy=Ju(),cy=Ku(),fy=Zu(),ly=ff(),hy=hf(),dy=df(),py=mf(),vy=yf(),gy=Ef(),$y=Pf();})();
/**
* @license AngularJS v1.8.2
* (c) 2010-2020 Google LLC. http://angularjs.org
* License: MIT
*/