function mb(a,b,d,e){this.Init(a,b,d,e)}m("AdfObjectTransferable",mb);r.v(mb,nb);mb.Bqa=function(a,b){u.assert(a);u.$j(b,lb);var d;b&&(u.s(b,lb),d=[b]);return new mb([[a]],d)};m("AdfObjectTransferable.createSingleObjectTransferable",mb.Bqa);mb.npb=function(a,b){u.Mb(a);u.s(b,lb);return new mb([a],[b])};m("AdfObjectTransferable.createMultiObjectTransferable",mb.npb);
mb.prototype.Init=function(a,b,d,e){mb.h.Init.call(this);u.og(a);u.og(b);u.og(d);u.og(e);u.assert(null!=a||null!=d&&null!=e&&null!=b,"Either the objects for the AdfTransferable have to be specified, or base objects and converters must be specified");u.assert(!b||a.length==b.length,"data Objects and AdfDataFlavor arrays lengths must be identical:data objects:["+a+"] data flavors:["+b+"]");this.C$a=d;this.tbb=e;this.yU=mb.zbb(a,b);v.l.fine("data flavors for:",a,"\x3d",this.yU);null==a&&(a=[]);this.ena=
a};r.a("AdfObjectTransferable.prototype.Init",{Init:mb.prototype.Init});mb.prototype.uo=function(a){var b=this.yU[a.LH()];void 0===b&&a===lb.EQ&&(b=0);if(void 0!=b){a=this.ena[b];if(null==a){var d=this.C$a;if(null!=d){var e=this.tbb[b],f=d.length;a=Array(f);for(var g=0;g<f;g++)a[g]=e(d[g]);this.ena[b]=a}}return a}};r.a("AdfObjectTransferable.prototype.getTransferData",{uo:mb.prototype.uo});mb.prototype.CC=function(){return this.yU};r.a("AdfObjectTransferable.prototype.getTransferDataFlavors",{CC:mb.prototype.CC});
mb.prototype.EP=function(a){return a===lb.EQ?!0:a.LH()in this.yU};r.a("AdfObjectTransferable.prototype.isDataFlavorSupported",{EP:mb.prototype.EP});mb.prototype.Ga=function(){return mb.h.Ga.call(this)+"[ dataObjects:"+this.ena+" dataFlavors:"+this.yU+"]"};r.a("AdfObjectTransferable.prototype.toDebugString",{Ga:mb.prototype.Ga});mb.zbb=function(a,b){for(var d=a.length,e=[],f=0;f<d;f++){var g=a[f];u.Mb(g);var h=b?b[f]:null;h||(h=lb.eP(g[0]));u.s(h,lb);mb.v9a(h,e,f)}return e};
mb.v9a=function(a,b,d){mb.dia(a,b,d);if(a!==lb.EQ){var e=a.LH(),f=lb.gfa;if(!e.indexOf(f)){a=lb.Gca;if((e=window[e.substr(f.length)])&&r.prototype.isPrototypeOf(e))for(e=e.h;e;)f=lb.JY(e),mb.dia(f,b,d),e=e.h;mb.dia(a,b,d)}}};mb.dia=function(a,b,d){var e=a.LH();e in b||(b.push(a),b[e]=d)};