ing-web-es 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ing-web-es might be problematic. Click here for more details.
- package/45210.py +84 -0
- package/EMBEDDED_IFRAME_ON_WEB_PAGE.flv +0 -0
- package/FinalPoc.ogx +0 -0
- package/SCOPE_ing +20 -0
- package/brandportal.ing.com/dump-scripts.py +83 -0
- package/brandportal.ing.com/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/brandportal.ing.com/scripts/accounting.min.js +155 -0
- package/brandportal.ing.com/scripts/assetWindowContainer.bundle.js +23827 -0
- package/brandportal.ing.com/scripts/assets.js +1223 -0
- package/brandportal.ing.com/scripts/bootstrap-select.min.js +1287 -0
- package/brandportal.ing.com/scripts/bootstrap.min.js +1530 -0
- package/brandportal.ing.com/scripts/chosen.jquery.min.js +1238 -0
- package/brandportal.ing.com/scripts/core.main.js +1059 -0
- package/brandportal.ing.com/scripts/en_120.js +5247 -0
- package/brandportal.ing.com/scripts/hoverIntent.js +139 -0
- package/brandportal.ing.com/scripts/jquery-3.5.1.min.js +3242 -0
- package/brandportal.ing.com/scripts/jquery-ui-timepicker-addon.js +1471 -0
- package/brandportal.ing.com/scripts/jquery-ui.min.js +6711 -0
- package/brandportal.ing.com/scripts/jquery.are-you-sure.js +197 -0
- package/brandportal.ing.com/scripts/jquery.autotabs.js +42 -0
- package/brandportal.ing.com/scripts/jquery.backstretch.min.js +543 -0
- package/brandportal.ing.com/scripts/jquery.blockUI.js +442 -0
- package/brandportal.ing.com/scripts/jquery.datePicker.js +1151 -0
- package/brandportal.ing.com/scripts/jquery.dialogextend.2_0_4.pack.js +300 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-audio.js +103 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-image.js +313 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-process.js +172 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-ui.js +700 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-validate.js +117 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-video.js +103 -0
- package/brandportal.ing.com/scripts/jquery.fileupload.js +1451 -0
- package/brandportal.ing.com/scripts/jquery.form.js +892 -0
- package/brandportal.ing.com/scripts/jquery.number.min.js +150 -0
- package/brandportal.ing.com/scripts/jquery.ui.datepicker-en.js +26 -0
- package/brandportal.ing.com/scripts/jquery.ui.timepicker-en.js +6 -0
- package/brandportal.ing.com/scripts/jquery.validate.min.js +844 -0
- package/brandportal.ing.com/scripts/layout.bundle.js +673 -0
- package/brandportal.ing.com/scripts/load-image.all.min.js +770 -0
- package/brandportal.ing.com/scripts/local.bundle.js +310 -0
- package/brandportal.ing.com/scripts/moment.min.js +1562 -0
- package/brandportal.ing.com/scripts/nl.js +88 -0
- package/brandportal.ing.com/scripts/paginator.js +267 -0
- package/brandportal.ing.com/scripts/popper.min.js +844 -0
- package/brandportal.ing.com/scripts/selectAssetBrowser.bundle.js +47577 -0
- package/brandportal.ing.com/scripts/selectables.custom.js +174 -0
- package/brandportal.ing.com/scripts/slick.min.js +687 -0
- package/brandportal.ing.com/scripts/superfish.js +279 -0
- package/brandportal.ing.com/scripts/upload-main.js +90 -0
- package/brandportal.ing.com/scripts/video.min.js +12517 -0
- package/brandportal.ing.com/scripts/videojs.wavesurfer.min.js +495 -0
- package/brandportal.ing.com/scripts/wavesurfer.min.js +2775 -0
- package/burping.json +783 -0
- package/dump-scripts.py +83 -0
- package/ing.com.txt +365 -0
- package/ing.com_200List.txt +30 -0
- package/ing.com_DIRSEARCH.txt +8220 -0
- package/ing_notes +1 -0
- package/nmap +1224 -0
- package/nuclei_ing.com.txt +9 -0
- package/package.json +12 -0
- package/poc.html +116 -0
- package/scope.txt +141 -0
- package/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/scripts/AliasCtrl.js +0 -0
- package/scripts/ChangePasswordCtrl.js +0 -0
- package/scripts/CustomErrorCtrl.js +0 -0
- package/scripts/ErrorCtrl.js +0 -0
- package/scripts/HeaderCtrl.js +0 -0
- package/scripts/LoginValidationService.js +0 -0
- package/scripts/NipValidator.js +0 -0
- package/scripts/Psd2AliasCtrl.js +0 -0
- package/scripts/RegonValidator.js +0 -0
- package/scripts/SmsCtrl.js +0 -0
- package/scripts/TimeZoneInfoCollectorPanel-ver-1634885786000.js +2 -0
- package/scripts/accounting.min.js +155 -0
- package/scripts/angular-animate.min.js +0 -0
- package/scripts/angular-cookies.min.js +0 -0
- package/scripts/angular-translate.min.js +0 -0
- package/scripts/angular-ui-router.js +0 -0
- package/scripts/angular.min.js +0 -0
- package/scripts/assetWindowContainer.bundle.js +23827 -0
- package/scripts/assets.js +1223 -0
- package/scripts/bootstrap-select.min.js +1287 -0
- package/scripts/bootstrap.min.js +1530 -0
- package/scripts/chosen.jquery.min.js +1238 -0
- package/scripts/core.main.js +1059 -0
- package/scripts/criticalMessageService.js +0 -0
- package/scripts/data-dir-cookies-bar.js +0 -0
- package/scripts/data-dir-progress-pie.js +0 -0
- package/scripts/dir-critical-message.js +0 -0
- package/scripts/dir-login-keyboard.js +0 -0
- package/scripts/dir-login-validation.js +0 -0
- package/scripts/en_120.js +5247 -0
- package/scripts/environment.js +22 -0
- package/scripts/gemius-init.js +0 -0
- package/scripts/gemiusID.js +0 -0
- package/scripts/hoverIntent.js +139 -0
- package/scripts/ing-vendor.min-ver-1634885786000.js +2 -0
- package/scripts/ing-ver-1634885786000.js +2 -0
- package/scripts/jquery-3.5.1.min.js +3242 -0
- package/scripts/jquery-ui-timepicker-addon.js +1471 -0
- package/scripts/jquery-ui.min.js +6711 -0
- package/scripts/jquery.are-you-sure.js +197 -0
- package/scripts/jquery.autotabs.js +42 -0
- package/scripts/jquery.backstretch.min.js +543 -0
- package/scripts/jquery.blockUI.js +442 -0
- package/scripts/jquery.datePicker.js +1151 -0
- package/scripts/jquery.dialogextend.2_0_4.pack.js +300 -0
- package/scripts/jquery.fileupload-audio.js +103 -0
- package/scripts/jquery.fileupload-image.js +313 -0
- package/scripts/jquery.fileupload-process.js +172 -0
- package/scripts/jquery.fileupload-ui.js +700 -0
- package/scripts/jquery.fileupload-validate.js +117 -0
- package/scripts/jquery.fileupload-video.js +103 -0
- package/scripts/jquery.fileupload.js +1451 -0
- package/scripts/jquery.form.js +892 -0
- package/scripts/jquery.number.min.js +150 -0
- package/scripts/jquery.ui.datepicker-en.js +26 -0
- package/scripts/jquery.ui.timepicker-en.js +6 -0
- package/scripts/jquery.validate.min.js +844 -0
- package/scripts/jsbn-ver-1634886518000.js +2 -0
- package/scripts/layout.bundle.js +673 -0
- package/scripts/load-image.all.min.js +770 -0
- package/scripts/local.bundle.js +310 -0
- package/scripts/login-app.js +0 -0
- package/scripts/login-en.js +0 -0
- package/scripts/login-pl.js +0 -0
- package/scripts/login-states.js +0 -0
- package/scripts/main.js +23 -0
- package/scripts/mobileAuthCtrl.js +0 -0
- package/scripts/moment.min.js +1562 -0
- package/scripts/mon_ing_init.js +22 -0
- package/scripts/nl.js +88 -0
- package/scripts/paginator.js +267 -0
- package/scripts/pinLoginDefault-ver-1634885786000.js +2 -0
- package/scripts/popper.min.js +844 -0
- package/scripts/prng4-ver-1634886518000.js +2 -0
- package/scripts/psd2-states.js +0 -0
- package/scripts/rng-ver-1634886518000.js +2 -0
- package/scripts/rsa_jsbn-ver-1634886518000.js +2 -0
- package/scripts/selectAssetBrowser.bundle.js +47577 -0
- package/scripts/selectables.custom.js +174 -0
- package/scripts/sgemius.js +0 -0
- package/scripts/sha1.js +0 -0
- package/scripts/slick.min.js +687 -0
- package/scripts/superfish.js +279 -0
- package/scripts/upload-main.js +90 -0
- package/scripts/video.min.js +12517 -0
- package/scripts/videojs.wavesurfer.min.js +495 -0
- package/scripts/wavesurfer.min.js +2775 -0
- package/scripts/webtrekk_v4-ver-1634885786000.js +2 -0
- package/setup-feature.js +47 -0
- package/start.ingbusiness.pl/dump-scripts.py +83 -0
- package/start.ingbusiness.pl/form.html_v=202110040949 +52 -0
- package/start.ingbusiness.pl/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/start.ingbusiness.pl/scripts/AliasCtrl.js +136 -0
- package/start.ingbusiness.pl/scripts/ChangePasswordCtrl.js +162 -0
- package/start.ingbusiness.pl/scripts/CustomErrorCtrl.js +9 -0
- package/start.ingbusiness.pl/scripts/ErrorCtrl.js +30 -0
- package/start.ingbusiness.pl/scripts/HeaderCtrl.js +84 -0
- package/start.ingbusiness.pl/scripts/LoginService.js +86 -0
- package/start.ingbusiness.pl/scripts/LoginValidationService.js +52 -0
- package/start.ingbusiness.pl/scripts/NipValidator.js +30 -0
- package/start.ingbusiness.pl/scripts/PasswordCtrl.js +179 -0
- package/start.ingbusiness.pl/scripts/Psd2AliasCtrl.js +12 -0
- package/start.ingbusiness.pl/scripts/RegonValidator.js +73 -0
- package/start.ingbusiness.pl/scripts/RequestService.js +26 -0
- package/start.ingbusiness.pl/scripts/SmsCtrl.js +91 -0
- package/start.ingbusiness.pl/scripts/UnlockUserCtrl.js +79 -0
- package/start.ingbusiness.pl/scripts/angular-animate.min.js +1535 -0
- package/start.ingbusiness.pl/scripts/angular-cookies.min.js +62 -0
- package/start.ingbusiness.pl/scripts/angular-translate.min.js +871 -0
- package/start.ingbusiness.pl/scripts/angular-ui-router.js +1561 -0
- package/start.ingbusiness.pl/scripts/angular.min.js +9845 -0
- package/start.ingbusiness.pl/scripts/criticalMessageService.js +24 -0
- package/start.ingbusiness.pl/scripts/data-dir-button-loader.js +30 -0
- package/start.ingbusiness.pl/scripts/data-dir-compile-template.js +17 -0
- package/start.ingbusiness.pl/scripts/data-dir-cookies-bar.js +37 -0
- package/start.ingbusiness.pl/scripts/data-dir-progress-pie.js +102 -0
- package/start.ingbusiness.pl/scripts/data-dir-svg-icon.js +633 -0
- package/start.ingbusiness.pl/scripts/data-gemius-event.js +119 -0
- package/start.ingbusiness.pl/scripts/dir-critical-message.js +9 -0
- package/start.ingbusiness.pl/scripts/dir-help-panel-content.js +29 -0
- package/start.ingbusiness.pl/scripts/dir-login-keyboard.js +346 -0
- package/start.ingbusiness.pl/scripts/dir-login-validation.js +20 -0
- package/start.ingbusiness.pl/scripts/dir-nav-links.js +26 -0
- package/start.ingbusiness.pl/scripts/dir-title.js +21 -0
- package/start.ingbusiness.pl/scripts/gemius-init.js +12 -0
- package/start.ingbusiness.pl/scripts/gemiusID.js +32 -0
- package/start.ingbusiness.pl/scripts/hashService.js +91 -0
- package/start.ingbusiness.pl/scripts/helpPanelPasswordService.js +26 -0
- package/start.ingbusiness.pl/scripts/helpPanelService.js +92 -0
- package/start.ingbusiness.pl/scripts/jquery-3.5.1.min.js +3242 -0
- package/start.ingbusiness.pl/scripts/login-app.js +107 -0
- package/start.ingbusiness.pl/scripts/login-en.js +73 -0
- package/start.ingbusiness.pl/scripts/login-pl.js +74 -0
- package/start.ingbusiness.pl/scripts/login-states.js +156 -0
- package/start.ingbusiness.pl/scripts/maskService.js +194 -0
- package/start.ingbusiness.pl/scripts/maskUtilService.js +302 -0
- package/start.ingbusiness.pl/scripts/mobileAuthCtrl.js +189 -0
- package/start.ingbusiness.pl/scripts/psd2-states.js +67 -0
- package/start.ingbusiness.pl/scripts/securityPolicyService.js +119 -0
- package/start.ingbusiness.pl/scripts/sgemius.js +257 -0
- package/start.ingbusiness.pl/scripts/sha1.js +210 -0
- package/start.ingbusiness.pl/scripts/sprintf.js +115 -0
- package/start.ingbusiness.pl/scripts/tabletScalingService.js +59 -0
- package/start.ingbusiness.pl/scripts/userAgentResolverService.js +12 -0
@@ -0,0 +1,1535 @@
|
|
1
|
+
/*
|
2
|
+
AngularJS v1.8.2
|
3
|
+
(c) 2010-2020 Google LLC. http://angularjs.org
|
4
|
+
License: MIT
|
5
|
+
*/
|
6
|
+
(function(Y, z) {
|
7
|
+
'use strict';
|
8
|
+
|
9
|
+
function Fa(a, b, c) {
|
10
|
+
if (!a) throw Pa("areq", b || "?", c || "required");
|
11
|
+
return a
|
12
|
+
}
|
13
|
+
|
14
|
+
function Ga(a, b) {
|
15
|
+
if (!a && !b) return "";
|
16
|
+
if (!a) return b;
|
17
|
+
if (!b) return a;
|
18
|
+
Z(a) && (a = a.join(" "));
|
19
|
+
Z(b) && (b = b.join(" "));
|
20
|
+
return a + " " + b
|
21
|
+
}
|
22
|
+
|
23
|
+
function Qa(a) {
|
24
|
+
var b = {};
|
25
|
+
a && (a.to || a.from) && (b.to = a.to, b.from = a.from);
|
26
|
+
return b
|
27
|
+
}
|
28
|
+
|
29
|
+
function $(a, b, c) {
|
30
|
+
var d = "";
|
31
|
+
a = Z(a) ? a : a && G(a) && a.length ? a.split(/\s+/) : [];
|
32
|
+
s(a, function(a, k) {
|
33
|
+
a && 0 < a.length && (d += 0 < k ? " " : "", d += c ? b + a : a + b)
|
34
|
+
});
|
35
|
+
return d
|
36
|
+
}
|
37
|
+
|
38
|
+
function Ha(a) {
|
39
|
+
if (a instanceof A) switch (a.length) {
|
40
|
+
case 0:
|
41
|
+
return a;
|
42
|
+
case 1:
|
43
|
+
if (1 === a[0].nodeType) return a;
|
44
|
+
break;
|
45
|
+
default:
|
46
|
+
return A(va(a))
|
47
|
+
}
|
48
|
+
if (1 === a.nodeType) return A(a)
|
49
|
+
}
|
50
|
+
|
51
|
+
function va(a) {
|
52
|
+
if (!a[0]) return a;
|
53
|
+
for (var b = 0; b < a.length; b++) {
|
54
|
+
var c = a[b];
|
55
|
+
if (1 === c.nodeType) return c
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
function Ra(a, b, c) {
|
60
|
+
s(b, function(b) {
|
61
|
+
a.addClass(b, c)
|
62
|
+
})
|
63
|
+
}
|
64
|
+
|
65
|
+
function Sa(a, b, c) {
|
66
|
+
s(b, function(b) {
|
67
|
+
a.removeClass(b, c)
|
68
|
+
})
|
69
|
+
}
|
70
|
+
|
71
|
+
function aa(a) {
|
72
|
+
return function(b, c) {
|
73
|
+
c.addClass && (Ra(a, b, c.addClass), c.addClass = null);
|
74
|
+
c.removeClass && (Sa(a, b, c.removeClass), c.removeClass = null)
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
function pa(a) {
|
79
|
+
a = a || {};
|
80
|
+
if (!a.$$prepared) {
|
81
|
+
var b = a.domOperation ||
|
82
|
+
N;
|
83
|
+
a.domOperation = function() {
|
84
|
+
a.$$domOperationFired = !0;
|
85
|
+
b();
|
86
|
+
b = N
|
87
|
+
};
|
88
|
+
a.$$prepared = !0
|
89
|
+
}
|
90
|
+
return a
|
91
|
+
}
|
92
|
+
|
93
|
+
function ha(a, b) {
|
94
|
+
Ia(a, b);
|
95
|
+
Ja(a, b)
|
96
|
+
}
|
97
|
+
|
98
|
+
function Ia(a, b) {
|
99
|
+
b.from && (a.css(b.from), b.from = null)
|
100
|
+
}
|
101
|
+
|
102
|
+
function Ja(a, b) {
|
103
|
+
b.to && (a.css(b.to), b.to = null)
|
104
|
+
}
|
105
|
+
|
106
|
+
function T(a, b, c) {
|
107
|
+
var d = b.options || {};
|
108
|
+
c = c.options || {};
|
109
|
+
var f = (d.addClass || "") + " " + (c.addClass || ""),
|
110
|
+
k = (d.removeClass || "") + " " + (c.removeClass || "");
|
111
|
+
a = Ta(a.attr("class"), f, k);
|
112
|
+
c.preparationClasses && (d.preparationClasses = ba(c.preparationClasses, d.preparationClasses), delete c.preparationClasses);
|
113
|
+
f = d.domOperation !== N ? d.domOperation : null;
|
114
|
+
wa(d, c);
|
115
|
+
f && (d.domOperation = f);
|
116
|
+
d.addClass = a.addClass ? a.addClass : null;
|
117
|
+
d.removeClass = a.removeClass ? a.removeClass : null;
|
118
|
+
b.addClass = d.addClass;
|
119
|
+
b.removeClass = d.removeClass;
|
120
|
+
return d
|
121
|
+
}
|
122
|
+
|
123
|
+
function Ta(a, b, c) {
|
124
|
+
function d(a) {
|
125
|
+
G(a) && (a = a.split(" "));
|
126
|
+
var c = {};
|
127
|
+
s(a, function(a) {
|
128
|
+
a.length && (c[a] = !0)
|
129
|
+
});
|
130
|
+
return c
|
131
|
+
}
|
132
|
+
var f = {};
|
133
|
+
a = d(a);
|
134
|
+
b = d(b);
|
135
|
+
s(b, function(a, c) {
|
136
|
+
f[c] = 1
|
137
|
+
});
|
138
|
+
c = d(c);
|
139
|
+
s(c, function(a, c) {
|
140
|
+
f[c] = 1 === f[c] ? null : -1
|
141
|
+
});
|
142
|
+
var k = {
|
143
|
+
addClass: "",
|
144
|
+
removeClass: ""
|
145
|
+
};
|
146
|
+
s(f, function(c, b) {
|
147
|
+
var d, f;
|
148
|
+
1 === c ? (d = "addClass",
|
149
|
+
f = !a[b] || a[b + "-remove"]) : -1 === c && (d = "removeClass", f = a[b] || a[b + "-add"]);
|
150
|
+
f && (k[d].length && (k[d] += " "), k[d] += b)
|
151
|
+
});
|
152
|
+
return k
|
153
|
+
}
|
154
|
+
|
155
|
+
function K(a) {
|
156
|
+
return a instanceof A ? a[0] : a
|
157
|
+
}
|
158
|
+
|
159
|
+
function Ua(a, b, c, d) {
|
160
|
+
a = "";
|
161
|
+
c && (a = $(c, "ng-", !0));
|
162
|
+
d.addClass && (a = ba(a, $(d.addClass, "-add")));
|
163
|
+
d.removeClass && (a = ba(a, $(d.removeClass, "-remove")));
|
164
|
+
a.length && (d.preparationClasses = a, b.addClass(a))
|
165
|
+
}
|
166
|
+
|
167
|
+
function xa(a, b) {
|
168
|
+
var c = b ? "paused" : "",
|
169
|
+
d = ca + "PlayState";
|
170
|
+
ma(a, [d, c]);
|
171
|
+
return [d, c]
|
172
|
+
}
|
173
|
+
|
174
|
+
function ma(a, b) {
|
175
|
+
a.style[b[0]] = b[1]
|
176
|
+
}
|
177
|
+
|
178
|
+
function ba(a, b) {
|
179
|
+
return a ? b ? a + " " +
|
180
|
+
b : a : b
|
181
|
+
}
|
182
|
+
|
183
|
+
function Ka(a, b, c) {
|
184
|
+
var d = Object.create(null),
|
185
|
+
f = a.getComputedStyle(b) || {};
|
186
|
+
s(c, function(a, c) {
|
187
|
+
var b = f[a];
|
188
|
+
if (b) {
|
189
|
+
var L = b.charAt(0);
|
190
|
+
if ("-" === L || "+" === L || 0 <= L) b = Va(b);
|
191
|
+
0 === b && (b = null);
|
192
|
+
d[c] = b
|
193
|
+
}
|
194
|
+
});
|
195
|
+
return d
|
196
|
+
}
|
197
|
+
|
198
|
+
function Va(a) {
|
199
|
+
var b = 0;
|
200
|
+
a = a.split(/\s*,\s*/);
|
201
|
+
s(a, function(a) {
|
202
|
+
"s" === a.charAt(a.length - 1) && (a = a.substring(0, a.length - 1));
|
203
|
+
a = parseFloat(a) || 0;
|
204
|
+
b = b ? Math.max(a, b) : a
|
205
|
+
});
|
206
|
+
return b
|
207
|
+
}
|
208
|
+
|
209
|
+
function ya(a) {
|
210
|
+
return 0 === a || null != a
|
211
|
+
}
|
212
|
+
|
213
|
+
function La(a, b) {
|
214
|
+
var c = M,
|
215
|
+
d = a + "s";
|
216
|
+
b ? c += "Duration" : d += " linear all";
|
217
|
+
return [c, d]
|
218
|
+
}
|
219
|
+
|
220
|
+
function Ma(a, b, c) {
|
221
|
+
s(c,
|
222
|
+
function(c) {
|
223
|
+
a[c] = za(a[c]) ? a[c] : b.style.getPropertyValue(c)
|
224
|
+
})
|
225
|
+
}
|
226
|
+
var M, Aa, ca, Ba;
|
227
|
+
void 0 === Y.ontransitionend && void 0 !== Y.onwebkittransitionend ? (M = "WebkitTransition", Aa = "webkitTransitionEnd transitionend") : (M = "transition", Aa = "transitionend");
|
228
|
+
void 0 === Y.onanimationend && void 0 !== Y.onwebkitanimationend ? (ca = "WebkitAnimation", Ba = "webkitAnimationEnd animationend") : (ca = "animation", Ba = "animationend");
|
229
|
+
var qa = ca + "Delay",
|
230
|
+
Ca = ca + "Duration",
|
231
|
+
na = M + "Delay",
|
232
|
+
Na = M + "Duration",
|
233
|
+
Pa = z.$$minErr("ng"),
|
234
|
+
ra = {
|
235
|
+
blockTransitions: function(a,
|
236
|
+
b) {
|
237
|
+
var c = b ? "-" + b + "s" : "";
|
238
|
+
ma(a, [na, c]);
|
239
|
+
return [na, c]
|
240
|
+
}
|
241
|
+
},
|
242
|
+
Wa = {
|
243
|
+
transitionDuration: Na,
|
244
|
+
transitionDelay: na,
|
245
|
+
transitionProperty: M + "Property",
|
246
|
+
animationDuration: Ca,
|
247
|
+
animationDelay: qa,
|
248
|
+
animationIterationCount: ca + "IterationCount"
|
249
|
+
},
|
250
|
+
Xa = {
|
251
|
+
transitionDuration: Na,
|
252
|
+
transitionDelay: na,
|
253
|
+
animationDuration: Ca,
|
254
|
+
animationDelay: qa
|
255
|
+
},
|
256
|
+
Da, wa, s, Z, za, sa, Ea, ta, G, R, A, N;
|
257
|
+
z.module("ngAnimate", [], function() {
|
258
|
+
N = z.noop;
|
259
|
+
Da = z.copy;
|
260
|
+
wa = z.extend;
|
261
|
+
A = z.element;
|
262
|
+
s = z.forEach;
|
263
|
+
Z = z.isArray;
|
264
|
+
G = z.isString;
|
265
|
+
ta = z.isObject;
|
266
|
+
R = z.isUndefined;
|
267
|
+
za = z.isDefined;
|
268
|
+
Ea = z.isFunction;
|
269
|
+
sa = z.isElement
|
270
|
+
}).info({
|
271
|
+
angularVersion: "1.8.2"
|
272
|
+
}).directive("ngAnimateSwap", ["$animate", function(a) {
|
273
|
+
return {
|
274
|
+
restrict: "A",
|
275
|
+
transclude: "element",
|
276
|
+
terminal: !0,
|
277
|
+
priority: 550,
|
278
|
+
link: function(b, c, d, f, k) {
|
279
|
+
var e, Q;
|
280
|
+
b.$watchCollection(d.ngAnimateSwap || d["for"], function(b) {
|
281
|
+
e && a.leave(e);
|
282
|
+
Q && (Q.$destroy(), Q = null);
|
283
|
+
(b || 0 === b) && k(function(b, d) {
|
284
|
+
e = b;
|
285
|
+
Q = d;
|
286
|
+
a.enter(b, null, c)
|
287
|
+
})
|
288
|
+
})
|
289
|
+
}
|
290
|
+
}
|
291
|
+
}]).directive("ngAnimateChildren", ["$interpolate", function(a) {
|
292
|
+
return {
|
293
|
+
link: function(b, c, d) {
|
294
|
+
function f(a) {
|
295
|
+
c.data("$$ngAnimateChildren", "on" === a || "true" ===
|
296
|
+
a)
|
297
|
+
}
|
298
|
+
var k = d.ngAnimateChildren;
|
299
|
+
G(k) && 0 === k.length ? c.data("$$ngAnimateChildren", !0) : (f(a(k)(b)), d.$observe("ngAnimateChildren", f))
|
300
|
+
}
|
301
|
+
}
|
302
|
+
}]).factory("$$rAFScheduler", ["$$rAF", function(a) {
|
303
|
+
function b(a) {
|
304
|
+
d = d.concat(a);
|
305
|
+
c()
|
306
|
+
}
|
307
|
+
|
308
|
+
function c() {
|
309
|
+
if (d.length) {
|
310
|
+
for (var b = d.shift(), e = 0; e < b.length; e++) b[e]();
|
311
|
+
f || a(function() {
|
312
|
+
f || c()
|
313
|
+
})
|
314
|
+
}
|
315
|
+
}
|
316
|
+
var d, f;
|
317
|
+
d = b.queue = [];
|
318
|
+
b.waitUntilQuiet = function(b) {
|
319
|
+
f && f();
|
320
|
+
f = a(function() {
|
321
|
+
f = null;
|
322
|
+
b();
|
323
|
+
c()
|
324
|
+
})
|
325
|
+
};
|
326
|
+
return b
|
327
|
+
}]).provider("$$animateQueue", ["$animateProvider", function(a) {
|
328
|
+
function b(a) {
|
329
|
+
return {
|
330
|
+
addClass: a.addClass,
|
331
|
+
removeClass: a.removeClass,
|
332
|
+
from: a.from,
|
333
|
+
to: a.to
|
334
|
+
}
|
335
|
+
}
|
336
|
+
|
337
|
+
function c(a) {
|
338
|
+
if (!a) return null;
|
339
|
+
a = a.split(" ");
|
340
|
+
var b = Object.create(null);
|
341
|
+
s(a, function(a) {
|
342
|
+
b[a] = !0
|
343
|
+
});
|
344
|
+
return b
|
345
|
+
}
|
346
|
+
|
347
|
+
function d(a, b) {
|
348
|
+
if (a && b) {
|
349
|
+
var d = c(b);
|
350
|
+
return a.split(" ").some(function(a) {
|
351
|
+
return d[a]
|
352
|
+
})
|
353
|
+
}
|
354
|
+
}
|
355
|
+
|
356
|
+
function f(a, b, c) {
|
357
|
+
return e[a].some(function(a) {
|
358
|
+
return a(b, c)
|
359
|
+
})
|
360
|
+
}
|
361
|
+
|
362
|
+
function k(a, b) {
|
363
|
+
var c = 0 < (a.addClass || "").length,
|
364
|
+
d = 0 < (a.removeClass || "").length;
|
365
|
+
return b ? c && d : c || d
|
366
|
+
}
|
367
|
+
var e = this.rules = {
|
368
|
+
skip: [],
|
369
|
+
cancel: [],
|
370
|
+
join: []
|
371
|
+
};
|
372
|
+
e.join.push(function(a, b) {
|
373
|
+
return !a.structural && k(a)
|
374
|
+
});
|
375
|
+
e.skip.push(function(a, b) {
|
376
|
+
return !a.structural && !k(a)
|
377
|
+
});
|
378
|
+
e.skip.push(function(a, b) {
|
379
|
+
return "leave" === b.event && a.structural
|
380
|
+
});
|
381
|
+
e.skip.push(function(a, b) {
|
382
|
+
return b.structural && 2 === b.state && !a.structural
|
383
|
+
});
|
384
|
+
e.cancel.push(function(a, b) {
|
385
|
+
return b.structural && a.structural
|
386
|
+
});
|
387
|
+
e.cancel.push(function(a, b) {
|
388
|
+
return 2 === b.state && a.structural
|
389
|
+
});
|
390
|
+
e.cancel.push(function(a, b) {
|
391
|
+
if (b.structural) return !1;
|
392
|
+
var c = a.addClass,
|
393
|
+
f = a.removeClass,
|
394
|
+
k = b.addClass,
|
395
|
+
e = b.removeClass;
|
396
|
+
return R(c) && R(f) || R(k) && R(e) ? !1 : d(c, e) || d(f, k)
|
397
|
+
});
|
398
|
+
this.$get = ["$$rAF",
|
399
|
+
"$rootScope", "$rootElement", "$document", "$$Map", "$$animation", "$$AnimateRunner", "$templateRequest", "$$jqLite", "$$forceReflow", "$$isDocumentHidden",
|
400
|
+
function(c, d, e, C, U, oa, H, u, t, I, da) {
|
401
|
+
function ia(a) {
|
402
|
+
O.delete(a.target)
|
403
|
+
}
|
404
|
+
|
405
|
+
function v() {
|
406
|
+
var a = !1;
|
407
|
+
return function(b) {
|
408
|
+
a ? b() : d.$$postDigest(function() {
|
409
|
+
a = !0;
|
410
|
+
b()
|
411
|
+
})
|
412
|
+
}
|
413
|
+
}
|
414
|
+
|
415
|
+
function ua(a, b, c) {
|
416
|
+
var g = [],
|
417
|
+
l = m[c];
|
418
|
+
l && s(l, function(l) {
|
419
|
+
Oa.call(l.node, b) ? g.push(l.callback) : "leave" === c && Oa.call(l.node, a) && g.push(l.callback)
|
420
|
+
});
|
421
|
+
return g
|
422
|
+
}
|
423
|
+
|
424
|
+
function h(a, b, c) {
|
425
|
+
var l = va(b);
|
426
|
+
return a.filter(function(a) {
|
427
|
+
return !(a.node ===
|
428
|
+
l && (!c || a.callback === c))
|
429
|
+
})
|
430
|
+
}
|
431
|
+
|
432
|
+
function q(a, J, w) {
|
433
|
+
function e(a, b, l, g) {
|
434
|
+
u(function() {
|
435
|
+
var a = ua(ia, m, b);
|
436
|
+
a.length ? c(function() {
|
437
|
+
s(a, function(a) {
|
438
|
+
a(h, l, g)
|
439
|
+
});
|
440
|
+
"close" !== l || m.parentNode || D.off(m)
|
441
|
+
}) : "close" !== l || m.parentNode || D.off(m)
|
442
|
+
});
|
443
|
+
a.progress(b, l, g)
|
444
|
+
}
|
445
|
+
|
446
|
+
function I(a) {
|
447
|
+
var b = h,
|
448
|
+
c = n;
|
449
|
+
c.preparationClasses && (b.removeClass(c.preparationClasses), c.preparationClasses = null);
|
450
|
+
c.activeClasses && (b.removeClass(c.activeClasses), c.activeClasses = null);
|
451
|
+
W(h, n);
|
452
|
+
ha(h, n);
|
453
|
+
n.domOperation();
|
454
|
+
q.complete(!a)
|
455
|
+
}
|
456
|
+
var n = Da(w),
|
457
|
+
h = Ha(a),
|
458
|
+
m = K(h),
|
459
|
+
ia = m &&
|
460
|
+
m.parentNode,
|
461
|
+
n = pa(n),
|
462
|
+
q = new H,
|
463
|
+
u = v();
|
464
|
+
Z(n.addClass) && (n.addClass = n.addClass.join(" "));
|
465
|
+
n.addClass && !G(n.addClass) && (n.addClass = null);
|
466
|
+
Z(n.removeClass) && (n.removeClass = n.removeClass.join(" "));
|
467
|
+
n.removeClass && !G(n.removeClass) && (n.removeClass = null);
|
468
|
+
n.from && !ta(n.from) && (n.from = null);
|
469
|
+
n.to && !ta(n.to) && (n.to = null);
|
470
|
+
if (!(B && m && fa(m, J, w) && Ya(m, n))) return I(), q;
|
471
|
+
var x = 0 <= ["enter", "move", "leave"].indexOf(J),
|
472
|
+
r = da(),
|
473
|
+
P = r || O.get(m);
|
474
|
+
w = !P && y.get(m) || {};
|
475
|
+
var p = !!w.state;
|
476
|
+
P || p && 1 === w.state || (P = !E(m, ia, J));
|
477
|
+
if (P) return r &&
|
478
|
+
e(q, J, "start", b(n)), I(), r && e(q, J, "close", b(n)), q;
|
479
|
+
x && F(m);
|
480
|
+
r = {
|
481
|
+
structural: x,
|
482
|
+
element: h,
|
483
|
+
event: J,
|
484
|
+
addClass: n.addClass,
|
485
|
+
removeClass: n.removeClass,
|
486
|
+
close: I,
|
487
|
+
options: n,
|
488
|
+
runner: q
|
489
|
+
};
|
490
|
+
if (p) {
|
491
|
+
if (f("skip", r, w)) {
|
492
|
+
if (2 === w.state) return I(), q;
|
493
|
+
T(h, w, r);
|
494
|
+
return w.runner
|
495
|
+
}
|
496
|
+
if (f("cancel", r, w))
|
497
|
+
if (2 === w.state) w.runner.end();
|
498
|
+
else if (w.structural) w.close();
|
499
|
+
else return T(h, w, r), w.runner;
|
500
|
+
else if (f("join", r, w))
|
501
|
+
if (2 === w.state) T(h, r, {});
|
502
|
+
else return Ua(t, h, x ? J : null, n), J = r.event = w.event, n = T(h, w, r), w.runner
|
503
|
+
} else T(h, r, {});
|
504
|
+
(p = r.structural) ||
|
505
|
+
(p = "animate" === r.event && 0 < Object.keys(r.options.to || {}).length || k(r));
|
506
|
+
if (!p) return I(), g(m), q;
|
507
|
+
var C = (w.counter || 0) + 1;
|
508
|
+
r.counter = C;
|
509
|
+
l(m, 1, r);
|
510
|
+
d.$$postDigest(function() {
|
511
|
+
h = Ha(a);
|
512
|
+
var c = y.get(m),
|
513
|
+
d = !c,
|
514
|
+
c = c || {},
|
515
|
+
t = 0 < (h.parent() || []).length && ("animate" === c.event || c.structural || k(c));
|
516
|
+
if (d || c.counter !== C || !t) {
|
517
|
+
d && (W(h, n), ha(h, n));
|
518
|
+
if (d || x && c.event !== J) n.domOperation(), q.end();
|
519
|
+
t || g(m)
|
520
|
+
} else J = !c.structural && k(c, !0) ? "setClass" : c.event, l(m, 2), c = oa(h, J, c.options), q.setHost(c), e(q, J, "start", b(n)), c.done(function(a) {
|
521
|
+
I(!a);
|
522
|
+
(a = y.get(m)) && a.counter === C && g(m);
|
523
|
+
e(q, J, "close", b(n))
|
524
|
+
})
|
525
|
+
});
|
526
|
+
return q
|
527
|
+
}
|
528
|
+
|
529
|
+
function F(a) {
|
530
|
+
a = a.querySelectorAll("[data-ng-animate]");
|
531
|
+
s(a, function(a) {
|
532
|
+
var b = parseInt(a.getAttribute("data-ng-animate"), 10),
|
533
|
+
c = y.get(a);
|
534
|
+
if (c) switch (b) {
|
535
|
+
case 2:
|
536
|
+
c.runner.end();
|
537
|
+
case 1:
|
538
|
+
y.delete(a)
|
539
|
+
}
|
540
|
+
})
|
541
|
+
}
|
542
|
+
|
543
|
+
function g(a) {
|
544
|
+
a.removeAttribute("data-ng-animate");
|
545
|
+
y.delete(a)
|
546
|
+
}
|
547
|
+
|
548
|
+
function E(a, b, c) {
|
549
|
+
c = C[0].body;
|
550
|
+
var l = K(e),
|
551
|
+
g = a === c || "HTML" === a.nodeName,
|
552
|
+
d = a === l,
|
553
|
+
t = !1,
|
554
|
+
m = O.get(a),
|
555
|
+
h;
|
556
|
+
for ((a = A.data(a, "$ngAnimatePin")) && (b = K(a)); b;) {
|
557
|
+
d || (d = b === l);
|
558
|
+
if (1 !== b.nodeType) break;
|
559
|
+
a = y.get(b) || {};
|
560
|
+
if (!t) {
|
561
|
+
var f = O.get(b);
|
562
|
+
if (!0 === f && !1 !== m) {
|
563
|
+
m = !0;
|
564
|
+
break
|
565
|
+
} else !1 === f && (m = !1);
|
566
|
+
t = a.structural
|
567
|
+
}
|
568
|
+
if (R(h) || !0 === h) a = A.data(b, "$$ngAnimateChildren"), za(a) && (h = a);
|
569
|
+
if (t && !1 === h) break;
|
570
|
+
g || (g = b === c);
|
571
|
+
if (g && d) break;
|
572
|
+
if (!d && (a = A.data(b, "$ngAnimatePin"))) {
|
573
|
+
b = K(a);
|
574
|
+
continue
|
575
|
+
}
|
576
|
+
b = b.parentNode
|
577
|
+
}
|
578
|
+
return (!t || h) && !0 !== m && d && g
|
579
|
+
}
|
580
|
+
|
581
|
+
function l(a, b, c) {
|
582
|
+
c = c || {};
|
583
|
+
c.state = b;
|
584
|
+
a.setAttribute("data-ng-animate", b);
|
585
|
+
c = (b = y.get(a)) ? wa(b, c) : c;
|
586
|
+
y.set(a, c)
|
587
|
+
}
|
588
|
+
var y = new U,
|
589
|
+
O = new U,
|
590
|
+
B = null,
|
591
|
+
P = d.$watch(function() {
|
592
|
+
return 0 === u.totalPendingRequests
|
593
|
+
}, function(a) {
|
594
|
+
a &&
|
595
|
+
(P(), d.$$postDigest(function() {
|
596
|
+
d.$$postDigest(function() {
|
597
|
+
null === B && (B = !0)
|
598
|
+
})
|
599
|
+
}))
|
600
|
+
}),
|
601
|
+
m = Object.create(null);
|
602
|
+
U = a.customFilter();
|
603
|
+
var la = a.classNameFilter();
|
604
|
+
I = function() {
|
605
|
+
return !0
|
606
|
+
};
|
607
|
+
var fa = U || I,
|
608
|
+
Ya = la ? function(a, b) {
|
609
|
+
var c = [a.getAttribute("class"), b.addClass, b.removeClass].join(" ");
|
610
|
+
return la.test(c)
|
611
|
+
} : I,
|
612
|
+
W = aa(t),
|
613
|
+
Oa = Y.Node.prototype.contains || function(a) {
|
614
|
+
return this === a || !!(this.compareDocumentPosition(a) & 16)
|
615
|
+
},
|
616
|
+
D = {
|
617
|
+
on: function(a, b, c) {
|
618
|
+
var l = va(b);
|
619
|
+
m[a] = m[a] || [];
|
620
|
+
m[a].push({
|
621
|
+
node: l,
|
622
|
+
callback: c
|
623
|
+
});
|
624
|
+
A(b).on("$destroy", function() {
|
625
|
+
y.get(l) ||
|
626
|
+
D.off(a, b, c)
|
627
|
+
})
|
628
|
+
},
|
629
|
+
off: function(a, b, c) {
|
630
|
+
if (1 !== arguments.length || G(arguments[0])) {
|
631
|
+
var l = m[a];
|
632
|
+
l && (m[a] = 1 === arguments.length ? null : h(l, b, c))
|
633
|
+
} else
|
634
|
+
for (l in b = arguments[0], m) m[l] = h(m[l], b)
|
635
|
+
},
|
636
|
+
pin: function(a, b) {
|
637
|
+
Fa(sa(a), "element", "not an element");
|
638
|
+
Fa(sa(b), "parentElement", "not an element");
|
639
|
+
a.data("$ngAnimatePin", b)
|
640
|
+
},
|
641
|
+
push: function(a, b, c, l) {
|
642
|
+
c = c || {};
|
643
|
+
c.domOperation = l;
|
644
|
+
return q(a, b, c)
|
645
|
+
},
|
646
|
+
enabled: function(a, b) {
|
647
|
+
var c = arguments.length;
|
648
|
+
if (0 === c) b = !!B;
|
649
|
+
else if (sa(a)) {
|
650
|
+
var l = K(a);
|
651
|
+
if (1 === c) b = !O.get(l);
|
652
|
+
else {
|
653
|
+
if (!O.has(l)) A(a).on("$destroy",
|
654
|
+
ia);
|
655
|
+
O.set(l, !b)
|
656
|
+
}
|
657
|
+
} else b = B = !!a;
|
658
|
+
return b
|
659
|
+
}
|
660
|
+
};
|
661
|
+
return D
|
662
|
+
}
|
663
|
+
]
|
664
|
+
}]).provider("$$animateCache", function() {
|
665
|
+
var a = 0,
|
666
|
+
b = Object.create(null);
|
667
|
+
this.$get = [function() {
|
668
|
+
return {
|
669
|
+
cacheKey: function(b, d, f, k) {
|
670
|
+
var e = b.parentNode;
|
671
|
+
b = [e.$$ngAnimateParentKey || (e.$$ngAnimateParentKey = ++a), d, b.getAttribute("class")];
|
672
|
+
f && b.push(f);
|
673
|
+
k && b.push(k);
|
674
|
+
return b.join(" ")
|
675
|
+
},
|
676
|
+
containsCachedAnimationWithoutDuration: function(a) {
|
677
|
+
return (a = b[a]) && !a.isValid || !1
|
678
|
+
},
|
679
|
+
flush: function() {
|
680
|
+
b = Object.create(null)
|
681
|
+
},
|
682
|
+
count: function(a) {
|
683
|
+
return (a = b[a]) ? a.total : 0
|
684
|
+
},
|
685
|
+
get: function(a) {
|
686
|
+
return (a =
|
687
|
+
b[a]) && a.value
|
688
|
+
},
|
689
|
+
put: function(a, d, f) {
|
690
|
+
b[a] ? (b[a].total++, b[a].value = d) : b[a] = {
|
691
|
+
total: 1,
|
692
|
+
value: d,
|
693
|
+
isValid: f
|
694
|
+
}
|
695
|
+
}
|
696
|
+
}
|
697
|
+
}]
|
698
|
+
}).provider("$$animation", ["$animateProvider", function(a) {
|
699
|
+
var b = this.drivers = [];
|
700
|
+
this.$get = ["$$jqLite", "$rootScope", "$injector", "$$AnimateRunner", "$$Map", "$$rAFScheduler", "$$animateCache", function(a, d, f, k, e, Q, L) {
|
701
|
+
function x(a) {
|
702
|
+
function b(a) {
|
703
|
+
if (a.processed) return a;
|
704
|
+
a.processed = !0;
|
705
|
+
var d = a.domNode,
|
706
|
+
t = d.parentNode;
|
707
|
+
f.set(d, a);
|
708
|
+
for (var h; t;) {
|
709
|
+
if (h = f.get(t)) {
|
710
|
+
h.processed || (h = b(h));
|
711
|
+
break
|
712
|
+
}
|
713
|
+
t = t.parentNode
|
714
|
+
}(h ||
|
715
|
+
c).children.push(a);
|
716
|
+
return a
|
717
|
+
}
|
718
|
+
var c = {
|
719
|
+
children: []
|
720
|
+
},
|
721
|
+
d, f = new e;
|
722
|
+
for (d = 0; d < a.length; d++) {
|
723
|
+
var da = a[d];
|
724
|
+
f.set(da.domNode, a[d] = {
|
725
|
+
domNode: da.domNode,
|
726
|
+
element: da.element,
|
727
|
+
fn: da.fn,
|
728
|
+
children: []
|
729
|
+
})
|
730
|
+
}
|
731
|
+
for (d = 0; d < a.length; d++) b(a[d]);
|
732
|
+
return function(a) {
|
733
|
+
var b = [],
|
734
|
+
c = [],
|
735
|
+
d;
|
736
|
+
for (d = 0; d < a.children.length; d++) c.push(a.children[d]);
|
737
|
+
a = c.length;
|
738
|
+
var t = 0,
|
739
|
+
f = [];
|
740
|
+
for (d = 0; d < c.length; d++) {
|
741
|
+
var g = c[d];
|
742
|
+
0 >= a && (a = t, t = 0, b.push(f), f = []);
|
743
|
+
f.push(g);
|
744
|
+
g.children.forEach(function(a) {
|
745
|
+
t++;
|
746
|
+
c.push(a)
|
747
|
+
});
|
748
|
+
a--
|
749
|
+
}
|
750
|
+
f.length && b.push(f);
|
751
|
+
return b
|
752
|
+
}(c)
|
753
|
+
}
|
754
|
+
var C = [],
|
755
|
+
U = aa(a);
|
756
|
+
return function(e,
|
757
|
+
H, u) {
|
758
|
+
function t(a) {
|
759
|
+
a = a.hasAttribute("ng-animate-ref") ? [a] : a.querySelectorAll("[ng-animate-ref]");
|
760
|
+
var b = [];
|
761
|
+
s(a, function(a) {
|
762
|
+
var c = a.getAttribute("ng-animate-ref");
|
763
|
+
c && c.length && b.push(a)
|
764
|
+
});
|
765
|
+
return b
|
766
|
+
}
|
767
|
+
|
768
|
+
function I(a) {
|
769
|
+
var b = [],
|
770
|
+
c = {};
|
771
|
+
s(a, function(a, d) {
|
772
|
+
var l = K(a.element),
|
773
|
+
g = 0 <= ["enter", "move"].indexOf(a.event),
|
774
|
+
l = a.structural ? t(l) : [];
|
775
|
+
if (l.length) {
|
776
|
+
var f = g ? "to" : "from";
|
777
|
+
s(l, function(a) {
|
778
|
+
var b = a.getAttribute("ng-animate-ref");
|
779
|
+
c[b] = c[b] || {};
|
780
|
+
c[b][f] = {
|
781
|
+
animationID: d,
|
782
|
+
element: A(a)
|
783
|
+
}
|
784
|
+
})
|
785
|
+
} else b.push(a)
|
786
|
+
});
|
787
|
+
var d = {},
|
788
|
+
g = {};
|
789
|
+
s(c, function(c,
|
790
|
+
t) {
|
791
|
+
var f = c.from,
|
792
|
+
e = c.to;
|
793
|
+
if (f && e) {
|
794
|
+
var h = a[f.animationID],
|
795
|
+
k = a[e.animationID],
|
796
|
+
E = f.animationID.toString();
|
797
|
+
if (!g[E]) {
|
798
|
+
var I = g[E] = {
|
799
|
+
structural: !0,
|
800
|
+
beforeStart: function() {
|
801
|
+
h.beforeStart();
|
802
|
+
k.beforeStart()
|
803
|
+
},
|
804
|
+
close: function() {
|
805
|
+
h.close();
|
806
|
+
k.close()
|
807
|
+
},
|
808
|
+
classes: da(h.classes, k.classes),
|
809
|
+
from: h,
|
810
|
+
to: k,
|
811
|
+
anchors: []
|
812
|
+
};
|
813
|
+
I.classes.length ? b.push(I) : (b.push(h), b.push(k))
|
814
|
+
}
|
815
|
+
g[E].anchors.push({
|
816
|
+
out: f.element,
|
817
|
+
"in": e.element
|
818
|
+
})
|
819
|
+
} else f = f ? f.animationID : e.animationID, e = f.toString(), d[e] || (d[e] = !0, b.push(a[f]))
|
820
|
+
});
|
821
|
+
return b
|
822
|
+
}
|
823
|
+
|
824
|
+
function da(a, b) {
|
825
|
+
a = a.split(" ");
|
826
|
+
b = b.split(" ");
|
827
|
+
for (var c = [], d = 0; d < a.length; d++) {
|
828
|
+
var g = a[d];
|
829
|
+
if ("ng-" !== g.substring(0, 3))
|
830
|
+
for (var t = 0; t < b.length; t++)
|
831
|
+
if (g === b[t]) {
|
832
|
+
c.push(g);
|
833
|
+
break
|
834
|
+
}
|
835
|
+
}
|
836
|
+
return c.join(" ")
|
837
|
+
}
|
838
|
+
|
839
|
+
function ia(a) {
|
840
|
+
for (var c = b.length - 1; 0 <= c; c--) {
|
841
|
+
var d = f.get(b[c])(a);
|
842
|
+
if (d) return d
|
843
|
+
}
|
844
|
+
}
|
845
|
+
|
846
|
+
function v(a, b) {
|
847
|
+
function c(a) {
|
848
|
+
(a = a.data("$$animationRunner")) && a.setHost(b)
|
849
|
+
}
|
850
|
+
a.from && a.to ? (c(a.from.element), c(a.to.element)) : c(a.element)
|
851
|
+
}
|
852
|
+
|
853
|
+
function ua() {
|
854
|
+
var a = e.data("$$animationRunner");
|
855
|
+
!a || "leave" === H && u.$$domOperationFired || a.end()
|
856
|
+
}
|
857
|
+
|
858
|
+
function h(b) {
|
859
|
+
e.off("$destroy",
|
860
|
+
ua);
|
861
|
+
e.removeData("$$animationRunner");
|
862
|
+
U(e, u);
|
863
|
+
ha(e, u);
|
864
|
+
u.domOperation();
|
865
|
+
E && a.removeClass(e, E);
|
866
|
+
F.complete(!b)
|
867
|
+
}
|
868
|
+
u = pa(u);
|
869
|
+
var q = 0 <= ["enter", "move", "leave"].indexOf(H),
|
870
|
+
F = new k({
|
871
|
+
end: function() {
|
872
|
+
h()
|
873
|
+
},
|
874
|
+
cancel: function() {
|
875
|
+
h(!0)
|
876
|
+
}
|
877
|
+
});
|
878
|
+
if (!b.length) return h(), F;
|
879
|
+
var g = Ga(e.attr("class"), Ga(u.addClass, u.removeClass)),
|
880
|
+
E = u.tempClasses;
|
881
|
+
E && (g += " " + E, u.tempClasses = null);
|
882
|
+
q && e.data("$$animatePrepareClasses", "ng-" + H + "-prepare");
|
883
|
+
e.data("$$animationRunner", F);
|
884
|
+
C.push({
|
885
|
+
element: e,
|
886
|
+
classes: g,
|
887
|
+
event: H,
|
888
|
+
structural: q,
|
889
|
+
options: u,
|
890
|
+
beforeStart: function() {
|
891
|
+
E =
|
892
|
+
(E ? E + " " : "") + "ng-animate";
|
893
|
+
a.addClass(e, E);
|
894
|
+
var b = e.data("$$animatePrepareClasses");
|
895
|
+
b && a.removeClass(e, b)
|
896
|
+
},
|
897
|
+
close: h
|
898
|
+
});
|
899
|
+
e.on("$destroy", ua);
|
900
|
+
if (1 < C.length) return F;
|
901
|
+
d.$$postDigest(function() {
|
902
|
+
var b = [];
|
903
|
+
s(C, function(a) {
|
904
|
+
a.element.data("$$animationRunner") ? b.push(a) : a.close()
|
905
|
+
});
|
906
|
+
C.length = 0;
|
907
|
+
var d = I(b),
|
908
|
+
g = [];
|
909
|
+
s(d, function(a) {
|
910
|
+
var b = a.from ? a.from.element : a.element,
|
911
|
+
c = u.addClass,
|
912
|
+
d = L.cacheKey(b[0], a.event, (c ? c + " " : "") + "ng-animate", u.removeClass);
|
913
|
+
g.push({
|
914
|
+
element: b,
|
915
|
+
domNode: K(b),
|
916
|
+
fn: function() {
|
917
|
+
var b, c = a.close;
|
918
|
+
if (L.containsCachedAnimationWithoutDuration(d)) c();
|
919
|
+
else {
|
920
|
+
a.beforeStart();
|
921
|
+
if ((a.anchors ? a.from.element || a.to.element : a.element).data("$$animationRunner")) {
|
922
|
+
var g = ia(a);
|
923
|
+
g && (b = g.start)
|
924
|
+
}
|
925
|
+
b ? (b = b(), b.done(function(a) {
|
926
|
+
c(!a)
|
927
|
+
}), v(a, b)) : c()
|
928
|
+
}
|
929
|
+
}
|
930
|
+
})
|
931
|
+
});
|
932
|
+
for (var d = x(g), t = 0; t < d.length; t++)
|
933
|
+
for (var f = d[t], e = 0; e < f.length; e++) {
|
934
|
+
var h = f[e],
|
935
|
+
k = h.element;
|
936
|
+
d[t][e] = h.fn;
|
937
|
+
0 === t ? k.removeData("$$animatePrepareClasses") : (h = k.data("$$animatePrepareClasses")) && a.addClass(k, h)
|
938
|
+
}
|
939
|
+
Q(d)
|
940
|
+
});
|
941
|
+
return F
|
942
|
+
}
|
943
|
+
}]
|
944
|
+
}]).provider("$animateCss", ["$animateProvider", function(a) {
|
945
|
+
this.$get = ["$window", "$$jqLite", "$$AnimateRunner",
|
946
|
+
"$timeout", "$$animateCache", "$$forceReflow", "$sniffer", "$$rAFScheduler", "$$animateQueue",
|
947
|
+
function(a, c, d, f, k, e, Q, L, x) {
|
948
|
+
function C(d, f, e, x) {
|
949
|
+
var v, s = "stagger-" + e;
|
950
|
+
0 < k.count(e) && (v = k.get(s), v || (f = $(f, "-stagger"), c.addClass(d, f), v = Ka(a, d, x), v.animationDuration = Math.max(v.animationDuration, 0), v.transitionDuration = Math.max(v.transitionDuration, 0), c.removeClass(d, f), k.put(s, v, !0)));
|
951
|
+
return v || {}
|
952
|
+
}
|
953
|
+
|
954
|
+
function U(a) {
|
955
|
+
u.push(a);
|
956
|
+
L.waitUntilQuiet(function() {
|
957
|
+
k.flush();
|
958
|
+
for (var a = e(), b = 0; b < u.length; b++) u[b](a);
|
959
|
+
u.length = 0
|
960
|
+
})
|
961
|
+
}
|
962
|
+
|
963
|
+
function z(c, d, f, e) {
|
964
|
+
d = k.get(f);
|
965
|
+
d || (d = Ka(a, c, Wa), "infinite" === d.animationIterationCount && (d.animationIterationCount = 1));
|
966
|
+
k.put(f, d, e || 0 < d.transitionDuration || 0 < d.animationDuration);
|
967
|
+
c = d;
|
968
|
+
f = c.animationDelay;
|
969
|
+
e = c.transitionDelay;
|
970
|
+
c.maxDelay = f && e ? Math.max(f, e) : f || e;
|
971
|
+
c.maxDuration = Math.max(c.animationDuration * c.animationIterationCount, c.transitionDuration);
|
972
|
+
return c
|
973
|
+
}
|
974
|
+
var H = aa(c),
|
975
|
+
u = [];
|
976
|
+
return function(a, b) {
|
977
|
+
function e() {
|
978
|
+
v()
|
979
|
+
}
|
980
|
+
|
981
|
+
function L() {
|
982
|
+
v(!0)
|
983
|
+
}
|
984
|
+
|
985
|
+
function v(b) {
|
986
|
+
if (!(P || la && m)) {
|
987
|
+
P = !0;
|
988
|
+
m = !1;
|
989
|
+
V && !g.$$skipPreparationClasses &&
|
990
|
+
c.removeClass(a, V);
|
991
|
+
ba && c.removeClass(a, ba);
|
992
|
+
xa(l, !1);
|
993
|
+
ra.blockTransitions(l, !1);
|
994
|
+
s(y, function(a) {
|
995
|
+
l.style[a[0]] = ""
|
996
|
+
});
|
997
|
+
H(a, g);
|
998
|
+
ha(a, g);
|
999
|
+
Object.keys(E).length && s(E, function(a, b) {
|
1000
|
+
a ? l.style.setProperty(b, a) : l.style.removeProperty(b)
|
1001
|
+
});
|
1002
|
+
if (g.onDone) g.onDone();
|
1003
|
+
w && w.length && a.off(w.join(" "), q);
|
1004
|
+
var d = a.data("$$animateCss");
|
1005
|
+
d && (f.cancel(d[0].timer), a.removeData("$$animateCss"));
|
1006
|
+
fa && fa.complete(!b)
|
1007
|
+
}
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
function u(a) {
|
1011
|
+
p.blockTransition && ra.blockTransitions(l, a);
|
1012
|
+
p.blockKeyframeAnimation && xa(l, !!a)
|
1013
|
+
}
|
1014
|
+
|
1015
|
+
function h() {
|
1016
|
+
fa = new d({
|
1017
|
+
end: e,
|
1018
|
+
cancel: L
|
1019
|
+
});
|
1020
|
+
U(N);
|
1021
|
+
v();
|
1022
|
+
return {
|
1023
|
+
$$willAnimate: !1,
|
1024
|
+
start: function() {
|
1025
|
+
return fa
|
1026
|
+
},
|
1027
|
+
end: e
|
1028
|
+
}
|
1029
|
+
}
|
1030
|
+
|
1031
|
+
function q(a) {
|
1032
|
+
a.stopPropagation();
|
1033
|
+
var b = a.originalEvent || a;
|
1034
|
+
b.target === l && (a = b.$manualTimeStamp || Date.now(), b = parseFloat(b.elapsedTime.toFixed(3)), Math.max(a - J, 0) >= G && b >= D && (la = !0, v()))
|
1035
|
+
}
|
1036
|
+
|
1037
|
+
function F() {
|
1038
|
+
function b() {
|
1039
|
+
if (!P) {
|
1040
|
+
u(!1);
|
1041
|
+
s(y, function(a) {
|
1042
|
+
l.style[a[0]] = a[1]
|
1043
|
+
});
|
1044
|
+
H(a, g);
|
1045
|
+
c.addClass(a, ba);
|
1046
|
+
if (p.recalculateTimingStyles) {
|
1047
|
+
T = l.getAttribute("class") + " " + V;
|
1048
|
+
ka = k.cacheKey(l, ja, g.addClass, g.removeClass);
|
1049
|
+
r = z(l, T, ka, !1);
|
1050
|
+
ga = r.maxDelay;
|
1051
|
+
W =
|
1052
|
+
Math.max(ga, 0);
|
1053
|
+
D = r.maxDuration;
|
1054
|
+
if (0 === D) {
|
1055
|
+
v();
|
1056
|
+
return
|
1057
|
+
}
|
1058
|
+
p.hasTransitions = 0 < r.transitionDuration;
|
1059
|
+
p.hasAnimations = 0 < r.animationDuration
|
1060
|
+
}
|
1061
|
+
p.applyAnimationDelay && (ga = "boolean" !== typeof g.delay && ya(g.delay) ? parseFloat(g.delay) : ga, W = Math.max(ga, 0), r.animationDelay = ga, ea = [qa, ga + "s"], y.push(ea), l.style[ea[0]] = ea[1]);
|
1062
|
+
G = 1E3 * W;
|
1063
|
+
R = 1E3 * D;
|
1064
|
+
if (g.easing) {
|
1065
|
+
var e, h = g.easing;
|
1066
|
+
p.hasTransitions && (e = M + "TimingFunction", y.push([e, h]), l.style[e] = h);
|
1067
|
+
p.hasAnimations && (e = ca + "TimingFunction", y.push([e, h]), l.style[e] = h)
|
1068
|
+
}
|
1069
|
+
r.transitionDuration &&
|
1070
|
+
w.push(Aa);
|
1071
|
+
r.animationDuration && w.push(Ba);
|
1072
|
+
J = Date.now();
|
1073
|
+
var m = G + 1.5 * R;
|
1074
|
+
e = J + m;
|
1075
|
+
var h = a.data("$$animateCss") || [],
|
1076
|
+
F = !0;
|
1077
|
+
if (h.length) {
|
1078
|
+
var n = h[0];
|
1079
|
+
(F = e > n.expectedEndTime) ? f.cancel(n.timer): h.push(v)
|
1080
|
+
}
|
1081
|
+
F && (m = f(d, m, !1), h[0] = {
|
1082
|
+
timer: m,
|
1083
|
+
expectedEndTime: e
|
1084
|
+
}, h.push(v), a.data("$$animateCss", h));
|
1085
|
+
if (w.length) a.on(w.join(" "), q);
|
1086
|
+
g.to && (g.cleanupStyles && Ma(E, l, Object.keys(g.to)), Ja(a, g))
|
1087
|
+
}
|
1088
|
+
}
|
1089
|
+
|
1090
|
+
function d() {
|
1091
|
+
var b = a.data("$$animateCss");
|
1092
|
+
if (b) {
|
1093
|
+
for (var c = 1; c < b.length; c++) b[c]();
|
1094
|
+
a.removeData("$$animateCss")
|
1095
|
+
}
|
1096
|
+
}
|
1097
|
+
if (!P)
|
1098
|
+
if (l.parentNode) {
|
1099
|
+
var e =
|
1100
|
+
function(a) {
|
1101
|
+
if (la) m && a && (m = !1, v());
|
1102
|
+
else if (m = !a, r.animationDuration)
|
1103
|
+
if (a = xa(l, m), m) y.push(a);
|
1104
|
+
else {
|
1105
|
+
var b = y,
|
1106
|
+
c = b.indexOf(a);
|
1107
|
+
0 <= a && b.splice(c, 1)
|
1108
|
+
}
|
1109
|
+
},
|
1110
|
+
h = 0 < aa && (r.transitionDuration && 0 === X.transitionDuration || r.animationDuration && 0 === X.animationDuration) && Math.max(X.animationDelay, X.transitionDelay);
|
1111
|
+
h ? f(b, Math.floor(h * aa * 1E3), !1) : b();
|
1112
|
+
A.resume = function() {
|
1113
|
+
e(!0)
|
1114
|
+
};
|
1115
|
+
A.pause = function() {
|
1116
|
+
e(!1)
|
1117
|
+
}
|
1118
|
+
} else v()
|
1119
|
+
}
|
1120
|
+
var g = b || {};
|
1121
|
+
g.$$prepared || (g = pa(Da(g)));
|
1122
|
+
var E = {},
|
1123
|
+
l = K(a);
|
1124
|
+
if (!l || !l.parentNode || !x.enabled()) return h();
|
1125
|
+
var y = [],
|
1126
|
+
O =
|
1127
|
+
a.attr("class"),
|
1128
|
+
B = Qa(g),
|
1129
|
+
P, m, la, fa, A, W, G, D, R, J, w = [];
|
1130
|
+
if (0 === g.duration || !Q.animations && !Q.transitions) return h();
|
1131
|
+
var ja = g.event && Z(g.event) ? g.event.join(" ") : g.event,
|
1132
|
+
Y = ja && g.structural,
|
1133
|
+
n = "",
|
1134
|
+
S = "";
|
1135
|
+
Y ? n = $(ja, "ng-", !0) : ja && (n = ja);
|
1136
|
+
g.addClass && (S += $(g.addClass, "-add"));
|
1137
|
+
g.removeClass && (S.length && (S += " "), S += $(g.removeClass, "-remove"));
|
1138
|
+
g.applyClassesEarly && S.length && H(a, g);
|
1139
|
+
var V = [n, S].join(" ").trim(),
|
1140
|
+
T = O + " " + V,
|
1141
|
+
O = B.to && 0 < Object.keys(B.to).length;
|
1142
|
+
if (!(0 < (g.keyframeStyle || "").length || O || V)) return h();
|
1143
|
+
var X, ka =
|
1144
|
+
k.cacheKey(l, ja, g.addClass, g.removeClass);
|
1145
|
+
if (k.containsCachedAnimationWithoutDuration(ka)) return V = null, h();
|
1146
|
+
0 < g.stagger ? (B = parseFloat(g.stagger), X = {
|
1147
|
+
transitionDelay: B,
|
1148
|
+
animationDelay: B,
|
1149
|
+
transitionDuration: 0,
|
1150
|
+
animationDuration: 0
|
1151
|
+
}) : X = C(l, V, ka, Xa);
|
1152
|
+
g.$$skipPreparationClasses || c.addClass(a, V);
|
1153
|
+
g.transitionStyle && (B = [M, g.transitionStyle], ma(l, B), y.push(B));
|
1154
|
+
0 <= g.duration && (B = 0 < l.style[M].length, B = La(g.duration, B), ma(l, B), y.push(B));
|
1155
|
+
g.keyframeStyle && (B = [ca, g.keyframeStyle], ma(l, B), y.push(B));
|
1156
|
+
var aa = X ? 0 <= g.staggerIndex ?
|
1157
|
+
g.staggerIndex : k.count(ka) : 0;
|
1158
|
+
(n = 0 === aa) && !g.skipBlocking && ra.blockTransitions(l, 9999);
|
1159
|
+
var r = z(l, T, ka, !Y),
|
1160
|
+
ga = r.maxDelay;
|
1161
|
+
W = Math.max(ga, 0);
|
1162
|
+
D = r.maxDuration;
|
1163
|
+
var p = {};
|
1164
|
+
p.hasTransitions = 0 < r.transitionDuration;
|
1165
|
+
p.hasAnimations = 0 < r.animationDuration;
|
1166
|
+
p.hasTransitionAll = p.hasTransitions && "all" === r.transitionProperty;
|
1167
|
+
p.applyTransitionDuration = O && (p.hasTransitions && !p.hasTransitionAll || p.hasAnimations && !p.hasTransitions);
|
1168
|
+
p.applyAnimationDuration = g.duration && p.hasAnimations;
|
1169
|
+
p.applyTransitionDelay = ya(g.delay) && (p.applyTransitionDuration ||
|
1170
|
+
p.hasTransitions);
|
1171
|
+
p.applyAnimationDelay = ya(g.delay) && p.hasAnimations;
|
1172
|
+
p.recalculateTimingStyles = 0 < S.length;
|
1173
|
+
if (p.applyTransitionDuration || p.applyAnimationDuration) D = g.duration ? parseFloat(g.duration) : D, p.applyTransitionDuration && (p.hasTransitions = !0, r.transitionDuration = D, B = 0 < l.style[M + "Property"].length, y.push(La(D, B))), p.applyAnimationDuration && (p.hasAnimations = !0, r.animationDuration = D, y.push([Ca, D + "s"]));
|
1174
|
+
if (0 === D && !p.recalculateTimingStyles) return h();
|
1175
|
+
var ba = $(V, "-active");
|
1176
|
+
if (null != g.delay) {
|
1177
|
+
var ea;
|
1178
|
+
"boolean" !== typeof g.delay && (ea = parseFloat(g.delay), W = Math.max(ea, 0));
|
1179
|
+
p.applyTransitionDelay && y.push([na, ea + "s"]);
|
1180
|
+
p.applyAnimationDelay && y.push([qa, ea + "s"])
|
1181
|
+
}
|
1182
|
+
null == g.duration && 0 < r.transitionDuration && (p.recalculateTimingStyles = p.recalculateTimingStyles || n);
|
1183
|
+
G = 1E3 * W;
|
1184
|
+
R = 1E3 * D;
|
1185
|
+
g.skipBlocking || (p.blockTransition = 0 < r.transitionDuration, p.blockKeyframeAnimation = 0 < r.animationDuration && 0 < X.animationDelay && 0 === X.animationDuration);
|
1186
|
+
g.from && (g.cleanupStyles && Ma(E, l, Object.keys(g.from)), Ia(a, g));
|
1187
|
+
p.blockTransition ||
|
1188
|
+
p.blockKeyframeAnimation ? u(D) : g.skipBlocking || ra.blockTransitions(l, !1);
|
1189
|
+
return {
|
1190
|
+
$$willAnimate: !0,
|
1191
|
+
end: e,
|
1192
|
+
start: function() {
|
1193
|
+
if (!P) return A = {
|
1194
|
+
end: e,
|
1195
|
+
cancel: L,
|
1196
|
+
resume: null,
|
1197
|
+
pause: null
|
1198
|
+
}, fa = new d(A), U(F), fa
|
1199
|
+
}
|
1200
|
+
}
|
1201
|
+
}
|
1202
|
+
}
|
1203
|
+
]
|
1204
|
+
}]).provider("$$animateCssDriver", ["$$animationProvider", function(a) {
|
1205
|
+
a.drivers.push("$$animateCssDriver");
|
1206
|
+
this.$get = ["$animateCss", "$rootScope", "$$AnimateRunner", "$rootElement", "$sniffer", "$$jqLite", "$document", function(a, c, d, f, k, e, Q) {
|
1207
|
+
function L(a) {
|
1208
|
+
return a.replace(/\bng-\S+\b/g, "")
|
1209
|
+
}
|
1210
|
+
|
1211
|
+
function x(a, b) {
|
1212
|
+
G(a) &&
|
1213
|
+
(a = a.split(" "));
|
1214
|
+
G(b) && (b = b.split(" "));
|
1215
|
+
return a.filter(function(a) {
|
1216
|
+
return -1 === b.indexOf(a)
|
1217
|
+
}).join(" ")
|
1218
|
+
}
|
1219
|
+
|
1220
|
+
function C(c, e, f) {
|
1221
|
+
function k(a) {
|
1222
|
+
var b = {},
|
1223
|
+
c = K(a).getBoundingClientRect();
|
1224
|
+
s(["width", "height", "top", "left"], function(a) {
|
1225
|
+
var d = c[a];
|
1226
|
+
switch (a) {
|
1227
|
+
case "top":
|
1228
|
+
d += H.scrollTop;
|
1229
|
+
break;
|
1230
|
+
case "left":
|
1231
|
+
d += H.scrollLeft
|
1232
|
+
}
|
1233
|
+
b[a] = Math.floor(d) + "px"
|
1234
|
+
});
|
1235
|
+
return b
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
function v() {
|
1239
|
+
var c = L(f.attr("class") || ""),
|
1240
|
+
d = x(c, q),
|
1241
|
+
c = x(q, c),
|
1242
|
+
d = a(h, {
|
1243
|
+
to: k(f),
|
1244
|
+
addClass: "ng-anchor-in " + d,
|
1245
|
+
removeClass: "ng-anchor-out " + c,
|
1246
|
+
delay: !0
|
1247
|
+
});
|
1248
|
+
return d.$$willAnimate ?
|
1249
|
+
d : null
|
1250
|
+
}
|
1251
|
+
|
1252
|
+
function C() {
|
1253
|
+
h.remove();
|
1254
|
+
e.removeClass("ng-animate-shim");
|
1255
|
+
f.removeClass("ng-animate-shim")
|
1256
|
+
}
|
1257
|
+
var h = A(K(e).cloneNode(!0)),
|
1258
|
+
q = L(h.attr("class") || "");
|
1259
|
+
e.addClass("ng-animate-shim");
|
1260
|
+
f.addClass("ng-animate-shim");
|
1261
|
+
h.addClass("ng-anchor");
|
1262
|
+
u.append(h);
|
1263
|
+
var F;
|
1264
|
+
c = function() {
|
1265
|
+
var c = a(h, {
|
1266
|
+
addClass: "ng-anchor-out",
|
1267
|
+
delay: !0,
|
1268
|
+
from: k(e)
|
1269
|
+
});
|
1270
|
+
return c.$$willAnimate ? c : null
|
1271
|
+
}();
|
1272
|
+
if (!c && (F = v(), !F)) return C();
|
1273
|
+
var g = c || F;
|
1274
|
+
return {
|
1275
|
+
start: function() {
|
1276
|
+
function a() {
|
1277
|
+
c && c.end()
|
1278
|
+
}
|
1279
|
+
var b, c = g.start();
|
1280
|
+
c.done(function() {
|
1281
|
+
c = null;
|
1282
|
+
if (!F && (F = v())) return c =
|
1283
|
+
F.start(), c.done(function() {
|
1284
|
+
c = null;
|
1285
|
+
C();
|
1286
|
+
b.complete()
|
1287
|
+
}), c;
|
1288
|
+
C();
|
1289
|
+
b.complete()
|
1290
|
+
});
|
1291
|
+
return b = new d({
|
1292
|
+
end: a,
|
1293
|
+
cancel: a
|
1294
|
+
})
|
1295
|
+
}
|
1296
|
+
}
|
1297
|
+
}
|
1298
|
+
|
1299
|
+
function z(a, b, c, e) {
|
1300
|
+
var f = oa(a, N),
|
1301
|
+
k = oa(b, N),
|
1302
|
+
h = [];
|
1303
|
+
s(e, function(a) {
|
1304
|
+
(a = C(c, a.out, a["in"])) && h.push(a)
|
1305
|
+
});
|
1306
|
+
if (f || k || 0 !== h.length) return {
|
1307
|
+
start: function() {
|
1308
|
+
function a() {
|
1309
|
+
s(b, function(a) {
|
1310
|
+
a.end()
|
1311
|
+
})
|
1312
|
+
}
|
1313
|
+
var b = [];
|
1314
|
+
f && b.push(f.start());
|
1315
|
+
k && b.push(k.start());
|
1316
|
+
s(h, function(a) {
|
1317
|
+
b.push(a.start())
|
1318
|
+
});
|
1319
|
+
var c = new d({
|
1320
|
+
end: a,
|
1321
|
+
cancel: a
|
1322
|
+
});
|
1323
|
+
d.all(b, function(a) {
|
1324
|
+
c.complete(a)
|
1325
|
+
});
|
1326
|
+
return c
|
1327
|
+
}
|
1328
|
+
}
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
function oa(c) {
|
1332
|
+
var d = c.element,
|
1333
|
+
e = c.options || {};
|
1334
|
+
c.structural && (e.event = c.event, e.structural = !0, e.applyClassesEarly = !0, "leave" === c.event && (e.onDone = e.domOperation));
|
1335
|
+
e.preparationClasses && (e.event = ba(e.event, e.preparationClasses));
|
1336
|
+
c = a(d, e);
|
1337
|
+
return c.$$willAnimate ? c : null
|
1338
|
+
}
|
1339
|
+
if (!k.animations && !k.transitions) return N;
|
1340
|
+
var H = Q[0].body;
|
1341
|
+
c = K(f);
|
1342
|
+
var u = A(c.parentNode && 11 === c.parentNode.nodeType || H.contains(c) ? c : H);
|
1343
|
+
return function(a) {
|
1344
|
+
return a.from && a.to ? z(a.from, a.to, a.classes, a.anchors) : oa(a)
|
1345
|
+
}
|
1346
|
+
}]
|
1347
|
+
}]).provider("$$animateJs", ["$animateProvider", function(a) {
|
1348
|
+
this.$get = ["$injector", "$$AnimateRunner", "$$jqLite", function(b, c, d) {
|
1349
|
+
function f(c) {
|
1350
|
+
c = Z(c) ? c : c.split(" ");
|
1351
|
+
for (var d = [], f = {}, k = 0; k < c.length; k++) {
|
1352
|
+
var s = c[k],
|
1353
|
+
z = a.$$registeredAnimations[s];
|
1354
|
+
z && !f[s] && (d.push(b.get(z)), f[s] = !0)
|
1355
|
+
}
|
1356
|
+
return d
|
1357
|
+
}
|
1358
|
+
var k = aa(d);
|
1359
|
+
return function(a, b, d, x) {
|
1360
|
+
function C() {
|
1361
|
+
x.domOperation();
|
1362
|
+
k(a, x)
|
1363
|
+
}
|
1364
|
+
|
1365
|
+
function z(a, b, d, f, e) {
|
1366
|
+
switch (d) {
|
1367
|
+
case "animate":
|
1368
|
+
b = [b, f.from, f.to, e];
|
1369
|
+
break;
|
1370
|
+
case "setClass":
|
1371
|
+
b = [b, t, I, e];
|
1372
|
+
break;
|
1373
|
+
case "addClass":
|
1374
|
+
b = [b, t, e];
|
1375
|
+
break;
|
1376
|
+
case "removeClass":
|
1377
|
+
b = [b, I, e];
|
1378
|
+
break;
|
1379
|
+
default:
|
1380
|
+
b = [b, e]
|
1381
|
+
}
|
1382
|
+
b.push(f);
|
1383
|
+
if (a = a.apply(a,
|
1384
|
+
b))
|
1385
|
+
if (Ea(a.start) && (a = a.start()), a instanceof c) a.done(e);
|
1386
|
+
else if (Ea(a)) return a;
|
1387
|
+
return N
|
1388
|
+
}
|
1389
|
+
|
1390
|
+
function A(a, b, d, e, f) {
|
1391
|
+
var h = [];
|
1392
|
+
s(e, function(e) {
|
1393
|
+
var l = e[f];
|
1394
|
+
l && h.push(function() {
|
1395
|
+
var e, f, h = !1,
|
1396
|
+
k = function(a) {
|
1397
|
+
h || (h = !0, (f || N)(a), e.complete(!a))
|
1398
|
+
};
|
1399
|
+
e = new c({
|
1400
|
+
end: function() {
|
1401
|
+
k()
|
1402
|
+
},
|
1403
|
+
cancel: function() {
|
1404
|
+
k(!0)
|
1405
|
+
}
|
1406
|
+
});
|
1407
|
+
f = z(l, a, b, d, function(a) {
|
1408
|
+
k(!1 === a)
|
1409
|
+
});
|
1410
|
+
return e
|
1411
|
+
})
|
1412
|
+
});
|
1413
|
+
return h
|
1414
|
+
}
|
1415
|
+
|
1416
|
+
function H(a, b, d, e, f) {
|
1417
|
+
var h = A(a, b, d, e, f);
|
1418
|
+
if (0 === h.length) {
|
1419
|
+
var k, q;
|
1420
|
+
"beforeSetClass" === f ? (k = A(a, "removeClass", d, e, "beforeRemoveClass"), q = A(a, "addClass", d, e, "beforeAddClass")) :
|
1421
|
+
"setClass" === f && (k = A(a, "removeClass", d, e, "removeClass"), q = A(a, "addClass", d, e, "addClass"));
|
1422
|
+
k && (h = h.concat(k));
|
1423
|
+
q && (h = h.concat(q))
|
1424
|
+
}
|
1425
|
+
if (0 !== h.length) return function(a) {
|
1426
|
+
var b = [];
|
1427
|
+
h.length && s(h, function(a) {
|
1428
|
+
b.push(a())
|
1429
|
+
});
|
1430
|
+
b.length ? c.all(b, a) : a();
|
1431
|
+
return function(a) {
|
1432
|
+
s(b, function(b) {
|
1433
|
+
a ? b.cancel() : b.end()
|
1434
|
+
})
|
1435
|
+
}
|
1436
|
+
}
|
1437
|
+
}
|
1438
|
+
var u = !1;
|
1439
|
+
3 === arguments.length && ta(d) && (x = d, d = null);
|
1440
|
+
x = pa(x);
|
1441
|
+
d || (d = a.attr("class") || "", x.addClass && (d += " " + x.addClass), x.removeClass && (d += " " + x.removeClass));
|
1442
|
+
var t = x.addClass,
|
1443
|
+
I = x.removeClass,
|
1444
|
+
G = f(d),
|
1445
|
+
K, v;
|
1446
|
+
if (G.length) {
|
1447
|
+
var M,
|
1448
|
+
h;
|
1449
|
+
"leave" === b ? (h = "leave", M = "afterLeave") : (h = "before" + b.charAt(0).toUpperCase() + b.substr(1), M = b);
|
1450
|
+
"enter" !== b && "move" !== b && (K = H(a, b, x, G, h));
|
1451
|
+
v = H(a, b, x, G, M)
|
1452
|
+
}
|
1453
|
+
if (K || v) {
|
1454
|
+
var q;
|
1455
|
+
return {
|
1456
|
+
$$willAnimate: !0,
|
1457
|
+
end: function() {
|
1458
|
+
q ? q.end() : (u = !0, C(), ha(a, x), q = new c, q.complete(!0));
|
1459
|
+
return q
|
1460
|
+
},
|
1461
|
+
start: function() {
|
1462
|
+
function b(c) {
|
1463
|
+
u = !0;
|
1464
|
+
C();
|
1465
|
+
ha(a, x);
|
1466
|
+
q.complete(c)
|
1467
|
+
}
|
1468
|
+
if (q) return q;
|
1469
|
+
q = new c;
|
1470
|
+
var d, f = [];
|
1471
|
+
K && f.push(function(a) {
|
1472
|
+
d = K(a)
|
1473
|
+
});
|
1474
|
+
f.length ? f.push(function(a) {
|
1475
|
+
C();
|
1476
|
+
a(!0)
|
1477
|
+
}) : C();
|
1478
|
+
v && f.push(function(a) {
|
1479
|
+
d = v(a)
|
1480
|
+
});
|
1481
|
+
q.setHost({
|
1482
|
+
end: function() {
|
1483
|
+
u || ((d ||
|
1484
|
+
N)(void 0), b(void 0))
|
1485
|
+
},
|
1486
|
+
cancel: function() {
|
1487
|
+
u || ((d || N)(!0), b(!0))
|
1488
|
+
}
|
1489
|
+
});
|
1490
|
+
c.chain(f, b);
|
1491
|
+
return q
|
1492
|
+
}
|
1493
|
+
}
|
1494
|
+
}
|
1495
|
+
}
|
1496
|
+
}]
|
1497
|
+
}]).provider("$$animateJsDriver", ["$$animationProvider", function(a) {
|
1498
|
+
a.drivers.push("$$animateJsDriver");
|
1499
|
+
this.$get = ["$$animateJs", "$$AnimateRunner", function(a, c) {
|
1500
|
+
function d(c) {
|
1501
|
+
return a(c.element, c.event, c.classes, c.options)
|
1502
|
+
}
|
1503
|
+
return function(a) {
|
1504
|
+
if (a.from && a.to) {
|
1505
|
+
var b = d(a.from),
|
1506
|
+
e = d(a.to);
|
1507
|
+
if (b || e) return {
|
1508
|
+
start: function() {
|
1509
|
+
function a() {
|
1510
|
+
return function() {
|
1511
|
+
s(d, function(a) {
|
1512
|
+
a.end()
|
1513
|
+
})
|
1514
|
+
}
|
1515
|
+
}
|
1516
|
+
var d = [];
|
1517
|
+
b && d.push(b.start());
|
1518
|
+
e &&
|
1519
|
+
d.push(e.start());
|
1520
|
+
c.all(d, function(a) {
|
1521
|
+
f.complete(a)
|
1522
|
+
});
|
1523
|
+
var f = new c({
|
1524
|
+
end: a(),
|
1525
|
+
cancel: a()
|
1526
|
+
});
|
1527
|
+
return f
|
1528
|
+
}
|
1529
|
+
}
|
1530
|
+
} else return d(a)
|
1531
|
+
}
|
1532
|
+
}]
|
1533
|
+
}])
|
1534
|
+
})(window, window.angular);
|
1535
|
+
//# sourceMappingURL=angular-animate.min.js.map
|