( function ( mw, uw, $, OO ) {
/**
* Create an interface fragment corresponding to a file input, suitable for Upload Wizard.
*
* @class mw.UploadWizardUploadInterface
* @mixins OO.EventEmitter
* @constructor
* @param {mw.UploadWizardUpload} upload
*/
mw.UploadWizardUploadInterface = function MWUploadWizardUploadInterface( upload ) {
var
ui = this;
OO.EventEmitter.call( this );
this.upload = upload;
// may need to collaborate with the particular upload type sometimes
// for the interface, as well as the uploadwizard. OY.
this.$div = $( '