30 lines
277 KiB
JavaScript
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
|
||
|
`+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
|
||
|
`,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++
|
||
|
`),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(G
|
||
|
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
|
||
|
`+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,altern
|
||
|
`+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.A
|
||
|
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')}}fu
|
||
|
<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.dec
|
||
|
/**
|
||
|
* @license AngularJS v1.8.2
|
||
|
* (c) 2010-2020 Google LLC. http://angularjs.org
|
||
|
* License: MIT
|
||
|
*/
|