define("share/assert/js/idgen",["./hashtable"],function(require,exports){function a(){this.typeNames=new e,this.newId=function(a){this.typeNames.contains(a)||this.typeNames.add(a,new e);var b=this.typeNames.get(a).getValues(),c=0==b.length?0:b.max(),d=a+(c+1);return this.loadId(a,d),d},this.loadId=function(a,b){if("path-group"!==a){this.typeNames.contains(a)||this.typeNames.add(a,new e);var c=b.match(f);if(null!=c){var d=c.max();this.typeNames.get(a).add(b,parseInt(d))}}}}function b(){this.Names=new e,this.newId=function(){var a=this.Names.getValues(),b=0==a.length?0:a.max(),c=b+1+".sco";return this.loadId(c),c},this.loadId=function(a){if(!this.Names.contains(a)){var b=a.match(g);if(null!=b){var c=b[1];this.Names.add(a,parseInt(c))}}}}function c(){this.Names=new e,this.newId=function(){var a=this.Names.getValues(),b=0==a.length?0:a.max(),c="r"+(b+1);return this.loadId(c),c},this.loadId=function(a){if(!this.Names.contains(a)){var b=a.match(f);if(null!=b){var c=b.max();this.Names.add(a,parseInt(c))}}}}function d(){this.Names=new e,this.newId=function(){var a=this.Names.getValues(),b=0==a.length?0:a.max(),c="t"+(b+1);return this.loadId(c),c},this.loadId=function(a){if(!this.Names.contains(a)){var b=a.match(f);if(null!=b){var c=b.max();this.Names.add(a,parseInt(c))}}}}var e=require("./hashtable").Hashtable,f=/\d+/g,g=/^(\d+?)\.sco$/i;"undefined"==typeof Array.prototype.max&&(Array.prototype.max=function(){return Math.max.apply({},this)},Array.prototype.min=function(){return Math.min.apply({},this)}),exports.Widget=a,exports.TimeNode=d,exports.Relation=c,exports.SlideIdGen=new b}),define("share/assert/js/hashtable",[],function(require,exports){function a(){this.container=new Object,this.add=function(a,b){return"undefined"==typeof a?!1:this.contains(a)?!1:(this.container[a]="undefined"==typeof b?null:b,!0)},this.remove=function(a){delete this.container[a]},this.size=function(){var a=0;for(var b in this.container)a++;return a},this.get=function(a){return this.container[a]},this.contains=function(a){return"undefined"!=typeof this.container[a]},this.clear=function(){for(var a in this.container)delete this.container[a]},this.getValues=function(){var a=[];for(var b in this.container)a.push(this.container[b]);return a},this.toString=function(){var a="";for(var b in this.container)a+=","+b+"="+this.container[b];return a.length>0&&(a=a.substr(1,a.length)),"{"+a+"}"}}exports.Hashtable=a});