//>>built
define("dojox/html/_base",["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"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c){
var _d=_5.getObject("dojox.html",true);
if(_8("ie")){
var _e=/(AlphaImageLoader\([^)]*?src=(['"]))(?![a-z]+:|\/)([^\r\n;}]+?)(\2[^)]*\)\s*[;}]?)/g;
}
var _f=/(?:(?:@import\s*(['"])(?![a-z]+:|\/)([^\r\n;{]+?)\1)|url\(\s*(['"]?)(?![a-z]+:|\/)([^\r\n;]+?)\3\s*\))([a-z, \s]*[;}]?)/g;
var _10=_d._adjustCssPaths=function(_11,_12){
if(!_12||!_11){
return;
}
if(_e){
_12=_12.replace(_e,function(_13,pre,_14,url,_15){
return pre+(new _9(_11,"./"+url).toString())+_15;
});
}
return _12.replace(_f,function(_16,_17,_18,_19,_1a,_1b){
if(_18){
return "@import \""+(new _9(_11,"./"+_18).toString())+"\""+_1b;
}else{
return "url("+(new _9(_11,"./"+_1a).toString())+")"+_1b;
}
});
};
var _1c=/(<[a-z][a-z0-9]*\s[^>]*)(?:(href|src)=(['"]?)([^>]*?)\3|style=(['"]?)([^>]*?)\5)([^>]*>)/gi;
var _1d=_d._adjustHtmlPaths=function(_1e,_1f){
var url=_1e||"./";
return _1f.replace(_1c,function(tag,_20,_21,_22,_23,_24,_25,end){
return _20+(_21?(_21+"="+_22+(new _9(url,_23).toString())+_22):("style="+_24+_10(url,_25)+_24))+end;
});
};
var _26=_d._snarfStyles=function(_27,_28,_29){
_29.attributes=[];
_28=_28.replace(/<[!][-][-](.|\s)*?[-][-]>/g,function(_2a){
return _2a.replace(/<(\/?)style\b/ig,"<$1Style").replace(/<(\/?)link\b/ig,"<$1Link").replace(/@import "/ig,"@ import \"");
});
return _28.replace(/(?: