//>>built
define("dojox/html/ellipsis",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/_base/Color","dojo/colors"],function(d){if(7>d.isFF){var h=1;"dojoxFFEllipsisDelay"in d.config&&(h=Number(d.config.dojoxFFEllipsisDelay),isNaN(h)&&(h=1));try{var r=function(){var a=document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul","window"),c=document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul","description");c.setAttribute("crop",
"end");a.appendChild(c);return function(b){var e=a.cloneNode(!0);e.firstChild.setAttribute("value",b.textContent);b.innerHTML="";b.appendChild(e)}}()}catch(a){}var n=d.create,z=d.doc,A=d.place,B=n("iframe",{className:"dojoxEllipsisIFrame",src:"javascript:'\x3chtml\x3e\x3chead\x3e\x3cscript\x3eif(\"loadFirebugConsole\" in window){window.loadFirebugConsole();}\x3c/script\x3e\x3c/head\x3e\x3cbody\x3e\x3c/body\x3e\x3c/html\x3e'",style:{display:"none"}}),f=function(a,c){if(!a.collapsed)if(0<c){do f(a),
c--;while(c)}else if(3==a.endContainer.nodeType&&0<a.endOffset)a.setEnd(a.endContainer,a.endOffset-1);else if(3==a.endContainer.nodeType)a.setEndBefore(a.endContainer),f(a);else if(a.endOffset&&a.endContainer.childNodes.length>=a.endOffset){var b=a.endContainer.childNodes[a.endOffset-1];3==b.nodeType?a.setEnd(b,b.length-1):(b.childNodes.length?a.setEnd(b,b.childNodes.length):a.setEndBefore(b),f(a))}else a.setEndBefore(a.endContainer),f(a)},C=function(a){var c=n("div",{className:"dojoxEllipsisContainer"}),
b=n("div",{className:"dojoxEllipsisShown",style:{display:"none"}});a.parentNode.replaceChild(c,a);c.appendChild(a);c.appendChild(b);var e=B.cloneNode(!0),t=a.style,u=b.style,y=function(){t.display="";u.display="none";if(!(a.scrollWidth<=a.offsetWidth)){var k=z.createRange();k.selectNodeContents(a);t.display="none";u.display="";var v=!1;do{var w=1;A(k.cloneContents(),b,"only");var g=b.scrollWidth,x=b.offsetWidth;v=g<=x;g=1-1*x/g;0<g&&(w=Math.max(Math.round(b.textContent.length*g)-1,1));f(k,w)}while(!k.collapsed&&
!v)}};e.onload=function(){e.contentWindow.onresize=y;y()};c.appendChild(e)},D=d.hasClass,l=d.doc;if(l.querySelectorAll){var m=l;var p="querySelectorAll";var q=".dojoxEllipsis"}else l.getElementsByClassName?(m=l,p="getElementsByClassName",q="dojoxEllipsis"):(m=d,p="query",q=".dojoxEllipsis");fx=function(){d.forEach(m[p].apply(m,[q]),function(a){a&&!a._djx_ellipsis_done&&(a._djx_ellipsis_done=!0,r&&a.textContent==a.innerHTML&&!D(a,"dojoxEllipsisSelectable")?r(a):C(a))})};d.addOnLoad(function(){var a=
null,c=null,b=function(){c&&(d.disconnect(c),c=null);a&&clearTimeout(a);a=setTimeout(function(){a=null;fx();c=d.connect(d.body(),"DOMSubtreeModified",b)},h)};b()})}});