text: (function(){window.Namespace=function(e,i){var r=window,n=e.split('.'),a=n.pop();for(var t=0;t<n.length;t++){r=r[n[t]]=r[n[t]]||{}};if(a){r=r[a]=i}};window.Public=function(e){return{member:e,scope:'Public',_static:!1}};window.Protected=function(e){return{member:e,scope:'Protected',_static:!1}};window.Private=function(e){return{member:e,scope:'Private',_static:!1}};window.Static=function(e){e._static=!0;return e};var e={};window.Class=function(){var i=arguments[0];if(typeof arguments[1]['extend']!='undefined'){var f=arguments[1]['extend'],t=new arguments[2]}else{var f=null,t=new arguments[1]};var o={};var u={};var s={};for(var n in t){switch(t[n]['scope']){case'Public':o[n]=t[n]['member'];break;case'Protected':u[n]=t[n]['member'];break;case'Private':s[n]=t[n]['member'];break}};e[i]={class_name:i,parent_class_name:f,public_members:o,protected_members:u,private_members:s};function c(r,t,f,a,o,i){var n={};for(var e in r){n[e]=r[e]};for(var e in t){n[e]=t[e]};for(var e in f){n[e]=f[e]};for(var e in a){n[e]=a[e]};for(var e in o){n[e]=o[e]};for(var e in i){n[e]=i[e]};return n};var r={};function a(n,t){var f={};if(t.parent_class_name!=null){f=a(n,e[t.parent_class_name])};function u(){var i={};for(var e in r){if(typeof f[e]!='undefined'){i[e]=r[e]};if(typeof t.private_members[e]!='undefined'){i[e]=r[e]}};return c(t.public_members,t.protected_members,t.private_members,f,n,i)};function o(e){if(typeof e=='function'){return function(){r=u();var i=e.apply(r,arguments);for(var t in r){if(typeof n[t]!='undefined'){if(typeof n[t]!='function'){n[t]=r[t]}}};return i}}else{return e}};function s(e,t){if(typeof e=='function'){return function(){r=u();var a=Array.prototype.slice.call(arguments);a.unshift(t);var f=e.apply(r,a);for(var i in r){if(typeof n[i]!='undefined'){if(typeof n[i]!='function'){n[i]=r[i]}}};return f}}else{return e}};for(var i in t.public_members){if(typeof n[i]=='undefined'||String(n[i]).indexOf('/* klass:')>0){n[i]=o(t.public_members[i])}else{n[i]=s(t.public_members[i],n[i])}};for(var i in t.protected_members){if(typeof f[i]=='undefined'){f[i]=o(t.protected_members[i])}else{f[i]=s(t.protected_members[i],f[i])}};for(var i in t.private_members){t.private_members[i]=o(t.private_members[i])};return f};var m=function(){a(this,e[i]);if(this.init)this.init.apply(this,arguments)};Namespace(i,m)}})();
  
  