{"size": 1281, "ext": "js", "max_stars_repo_path": "application/admin/js/jquery-upload/js/jquery.fileupload-audio.min.js", "max_stars_repo_name": "aabsharpasha/foodine", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "application/admin/js/jquery-upload/js/jquery.fileupload-audio.min.js", "max_issues_repo_name": "aabsharpasha/foodine", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "application/admin/js/jquery-upload/js/jquery.fileupload-audio.min.js", "max_forks_repo_name": "aabsharpasha/foodine", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 91.5, "max_line_length": 444, "alphanum_fraction": 0.6073380172}
!function(t) {
    "use strict";
    "function" == typeof define && define.amd ? define(["jquery", "load-image", "./jquery.fileupload-process"], t) : t(window.jQuery, window.loadImage)
}(function(t, e) {
    "use strict";
    t.blueimp.fileupload.prototype.options.processQueue.unshift({action: "loadAudio", prefix: !0, fileTypes: "@", maxFileSize: "@", disabled: "@disableAudioPreview"}, {action: "setAudio", name: "@audioPreviewName", disabled: "@disableAudioPreview"}), t.widget("blueimp.fileupload", t.blueimp.fileupload, {options: {loadAudioFileTypes: /^audio\/.*$/}, _audioElement: document.createElement("audio"), processActions: {loadAudio: function(i, r) {
                if (r.disabled)
                    return i;
                var n, a, o = i.files[i.index];
                return this._audioElement.canPlayType && this._audioElement.canPlayType(o.type) && ("number" !== t.type(r.maxFileSize) || o.size <= r.maxFileSize) && (!r.fileTypes || r.fileTypes.test(o.type)) && (n = e.createObjectURL(o)) ? (a = this._audioElement.cloneNode(!1), a.src = n, a.controls = !0, i.audio = a, i) : i
            }, setAudio: function(t, e) {
                return t.audio && !e.disabled && (t.files[t.index][e.name || "preview"] = t.audio), t
            }}})
});