dojo._xdResourceLoaded(function(_1,_2,_3){return{depends:[["provide","organizer.EditOrganizerList"],["require","dijit._Widget"],["require","dijit._Templated"],["require","dijit._Container"],["require","organizer.EditOrganizerListDefaultGroup"],["require","organizer.EditOrganizerListGroup"],["require","organizer.EditOrganizerListEmpty"]],defineResource:function(_4,_5,_6){if(!_4._hasResource["organizer.EditOrganizerList"]){_4._hasResource["organizer.EditOrganizerList"]=true;_4.provide("organizer.EditOrganizerList");_4.require("dijit._Widget");_4.require("dijit._Templated");_4.require("dijit._Container");_4.require("organizer.EditOrganizerListDefaultGroup");_4.require("organizer.EditOrganizerListGroup");_4.require("organizer.EditOrganizerListEmpty");_4.declare("organizer.EditOrganizerList",[_5._Widget,_5._Container,_5._Templated],{templateString:"<div></div>",postCreate:function(){this.createSubordinates()},staticURLVersion:"",isCraftsView:true,contentTypeCode:"FFC",contentTypeFriendlyName:"Craft",lowercaseContentTypeProgrammaticName:"craft",uppercaseContentTypeProgrammaticName:"Craft",groupList:null,createSubordinates:function(){try{if(this.groupList!=null&&this.groupList.length>0){var _7=[this.groupList.length];for(var i=0;i<this.groupList.length;i=i+1){_7[i]="init"}var _9=0;for(i=0;i<this.groupList.length;i=i+1){if(this.groupList[i].name==="default_organizer"){_7[i]=new organizer.EditOrganizerListDefaultGroup({contentTypeCode:this.contentTypeCode,contentTypeFriendlyName:this.contentTypeFriendlyName,lowercaseContentTypeProgrammaticName:this.lowercaseContentTypeProgrammaticName,groupName:this.groupList[i].name,group:this.groupList[i],groupId:this.groupList[i].id,groupList:this.groupList,uppercaseContentTypeProgrammaticName:this.uppercaseContentTypeProgrammaticName},null)}else{nonDefaultWidgetId="organizer_EditOrganizerListGroup_"+_9;_9=_9+1;var _a=new String(this.groupList[i].name);_a=_a.replace(/\&amp;/g,"&");_a=_a.replace(/\&lt;/g,"<");_a=_a.replace(/\&gt;/g,">");_a=_a.replace(/\&#39;/g,"'");_a=_a.replace(/\&quot;/g,'"');if(_a.length>32){_a=_a.substring(0,32)+"..."}_a=_a.replace(/\&/g,"&amp;");_a=_a.replace(/\</g,"&lt;");_a=_a.replace(/\>/g,"&gt;");_a=_a.replace(/\'/g,"&#39;");_a=_a.replace(/\"/g,"&quot;");var _b=_a;_7[i]=new organizer.EditOrganizerListGroup({groupId:this.groupList[i].id,groupName:this.groupList[i].name,groupDisplayName:_b,groupItemListLength:this.groupList[i].itemCount,uppercaseContentTypeProgrammaticName:this.uppercaseContentTypeProgrammaticName,contentTypeCode:this.contentTypeCode,group:this.groupList[i],groupId:this.groupList[i].id,groupList:this.groupList,theWidgetId:nonDefaultWidgetId},null)}}for(i=0;i<this.groupList.length;i=i+1){this.domNode.appendChild(_7[i].domNode)}}else{var _c=new organizer.EditOrganizerListEmpty({isCraftsView:this.isCraftsView},null);this.domNode.appendChild(_c.domNode)}}catch(exception){}}})}}}})