//>>built define("dojo/_base/declare dojo/Deferred dojo/dom-construct dojo/html dojo/_base/kernel dojo/_base/lang dojo/ready dojo/_base/sniff dojo/_base/url dojo/_base/xhr dojo/when dojo/_base/window".split(" "),function(t,u,l,n,v,k,w,x,m,y,z,A){var d=v.getObject("dojox.html",!0);if(x("ie"))var p=/(AlphaImageLoader\([^)]*?src=(['"]))(?![a-z]+:|\/)([^\r\n;}]+?)(\2[^)]*\)\s*[;}]?)/g;var B=/(?:(?:@import\s*(['"])(?![a-z]+:|\/)([^\r\n;{]+?)\1)|url\(\s*(['"]?)(?![a-z]+:|\/)([^\r\n;]+?)\3\s*\))([a-z, \s]*[;}]?)/g, r=d._adjustCssPaths=function(b,a){if(a&&b)return p&&(a=a.replace(p,function(a,q,g,f,e){return q+(new m(b,"./"+f)).toString()+e})),a.replace(B,function(a,q,g,f,e,d){return g?'@import "'+(new m(b,"./"+g)).toString()+'"'+d:"url("+(new m(b,"./"+e)).toString()+")"+d})},C=/(<[a-z][a-z0-9]*\s[^>]*)(?:(href|src)=(['"]?)([^>]*?)\3|style=(['"]?)([^>]*?)\5)([^>]*>)/gi,D=d._adjustHtmlPaths=function(b,a){var c=b||"./";return a.replace(C,function(a,b,f,e,d,h,k,l){return b+(f?f+"\x3d"+e+(new m(c,d)).toString()+ e:"style\x3d"+h+r(c,k)+h)+l})},E=d._snarfStyles=function(b,a,c){c.attributes=[];a=a.replace(/<[!][-][-](.|\s)*?[-][-]>/g,function(a){return a.replace(/<(\/?)style\b/ig,"\x26lt;$1Style").replace(/<(\/?)link\b/ig,"\x26lt;$1Link").replace(/@import "/ig,'@ import "')});return a.replace(/(?:]*)>([\s\S]*?)<\/style>|]*rel=['"]?stylesheet)([^>]*?href=(['"])([^>]*?)\4[^>\/]*)\/?>)/gi,function(a,g,f,e,d,h){a=(g||e||"").replace(/^\s*([\s\S]*?)\s*$/i,"$1");f?f=c.push(b?r(b,f):f):(f=c.push('@import "'+ h+'";'),a=a.replace(/\s*(?:rel|href)=(['"])?[^\s]*\1\s*/gi,""));if(a){a=a.split(/\s+/);h={};e=0;for(d=a.length;e/g,function(a){return a.replace(/<(\/?)script\b/ig,"\x26lt;$1Script")});return b.replace(/]*type=['"]?(?:dojo\/|text\/html\b))[^>]*?(?:src=(['"]?)([^>]*?)\1[^>]*)?>([\s\S]*?)<\/script>/gi,function(b,d,f,e){f?c(f):(""!==a.code&&(e="\n"+e),a.code+=e+";");return""})},G=d.evalInGlobal=function(b,a){a=a||A.doc.body;var c=a.ownerDocument.createElement("script"); c.type="text/javascript";a.appendChild(c);c.text=b};d._ContentSetter=t(n._ContentSetter,{adjustPaths:!1,referencePath:".",renderStyles:!1,executeScripts:!1,scriptHasHooks:!1,scriptHookReplacement:null,_renderStyles:function(b){this._styleNodes=[];for(var a,c,d,g=this.node.ownerDocument,f=g.getElementsByTagName("head")[0],e=0,k=b.length;e)/g, ""));this.scriptHasHooks&&(b=b.replace(/_container_(?!\s*=[^=])/g,this.scriptHookReplacement));try{G(b,this.node)}catch(f){this._onError("Exec","Error eval script in "+this.id+", "+f.message,f)}w(a)}else a();return c.promise},tearDown:function(){this.inherited(arguments);delete this._styles;if(this._styleNodes&&this._styleNodes.length)for(;this._styleNodes.length;)l.destroy(this._styleNodes.pop());delete this._styleNodes;k.mixin(this,d._ContentSetter.prototype)}});d.set=function(b,a,c){return c?(new d._ContentSetter(k.mixin(c, {content:a,node:b}))).set():n._setNodeContent(b,a,!0)};return d});