/
eb
/
Surf
Обзор
Документация
Войти
/
eb
/
Surf
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/browser-sync-ui/public/js/app.js
27 строк
265 KB
EvgeniyBudaev
Initial commit
17 фев 2020, 09:02
17 фев 2020, 09:02
bb6f06f
Код
Авторство
О чём код?
!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Ob … [Строка слишком длинная. Вы можете скачать файл] * @license AngularJS v1.4.14 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ !function(t,e,n){"use strict";function r(t,e){return e=e||Error,function(){var n,r,i=arguments,o=i[0],s="["+(t?t+":":"")+o+"] ",a=i[1];for(s+=a.replace(/\{\d+\}/g,function(t){var e=+t.slice(1,-1),n=e+ … [Строка слишком длинная. Вы можете скачать файл] * @license AngularJS v1.4.14 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ !function(t,e,n){"use strict";function r(){function t(t,n){return e.extend(Object.create(t),n)}function n(t,e){var n=e.caseInsensitiveMatch,r={originalPath:t,regexp:t},i=r.keys=[];return t=t.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[\?\*])?/g,function(t,e,n,r){var o="?"===r||"*?"===r?"?":null,s="*"===r||"*?"===r?"*":null;return i.push({name:n,optional:!!o}),e=e||"",(o?"":e)+"(?:"+(o?e:"")+(s&&"(.+?)"||"([^/]+)")+(o||"")+")"+(o||"")}).replace(/([\/$\*])/g,"\\$1"),r.regexp=new RegExp("^"+t+"$",n?"i":""),r}var r={};this.when=function(t,i){var o=e.copy(i);if(e.isUndefined(o.reloadOnSearch)&&(o.reloadOnSearch=!0),e.isUndefined(o.caseInsensitiveMatch)&&(o.caseInsensitiveMatch=this.caseInsensitiveMatch),r[t]=e.extend(o,t&&n(t,o)),t){var s="/"==t[t.length-1]?t.substr(0,t.length-1):t+"/";r[s]=e.extend({redirectTo:t},n(s,o))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(t){return"string"==typeof t&&(t={redirectTo:t}),this.when(null,t),this},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(n,i,o,s,a,c,l){function f(t,e){var n=e.keys,r={};if(!e.regexp)return null;var i=e.regexp.exec(t);if(!i)return null;for(var o=1,s=i.length;o<s;++o){var a=n[o-1],u=i[o];a&&u&&(r[a.name]=u)}return r}function h(t){var r=y.current;v=d(),(m=v&&r&&v.$$route===r.$$route&&e.equals(v.pathParams,r.pathParams)&&!v.reloadOnSearch&&!$)||!r&&!v||n.$broadcast("$routeChangeStart",v,r).defaultPrevented&&t&&t.preventDefault()}function p(){var t=y.current,r=v;m?(t.params=r.params,e.copy(t.params,o),n.$broadcast("$routeUpdate",t)):(r||t)&&($=!1,y.current=r,r&&r.redirectTo&&(e.isString(r.redirectTo)?i.path(g(r.redirectTo,r.params)).search(r.params).replace():i.url(r.redirectTo(r.pathParams,i.path(),i.search())).replace()),s.when(r).then(function(){if(r){var t,n,i=e.extend({},r.resolve);return e.forEach(i,function(t,n){i[n]=e.isString(t)?a.get(t):a.invoke(t,null,null,n)}),e.isDefined(t=r.template)?e.isFunction(t)&&(t=t(r.params)):e.isDefined(n=r.templateUrl)&&(e.isFunction(n)&&(n=n(r.params)),e.isDefined(n)&&(r.loadedTemplateUrl=l.valueOf(n),t=c(n))),e.isDefined(t)&&(i.$template=t),s.all(i)}}).then(function(i){r==y.current&&(r&&(r.locals=i,e.copy(r.params,o)),n.$broadcast("$routeChangeSuccess",r,t))},function(e){r==y.current&&n.$broadcast("$routeChangeError",r,t,e)}))}function d(){var n,o;return e.forEach(r,function(r,s){!o&&(n=f(i.path(),r))&&(o=t(r,{params:e.extend({},i.search(),n),pathParams:n}),o.$$route=r)}),o||r[null]&&t(r[null],{params:{},pathParams:{}})}function g(t,n){var r=[];return e.forEach((t||"").split(":"),function(t,e){if(0===e)r.push(t);else{var i=t.match(/(\w+)(?:[?*])?(.*)/),o=i[1];r.push(n[o]),r.push(i[2]||""),delete n[o]}}),r.join("")}var v,m,$=!1,y={routes:r,reload:function(){$=!0;var t={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,$=!1}};n.$evalAsync(function(){h(t),t.defaultPrevented||p()})},updateParams:function(t){if(!this.current||!this.current.$$route)throw u("norout","Tried updating route when with no current route");t=e.extend({},this.current.params,t),i.path(g(this.current.$$route.originalPath,t)),i.search(t)}};return n.$on("$locationChangeStart",h),n.$on("$locationChangeSuccess",p),y}]}function i(){this.$get=function(){return{}}}function o(t,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,o,s,a,u){function c(){p&&(r.cancel(p),p=null),f&&(f.$destroy(),f=null),h&&(p=r.leave(h),p.then(function(){p=null}),h=null)}function l(){var s=t.current&&t.current.locals,a=s&&s.$template;if(e.isDefined(a)){var l=i.$new(),p=t.current,v=u(l,function(t){r.enter(t,null,h||o).then(function(){!e.isDefined(d)||d&&!i.$eval(d)||n()}),c()});h=v,f=p.scope=l,f.$emit("$viewContentLoaded"),f.$eval(g)}else c()}var f,h,p,d=s.autoscroll,g=s.onload||"";i.$on("$routeChangeSuccess",l),l()}}}function s(t,e,n){return{restrict:"ECA",priority:-400,link:function(r,i){var o=n.current,s=o.locals;i.html(s.$template);var a=t(i.contents());if(o.controller){s.$scope=r;var u=e(o.controller,s);o.controllerAs&&(r[o.controllerAs]=u),i.data("$ngControllerController",u),i.children().data("$ngControllerController",u)}a(r)}}}var a=e.module("ngRoute",["ng"]).provider("$route",r),u=e.$$minErr("ngRoute");a.provider("$routeParams",i),a.directive("ngView",o),a.directive("ngView",s),o.$inject=["$route","$anchorScroll","$animate"],s.$inject=["$compile","$controller","$route"]}(window,window.angular)},function(t,e,n){n(30),t.exports="ngSanitize"},function(t,e){/** * @license AngularJS v1.4.14 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ !function(t,e,n){"use strict";function r(){this.$get=["$$sanitizeUri",function(t){return function(e){var n=[];return s(e,c(n,function(e,n){return!/^unsafe/.test(t(e,n))})),n.join("")}}]}function i(t){var n=[];return c(n,e.noop).chars(t),n.join("")}function o(t,n){var r,i={},o=t.split(",");for(r=0;r<o.length;r++)i[n?e.lowercase(o[r]):o[r]]=!0;return i}function s(t,n){function r(t,r,o,s){if(r=e.lowercase(r),k[r])for(;y.last()&&S[y.last()];)i("",y.last());E[r]&&y.last()==r&&i("",r),(s=w[r]||!!s)||y.push(r);var u={};o.replace(p,function(t,e,n,r,i){var o=n||r||i||"";u[e]=a(o)}),n.start&&n.start(r,u,s)}function i(t,r){var i,o=0;if(r=e.lowercase(r))for(o=y.length-1;o>=0&&y[o]!=r;o--);if(o>=0){for(i=y.length-1;i>=o;i--)n.end&&n.end(y[i]);y.length=o}}"string"!=typeof t&&(t=null===t||void 0===t?"":""+t);var o,s,u,c,y=[],b=t;for(y.last=function(){return y[y.length-1]};t;){if(c="",s=!0,y.last()&&T[y.last()]?(t=t.replace(new RegExp("([\\W\\w]*)<\\s*\\/\\s*"+y.last()+"[^>]*>","i"),function(t,e){return e=e.replace(v,"$1").replace($,"$1"),n.chars&&n.chars(a(e)),""}),i("",y.last())):(0===t.indexOf("\x3c!--")?(o=t.indexOf("--",4))>=0&&t.lastIndexOf("--\x3e",o)===o&&(n.comment&&n.comment(t.substring(4,o)),t=t.substring(o+3),s=!1):m.test(t)?(u=t.match(m))&&(t=t.replace(u[0],""),s=!1):g.test(t)?(u=t.match(h))&&(t=t.substring(u[0].length),u[0].replace(h,i),s=!1):d.test(t)&&(u=t.match(f),u?(u[4]&&(t=t.substring(u[0].length),u[0].replace(f,r)),s=!1):(c+="<",t=t.substring(1))),s&&(o=t.indexOf("<"),c+=o<0?t:t.substring(0,o),t=o<0?"":t.substring(o),n.chars&&n.chars(a(c)))),t==b)throw l("badparse","The sanitizer was unable to parse the following block of html: {0}",t);b=t}i()}function a(t){return t?(B.innerHTML=t.replace(/</g,"<"),B.textContent):""}function u(t){return t.replace(/&/g,"&").replace(y,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(b,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function c(t,n){var r=!1,i=e.bind(t,t.push);return{start:function(t,o,s){t=e.lowercase(t),!r&&T[t]&&(r=t),r||!0!==O[t]||(i("<"),i(t),e.forEach(o,function(r,o){var s=e.lowercase(o),a="img"===t&&"src"===s||"background"===s;!0!==P[s]||!0===R[s]&&!n(r,a)||(i(" "),i(o),i('="'),i(u(r)),i('"'))}),i(s?"/>":">"))},end:function(t){t=e.lowercase(t),r||!0!==O[t]||(i("</"),i(t),i(">")),t==r&&(r=!1)},chars:function(t){r||i(u(t))}}}var l=e.$$minErr("$sanitize"),f=/^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,h=/^<\/\s*([\w:-]+)[^>]*>/,p=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,d=/^</,g=/^<\//,v=/<!--(.*?)-->/g,m=/<!DOCTYPE([^>]*?)>/i,$=/<!\[CDATA\[(.*?)]]>/g,y=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/([^\#-~| |!])/g,w=o("area,br,col,hr,img,wbr"),x=o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),C=o("rp,rt"),E=e.extend({},C,x),k=e.extend({},x,o("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,script,section,table,ul")),S=e.extend({},C,o("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")),A=o("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,use"),T=o("script,style"),O=e.extend({},w,k,S,E,A),R=o("background,cite,href,longdesc,src,usemap,xlink:href"),M=o("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),_=o("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),P=e.extend({},R,_,M),B=document.createElement("pre");e.module("ngSanitize",[]).provider("$sanitize",r),e.module("ngSanitize").filter("linky",["$sanitize",function(t){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i;return function(o,s){function a(t){t&&h.push(i(t))}if(!o)return o;for(var u,c,l,f=o,h=[];u=f.match(n);)c=u[0],u[2]||u[4]||(c=(u[3]?"http://":"mailto:")+c),l=u.index,a(f.substr(0,l)),function(t,n){h.push("<a "),e.isDefined(s)&&h.push('target="',s,'" '),h.push('href="',t.replace(/"/g,"""),'">'),a(n),h.push("</a>")}(c,u[0].replace(r,"")),f=f.substring(l+u[0].length);return a(f),t(h.join(""))}}])}(window,window.angular)},function(t,e,n){n(32),t.exports="ngTouch"},function(t,e){/** * @license AngularJS v1.4.14 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ !function(t,e,n){"use strict";function r(t){return e.lowercase(t.nodeName||t[0]&&t[0].nodeName)}function i(t,n,r){o.directive(t,["$parse","$swipe",function(i,o){return function(s,a,u){function c(t){if … [Строка слишком длинная. Вы можете скачать файл] * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> * @license MIT */ var G=n(50),K=n(51),Z=n(52);e.Buffer=o,e.SlowBuffer=g,e.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t. … [Строка слишком длинная. Вы можете скачать файл]