//>>built
define("dojox/mvc/Output",["dojo/_base/declare","dojo/_base/lang","dojo/dom","dijit/_WidgetBase","dojo/regexp"],function(g,h,k,l,m){return g("dojox.mvc.Output",l,{exprchar:"$",templateString:"",postscript:function(b,c){if(this.srcNodeRef=k.byId(c))this.templateString=this.srcNodeRef.innerHTML,this.srcNodeRef.innerHTML="";this.inherited(arguments)},set:function(b,c){this.inherited(arguments);"value"===b&&this._output()},_updateBinding:function(b,c,d){this.inherited(arguments);this._output()},_output:function(){(this.srcNodeRef||
this.domNode).innerHTML=this.templateString?this._exprRepl(this.templateString):this.value},_exprRepl:function(b){var c=this,d=function(e,f){if(!e)return"";var a=e.substr(2);a=a.substr(0,a.length-1);with(c)return(a=eval(a))||0==a?a:""};d=h.hitch(this,d);return b.replace(new RegExp(m.escapeString(this.exprchar)+"({.*?})","g"),function(e,f,a){return d(e,f).toString()})}})});