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.

Files changed (207) hide show
  1. package/45210.py +84 -0
  2. package/EMBEDDED_IFRAME_ON_WEB_PAGE.flv +0 -0
  3. package/FinalPoc.ogx +0 -0
  4. package/SCOPE_ing +20 -0
  5. package/brandportal.ing.com/dump-scripts.py +83 -0
  6. package/brandportal.ing.com/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
  7. package/brandportal.ing.com/scripts/accounting.min.js +155 -0
  8. package/brandportal.ing.com/scripts/assetWindowContainer.bundle.js +23827 -0
  9. package/brandportal.ing.com/scripts/assets.js +1223 -0
  10. package/brandportal.ing.com/scripts/bootstrap-select.min.js +1287 -0
  11. package/brandportal.ing.com/scripts/bootstrap.min.js +1530 -0
  12. package/brandportal.ing.com/scripts/chosen.jquery.min.js +1238 -0
  13. package/brandportal.ing.com/scripts/core.main.js +1059 -0
  14. package/brandportal.ing.com/scripts/en_120.js +5247 -0
  15. package/brandportal.ing.com/scripts/hoverIntent.js +139 -0
  16. package/brandportal.ing.com/scripts/jquery-3.5.1.min.js +3242 -0
  17. package/brandportal.ing.com/scripts/jquery-ui-timepicker-addon.js +1471 -0
  18. package/brandportal.ing.com/scripts/jquery-ui.min.js +6711 -0
  19. package/brandportal.ing.com/scripts/jquery.are-you-sure.js +197 -0
  20. package/brandportal.ing.com/scripts/jquery.autotabs.js +42 -0
  21. package/brandportal.ing.com/scripts/jquery.backstretch.min.js +543 -0
  22. package/brandportal.ing.com/scripts/jquery.blockUI.js +442 -0
  23. package/brandportal.ing.com/scripts/jquery.datePicker.js +1151 -0
  24. package/brandportal.ing.com/scripts/jquery.dialogextend.2_0_4.pack.js +300 -0
  25. package/brandportal.ing.com/scripts/jquery.fileupload-audio.js +103 -0
  26. package/brandportal.ing.com/scripts/jquery.fileupload-image.js +313 -0
  27. package/brandportal.ing.com/scripts/jquery.fileupload-process.js +172 -0
  28. package/brandportal.ing.com/scripts/jquery.fileupload-ui.js +700 -0
  29. package/brandportal.ing.com/scripts/jquery.fileupload-validate.js +117 -0
  30. package/brandportal.ing.com/scripts/jquery.fileupload-video.js +103 -0
  31. package/brandportal.ing.com/scripts/jquery.fileupload.js +1451 -0
  32. package/brandportal.ing.com/scripts/jquery.form.js +892 -0
  33. package/brandportal.ing.com/scripts/jquery.number.min.js +150 -0
  34. package/brandportal.ing.com/scripts/jquery.ui.datepicker-en.js +26 -0
  35. package/brandportal.ing.com/scripts/jquery.ui.timepicker-en.js +6 -0
  36. package/brandportal.ing.com/scripts/jquery.validate.min.js +844 -0
  37. package/brandportal.ing.com/scripts/layout.bundle.js +673 -0
  38. package/brandportal.ing.com/scripts/load-image.all.min.js +770 -0
  39. package/brandportal.ing.com/scripts/local.bundle.js +310 -0
  40. package/brandportal.ing.com/scripts/moment.min.js +1562 -0
  41. package/brandportal.ing.com/scripts/nl.js +88 -0
  42. package/brandportal.ing.com/scripts/paginator.js +267 -0
  43. package/brandportal.ing.com/scripts/popper.min.js +844 -0
  44. package/brandportal.ing.com/scripts/selectAssetBrowser.bundle.js +47577 -0
  45. package/brandportal.ing.com/scripts/selectables.custom.js +174 -0
  46. package/brandportal.ing.com/scripts/slick.min.js +687 -0
  47. package/brandportal.ing.com/scripts/superfish.js +279 -0
  48. package/brandportal.ing.com/scripts/upload-main.js +90 -0
  49. package/brandportal.ing.com/scripts/video.min.js +12517 -0
  50. package/brandportal.ing.com/scripts/videojs.wavesurfer.min.js +495 -0
  51. package/brandportal.ing.com/scripts/wavesurfer.min.js +2775 -0
  52. package/burping.json +783 -0
  53. package/dump-scripts.py +83 -0
  54. package/ing.com.txt +365 -0
  55. package/ing.com_200List.txt +30 -0
  56. package/ing.com_DIRSEARCH.txt +8220 -0
  57. package/ing_notes +1 -0
  58. package/nmap +1224 -0
  59. package/nuclei_ing.com.txt +9 -0
  60. package/package.json +12 -0
  61. package/poc.html +116 -0
  62. package/scope.txt +141 -0
  63. package/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
  64. package/scripts/AliasCtrl.js +0 -0
  65. package/scripts/ChangePasswordCtrl.js +0 -0
  66. package/scripts/CustomErrorCtrl.js +0 -0
  67. package/scripts/ErrorCtrl.js +0 -0
  68. package/scripts/HeaderCtrl.js +0 -0
  69. package/scripts/LoginValidationService.js +0 -0
  70. package/scripts/NipValidator.js +0 -0
  71. package/scripts/Psd2AliasCtrl.js +0 -0
  72. package/scripts/RegonValidator.js +0 -0
  73. package/scripts/SmsCtrl.js +0 -0
  74. package/scripts/TimeZoneInfoCollectorPanel-ver-1634885786000.js +2 -0
  75. package/scripts/accounting.min.js +155 -0
  76. package/scripts/angular-animate.min.js +0 -0
  77. package/scripts/angular-cookies.min.js +0 -0
  78. package/scripts/angular-translate.min.js +0 -0
  79. package/scripts/angular-ui-router.js +0 -0
  80. package/scripts/angular.min.js +0 -0
  81. package/scripts/assetWindowContainer.bundle.js +23827 -0
  82. package/scripts/assets.js +1223 -0
  83. package/scripts/bootstrap-select.min.js +1287 -0
  84. package/scripts/bootstrap.min.js +1530 -0
  85. package/scripts/chosen.jquery.min.js +1238 -0
  86. package/scripts/core.main.js +1059 -0
  87. package/scripts/criticalMessageService.js +0 -0
  88. package/scripts/data-dir-cookies-bar.js +0 -0
  89. package/scripts/data-dir-progress-pie.js +0 -0
  90. package/scripts/dir-critical-message.js +0 -0
  91. package/scripts/dir-login-keyboard.js +0 -0
  92. package/scripts/dir-login-validation.js +0 -0
  93. package/scripts/en_120.js +5247 -0
  94. package/scripts/environment.js +22 -0
  95. package/scripts/gemius-init.js +0 -0
  96. package/scripts/gemiusID.js +0 -0
  97. package/scripts/hoverIntent.js +139 -0
  98. package/scripts/ing-vendor.min-ver-1634885786000.js +2 -0
  99. package/scripts/ing-ver-1634885786000.js +2 -0
  100. package/scripts/jquery-3.5.1.min.js +3242 -0
  101. package/scripts/jquery-ui-timepicker-addon.js +1471 -0
  102. package/scripts/jquery-ui.min.js +6711 -0
  103. package/scripts/jquery.are-you-sure.js +197 -0
  104. package/scripts/jquery.autotabs.js +42 -0
  105. package/scripts/jquery.backstretch.min.js +543 -0
  106. package/scripts/jquery.blockUI.js +442 -0
  107. package/scripts/jquery.datePicker.js +1151 -0
  108. package/scripts/jquery.dialogextend.2_0_4.pack.js +300 -0
  109. package/scripts/jquery.fileupload-audio.js +103 -0
  110. package/scripts/jquery.fileupload-image.js +313 -0
  111. package/scripts/jquery.fileupload-process.js +172 -0
  112. package/scripts/jquery.fileupload-ui.js +700 -0
  113. package/scripts/jquery.fileupload-validate.js +117 -0
  114. package/scripts/jquery.fileupload-video.js +103 -0
  115. package/scripts/jquery.fileupload.js +1451 -0
  116. package/scripts/jquery.form.js +892 -0
  117. package/scripts/jquery.number.min.js +150 -0
  118. package/scripts/jquery.ui.datepicker-en.js +26 -0
  119. package/scripts/jquery.ui.timepicker-en.js +6 -0
  120. package/scripts/jquery.validate.min.js +844 -0
  121. package/scripts/jsbn-ver-1634886518000.js +2 -0
  122. package/scripts/layout.bundle.js +673 -0
  123. package/scripts/load-image.all.min.js +770 -0
  124. package/scripts/local.bundle.js +310 -0
  125. package/scripts/login-app.js +0 -0
  126. package/scripts/login-en.js +0 -0
  127. package/scripts/login-pl.js +0 -0
  128. package/scripts/login-states.js +0 -0
  129. package/scripts/main.js +23 -0
  130. package/scripts/mobileAuthCtrl.js +0 -0
  131. package/scripts/moment.min.js +1562 -0
  132. package/scripts/mon_ing_init.js +22 -0
  133. package/scripts/nl.js +88 -0
  134. package/scripts/paginator.js +267 -0
  135. package/scripts/pinLoginDefault-ver-1634885786000.js +2 -0
  136. package/scripts/popper.min.js +844 -0
  137. package/scripts/prng4-ver-1634886518000.js +2 -0
  138. package/scripts/psd2-states.js +0 -0
  139. package/scripts/rng-ver-1634886518000.js +2 -0
  140. package/scripts/rsa_jsbn-ver-1634886518000.js +2 -0
  141. package/scripts/selectAssetBrowser.bundle.js +47577 -0
  142. package/scripts/selectables.custom.js +174 -0
  143. package/scripts/sgemius.js +0 -0
  144. package/scripts/sha1.js +0 -0
  145. package/scripts/slick.min.js +687 -0
  146. package/scripts/superfish.js +279 -0
  147. package/scripts/upload-main.js +90 -0
  148. package/scripts/video.min.js +12517 -0
  149. package/scripts/videojs.wavesurfer.min.js +495 -0
  150. package/scripts/wavesurfer.min.js +2775 -0
  151. package/scripts/webtrekk_v4-ver-1634885786000.js +2 -0
  152. package/setup-feature.js +47 -0
  153. package/start.ingbusiness.pl/dump-scripts.py +83 -0
  154. package/start.ingbusiness.pl/form.html_v=202110040949 +52 -0
  155. package/start.ingbusiness.pl/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
  156. package/start.ingbusiness.pl/scripts/AliasCtrl.js +136 -0
  157. package/start.ingbusiness.pl/scripts/ChangePasswordCtrl.js +162 -0
  158. package/start.ingbusiness.pl/scripts/CustomErrorCtrl.js +9 -0
  159. package/start.ingbusiness.pl/scripts/ErrorCtrl.js +30 -0
  160. package/start.ingbusiness.pl/scripts/HeaderCtrl.js +84 -0
  161. package/start.ingbusiness.pl/scripts/LoginService.js +86 -0
  162. package/start.ingbusiness.pl/scripts/LoginValidationService.js +52 -0
  163. package/start.ingbusiness.pl/scripts/NipValidator.js +30 -0
  164. package/start.ingbusiness.pl/scripts/PasswordCtrl.js +179 -0
  165. package/start.ingbusiness.pl/scripts/Psd2AliasCtrl.js +12 -0
  166. package/start.ingbusiness.pl/scripts/RegonValidator.js +73 -0
  167. package/start.ingbusiness.pl/scripts/RequestService.js +26 -0
  168. package/start.ingbusiness.pl/scripts/SmsCtrl.js +91 -0
  169. package/start.ingbusiness.pl/scripts/UnlockUserCtrl.js +79 -0
  170. package/start.ingbusiness.pl/scripts/angular-animate.min.js +1535 -0
  171. package/start.ingbusiness.pl/scripts/angular-cookies.min.js +62 -0
  172. package/start.ingbusiness.pl/scripts/angular-translate.min.js +871 -0
  173. package/start.ingbusiness.pl/scripts/angular-ui-router.js +1561 -0
  174. package/start.ingbusiness.pl/scripts/angular.min.js +9845 -0
  175. package/start.ingbusiness.pl/scripts/criticalMessageService.js +24 -0
  176. package/start.ingbusiness.pl/scripts/data-dir-button-loader.js +30 -0
  177. package/start.ingbusiness.pl/scripts/data-dir-compile-template.js +17 -0
  178. package/start.ingbusiness.pl/scripts/data-dir-cookies-bar.js +37 -0
  179. package/start.ingbusiness.pl/scripts/data-dir-progress-pie.js +102 -0
  180. package/start.ingbusiness.pl/scripts/data-dir-svg-icon.js +633 -0
  181. package/start.ingbusiness.pl/scripts/data-gemius-event.js +119 -0
  182. package/start.ingbusiness.pl/scripts/dir-critical-message.js +9 -0
  183. package/start.ingbusiness.pl/scripts/dir-help-panel-content.js +29 -0
  184. package/start.ingbusiness.pl/scripts/dir-login-keyboard.js +346 -0
  185. package/start.ingbusiness.pl/scripts/dir-login-validation.js +20 -0
  186. package/start.ingbusiness.pl/scripts/dir-nav-links.js +26 -0
  187. package/start.ingbusiness.pl/scripts/dir-title.js +21 -0
  188. package/start.ingbusiness.pl/scripts/gemius-init.js +12 -0
  189. package/start.ingbusiness.pl/scripts/gemiusID.js +32 -0
  190. package/start.ingbusiness.pl/scripts/hashService.js +91 -0
  191. package/start.ingbusiness.pl/scripts/helpPanelPasswordService.js +26 -0
  192. package/start.ingbusiness.pl/scripts/helpPanelService.js +92 -0
  193. package/start.ingbusiness.pl/scripts/jquery-3.5.1.min.js +3242 -0
  194. package/start.ingbusiness.pl/scripts/login-app.js +107 -0
  195. package/start.ingbusiness.pl/scripts/login-en.js +73 -0
  196. package/start.ingbusiness.pl/scripts/login-pl.js +74 -0
  197. package/start.ingbusiness.pl/scripts/login-states.js +156 -0
  198. package/start.ingbusiness.pl/scripts/maskService.js +194 -0
  199. package/start.ingbusiness.pl/scripts/maskUtilService.js +302 -0
  200. package/start.ingbusiness.pl/scripts/mobileAuthCtrl.js +189 -0
  201. package/start.ingbusiness.pl/scripts/psd2-states.js +67 -0
  202. package/start.ingbusiness.pl/scripts/securityPolicyService.js +119 -0
  203. package/start.ingbusiness.pl/scripts/sgemius.js +257 -0
  204. package/start.ingbusiness.pl/scripts/sha1.js +210 -0
  205. package/start.ingbusiness.pl/scripts/sprintf.js +115 -0
  206. package/start.ingbusiness.pl/scripts/tabletScalingService.js +59 -0
  207. package/start.ingbusiness.pl/scripts/userAgentResolverService.js +12 -0
@@ -0,0 +1,279 @@
1
+ /*
2
+ * jQuery Superfish Menu Plugin - v1.7.10
3
+ * Copyright (c) 2018 Joel Birch
4
+ *
5
+ * Dual licensed under the MIT and GPL licenses:
6
+ * http://www.opensource.org/licenses/mit-license.php
7
+ * http://www.gnu.org/licenses/gpl.html
8
+ */
9
+
10
+ ;
11
+ (function($, w) {
12
+ "use strict";
13
+
14
+ var methods = (function() {
15
+ // private properties and methods go here
16
+ var c = {
17
+ bcClass: 'sf-breadcrumb',
18
+ menuClass: 'sf-js-enabled',
19
+ anchorClass: 'sf-with-ul',
20
+ menuArrowClass: 'sf-arrows'
21
+ },
22
+ ios = (function() {
23
+ var ios = /^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);
24
+ if (ios) {
25
+ // tap anywhere on iOS to unfocus a submenu
26
+ $('html').css('cursor', 'pointer').on('click', $.noop);
27
+ }
28
+ return ios;
29
+ })(),
30
+ wp7 = (function() {
31
+ var style = document.documentElement.style;
32
+ return ('behavior' in style && 'fill' in style && /iemobile/i.test(navigator.userAgent));
33
+ })(),
34
+ unprefixedPointerEvents = (function() {
35
+ return (!!w.PointerEvent);
36
+ })(),
37
+ toggleMenuClasses = function($menu, o, add) {
38
+ var classes = c.menuClass,
39
+ method;
40
+ if (o.cssArrows) {
41
+ classes += ' ' + c.menuArrowClass;
42
+ }
43
+ method = (add) ? 'addClass' : 'removeClass';
44
+ $menu[method](classes);
45
+ },
46
+ setPathToCurrent = function($menu, o) {
47
+ return $menu.find('li.' + o.pathClass).slice(0, o.pathLevels)
48
+ .addClass(o.hoverClass + ' ' + c.bcClass)
49
+ .filter(function() {
50
+ return ($(this).children(o.popUpSelector).hide().show().length);
51
+ }).removeClass(o.pathClass);
52
+ },
53
+ toggleAnchorClass = function($li, add) {
54
+ var method = (add) ? 'addClass' : 'removeClass';
55
+ $li.children('a')[method](c.anchorClass);
56
+ },
57
+ toggleTouchAction = function($menu) {
58
+ var msTouchAction = $menu.css('ms-touch-action');
59
+ var touchAction = $menu.css('touch-action');
60
+ touchAction = touchAction || msTouchAction;
61
+ touchAction = (touchAction === 'pan-y') ? 'auto' : 'pan-y';
62
+ $menu.css({
63
+ 'ms-touch-action': touchAction,
64
+ 'touch-action': touchAction
65
+ });
66
+ },
67
+ getMenu = function($el) {
68
+ return $el.closest('.' + c.menuClass);
69
+ },
70
+ getOptions = function($el) {
71
+ return getMenu($el).data('sfOptions');
72
+ },
73
+ over = function() {
74
+ var $this = $(this),
75
+ o = getOptions($this);
76
+ clearTimeout(o.sfTimer);
77
+ $this.siblings().superfish('hide').end().superfish('show');
78
+ },
79
+ close = function(o) {
80
+ o.retainPath = ($.inArray(this[0], o.$path) > -1);
81
+ this.superfish('hide');
82
+
83
+ if (!this.parents('.' + o.hoverClass).length) {
84
+ o.onIdle.call(getMenu(this));
85
+ if (o.$path.length) {
86
+ $.proxy(over, o.$path)();
87
+ }
88
+ }
89
+ },
90
+ out = function() {
91
+ var $this = $(this),
92
+ o = getOptions($this);
93
+ if (ios) {
94
+ $.proxy(close, $this, o)();
95
+ } else {
96
+ clearTimeout(o.sfTimer);
97
+ o.sfTimer = setTimeout($.proxy(close, $this, o), o.delay);
98
+ }
99
+ },
100
+ touchHandler = function(e) {
101
+ var $this = $(this),
102
+ o = getOptions($this),
103
+ $ul = $this.siblings(e.data.popUpSelector);
104
+
105
+ if (o.onHandleTouch.call($ul) === false) {
106
+ return this;
107
+ }
108
+
109
+ if ($ul.length > 0 && $ul.is(':hidden')) {
110
+ $this.one('click.superfish', false);
111
+ if (e.type === 'MSPointerDown' || e.type === 'pointerdown') {
112
+ $this.trigger('focus');
113
+ } else {
114
+ $.proxy(over, $this.parent('li'))();
115
+ }
116
+ }
117
+ },
118
+ applyHandlers = function($menu, o) {
119
+ var targets = 'li:has(' + o.popUpSelector + ')';
120
+ if ($.fn.hoverIntent && !o.disableHI) {
121
+ $menu.hoverIntent(over, out, targets);
122
+ } else {
123
+ $menu
124
+ .on('mouseenter.superfish', targets, over)
125
+ .on('mouseleave.superfish', targets, out);
126
+ }
127
+ var touchevent = 'MSPointerDown.superfish';
128
+ if (unprefixedPointerEvents) {
129
+ touchevent = 'pointerdown.superfish';
130
+ }
131
+ if (!ios) {
132
+ touchevent += ' touchend.superfish';
133
+ }
134
+ if (wp7) {
135
+ touchevent += ' mousedown.superfish';
136
+ }
137
+ $menu
138
+ .on('focusin.superfish', 'li', over)
139
+ .on('focusout.superfish', 'li', out)
140
+ .on(touchevent, 'a', o, touchHandler);
141
+ };
142
+
143
+ return {
144
+ // public methods
145
+ hide: function(instant) {
146
+ if (this.length) {
147
+ var $this = this,
148
+ o = getOptions($this);
149
+ if (!o) {
150
+ return this;
151
+ }
152
+ var not = (o.retainPath === true) ? o.$path : '',
153
+ $ul = $this.find('li.' + o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector),
154
+ speed = o.speedOut;
155
+
156
+ if (instant) {
157
+ $ul.show();
158
+ speed = 0;
159
+ }
160
+ o.retainPath = false;
161
+
162
+ if (o.onBeforeHide.call($ul) === false) {
163
+ return this;
164
+ }
165
+
166
+ $ul.stop(true, true).animate(o.animationOut, speed, function() {
167
+ var $this = $(this);
168
+ o.onHide.call($this);
169
+ });
170
+ }
171
+ return this;
172
+ },
173
+ show: function() {
174
+ var o = getOptions(this);
175
+ if (!o) {
176
+ return this;
177
+ }
178
+ var $this = this.addClass(o.hoverClass),
179
+ $ul = $this.children(o.popUpSelector);
180
+
181
+ if (o.onBeforeShow.call($ul) === false) {
182
+ return this;
183
+ }
184
+
185
+ $ul.stop(true, true).animate(o.animation, o.speed, function() {
186
+ o.onShow.call($ul);
187
+ });
188
+ return this;
189
+ },
190
+ destroy: function() {
191
+ return this.each(function() {
192
+ var $this = $(this),
193
+ o = $this.data('sfOptions'),
194
+ $hasPopUp;
195
+ if (!o) {
196
+ return false;
197
+ }
198
+ $hasPopUp = $this.find(o.popUpSelector).parent('li');
199
+ clearTimeout(o.sfTimer);
200
+ toggleMenuClasses($this, o);
201
+ toggleAnchorClass($hasPopUp);
202
+ toggleTouchAction($this);
203
+ // remove event handlers
204
+ $this.off('.superfish').off('.hoverIntent');
205
+ // clear animation's inline display style
206
+ $hasPopUp.children(o.popUpSelector).attr('style', function(i, style) {
207
+ if (typeof style !== 'undefined') {
208
+ return style.replace(/display[^;]+;?/g, '');
209
+ }
210
+ });
211
+ // reset 'current' path classes
212
+ o.$path.removeClass(o.hoverClass + ' ' + c.bcClass).addClass(o.pathClass);
213
+ $this.find('.' + o.hoverClass).removeClass(o.hoverClass);
214
+ o.onDestroy.call($this);
215
+ $this.removeData('sfOptions');
216
+ });
217
+ },
218
+ init: function(op) {
219
+ return this.each(function() {
220
+ var $this = $(this);
221
+ if ($this.data('sfOptions')) {
222
+ return false;
223
+ }
224
+ var o = $.extend({}, $.fn.superfish.defaults, op),
225
+ $hasPopUp = $this.find(o.popUpSelector).parent('li');
226
+ o.$path = setPathToCurrent($this, o);
227
+
228
+ $this.data('sfOptions', o);
229
+
230
+ toggleMenuClasses($this, o, true);
231
+ toggleAnchorClass($hasPopUp, true);
232
+ toggleTouchAction($this);
233
+ applyHandlers($this, o);
234
+
235
+ $hasPopUp.not('.' + c.bcClass).superfish('hide', true);
236
+
237
+ o.onInit.call(this);
238
+ });
239
+ }
240
+ };
241
+ })();
242
+
243
+ $.fn.superfish = function(method, args) {
244
+ if (methods[method]) {
245
+ return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
246
+ } else if (typeof method === 'object' || !method) {
247
+ return methods.init.apply(this, arguments);
248
+ } else {
249
+ return $.error('Method ' + method + ' does not exist on jQuery.fn.superfish');
250
+ }
251
+ };
252
+
253
+ $.fn.superfish.defaults = {
254
+ popUpSelector: 'ul,.sf-mega', // within menu context
255
+ hoverClass: 'sfHover',
256
+ pathClass: 'overrideThisToUse',
257
+ pathLevels: 1,
258
+ delay: 800,
259
+ animation: {
260
+ opacity: 'show'
261
+ },
262
+ animationOut: {
263
+ opacity: 'hide'
264
+ },
265
+ speed: 'normal',
266
+ speedOut: 'fast',
267
+ cssArrows: true,
268
+ disableHI: false,
269
+ onInit: $.noop,
270
+ onBeforeShow: $.noop,
271
+ onShow: $.noop,
272
+ onBeforeHide: $.noop,
273
+ onHide: $.noop,
274
+ onIdle: $.noop,
275
+ onDestroy: $.noop,
276
+ onHandleTouch: $.noop
277
+ };
278
+
279
+ })(jQuery, window);
@@ -0,0 +1,90 @@
1
+ /*
2
+ * jQuery File Upload Plugin JS Example 8.9.1
3
+ * https://github.com/blueimp/jQuery-File-Upload
4
+ *
5
+ * Copyright 2010, Sebastian Tschan
6
+ * https://blueimp.net
7
+ *
8
+ * Licensed under the MIT license:
9
+ * http://www.opensource.org/licenses/MIT
10
+ */
11
+
12
+ /* global $, window */
13
+
14
+ $(function() {
15
+ 'use strict';
16
+ var activeTabIndex = 0;
17
+ /* Check if element exists and has a value set */
18
+ if ($('.asset-upload-tabs[data-action-type]').length > 0 && $('.asset-upload-tabs[data-action-type]').data('action-type').length > 0) {
19
+ activeTabIndex = $('.asset-upload-tabs').find('li[data-action-type=' + $('.asset-upload-tabs').data('action-type') + ']').index();
20
+ }
21
+ $('.asset-upload-tabs').tabs({
22
+ activate: function(event, ui) {
23
+ if ($(ui.newTab).data('action-type') === 'upload_edit') {
24
+ $('#uploader-footer').hide();
25
+ } else {
26
+ $('#uploader-footer').show();
27
+ }
28
+ },
29
+ active: activeTabIndex
30
+ });
31
+ // Initialize the jQuery File Upload widget:
32
+ $('#fileupload-multi-edit').fileupload({
33
+ // Uncomment the following to send cross-domain cookies:
34
+ //xhrFields: {withCredentials: true},
35
+ url: '/api/&request=asset.upload',
36
+ disableImageResize: true,
37
+ previewMaxWidth: 180,
38
+ previewMaxHeight: 170,
39
+ global: false,
40
+ autoUpload: true,
41
+ dropZone: $('.asset-upload-dialog')
42
+ });
43
+
44
+ // Enable iframe cross-domain access via redirect option:
45
+ $('#fileupload-multi-edit').fileupload(
46
+ 'option',
47
+ 'redirect',
48
+ window.location.href.replace(
49
+ /\/[^\/]*$/,
50
+ '/cors/result.html?%s'
51
+ )
52
+ );
53
+
54
+ $('#fileupload-multi-edit').fileupload('option', 'pasteZone', null);
55
+
56
+ // Load existing files:
57
+ $('#fileupload-multi-edit').addClass('fileupload-processing');
58
+ // $.ajax({
59
+ // // Uncomment the following to send cross-domain cookies:
60
+ // //xhrFields: {withCredentials: true},
61
+ // url: $('#fileupload-multi-edit').fileupload('option', 'url'),
62
+ // dataType: 'json',
63
+ // context: $('#fileupload-multi-edit')[0],
64
+ // global: false
65
+ // }).always(function () {
66
+ // $(this).removeClass('fileupload-processing');
67
+ // }).done(function (result) {
68
+ // $(this).fileupload('option', 'done').call(this, $.Event('done'), {result: result});
69
+ // });
70
+
71
+ $('#fileupload-multi-edit').bind('fileuploadadd', function(e, data) {
72
+ // $('.btn_my_uploads_start').show();
73
+ });
74
+
75
+ $('#fileupload-multi-edit').bind('fileuploadstart', function(e, data) {
76
+ // $('.btn_my_uploads_cancel').show();
77
+ });
78
+
79
+ $('#fileupload-multi-edit').bind('fileuploaddrop', function(e, data) {
80
+ // setTimeout('$.paginateUploads();', 200);
81
+ $(".asset-upload-tabs").tabs("option", "active", 0);
82
+ });
83
+
84
+ $('#fileupload-multi-edit').bind('fileuploaddone', function(e, data) {
85
+ // $('.btn_my_uploads').show();
86
+ // $('.btn_my_uploads_cancel').hide();
87
+ // $('.btn_my_uploads_start').hide();
88
+ $(data.context['0']).fadeOut(700);
89
+ });
90
+ });