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,300 @@
1
+ /*! jquery-dialogextend 2.0.3 2014-07-08 */
2
+ (function() {
3
+ var i;
4
+ i = jQuery, i.widget("ui.dialogExtend", {
5
+ version: "2.0.0",
6
+ modes: {},
7
+ options: {
8
+ closable: !0,
9
+ dblclick: !1,
10
+ titlebar: !1,
11
+ icons: {
12
+ close: "ui-icon-closethick",
13
+ restore: "ui-icon-newwin"
14
+ },
15
+ load: null,
16
+ beforeRestore: null,
17
+ restore: null
18
+ },
19
+ _create: function() {
20
+ return this._state = "normal", i(this.element[0]).data("ui-dialog") || i.error("jQuery.dialogExtend Error : Only jQuery UI Dialog element is accepted"), this._verifyOptions(), this._initStyles(), this._initButtons(), this._initTitleBar(), this._setState("normal"), this._on("load", function(i) {
21
+ return console.log("test", i)
22
+ }), this._trigger("load")
23
+ },
24
+ _setState: function(t) {
25
+ return i(this.element[0]).removeClass("ui-dialog-" + this._state).addClass("ui-dialog-" + t), this._state = t
26
+ },
27
+ _verifyOptions: function() {
28
+ var t, e, o;
29
+ !this.options.dblclick || this.options.dblclick in this.modes || (i.error("jQuery.dialogExtend Error : Invalid <dblclick> value '" + this.options.dblclick + "'"), this.options.dblclick = !1), this.options.titlebar && "none" !== (e = this.options.titlebar) && "transparent" !== e && (i.error("jQuery.dialogExtend Error : Invalid <titlebar> value '" + this.options.titlebar + "'"), this.options.titlebar = !1), o = [];
30
+ for (t in this.modes) this["_verifyOptions_" + t] ? o.push(this["_verifyOptions_" + t]()) : o.push(void 0);
31
+ return o
32
+ },
33
+ _initStyles: function() {
34
+ var t, e, o;
35
+ i(".dialog-extend-css").length || (e = "", e += '<style class="dialog-extend-css" type="text/css">', e += ".ui-dialog .ui-dialog-titlebar-buttonpane>a { float: right; }", e += ".ui-dialog .ui-dialog-titlebar-restore { width: 19px; height: 18px; }", e += ".ui-dialog .ui-dialog-titlebar-restore span { display: block; margin: 1px; }", e += ".ui-dialog .ui-dialog-titlebar-restore:hover,", e += ".ui-dialog .ui-dialog-titlebar-restore:focus { padding: 0; }", e += ".ui-dialog .ui-dialog-titlebar ::selection { background-color: transparent; }", e += "</style>", i(e).appendTo("body")), o = [];
36
+ for (t in this.modes) o.push(this["_initStyles_" + t]());
37
+ return o
38
+ },
39
+ _initButtons: function() {
40
+ var t, e, o, n, a, l = this;
41
+ n = i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar"), t = i('<div class="ui-dialog-titlebar-buttonpane"></div>').appendTo(n), t.css({
42
+ position: "absolute",
43
+ top: "50%",
44
+ right: "0.3em",
45
+ "margin-top": "-10px",
46
+ height: "18px"
47
+ }), n.find(".ui-dialog-titlebar-close").css({
48
+ position: "relative",
49
+ "float": "right",
50
+ top: "auto",
51
+ right: "auto",
52
+ margin: 0
53
+ }).find(".ui-icon").removeClass("ui-icon-closethick").addClass(this.options.icons.close).end().appendTo(t).end(), t.append('<a class="ui-dialog-titlebar-restore ui-corner-all ui-state-default" href="#"><span class="ui-icon ' + this.options.icons.restore + '" title="restore">restore</span></a>').find(".ui-dialog-titlebar-restore").attr("role", "button").mouseover(function() {
54
+ return i(this).addClass("ui-state-hover")
55
+ }).mouseout(function() {
56
+ return i(this).removeClass("ui-state-hover")
57
+ }).focus(function() {
58
+ return i(this).addClass("ui-state-focus")
59
+ }).blur(function() {
60
+ return i(this).removeClass("ui-state-focus")
61
+ }).end().find(".ui-dialog-titlebar-close").toggle(this.options.closable).end().find(".ui-dialog-titlebar-restore").hide().click(function(i) {
62
+ return i.preventDefault(), l.restore()
63
+ }).end(), a = this.modes;
64
+ for (o in a) e = a[o], this._initModuleButton(o, e);
65
+ return n.dblclick(function() {
66
+ return l.options.dblclick ? "normal" !== l._state ? l.restore() : l[l.options.dblclick]() : void 0
67
+ }).select(function() {
68
+ return !1
69
+ })
70
+ },
71
+ _initModuleButton: function(t, e) {
72
+ var o, n = this;
73
+ return o = i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar-buttonpane"), o.append('<a class="ui-dialog-titlebar-' + t + ' ui-corner-all ui-state-default" href="#" title="' + t + '"><span class="ui-icon ' + this.options.icons[t] + '">' + t + "</span></a>").find(".ui-dialog-titlebar-" + t).attr("role", "button").mouseover(function() {
74
+ return i(this).addClass("ui-state-hover")
75
+ }).mouseout(function() {
76
+ return i(this).removeClass("ui-state-hover")
77
+ }).focus(function() {
78
+ return i(this).addClass("ui-state-focus")
79
+ }).blur(function() {
80
+ return i(this).removeClass("ui-state-focus")
81
+ }).end().find(".ui-dialog-titlebar-" + t).toggle(this.options[e.option]).click(function(i) {
82
+ return i.preventDefault(), n[t]()
83
+ }).end()
84
+ },
85
+ _initTitleBar: function() {
86
+ var t;
87
+ switch (this.options.titlebar) {
88
+ case !1:
89
+ return 0;
90
+ case "none":
91
+ return i(this.element[0]).dialog("option", "draggable") && (t = i("<div />").addClass("ui-dialog-draggable-handle").css("cursor", "move").height(5), i(this.element[0]).dialog("widget").prepend(t).draggable("option", "handle", t)), i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar").find(".ui-dialog-title").html("&nbsp;").end().css({
92
+ "background-color": "transparent",
93
+ "background-image": "none",
94
+ border: 0,
95
+ position: "absolute",
96
+ right: 0,
97
+ top: 0,
98
+ "z-index": 9999
99
+ }).end();
100
+ case "transparent":
101
+ return i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar").css({
102
+ "background-color": "transparent",
103
+ "background-image": "none",
104
+ border: 0
105
+ });
106
+ default:
107
+ return i.error("jQuery.dialogExtend Error : Invalid <titlebar> value '" + this.options.titlebar + "'")
108
+ }
109
+ },
110
+ state: function() {
111
+ return this._state
112
+ },
113
+ restore: function() {
114
+ return this._trigger("beforeRestore"), this._restore(), this._toggleButtons(), this._trigger("restore")
115
+ },
116
+ _restore: function() {
117
+ return "normal" !== this._state ? (this["_restore_" + this._state](), this._setState("normal"), i(this.element[0]).dialog("widget").focus()) : void 0
118
+ },
119
+ _saveSnapshot: function() {
120
+ return "normal" === this._state ? (this.original_config_resizable = i(this.element[0]).dialog("option", "resizable"), this.original_config_draggable = i(this.element[0]).dialog("option", "draggable"), this.original_size_height = i(this.element[0]).dialog("widget").outerHeight(), this.original_size_width = i(this.element[0]).dialog("option", "width"), this.original_size_maxHeight = i(this.element[0]).dialog("option", "maxHeight"), this.original_position_mode = i(this.element[0]).dialog("widget").css("position"), this.original_position_left = i(this.element[0]).dialog("widget").offset().left - i("body").scrollLeft(), this.original_position_top = i(this.element[0]).dialog("widget").offset().top - i("body").scrollTop(), this.original_titlebar_wrap = i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar").css("white-space")) : void 0
121
+ },
122
+ _loadSnapshot: function() {
123
+ return {
124
+ config: {
125
+ resizable: this.original_config_resizable,
126
+ draggable: this.original_config_draggable
127
+ },
128
+ size: {
129
+ height: this.original_size_height,
130
+ width: this.original_size_width,
131
+ maxHeight: this.original_size_maxHeight
132
+ },
133
+ position: {
134
+ mode: this.original_position_mode,
135
+ left: this.original_position_left,
136
+ top: this.original_position_top
137
+ },
138
+ titlebar: {
139
+ wrap: this.original_titlebar_wrap
140
+ }
141
+ }
142
+ },
143
+ _toggleButtons: function(t) {
144
+ var e, o, n, a, l, s;
145
+ n = t || this._state, i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar-restore").toggle("normal" !== n).css({
146
+ right: "1.4em"
147
+ }).end(), a = this.modes;
148
+ for (o in a) e = a[o], i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar-" + o).toggle(n !== e.state && this.options[e.option]);
149
+ l = this.modes, s = [];
150
+ for (o in l) e = l[o], e.state === n ? s.push(i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar-restore").insertAfter(i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar-" + o)).end()) : s.push(void 0);
151
+ return s
152
+ }
153
+ })
154
+ }).call(this),
155
+ function() {
156
+ var i;
157
+ i = jQuery, i.extend(!0, i.ui.dialogExtend.prototype, {
158
+ modes: {
159
+ collapse: {
160
+ option: "collapsable",
161
+ state: "collapsed"
162
+ }
163
+ },
164
+ options: {
165
+ collapsable: !1,
166
+ icons: {
167
+ collapse: "ui-icon-triangle-1-s"
168
+ },
169
+ beforeCollapse: null,
170
+ collapse: null
171
+ },
172
+ collapse: function() {
173
+ var t, e;
174
+ return t = i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar").height() + 15, this._trigger("beforeCollapse"), "normal" !== this._state && this._restore(), this._saveSnapshot(), e = i(this.element[0]).dialog("widget").position(), i(this.element[0]).dialog("option", {
175
+ resizable: !1,
176
+ height: t,
177
+ maxHeight: t,
178
+ position: [e.left - i(document).scrollLeft(), e.top - i(document).scrollTop()]
179
+ }).on("dialogclose", this._collapse_restore).hide().dialog("widget").find(".ui-dialog-buttonpane:visible").hide().end().find(".ui-dialog-titlebar").css("white-space", "nowrap").end().find(".ui-dialog-content"), this._setState("collapsed"), this._toggleButtons(), this._trigger("collapse")
180
+ },
181
+ _restore_collapsed: function() {
182
+ var t;
183
+ return t = this._loadSnapshot(), i(this.element[0]).show().dialog("widget").find(".ui-dialog-buttonpane:hidden").show().end().find(".ui-dialog-titlebar").css("white-space", t.titlebar.wrap).end().find(".ui-dialog-content").dialog("option", {
184
+ resizable: t.config.resizable,
185
+ height: t.size.height,
186
+ maxHeight: t.size.maxHeight
187
+ }).off("dialogclose", this._collapse_restore)
188
+ },
189
+ _initStyles_collapse: function() {
190
+ var t;
191
+ return i(".dialog-extend-collapse-css").length ? void 0 : (t = "", t += '<style class="dialog-extend-collapse-css" type="text/css">', t += ".ui-dialog .ui-dialog-titlebar-collapse { width: 19px; height: 18px; }", t += ".ui-dialog .ui-dialog-titlebar-collapse span { display: block; margin: 1px; }", t += ".ui-dialog .ui-dialog-titlebar-collapse:hover,", t += ".ui-dialog .ui-dialog-titlebar-collapse:focus { padding: 0; }", t += "</style>", i(t).appendTo("body"))
192
+ },
193
+ _collapse_restore: function() {
194
+ return i(this).dialogExtend("restore")
195
+ }
196
+ })
197
+ }.call(this),
198
+ function() {
199
+ var i;
200
+ i = jQuery, i.extend(!0, i.ui.dialogExtend.prototype, {
201
+ modes: {
202
+ maximize: {
203
+ option: "maximizable",
204
+ state: "maximized"
205
+ }
206
+ },
207
+ options: {
208
+ maximizable: !1,
209
+ icons: {
210
+ maximize: "ui-icon-extlink"
211
+ },
212
+ beforeMaximize: null,
213
+ maximize: null
214
+ },
215
+ maximize: function() {
216
+ var t, e;
217
+ return t = i(window).height() - 11, e = i(window).width() - 11, this._trigger("beforeMaximize"), "normal" !== this._state && this._restore(), this._saveSnapshot(), i(this.element[0]).dialog("option", "draggable") && i(this.element[0]).dialog("widget").draggable("option", "handle", null).find(".ui-dialog-draggable-handle").css("cursor", "text").end(), i(this.element[0]).dialog("widget").css("position", "fixed").find(".ui-dialog-content").show().dialog("widget").find(".ui-dialog-buttonpane").show().end().find(".ui-dialog-content").dialog("option", {
218
+ resizable: !1,
219
+ draggable: !1,
220
+ height: t,
221
+ width: e,
222
+ position: {
223
+ my: "left top",
224
+ at: "left top",
225
+ of: window
226
+ }
227
+ }), this._setState("maximized"), this._toggleButtons(), this._trigger("maximize")
228
+ },
229
+ _restore_maximized: function() {
230
+ var t;
231
+ return t = this._loadSnapshot(), i(this.element[0]).dialog("widget").css("position", t.position.mode).find(".ui-dialog-titlebar").css("white-space", t.titlebar.wrap).end().find(".ui-dialog-content").dialog("option", {
232
+ resizable: t.config.resizable,
233
+ draggable: t.config.draggable,
234
+ height: t.size.height,
235
+ width: t.size.width,
236
+ maxHeight: t.size.maxHeight,
237
+ position: {
238
+ my: "left top",
239
+ at: "left+" + t.position.left + " top+" + t.position.top,
240
+ of: window
241
+ }
242
+ }), i(this.element[0]).dialog("option", "draggable") ? i(this.element[0]).dialog("widget").draggable("option", "handle", i(this.element[0]).dialog("widget").find(".ui-dialog-draggable-handle").length ? i(this.element[0]).dialog("widget").find(".ui-dialog-draggable-handle") : ".ui-dialog-titlebar").find(".ui-dialog-draggable-handle").css("cursor", "move") : void 0
243
+ },
244
+ _initStyles_maximize: function() {
245
+ var t;
246
+ return i(".dialog-extend-maximize-css").length ? void 0 : (t = "", t += '<style class="dialog-extend-maximize-css" type="text/css">', t += ".ui-dialog .ui-dialog-titlebar-maximize { width: 19px; height: 18px; }", t += ".ui-dialog .ui-dialog-titlebar-maximize span { display: block; margin: 1px; }", t += ".ui-dialog .ui-dialog-titlebar-maximize:hover,", t += ".ui-dialog .ui-dialog-titlebar-maximize:focus { padding: 0; }", t += "</style>", i(t).appendTo("body"))
247
+ }
248
+ })
249
+ }.call(this),
250
+ function() {
251
+ var i;
252
+ i = jQuery, i.extend(!0, i.ui.dialogExtend.prototype, {
253
+ modes: {
254
+ minimize: {
255
+ option: "minimizable",
256
+ state: "minimized"
257
+ }
258
+ },
259
+ options: {
260
+ minimizable: !1,
261
+ minimizeLocation: "left",
262
+ icons: {
263
+ minimize: "ui-icon-minus"
264
+ },
265
+ beforeMinimize: null,
266
+ minimize: null
267
+ },
268
+ minimize: function() {
269
+ var t, e, o;
270
+ return this._trigger("beforeMinimize"), "normal" !== this._state && this._restore(), o = 200, i("#dialog-extend-fixed-container").length ? e = i("#dialog-extend-fixed-container") : (e = i('<div id="dialog-extend-fixed-container"></div>').appendTo("body"), e.css({
271
+ position: "fixed",
272
+ bottom: 1,
273
+ left: 1,
274
+ right: 1,
275
+ "z-index": 9999
276
+ })), this._toggleButtons("minimized"), t = i(this.element[0]).dialog("widget").clone().children().remove().end(), i(this.element[0]).dialog("widget").find(".ui-dialog-titlebar").clone(!0, !0).appendTo(t), t.css({
277
+ "float": this.options.minimizeLocation,
278
+ margin: 1
279
+ }), e.append(t), i(this.element[0]).data("dialog-extend-minimize-controls", t), i(this.element[0]).dialog("option", "draggable") && t.removeClass("ui-draggable"), t.css({
280
+ height: "auto",
281
+ width: o,
282
+ position: "static"
283
+ }), i(this.element[0]).on("dialogbeforeclose", this._minimize_restoreOnClose).dialog("widget").hide(), this._setState("minimized"), this._trigger("minimize")
284
+ },
285
+ _restore_minimized: function() {
286
+ return i(this.element[0]).dialog("widget").show(), i(this.element[0]).off("dialogbeforeclose", this._minimize_restoreOnClose), i(this.element[0]).data("dialog-extend-minimize-controls").remove(), i(this.element[0]).removeData("dialog-extend-minimize-controls")
287
+ },
288
+ _initStyles_minimize: function() {
289
+ var t;
290
+ return i(".dialog-extend-minimize-css").length ? void 0 : (t = "", t += '<style class="dialog-extend-minimize-css" type="text/css">', t += ".ui-dialog .ui-dialog-titlebar-minimize { width: 19px; height: 18px; }", t += ".ui-dialog .ui-dialog-titlebar-minimize span { display: block; margin: 1px; }", t += ".ui-dialog .ui-dialog-titlebar-minimize:hover,", t += ".ui-dialog .ui-dialog-titlebar-minimize:focus { padding: 0; }", t += "</style>", i(t).appendTo("body"))
291
+ },
292
+ _verifyOptions_minimize: function() {
293
+ var t;
294
+ return !this.options.minimizeLocation || "left" !== (t = this.options.minimizeLocation) && "right" !== t ? (i.error("jQuery.dialogExtend Error : Invalid <minimizeLocation> value '" + this.options.minimizeLocation + "'"), this.options.minimizeLocation = "left") : void 0
295
+ },
296
+ _minimize_restoreOnClose: function() {
297
+ return i(this).dialogExtend("restore")
298
+ }
299
+ })
300
+ }.call(this);
@@ -0,0 +1,103 @@
1
+ /*
2
+ * jQuery File Upload Audio Preview Plugin 1.0.3
3
+ * https://github.com/blueimp/jQuery-File-Upload
4
+ *
5
+ * Copyright 2013, Sebastian Tschan
6
+ * https://blueimp.net
7
+ *
8
+ * Licensed under the MIT license:
9
+ * http://www.opensource.org/licenses/MIT
10
+ */
11
+
12
+ /* jshint nomen:false */
13
+ /* global define, window, document */
14
+
15
+ (function(factory) {
16
+ 'use strict';
17
+ if (typeof define === 'function' && define.amd) {
18
+ // Register as an anonymous AMD module:
19
+ define([
20
+ 'jquery',
21
+ 'load-image',
22
+ './jquery.fileupload-process'
23
+ ], factory);
24
+ } else {
25
+ // Browser globals:
26
+ factory(
27
+ window.jQuery,
28
+ window.loadImage
29
+ );
30
+ }
31
+ }(function($, loadImage) {
32
+ 'use strict';
33
+
34
+ // Prepend to the default processQueue:
35
+ $.blueimp.fileupload.prototype.options.processQueue.unshift({
36
+ action: 'loadAudio',
37
+ // Use the action as prefix for the "@" options:
38
+ prefix: true,
39
+ fileTypes: '@',
40
+ maxFileSize: '@',
41
+ disabled: '@disableAudioPreview'
42
+ }, {
43
+ action: 'setAudio',
44
+ name: '@audioPreviewName',
45
+ disabled: '@disableAudioPreview'
46
+ });
47
+
48
+ // The File Upload Audio Preview plugin extends the fileupload widget
49
+ // with audio preview functionality:
50
+ $.widget('blueimp.fileupload', $.blueimp.fileupload, {
51
+
52
+ options: {
53
+ // The regular expression for the types of audio files to load,
54
+ // matched against the file type:
55
+ loadAudioFileTypes: /^audio\/.*$/
56
+ },
57
+
58
+ _audioElement: document.createElement('audio'),
59
+
60
+ processActions: {
61
+
62
+ // Loads the audio file given via data.files and data.index
63
+ // as audio element if the browser supports playing it.
64
+ // Accepts the options fileTypes (regular expression)
65
+ // and maxFileSize (integer) to limit the files to load:
66
+ loadAudio: function(data, options) {
67
+ if (options.disabled) {
68
+ return data;
69
+ }
70
+ var file = data.files[data.index],
71
+ url,
72
+ audio;
73
+ if (this._audioElement.canPlayType &&
74
+ this._audioElement.canPlayType(file.type) &&
75
+ ($.type(options.maxFileSize) !== 'number' ||
76
+ file.size <= options.maxFileSize) &&
77
+ (!options.fileTypes ||
78
+ options.fileTypes.test(file.type))) {
79
+ url = loadImage.createObjectURL(file);
80
+ if (url) {
81
+ audio = this._audioElement.cloneNode(false);
82
+ audio.src = url;
83
+ audio.controls = true;
84
+ data.audio = audio;
85
+ return data;
86
+ }
87
+ }
88
+ return data;
89
+ },
90
+
91
+ // Sets the audio element as a property of the file object:
92
+ setAudio: function(data, options) {
93
+ if (data.audio && !options.disabled) {
94
+ data.files[data.index][options.name || 'preview'] = data.audio;
95
+ }
96
+ return data;
97
+ }
98
+
99
+ }
100
+
101
+ });
102
+
103
+ }));