Angular source changed from cdnjs.com to ajax.googleapis.com (#691)

This commit is contained in:
nobody 2021-09-26 08:38:54 +02:00
parent 27abc0ff30
commit 2aba50551e
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
18 changed files with 87 additions and 160 deletions

View File

@ -1,3 +1,76 @@
ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular-animate.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular-cookies.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular-loader.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular-resource.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular-route.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular-sanitize.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular-touch.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.32/angular-animate.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.32/angular-cookies.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.32/angular-loader.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.32/angular.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.32/angular-resource.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.32/angular-route.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.32/angular-sanitize.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.2.32/angular-touch.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.3.20/angular-animate.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.3.20/angular-aria.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.3.20/angular-cookies.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.3.20/angular-loader.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.3.20/angular-messages.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.3.20/angular.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.3.20/angular-resource.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.3.20/angular-route.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.3.20/angular-sanitize.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.3.20/angular-touch.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular-animate.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular-aria.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular-cookies.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular-loader.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular-message-format.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular-messages.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular-resource.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular-route.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular-sanitize.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.4.14/angular-touch.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-animate.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-aria.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-cookies.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-loader.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-message-format.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-messages.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-parse-ext.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-resource.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-route.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-sanitize.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.5.11/angular-touch.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-animate.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-aria.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-cookies.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-loader.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-message-format.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-messages.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-parse-ext.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-resource.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-route.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-sanitize.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.6.10/angular-touch.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-animate.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-aria.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-cookies.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-loader.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-message-format.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-messages.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-parse-ext.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-resource.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-route.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-sanitize.min.js
ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular-touch.min.js
https://ajax.cloudflare.com/cdn-cgi/scripts/04b3eb47/cloudflare-static/mirage2.min.js
https://ajax.cloudflare.com/cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.js
https://cdn.datatables.net/1.11.0/css/dataTables.bootstrap4.min.css
@ -51,73 +124,8 @@ https://cdnjs.cloudflare.com/ajax/libs/algoliasearch/4.10.5/algoliasearch.umd.mi
https://cdnjs.cloudflare.com/ajax/libs/alpinejs/2.8.2/alpine.js
https://cdnjs.cloudflare.com/ajax/libs/alpinejs/3.3.5/cdn.min.js
https://cdnjs.cloudflare.com/ajax/libs/angucomplete-alt/3.0.0/angucomplete-alt.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-animate/1.8.2/angular-animate.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-aria/1.8.2/angular-aria.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-bootstrap-colorpicker/3.0.32/css/colorpicker.min.css
https://cdnjs.cloudflare.com/ajax/libs/angular-bootstrap-colorpicker/3.0.32/js/bootstrap-colorpicker-module.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-cookies/1.8.2/angular-cookies.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.19/angular-animate.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.19/angular-cookies.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.19/angular-loader.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.19/angular.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.19/angular-resource.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.19/angular-route.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.19/angular-sanitize.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.19/angular-touch.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.32/angular-animate.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.32/angular-cookies.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.32/angular-loader.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.32/angular.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.32/angular-resource.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.32/angular-route.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.32/angular-sanitize.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.32/angular-touch.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular-animate.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular-aria.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular-cookies.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular-loader.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular-messages.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular-resource.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular-route.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular-sanitize.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular-touch.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular-animate.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular-aria.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular-cookies.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular-loader.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular-message-format.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular-messages.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular-resource.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular-route.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular-sanitize.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.14/angular-touch.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-animate.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-aria.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-cookies.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-loader.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-message-format.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-messages.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-parse-ext.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-resource.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-route.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-sanitize.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.11/angular-touch.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-animate.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-aria.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-cookies.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-loader.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-message-format.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-messages.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-parse-ext.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-resource.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-route.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-sanitize.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.10/angular-touch.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.8.2/angular.min.js
https://cdnjs.cloudflare.com/ajax/libs/angularjs-slider/6.7.0/rzslider.min.js
https://cdnjs.cloudflare.com/ajax/libs/angularjs-slider/7.0.1/rzslider.min.js
https://cdnjs.cloudflare.com/ajax/libs/angularjs-toaster/0.4.18/toaster.min.css
@ -128,17 +136,8 @@ https://cdnjs.cloudflare.com/ajax/libs/angularjs-toaster/2.2.0/toaster.min.css
https://cdnjs.cloudflare.com/ajax/libs/angularjs-toaster/2.2.0/toaster.min.js
https://cdnjs.cloudflare.com/ajax/libs/angularjs-toaster/3.0.0/toaster.min.css
https://cdnjs.cloudflare.com/ajax/libs/angularjs-toaster/3.0.0/toaster.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-loader/1.8.2/angular-loader.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-material/1.2.3/angular-material.min.css
https://cdnjs.cloudflare.com/ajax/libs/angular-material/1.2.3/angular-material.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-message-format/1.8.2/angular-message-format.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-messages/1.8.2/angular-messages.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-parse-ext/1.8.2/angular-parse-ext.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-resource/1.2.32/angular-resource.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-resource/1.8.2/angular-resource.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-sanitize/1.6.10/angular-sanitize.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-sanitize/1.8.2/angular-sanitize.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-touch/1.8.2/angular-touch.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-translate/2.19.0/angular-translate-handler-log/angular-translate-handler-log.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-translate/2.19.0/angular-translate-interpolation-messageformat/angular-translate-interpolation-messageformat.min.js
https://cdnjs.cloudflare.com/ajax/libs/angular-translate/2.19.0/angular-translate-loader-partial/angular-translate-loader-partial.min.js
@ -1680,8 +1679,6 @@ https://cdn.jsdelivr.net/g/algoliasearch@3(algoliasearchLite.min.js),algoliasear
https://cdn.jsdelivr.net/npm/@algolia/autocomplete-js@1.1.0/dist/umd/index.production.min.js
https://cdn.jsdelivr.net/npm/anchor-js@3.2.2/anchor.min.js
https://cdn.jsdelivr.net/npm/anchor-js@4.3.1/anchor.min.js
https://cdn.jsdelivr.net/npm/angular-route@1.2.32/angular-route.min.js
https://cdn.jsdelivr.net/npm/angular-route@1.8.2/angular-route.min.js
https://cdn.jsdelivr.net/npm/angular-stripe-checkout@5.1.0/angular-stripe-checkout.min.js
https://cdn.jsdelivr.net/npm/appboy-web-sdk@3.3.0/appboy.min.js
https://cdn.jsdelivr.net/npm/@babel/standalone@7.14.6/babel.min.js

View File

@ -80,7 +80,7 @@ readonly DATATABLES="https://cdn.datatables.net"
readonly FONTAWESOME="https://use.fontawesome.com"
readonly UNPKG="https://unpkg.com"
readonly FONTSGSTATIC="https://fonts.gstatic.com"
readonly GOOGLEAPIS="ajax.googleapis.com/ajax/libs"
# =============================================================================
# GLOBALS
@ -687,8 +687,8 @@ function create_url() {
elif [[ "$subfile" =~ \.js$ ]]; then
url="$CLOUDFLARE/$folder/$version/js/$subfile"
fi
elif [ "$folder" = "angular-route" ]; then
url="$JSDELIVR/npm/$folder@$version/angular-route.min.js"
elif [ "$folder" = "angular.js" ]; then
url="$GOOGLEAPIS/angularjs/$version/$subfile"
# --------------------------------------------------------------------------
# TODO: REMOVE WHEN CDNJS.COM AUTO UPDATE BOT IS FULLY FUNCTIONAL AGAIN
elif [ "$folder" = "noUiSlider" ] && [ "$version" != "14.7.0" ];then

View File

@ -50,37 +50,37 @@ var resources = {
'path': 'resources/angular.js/{version}/angular.min.jsm'
},
'angularAnimate': {
'path': 'resources/angular-animate/{version}/angular-animate.min.jsm'
'path': 'resources/angular.js/{version}/angular-animate.min.jsm'
},
'angularAria': {
'path': 'resources/angular-aria/{version}/angular-aria.min.jsm'
'path': 'resources/angular.js/{version}/angular-aria.min.jsm'
},
'angularCookies': {
'path': 'resources/angular-cookies/{version}/angular-cookies.min.jsm'
'path': 'resources/angular.js/{version}/angular-cookies.min.jsm'
},
'angularLoader': {
'path': 'resources/angular-loader/{version}/angular-loader.min.jsm'
'path': 'resources/angular.js/{version}/angular-loader.min.jsm'
},
'angularMessageFormat': {
'path': 'resources/angular-message-format/{version}/angular-message-format.min.jsm'
'path': 'resources/angular.js/{version}/angular-message-format.min.jsm'
},
'angularMessages': {
'path': 'resources/angular-messages/{version}/angular-messages.min.jsm'
'path': 'resources/angular.js/{version}/angular-messages.min.jsm'
},
'angularParseExt': {
'path': 'resources/angular-parse-ext/{version}/angular-parse-ext.min.jsm'
'path': 'resources/angular.js/{version}/angular-parse-ext.min.jsm'
},
'angularResource': {
'path': 'resources/angular-resource/{version}/angular-resource.min.jsm'
'path': 'resources/angular.js/{version}/angular-resource.min.jsm'
},
'angularRoute': {
'path': 'resources/angular-route/{version}/angular-route.min.jsm'
'path': 'resources/angular.js/{version}/angular-route.min.jsm'
},
'angularSanitize': {
'path': 'resources/angular-sanitize/{version}/angular-sanitize.min.jsm'
'path': 'resources/angular.js/{version}/angular-sanitize.min.jsm'
},
'angularTouch': {
'path': 'resources/angular-touch/{version}/angular-touch.min.jsm'
'path': 'resources/angular.js/{version}/angular-touch.min.jsm'
},
// angularMaterialDesign
'angularMaterialDesignJS': {

View File

@ -109,31 +109,6 @@ targets.setLastVersion = function (type, version) {
return '2.2.0';
} else if (type.startsWith('/angularjs-toaster/3.')) {
return '3.0.0';
} else if (type.startsWith('/angular-animate/1.')) {
return '1.8.2';
} else if (type.startsWith('/angular-aria/1.')) {
return '1.8.2';
} else if (type.startsWith('/angular-cookies/1.')) {
return '1.8.2';
} else if (type.startsWith('/angular-loader/1.')) {
return '1.8.2';
} else if (type.startsWith('/angular-message-format/1.')) {
return '1.8.2';
} else if (type.startsWith('/angular-messages/1.')) {
return '1.8.2';
} else if (type.startsWith('/angular-parse-ext/1.')) {
return '1.8.2';
} else if (type.startsWith('/angular-resource/1.')) {
if (helpers.compareVersion('1.2.32', version)) return '1.2.32'; // <= v1.2.32
return '1.8.2';
} else if (type.startsWith('/angular-route/1.')) {
if (helpers.compareVersion('1.2.32', version)) return '1.2.32'; // <= v1.2.32
return '1.8.2';
} else if (type.startsWith('/angular-sanitize/1.')) {
if (helpers.compareVersion('1.6.10', version)) return '1.6.10';
return '1.8.2';
} else if (type.startsWith('/angular-touch/1.')) {
return '1.8.2';
} else if (type.startsWith('/angular-bootstrap-colorpicker/3.')) {
return '3.0.32';
} else if (type.startsWith('/zumper-angular-payments/1.')) {

View File

@ -1,13 +0,0 @@
/*
AngularJS v1.2.32
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(H,a,A){'use strict';function D(p,g){g=g||{};a.forEach(g,function(a,c){delete g[c]});for(var c in p)!p.hasOwnProperty(c)||"$"===c.charAt(0)&&"$"===c.charAt(1)||(g[c]=p[c]);return g}var v=a.$$minErr("$resource"),C=/^(\.[a-zA-Z_$][0-9a-zA-Z_$]*)+$/;a.module("ngResource",["ng"]).factory("$resource",["$http","$q",function(p,g){function c(a,c){this.template=a;this.defaults=c||{};this.urlParams={}}function t(n,w,l){function r(h,d){var e={};d=x({},w,d);s(d,function(b,d){u(b)&&(b=b());var k;if(b&&
b.charAt&&"@"==b.charAt(0)){k=h;var a=b.substr(1);if(null==a||""===a||"hasOwnProperty"===a||!C.test("."+a))throw v("badmember",a);for(var a=a.split("."),f=0,c=a.length;f<c&&k!==A;f++){var g=a[f];k=null!==k?k[g]:A}}else k=b;e[d]=k});return e}function e(a){return a.resource}function f(a){D(a||{},this)}var F=new c(n);l=x({},B,l);s(l,function(h,d){var c=/^(POST|PUT|PATCH)$/i.test(h.method);f[d]=function(b,d,k,w){var q={},n,l,y;switch(arguments.length){case 4:y=w,l=k;case 3:case 2:if(u(d)){if(u(b)){l=
b;y=d;break}l=d;y=k}else{q=b;n=d;l=k;break}case 1:u(b)?l=b:c?n=b:q=b;break;case 0:break;default:throw v("badargs",arguments.length);}var t=this instanceof f,m=t?n:h.isArray?[]:new f(n),z={},B=h.interceptor&&h.interceptor.response||e,C=h.interceptor&&h.interceptor.responseError||A;s(h,function(a,b){"params"!=b&&("isArray"!=b&&"interceptor"!=b)&&(z[b]=G(a))});c&&(z.data=n);F.setUrlParams(z,x({},r(n,h.params||{}),q),h.url);q=p(z).then(function(b){var d=b.data,k=m.$promise;if(d){if(a.isArray(d)!==!!h.isArray)throw v("badcfg",
h.isArray?"array":"object",a.isArray(d)?"array":"object");h.isArray?(m.length=0,s(d,function(b){"object"===typeof b?m.push(new f(b)):m.push(b)})):(D(d,m),m.$promise=k)}m.$resolved=!0;b.resource=m;return b},function(b){m.$resolved=!0;(y||E)(b);return g.reject(b)});q=q.then(function(b){var a=B(b);(l||E)(a,b.headers);return a},C);return t?q:(m.$promise=q,m.$resolved=!1,m)};f.prototype["$"+d]=function(b,a,k){u(b)&&(k=a,a=b,b={});b=f[d].call(this,b,this,a,k);return b.$promise||b}});f.bind=function(a){return t(n,
x({},w,a),l)};return f}var B={get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}},E=a.noop,s=a.forEach,x=a.extend,G=a.copy,u=a.isFunction;c.prototype={setUrlParams:function(c,g,l){var r=this,e=l||r.template,f,p,h=r.urlParams={};s(e.split(/\W/),function(a){if("hasOwnProperty"===a)throw v("badname");!/^\d+$/.test(a)&&(a&&RegExp("(^|[^\\\\]):"+a+"(\\W|$)").test(e))&&(h[a]=!0)});e=e.replace(/\\:/g,":");g=g||{};s(r.urlParams,function(d,
c){f=g.hasOwnProperty(c)?g[c]:r.defaults[c];a.isDefined(f)&&null!==f?(p=encodeURIComponent(f).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"%20").replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+"),e=e.replace(RegExp(":"+c+"(\\W|$)","g"),function(a,c){return p+c})):e=e.replace(RegExp("(/?):"+c+"(\\W|$)","g"),function(a,c,d){return"/"==d.charAt(0)?d:c+d})});e=e.replace(/\/+$/,"")||"/";e=e.replace(/\/\.(?=\w+($|\?))/,".");c.url=e.replace(/\/\\\./,
"/.");s(g,function(a,e){r.urlParams[e]||(c.params=c.params||{},c.params[e]=a)})}};return t}])})(window,window.angular);
//# sourceMappingURL=angular-resource.min.js.map

View File

@ -1,14 +0,0 @@
/*
AngularJS v1.2.32
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(n,e,A){'use strict';function x(s,g,h){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,c,b,f,w){function y(){p&&(p.remove(),p=null);k&&(k.$destroy(),k=null);l&&(h.leave(l,function(){p=null}),p=l,l=null)}function v(){var b=s.current&&s.current.locals;if(e.isDefined(b&&b.$template)){var b=a.$new(),d=s.current;l=w(b,function(d){h.enter(d,null,l||c,function(){!e.isDefined(t)||t&&!a.$eval(t)||g()});y()});k=d.scope=b;k.$emit("$viewContentLoaded");k.$eval(u)}else y()}
var k,l,p,t=b.autoscroll,u=b.onload||"";a.$on("$routeChangeSuccess",v);v()}}}function z(e,g,h){return{restrict:"ECA",priority:-400,link:function(a,c){var b=h.current,f=b.locals;c.html(f.$template);var w=e(c.contents());b.controller&&(f.$scope=a,f=g(b.controller,f),b.controllerAs&&(a[b.controllerAs]=f),c.data("$ngControllerController",f),c.children().data("$ngControllerController",f));w(a)}}}n=e.module("ngRoute",["ng"]).provider("$route",function(){function s(a,c){return e.extend(new (e.extend(function(){},
{prototype:a})),c)}function g(a,e){var b=e.caseInsensitiveMatch,f={originalPath:a,regexp:a},h=f.keys=[];a=a.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(a,e,b,c){a="?"===c?c:null;c="*"===c?c:null;h.push({name:b,optional:!!a});e=e||"";return""+(a?"":e)+"(?:"+(a?e:"")+(c&&"(.+?)"||"([^/]+)")+(a||"")+")"+(a||"")}).replace(/([\/$\*])/g,"\\$1");f.regexp=RegExp("^"+a+"$",b?"i":"");return f}var h={};this.when=function(a,c){h[a]=e.extend({reloadOnSearch:!0},c,a&&g(a,c));if(a){var b=
"/"==a[a.length-1]?a.substr(0,a.length-1):a+"/";h[b]=e.extend({redirectTo:a},g(b,c))}return this};this.otherwise=function(a){this.when(null,a);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$http","$templateCache","$sce",function(a,c,b,f,g,n,v,k){function l(){var d=p(),m=r.current;if(d&&m&&d.$$route===m.$$route&&e.equals(d.pathParams,m.pathParams)&&!d.reloadOnSearch&&!u)m.params=d.params,e.copy(m.params,b),a.$broadcast("$routeUpdate",m);else if(d||m)u=!1,a.$broadcast("$routeChangeStart",
d,m),(r.current=d)&&d.redirectTo&&(e.isString(d.redirectTo)?c.path(t(d.redirectTo,d.params)).search(d.params).replace():c.url(d.redirectTo(d.pathParams,c.path(),c.search())).replace()),f.when(d).then(function(){if(d){var a=e.extend({},d.resolve),c,b;e.forEach(a,function(d,c){a[c]=e.isString(d)?g.get(d):g.invoke(d)});e.isDefined(c=d.template)?e.isFunction(c)&&(c=c(d.params)):e.isDefined(b=d.templateUrl)&&(e.isFunction(b)&&(b=b(d.params)),b=k.getTrustedResourceUrl(b),e.isDefined(b)&&(d.loadedTemplateUrl=
b,c=n.get(b,{cache:v}).then(function(a){return a.data})));e.isDefined(c)&&(a.$template=c);return f.all(a)}}).then(function(c){d==r.current&&(d&&(d.locals=c,e.copy(d.params,b)),a.$broadcast("$routeChangeSuccess",d,m))},function(c){d==r.current&&a.$broadcast("$routeChangeError",d,m,c)})}function p(){var a,b;e.forEach(h,function(f,h){var q;if(q=!b){var g=c.path();q=f.keys;var l={};if(f.regexp)if(g=f.regexp.exec(g)){for(var k=1,p=g.length;k<p;++k){var n=q[k-1],r=g[k];n&&r&&(l[n.name]=r)}q=l}else q=null;
else q=null;q=a=q}q&&(b=s(f,{params:e.extend({},c.search(),a),pathParams:a}),b.$$route=f)});return b||h[null]&&s(h[null],{params:{},pathParams:{}})}function t(a,c){var b=[];e.forEach((a||"").split(":"),function(a,d){if(0===d)b.push(a);else{var e=a.match(/(\w+)(?:[?*])?(.*)/),f=e[1];b.push(c[f]);b.push(e[2]||"");delete c[f]}});return b.join("")}var u=!1,r={routes:h,reload:function(){u=!0;a.$evalAsync(l)}};a.$on("$locationChangeSuccess",l);return r}]});n.provider("$routeParams",function(){this.$get=
function(){return{}}});n.directive("ngView",x);n.directive("ngView",z);x.$inject=["$route","$anchorScroll","$animate"];z.$inject=["$compile","$controller","$route"]})(window,window.angular);
//# sourceMappingURL=angular-route.min.js.map

View File

@ -1,18 +0,0 @@
/*
AngularJS v1.6.10
(c) 2010-2018 Google, Inc. http://angularjs.org
License: MIT
*/
(function(s,c){'use strict';function P(c){var h=[];C(h,E).chars(c);return h.join("")}var D=c.$$minErr("$sanitize"),F,h,G,H,I,q,E,J,K,C;c.module("ngSanitize",[]).provider("$sanitize",function(){function f(a,e){return B(a.split(","),e)}function B(a,e){var d={},b;for(b=0;b<a.length;b++)d[e?q(a[b]):a[b]]=!0;return d}function t(a,e){e&&e.length&&h(a,B(e))}function Q(a){for(var e={},d=0,b=a.length;d<b;d++){var k=a[d];e[k.name]=k.value}return e}function L(a){return a.replace(/&/g,"&amp;").replace(z,function(a){var d=
a.charCodeAt(0);a=a.charCodeAt(1);return"&#"+(1024*(d-55296)+(a-56320)+65536)+";"}).replace(u,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function A(a){for(;a;){if(a.nodeType===s.Node.ELEMENT_NODE)for(var e=a.attributes,d=0,b=e.length;d<b;d++){var k=e[d],g=k.name.toLowerCase();if("xmlns:ns1"===g||0===g.lastIndexOf("ns1:",0))a.removeAttributeNode(k),d--,b--}(e=a.firstChild)&&A(e);a=v("nextSibling",a)}}function v(a,e){var d=e[a];if(d&&J.call(e,d))throw D("elclob",
e.outerHTML||e.outerText);return d}var y=!1,g=!1;this.$get=["$$sanitizeUri",function(a){y=!0;g&&h(m,l);return function(e){var d=[];K(e,C(d,function(b,d){return!/^unsafe:/.test(a(b,d))}));return d.join("")}}];this.enableSvg=function(a){return I(a)?(g=a,this):g};this.addValidElements=function(a){y||(H(a)&&(a={htmlElements:a}),t(l,a.svgElements),t(r,a.htmlVoidElements),t(m,a.htmlVoidElements),t(m,a.htmlElements));return this};this.addValidAttrs=function(a){y||h(M,B(a,!0));return this};F=c.bind;h=c.extend;
G=c.forEach;H=c.isArray;I=c.isDefined;q=c.lowercase;E=c.noop;K=function(a,e){null===a||void 0===a?a="":"string"!==typeof a&&(a=""+a);var d=N(a);if(!d)return"";var b=5;do{if(0===b)throw D("uinput");b--;a=d.innerHTML;d=N(a)}while(a!==d.innerHTML);for(b=d.firstChild;b;){switch(b.nodeType){case 1:e.start(b.nodeName.toLowerCase(),Q(b.attributes));break;case 3:e.chars(b.textContent)}var k;if(!(k=b.firstChild)&&(1===b.nodeType&&e.end(b.nodeName.toLowerCase()),k=v("nextSibling",b),!k))for(;null==k;){b=v("parentNode",
b);if(b===d)break;k=v("nextSibling",b);1===b.nodeType&&e.end(b.nodeName.toLowerCase())}b=k}for(;b=d.firstChild;)d.removeChild(b)};C=function(a,e){var d=!1,b=F(a,a.push);return{start:function(a,g){a=q(a);!d&&w[a]&&(d=a);d||!0!==m[a]||(b("<"),b(a),G(g,function(d,g){var c=q(g),f="img"===a&&"src"===c||"background"===c;!0!==M[c]||!0===O[c]&&!e(d,f)||(b(" "),b(g),b('="'),b(L(d)),b('"'))}),b(">"))},end:function(a){a=q(a);d||!0!==m[a]||!0===r[a]||(b("</"),b(a),b(">"));a==d&&(d=!1)},chars:function(a){d||b(L(a))}}};
J=s.Node.prototype.contains||function(a){return!!(this.compareDocumentPosition(a)&16)};var z=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/([^#-~ |!])/g,r=f("area,br,col,hr,img,wbr"),x=f("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),p=f("rp,rt"),n=h({},p,x),x=h({},x,f("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")),p=h({},p,f("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")),
l=f("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"),w=f("script,style"),m=h({},r,x,p,n),O=f("background,cite,href,longdesc,src,xlink:href,xml:base"),n=f("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"),
p=f("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),M=h({},O,p,n),N=function(a,e){function d(b){b="<remove></remove>"+b;try{var d=(new a.DOMParser).parseFromString(b,"text/html").body;d.firstChild.remove();return d}catch(e){}}function b(a){c.innerHTML=a;e.documentMode&&A(c);return c}var g;if(e&&e.implementation)g=e.implementation.createHTMLDocument("inert");else throw D("noinert");var c=(g.documentElement||g.getDocumentElement()).querySelector("body");c.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>';return c.querySelector("svg")?
(c.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',c.querySelector("svg img")?d:b):function(b){b="<remove></remove>"+b;try{b=encodeURI(b)}catch(d){return}var e=new a.XMLHttpRequest;e.responseType="document";e.open("GET","data:text/html;charset=utf-8,"+b,!1);e.send(null);b=e.response.body;b.firstChild.remove();return b}}(s,s.document)}).info({angularVersion:"1.6.10"});c.module("ngSanitize").filter("linky",["$sanitize",function(f){var h=/((s?ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,
t=/^mailto:/i,q=c.$$minErr("linky"),s=c.isDefined,A=c.isFunction,v=c.isObject,y=c.isString;return function(c,z,u){function r(c){c&&l.push(P(c))}function x(c,g){var f,a=p(c);l.push("<a ");for(f in a)l.push(f+'="'+a[f]+'" ');!s(z)||"target"in a||l.push('target="',z,'" ');l.push('href="',c.replace(/"/g,"&quot;"),'">');r(g);l.push("</a>")}if(null==c||""===c)return c;if(!y(c))throw q("notstring",c);for(var p=A(u)?u:v(u)?function(){return u}:function(){return{}},n=c,l=[],w,m;c=n.match(h);)w=c[0],c[2]||
c[4]||(w=(c[3]?"http://":"mailto:")+w),m=c.index,r(n.substr(0,m)),x(w,c[0].replace(t,"")),n=n.substring(m+c[0].length);r(n);return f(l.join(""))}}])})(window,window.angular);
//# sourceMappingURL=angular-sanitize.min.js.map