YUI.add("aui-viewport",function(e,t){var n=e.Lang,r=e.getClassName,i=e.namespace("config.viewport"),t="view",s=r(t)+e.config.classNameDelimiter,o=i.columns||(i.columns={12:960,9:720,6:480,4:320}),u=i.minColumns||(i.minColumns=4),a=e.config.doc.documentElement,f=e.getWin(),l=new RegExp("(\\s|\\b)+"+s+"(lt|gt)*\\d+(\\b|\\s)+","g"),c=" ",h="",p="gt",d="lt",v=function(e){var t=[],n=a.className.replace(l,h),r=n,i=a.clientWidth,f=u,v,m;for(var g in o)m=o[g],i>=m?(v=p,f=Math.max(f,m)):v=d,t.push(s+v+m);t.push(s+f),r+=c+t.join(c),n!=r&&(a.className=r)},m=f.on("resize",e.debounce(v,50)),g=f.on("orientationchange",v);v(),e.Viewport={viewportChange:v,_orientationHandle:g,_resizeHandle:m}},"2.0.0",{requires:["aui-node","aui-component"]});
