/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dojox/mobile/_maskUtils":function(){define(["dojo/_base/window","dojo/dom-style","./sniff"],function(_1,_2,_3){var _4={};return {createRoundMask:function(_5,x,y,r,b,w,h,rx,ry,e){var tw=x+w+r;var th=y+h+b;if(_3("webkit")){var id=("DojoMobileMask"+x+y+w+h+rx+ry).replace(/\./g,"_");if(!_4[id]){_4[id]=1;var _6=_1.doc.getCSSCanvasContext("2d",id,tw,th);_6.beginPath();if(rx==ry){if(rx==2&&w==5){_6.fillStyle="rgba(0,0,0,0.5)";_6.fillRect(1,0,3,2);_6.fillRect(0,1,5,1);_6.fillRect(0,h-2,5,1);_6.fillRect(1,h-1,3,2);_6.fillStyle="rgb(0,0,0)";_6.fillRect(0,2,5,h-4);}else{if(rx==2&&h==5){_6.fillStyle="rgba(0,0,0,0.5)";_6.fillRect(0,1,2,3);_6.fillRect(1,0,1,5);_6.fillRect(w-2,0,1,5);_6.fillRect(w-1,1,2,3);_6.fillStyle="rgb(0,0,0)";_6.fillRect(2,0,w-4,5);}else{_6.fillStyle="#000000";_6.moveTo(x+rx,y);_6.arcTo(x,y,x,y+rx,rx);_6.lineTo(x,y+h-rx);_6.arcTo(x,y+h,x+rx,y+h,rx);_6.lineTo(x+w-rx,y+h);_6.arcTo(x+w,y+h,x+w,y+rx,rx);_6.lineTo(x+w,y+rx);_6.arcTo(x+w,y,x+w-rx,y,rx);}}}else{var pi=Math.PI;_6.scale(1,ry/rx);_6.moveTo(x+rx,y);_6.arc(x+rx,y+rx,rx,1.5*pi,0.5*pi,true);_6.lineTo(x+w-rx,y+2*rx);_6.arc(x+w-rx,y+rx,rx,0.5*pi,1.5*pi,true);}_6.closePath();_6.fill();}_5.style.webkitMaskImage="-webkit-canvas("+id+")";}else{if(_3("svg")){if(_5._svgMask){_5.removeChild(_5._svgMask);}var bg=null;for(var p=_5.parentNode;p;p=p.parentNode){bg=_2.getComputedStyle(p).backgroundColor;if(bg&&bg!="transparent"&&!bg.match(/rgba\(.*,\s*0\s*\)/)){break;}}var _7="http://www.w3.org/2000/svg";var _8=_1.doc.createElementNS(_7,"svg");_8.setAttribute("width",tw);_8.setAttribute("height",th);_8.style.position="absolute";_8.style.pointerEvents="none";_8.style.opacity="1";_8.style.zIndex="2147483647";var _9=_1.doc.createElementNS(_7,"path");e=e||0;rx+=e;ry+=e;var d=" M"+(x+rx-e)+","+(y-e)+" a"+rx+","+ry+" 0 0,0 "+(-rx)+","+ry+" v"+(-ry)+" h"+rx+" Z"+" M"+(x-e)+","+(y+h-ry+e)+" a"+rx+","+ry+" 0 0,0 "+rx+","+ry+" h"+(-rx)+" v"+(-ry)+" z"+" M"+(x+w-rx+e)+","+(y+h+e)+" a"+rx+","+ry+" 0 0,0 "+rx+","+(-ry)+" v"+ry+" h"+(-rx)+" z"+" M"+(x+w+e)+","+(y+ry-e)+" a"+rx+","+ry+" 0 0,0 "+(-rx)+","+(-ry)+" h"+rx+" v"+ry+" z";if(y>0){d+=" M0,0 h"+tw+" v"+y+" h"+(-tw)+" z";}if(b>0){d+=" M0,"+(y+h)+" h"+tw+" v"+b+" h"+(-tw)+" z";}_9.setAttribute("d",d);_9.setAttribute("fill",bg);_9.setAttribute("stroke",bg);_9.style.opacity="1";_8.appendChild(_9);_5._svgMask=_8;_5.appendChild(_8);}}}};});},"dojox/mobile/EdgeToEdgeList":function(){define(["dojo/_base/declare","./RoundRectList"],function(_a,_b){return _a("dojox.mobile.EdgeToEdgeList",_b,{filterBoxClass:"mblFilteredEdgeToEdgeListSearchBox",buildRendering:function(){this.inherited(arguments);this.domNode.className="mblEdgeToEdgeList";}});});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_c,_d,_e,_f,_10,on,has,_11,_12,win){var _13=has("touch");var _14=has("ios")<5;var _15=navigator.msPointerEnabled;var _16,_17,_18,_19,_1a,_1b,_1c,_1d;var _1e;function _1f(_20,_21,_22){if(_15&&_22){return function(_23,_24){return on(_23,_22,_24);};}else{if(_13){return function(_25,_26){var _27=on(_25,_21,_26),_28=on(_25,_20,function(evt){if(!_1e||(new Date()).getTime()>_1e+1000){_26.call(this,evt);}});return {remove:function(){_27.remove();_28.remove();}};};}else{return function(_29,_2a){return on(_29,_20,_2a);};}}};function _2b(_2c){do{if(_2c.dojoClick){return _2c.dojoClick;}}while(_2c=_2c.parentNode);};function _2d(e,_2e,_2f){_17=!e.target.disabled&&_2b(e.target);if(_17){_18=e.target;_19=e.touches?e.touches[0].pageX:e.clientX;_1a=e.touches?e.touches[0].pageY:e.clientY;_1b=(typeof _17=="object"?_17.x:(typeof _17=="number"?_17:0))||4;_1c=(typeof _17=="object"?_17.y:(typeof _17=="number"?_17:0))||4;if(!_16){_16=true;win.doc.addEventListener(_2e,function(e){_17=_17&&e.target==_18&&Math.abs((e.touches?e.touches[0].pageX:e.clientX)-_19)<=_1b&&Math.abs((e.touches?e.touches[0].pageY:e.clientY)-_1a)<=_1c;},true);win.doc.addEventListener(_2f,function(e){if(_17){_1d=(new Date()).getTime();var _30=e.target;if(_30.tagName==="LABEL"){_30=_e.byId(_30.getAttribute("for"))||_30;}setTimeout(function(){on.emit(_30,"click",{bubbles:true,cancelable:true,_dojo_click:true});});}},true);function _31(_32){win.doc.addEventListener(_32,function(e){if(!e._dojo_click&&(new Date()).getTime()<=_1d+1000&&!(e.target.tagName=="INPUT"&&_f.contains(e.target,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(_32=="click"&&(e.target.tagName!="INPUT"||e.target.type=="radio"||e.target.type=="checkbox")&&e.target.tagName!="TEXTAREA"&&e.target.tagName!="AUDIO"&&e.target.tagName!="VIDEO"){e.preventDefault();}}},true);};_31("click");_31("mousedown");_31("mouseup");}}};var _33;if(_13){if(_15){_12(function(){win.doc.addEventListener("MSPointerDown",function(evt){_2d(evt,"MSPointerMove","MSPointerUp");},true);});}else{_12(function(){_33=win.body();win.doc.addEventListener("touchstart",function(evt){_1e=(new Date()).getTime();var _34=_33;_33=evt.target;on.emit(_34,"dojotouchout",{relatedTarget:_33,bubbles:true});on.emit(_33,"dojotouchover",{relatedTarget:_34,bubbles:true});_2d(evt,"touchmove","touchend");},true);function _35(evt){var _36=_10.delegate(evt,{bubbles:true});if(has("ios")>=6){_36.touches=evt.touches;_36.altKey=evt.altKey;_36.changedTouches=evt.changedTouches;_36.ctrlKey=evt.ctrlKey;_36.metaKey=evt.metaKey;_36.shiftKey=evt.shiftKey;_36.targetTouches=evt.targetTouches;}return _36;};on(win.doc,"touchmove",function(evt){_1e=(new Date()).getTime();var _37=win.doc.elementFromPoint(evt.pageX-(_14?0:win.global.pageXOffset),evt.pageY-(_14?0:win.global.pageYOffset));if(_37){if(_33!==_37){on.emit(_33,"dojotouchout",{relatedTarget:_37,bubbles:true});on.emit(_37,"dojotouchover",{relatedTarget:_33,bubbles:true});_33=_37;}on.emit(_37,"dojotouchmove",_35(evt));}});on(win.doc,"touchend",function(evt){_1e=(new Date()).getTime();var _38=win.doc.elementFromPoint(evt.pageX-(_14?0:win.global.pageXOffset),evt.pageY-(_14?0:win.global.pageYOffset))||win.body();on.emit(_38,"dojotouchend",_35(evt));});});}}var _39={press:_1f("mousedown","touchstart","MSPointerDown"),move:_1f("mousemove","dojotouchmove","MSPointerMove"),release:_1f("mouseup","dojotouchend","MSPointerUp"),cancel:_1f(_11.leave,"touchcancel",_13?"MSPointerCancel":null),over:_1f("mouseover","dojotouchover","MSPointerOver"),out:_1f("mouseout","dojotouchout","MSPointerOut"),enter:_11._eventHandler(_1f("mouseover","dojotouchover","MSPointerOver")),leave:_11._eventHandler(_1f("mouseout","dojotouchout","MSPointerOut"))};1&&(_c.touch=_39);return _39;});},"dojox/mobile/iconUtils":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/connect","dojo/_base/event","dojo/_base/lang","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/dom-style","./sniff"],function(_3a,_3b,_3c,_3d,_3e,win,_3f,_40,_41,has){var dm=_3e.getObject("dojox.mobile",true);var _42=function(){this.setupSpriteIcon=function(_43,_44){if(_43&&_44){var arr=_3a.map(_44.split(/[ ,]/),function(_45){return _45-0;});var t=arr[0];var r=arr[1]+arr[2];var b=arr[0]+arr[3];var l=arr[1];_41.set(_43,{position:"absolute",clip:"rect("+t+"px "+r+"px "+b+"px "+l+"px)",top:(_43.parentNode?_41.get(_43,"top"):0)-t+"px",left:-l+"px"});_3f.add(_43,"mblSpriteIcon");}};this.createDomButton=function(_46,_47,_48){if(!this._domButtons){if(has("webkit")){var _49=function(_4a,dic){var i,j;if(!_4a){var _4b={};var ss=win.doc.styleSheets;for(i=0;i<ss.length;i++){ss[i]&&_49(ss[i],_4b);}return _4b;}var _4c=_4a.cssRules||[];for(i=0;i<_4c.length;i++){var _4d=_4c[i];if(_4d.href&&_4d.styleSheet){_49(_4d.styleSheet,dic);}else{if(_4d.selectorText){var _4e=_4d.selectorText.split(/,/);for(j=0;j<_4e.length;j++){var sel=_4e[j];var n=sel.split(/>/).length-1;if(sel.match(/(mblDomButton\w+)/)){var cls=RegExp.$1;if(!dic[cls]||n>dic[cls]){dic[cls]=n;}}}}}}return dic;};this._domButtons=_49();}else{this._domButtons={};}}var s=_46.className;var _4f=_48||_46;if(s.match(/(mblDomButton\w+)/)&&s.indexOf("/")===-1){var _50=RegExp.$1;var _51=4;if(s.match(/(mblDomButton\w+_(\d+))/)){_51=RegExp.$2-0;}else{if(this._domButtons[_50]!==undefined){_51=this._domButtons[_50];}}var _52=null;if(has("bb")&&_3b["mblBBBoxShadowWorkaround"]!==false){_52={style:"-webkit-box-shadow:none"};}for(var i=0,p=_4f;i<_51;i++){p=p.firstChild||_40.create("div",_52,p);}if(_48){setTimeout(function(){_3f.remove(_46,_50);},0);_3f.add(_48,_50);}}else{if(s.indexOf(".")!==-1){_40.create("img",{src:s},_4f);}else{return null;}}_3f.add(_4f,"mblDomButton");!!_47&&_41.set(_4f,_47);return _4f;};this.createIcon=function(_53,_54,_55,_56,_57,_58,pos){_56=_56||"";if(_53&&_53.indexOf("mblDomButton")===0){if(!_55){_55=_40.create("div",null,_58||_57,pos);}else{if(_55.className.match(/(mblDomButton\w+)/)){_3f.remove(_55,RegExp.$1);}}_55.title=_56;_3f.add(_55,_53);this.createDomButton(_55);}else{if(_53&&_53!=="none"){if(!_55||_55.nodeName!=="IMG"){_55=_40.create("img",{alt:_56},_58||_57,pos);}_55.src=(_53||"").replace("${theme}",dm.currentTheme);this.setupSpriteIcon(_55,_54);if(_54&&_57){var arr=_54.split(/[ ,]/);_41.set(_57,{position:"relative",width:arr[2]+"px",height:arr[3]+"px"});_3f.add(_57,"mblSpriteIconParent");}_3c.connect(_55,"ondragstart",_3d,"stop");}}return _55;};this.iconWrapper=false;this.setIcon=function(_59,_5a,_5b,alt,_5c,_5d,pos){if(!_5c||!_59&&!_5b){return null;}if(_59&&_59!=="none"){if(!this.iconWrapper&&_59.indexOf("mblDomButton")!==0&&!_5a){if(_5b&&_5b.tagName==="DIV"){_40.destroy(_5b);_5b=null;}_5b=this.createIcon(_59,null,_5b,alt,_5c,_5d,pos);_3f.add(_5b,"mblImageIcon");}else{if(_5b&&_5b.tagName==="IMG"){_40.destroy(_5b);_5b=null;}_5b&&_40.empty(_5b);if(!_5b){_5b=_40.create("div",null,_5d||_5c,pos);}this.createIcon(_59,_5a,null,null,_5b);if(alt){_5b.title=alt;}}_3f.remove(_5c,"mblNoIcon");return _5b;}else{_40.destroy(_5b);_3f.add(_5c,"mblNoIcon");return null;}};};return new _42();});},"dojox/mobile/uacss":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/window","./sniff"],function(_5e,_5f,win,has){var _60=win.doc.documentElement;_60.className=_5f.trim(_60.className+" "+[has("bb")?"dj_bb":"",has("android")?"dj_android":"",has("ios")?"dj_ios":"",has("ios")>=6?"dj_ios6":"",has("ios")?"dj_iphone":"",has("ipod")?"dj_ipod":"",has("ipad")?"dj_ipad":"",has("ie")?"dj_ie":""].join(" ").replace(/ +/g," "));return _5e;});},"dojox/mobile/Pane":function(){define(["dojo/_base/array","dojo/_base/declare","dijit/_Contained","dijit/_WidgetBase"],function(_61,_62,_63,_64){return _62("dojox.mobile.Pane",[_64,_63],{baseClass:"mblPane",buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},resize:function(){_61.forEach(this.getChildren(),function(_65){if(_65.resize){_65.resize();}});}});});},"dojox/mobile/_css3":function(){define(["dojo/_base/window","dojo/_base/array","dojo/has"],function(win,arr,has){var _66=[],_67=[];var _68=win.doc.createElement("div").style;var _69=["webkit"];has.add("css3-animations",function(_6a,_6b,_6c){var _6d=_6c.style;return (_6d["animation"]!==undefined&&_6d["transition"]!==undefined)||arr.some(_69,function(p){return _6d[p+"Animation"]!==undefined&&_6d[p+"Transition"]!==undefined;});});var _6e={name:function(p,_6f){var n=(_6f?_67:_66)[p];if(!n){if(/End|Start/.test(p)){var idx=p.length-(p.match(/End/)?3:5);var s=p.substr(0,idx);var pp=this.name(s);if(pp==s){n=p.toLowerCase();}else{n=pp+p.substr(idx);}}else{if(p=="keyframes"){var pk=this.name("animation",_6f);if(pk=="animation"){n=p;}else{if(_6f){n=pk.replace(/animation/,"keyframes");}else{n=pk.replace(/Animation/,"Keyframes");}}}else{var cn=_6f?p.replace(/-(.)/g,function(_70,p1){return p1.toUpperCase();}):p;if(_68[cn]!==undefined){n=p;}else{cn=cn.charAt(0).toUpperCase()+cn.slice(1);arr.some(_69,function(_71){if(_68[_71+cn]!==undefined){if(_6f){n="-"+_71+"-"+p;}else{n=_71+cn;}}});}}}if(!n){n=p;}(_6f?_67:_66)[p]=n;}return n;},add:function(_72,_73){for(var p in _73){if(_73.hasOwnProperty(p)){_72[_6e.name(p)]=_73[p];}}return _72;}};return _6e;});},"dojox/mobile/RoundRect":function(){define(["dojo/_base/declare","dojo/dom-class","./Container"],function(_74,_75,_76){return _74("dojox.mobile.RoundRect",_76,{shadow:false,baseClass:"mblRoundRect",buildRendering:function(){this.inherited(arguments);if(this.shadow){_75.add(this.domNode,"mblShadow");}}});});},"dojox/mobile/ListItem":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/dom-attr","dijit/registry","dijit/_WidgetBase","./iconUtils","./_ItemBase","./ProgressIndicator","dojo/has","dojo/has!dojo-bidi?dojox/mobile/bidi/ListItem"],function(_77,_78,_79,_7a,_7b,_7c,_7d,_7e,_7f,_80,_81,_82,has,_83){var _84=_78(has("dojo-bidi")?"dojox.mobile.NonBidiListItem":"dojox.mobile.ListItem",_81,{rightText:"",rightIcon:"",rightIcon2:"",deleteIcon:"",anchorLabel:false,noArrow:false,checked:false,arrowClass:"",checkClass:"",uncheckClass:"",variableHeight:false,rightIconTitle:"",rightIcon2Title:"",header:false,tag:"li",busy:false,progStyle:"",paramsToInherit:"variableHeight,transition,deleteIcon,icon,rightIcon,rightIcon2,uncheckIcon,arrowClass,checkClass,uncheckClass,deleteIconTitle,deleteIconRole",baseClass:"mblListItem",_selStartMethod:"touch",_selEndMethod:"timer",_delayedSelection:true,_selClass:"mblListItemSelected",buildRendering:function(){this._templated=!!this.templateString;if(!this._templated){this.domNode=this.containerNode=this.srcNodeRef||_7b.create(this.tag);}this.inherited(arguments);if(this.selected){_7a.add(this.domNode,this._selClass);}if(this.header){_7a.replace(this.domNode,"mblEdgeToEdgeCategory",this.baseClass);}if(!this._templated){this.labelNode=_7b.create("div",{className:"mblListItemLabel"});var ref=this.srcNodeRef;if(ref&&ref.childNodes.length===1&&ref.firstChild.nodeType===3){this.labelNode.appendChild(ref.firstChild);}this.domNode.appendChild(this.labelNode);}this._layoutChildren=[];},startup:function(){if(this._started){return;}var _85=this.getParent();var _86=this.getTransOpts();if((!this._templated||this.labelNode)&&this.anchorLabel){this.labelNode.style.display="inline";this.labelNode.style.cursor="pointer";this.connect(this.labelNode,"onclick","_onClick");this.onTouchStart=function(e){return (e.target!==this.labelNode);};}if(_86.moveTo||_86.href||_86.url||this.clickable||(_85&&_85.select)){this.connect(this.domNode,"onkeydown","_onClick");}else{this._handleClick=false;}this.inherited(arguments);if(_7a.contains(this.domNode,"mblVariableHeight")){this.variableHeight=true;}if(this.variableHeight){_7a.add(this.domNode,"mblVariableHeight");this.defer("layoutVariableHeight");}if(!this._isOnLine){this._isOnLine=true;this.set({icon:this._pending_icon!==undefined?this._pending_icon:this.icon,deleteIcon:this._pending_deleteIcon!==undefined?this._pending_deleteIcon:this.deleteIcon,rightIcon:this._pending_rightIcon!==undefined?this._pending_rightIcon:this.rightIcon,rightIcon2:this._pending_rightIcon2!==undefined?this._pending_rightIcon2:this.rightIcon2,uncheckIcon:this._pending_uncheckIcon!==undefined?this._pending_uncheckIcon:this.uncheckIcon});delete this._pending_icon;delete this._pending_deleteIcon;delete this._pending_rightIcon;delete this._pending_rightIcon2;delete this._pending_uncheckIcon;}if(_85&&_85.select){this.set("checked",this._pendingChecked!==undefined?this._pendingChecked:this.checked);_7d.set(this.domNode,"role","option");if(this._pendingChecked||this.checked){_7d.set(this.domNode,"aria-selected","true");}delete this._pendingChecked;}this.setArrow();this.layoutChildren();},_updateHandles:function(){var _87=this.getParent();var _88=this.getTransOpts();if(_88.moveTo||_88.href||_88.url||this.clickable||(_87&&_87.select)){if(!this._keydownHandle){this._keydownHandle=this.connect(this.domNode,"onkeydown","_onClick");}this._handleClick=true;}else{if(this._keydownHandle){this.disconnect(this._keydownHandle);this._keydownHandle=null;}this._handleClick=false;}this.inherited(arguments);},layoutChildren:function(){var _89;_77.forEach(this.domNode.childNodes,function(n){if(n.nodeType!==1){return;}var _8a=n.getAttribute("layout")||n.getAttribute("data-mobile-layout")||(_7e.byNode(n)||{}).layout;if(_8a){_7a.add(n,"mblListItemLayout"+_8a.charAt(0).toUpperCase()+_8a.substring(1));this._layoutChildren.push(n);if(_8a==="center"){_89=n;}}},this);if(_89){this.domNode.insertBefore(_89,this.domNode.firstChild);}},resize:function(){if(this.variableHeight){this.layoutVariableHeight();}if(!this._templated||this.labelNode){this.labelNode.style.display=this.labelNode.firstChild?"block":"inline";}},_onTouchStart:function(e){if(e.target.getAttribute("preventTouch")||e.target.getAttribute("data-mobile-prevent-touch")||(_7e.getEnclosingWidget(e.target)||{}).preventTouch){return;}this.inherited(arguments);},_onClick:function(e){if(this.getParent().isEditing||e&&e.type==="keydown"&&e.keyCode!==13){return;}if(this.onClick(e)===false){return;}var n=this.labelNode;if((this._templated||n)&&this.anchorLabel&&e.currentTarget===n){_7a.add(n,"mblListItemLabelSelected");this.defer(function(){_7a.remove(n,"mblListItemLabelSelected");},this._duration);this.onAnchorLabelClicked(e);return;}var _8b=this.getParent();if(_8b.select){if(_8b.select==="single"){if(!this.checked){this.set("checked",true);}}else{if(_8b.select==="multiple"){this.set("checked",!this.checked);}}}this.defaultClickAction(e);},onClick:function(){},onAnchorLabelClicked:function(e){},layoutVariableHeight:function(){var h=this.domNode.offsetHeight;if(h===this.domNodeHeight){return;}this.domNodeHeight=h;_77.forEach(this._layoutChildren.concat([this.rightTextNode,this.rightIcon2Node,this.rightIconNode,this.uncheckIconNode,this.iconNode,this.deleteIconNode,this.knobIconNode]),function(n){if(n){var _8c=this.domNode;var f=function(){var t=Math.round((_8c.offsetHeight-n.offsetHeight)/2)-_7c.get(_8c,"paddingTop");n.style.marginTop=t+"px";};if(n.offsetHeight===0&&n.tagName==="IMG"){n.onload=f;}else{f();}}},this);},setArrow:function(){if(this.checked){return;}var c="";var _8d=this.getParent();var _8e=this.getTransOpts();if(_8e.moveTo||_8e.href||_8e.url||this.clickable){if(!this.noArrow&&!(_8d&&_8d.selectOne)){c=this.arrowClass||"mblDomButtonArrow";_7d.set(this.domNode,"role","button");}}if(c){this._setRightIconAttr(c);}},_findRef:function(_8f){var i,_90,_91=["deleteIcon","icon","rightIcon","uncheckIcon","rightIcon2","rightText"];for(i=_77.indexOf(_91,_8f)+1;i<_91.length;i++){_90=this[_91[i]+"Node"];if(_90){return _90;}}for(i=_91.length-1;i>=0;i--){_90=this[_91[i]+"Node"];if(_90){return _90.nextSibling;}}return this.domNode.firstChild;},_setIcon:function(_92,_93){if(!this._isOnLine){this["_pending_"+_93]=_92;return;}this._set(_93,_92);this[_93+"Node"]=_80.setIcon(_92,this[_93+"Pos"],this[_93+"Node"],this[_93+"Title"]||this.alt,this.domNode,this._findRef(_93),"before");if(this[_93+"Node"]){var cap=_93.charAt(0).toUpperCase()+_93.substring(1);_7a.add(this[_93+"Node"],"mblListItem"+cap);}var _94=this[_93+"Role"];if(_94){this[_93+"Node"].setAttribute("role",_94);}},_setDeleteIconAttr:function(_95){this._setIcon(_95,"deleteIcon");},_setIconAttr:function(_96){this._setIcon(_96,"icon");},_setRightTextAttr:function(_97){if(!this._templated&&!this.rightTextNode){this.rightTextNode=_7b.create("div",{className:"mblListItemRightText"},this.labelNode,"before");}this.rightText=_97;this.rightTextNode.innerHTML=this._cv?this._cv(_97):_97;},_setRightIconAttr:function(_98){this._setIcon(_98,"rightIcon");},_setUncheckIconAttr:function(_99){this._setIcon(_99,"uncheckIcon");},_setRightIcon2Attr:function(_9a){this._setIcon(_9a,"rightIcon2");},_setCheckedAttr:function(_9b){if(!this._isOnLine){this._pendingChecked=_9b;return;}var _9c=this.getParent();if(_9c&&_9c.select==="single"&&_9b){_77.forEach(_9c.getChildren(),function(_9d){_9d!==this&&_9d.checked&&_9d.set("checked",false)&&_7d.set(_9d.domNode,"aria-selected","false");},this);}this._setRightIconAttr(this.checkClass||"mblDomButtonCheck");this._setUncheckIconAttr(this.uncheckClass);_7a.toggle(this.domNode,"mblListItemChecked",_9b);_7a.toggle(this.domNode,"mblListItemUnchecked",!_9b);_7a.toggle(this.domNode,"mblListItemHasUncheck",!!this.uncheckIconNode);this.rightIconNode.style.position=(this.uncheckIconNode&&!_9b)?"absolute":"";if(_9c&&this.checked!==_9b){_9c.onCheckStateChanged(this,_9b);}this._set("checked",_9b);_7d.set(this.domNode,"aria-selected",_9b?"true":"false");},_setBusyAttr:function(_9e){var _9f=this._prog;if(_9e){if(!this._progNode){this._progNode=_7b.create("div",{className:"mblListItemIcon"});_9f=this._prog=new _82({size:25,center:false,removeOnStop:false});_7a.add(_9f.domNode,this.progStyle);this._progNode.appendChild(_9f.domNode);}if(this.iconNode){this.domNode.replaceChild(this._progNode,this.iconNode);}else{_7b.place(this._progNode,this._findRef("icon"),"before");}_9f.start();}else{if(this._progNode){if(this.iconNode){this.domNode.replaceChild(this.iconNode,this._progNode);}else{this.domNode.removeChild(this._progNode);}_9f.stop();}}this._set("busy",_9e);},_setSelectedAttr:function(_a0){this.inherited(arguments);_7a.toggle(this.domNode,this._selClass,_a0);},_setClickableAttr:function(_a1){this._set("clickable",_a1);this._updateHandles();},_setMoveToAttr:function(_a2){this._set("moveTo",_a2);this._updateHandles();},_setHrefAttr:function(_a3){this._set("href",_a3);this._updateHandles();},_setUrlAttr:function(url){this._set("url",url);this._updateHandles();}});_84.ChildWidgetProperties={layout:"",preventTouch:false};_79.extend(_7f,_84.ChildWidgetProperties);return has("dojo-bidi")?_78("dojox.mobile.ListItem",[_84,_83]):_84;});},"dojox/mobile/TransitionEvent":function(){define(["dojo/_base/declare","dojo/on"],function(_a4,on){return _a4("dojox.mobile.TransitionEvent",null,{constructor:function(_a5,_a6,_a7){this.transitionOptions=_a6;this.target=_a5;this.triggerEvent=_a7||null;},dispatch:function(){var _a8={bubbles:true,cancelable:true,detail:this.transitionOptions,triggerEvent:this.triggerEvent};var evt=on.emit(this.target,"startTransition",_a8);}});});},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(_a9,_aa){return _a9("dijit._Contained",null,{_getSibling:function(_ab){var _ac=this.domNode;do{_ac=_ac[_ab+"Sibling"];}while(_ac&&_ac.nodeType!=1);return _ac&&_aa.byNode(_ac);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dojox/mobile/sniff":function(){define(["dojo/_base/kernel","dojo/sniff"],function(_ad,has){_ad.deprecated("dojox/mobile/sniff","Use dojo/sniff instead","2.0");has.add("iphone",has("ios"));return has;});},"dojox/mobile/_ItemBase":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/dom-class","dojo/touch","dijit/registry","dijit/_Contained","dijit/_Container","dijit/_WidgetBase","./TransitionEvent","./iconUtils","./sniff","dojo/has!dojo-bidi?dojox/mobile/bidi/_ItemBase"],function(_ae,_af,_b0,win,_b1,_b2,_b3,_b4,_b5,_b6,_b7,_b8,has,_b9){var _ba=_af(has("dojo-bidi")?"dojox.mobile._NonBidiItemBase":"dojox.mobile._ItemBase",[_b6,_b5,_b4],{icon:"",iconPos:"",alt:"",href:"",hrefTarget:"",moveTo:"",scene:"",clickable:false,url:"",urlTarget:"",back:false,transition:"",transitionDir:1,transitionOptions:null,callback:null,label:"",toggle:false,selected:false,tabIndex:"0",_setTabIndexAttr:"",paramsToInherit:"transition,icon",_selStartMethod:"none",_selEndMethod:"none",_delayedSelection:false,_duration:800,_handleClick:true,buildRendering:function(){this.inherited(arguments);this._isOnLine=this.inheritParams();},startup:function(){if(this._started){return;}if(!this._isOnLine){this.inheritParams();}this._updateHandles();this.inherited(arguments);},inheritParams:function(){var _bb=this.getParent();if(_bb){_ae.forEach(this.paramsToInherit.split(/,/),function(p){if(p.match(/icon/i)){var _bc=p+"Base",pos=p+"Pos";if(this[p]&&_bb[_bc]&&_bb[_bc].charAt(_bb[_bc].length-1)==="/"){this[p]=_bb[_bc]+this[p];}if(!this[p]){this[p]=_bb[_bc];}if(!this[pos]){this[pos]=_bb[pos];}}if(!this[p]){this[p]=_bb[p];}},this);}return !!_bb;},_updateHandles:function(){if(this._handleClick&&this._selStartMethod==="touch"){if(!this._onTouchStartHandle){this._onTouchStartHandle=this.connect(this.domNode,_b2.press,"_onTouchStart");}}else{if(this._onTouchStartHandle){this.disconnect(this._onTouchStartHandle);this._onTouchStartHandle=null;}}},getTransOpts:function(){var _bd=this.transitionOptions||{};_ae.forEach(["moveTo","href","hrefTarget","url","target","urlTarget","scene","transition","transitionDir"],function(p){_bd[p]=_bd[p]||this[p];},this);return _bd;},userClickAction:function(){},defaultClickAction:function(e){this.handleSelection(e);if(this.userClickAction(e)===false){return;}this.makeTransition(e);},handleSelection:function(e){if(this._delayedSelection){this.set("selected",true);}if(this._onTouchEndHandle){this.disconnect(this._onTouchEndHandle);this._onTouchEndHandle=null;}var p=this.getParent();if(this.toggle){this.set("selected",!this._currentSel);}else{if(p&&p.selectOne){this.set("selected",true);}else{if(this._selEndMethod==="touch"){this.set("selected",false);}else{if(this._selEndMethod==="timer"){this.defer(function(){this.set("selected",false);},this._duration);}}}}},makeTransition:function(e){if(this.back&&history){history.back();return;}if(this.href&&this.hrefTarget&&this.hrefTarget!="_self"){win.global.open(this.href,this.hrefTarget||"_blank");this._onNewWindowOpened(e);return;}var _be=this.getTransOpts();var _bf=!!(_be.moveTo||_be.href||_be.url||_be.target||_be.scene);if(this._prepareForTransition(e,_bf?_be:null)===false){return;}if(_bf){this.setTransitionPos(e);new _b7(this.domNode,_be,e).dispatch();}},_onNewWindowOpened:function(){},_prepareForTransition:function(e,_c0){},_onTouchStart:function(e){if(this.getParent().isEditing||this.onTouchStart(e)===false){return;}if(!this._onTouchEndHandle&&this._selStartMethod==="touch"){this._onTouchMoveHandle=this.connect(win.body(),_b2.move,"_onTouchMove");this._onTouchEndHandle=this.connect(win.body(),_b2.release,"_onTouchEnd");}this.touchStartX=e.touches?e.touches[0].pageX:e.clientX;this.touchStartY=e.touches?e.touches[0].pageY:e.clientY;this._currentSel=this.selected;if(this._delayedSelection){this._selTimer=this.defer(function(){this.set("selected",true);},100);}else{this.set("selected",true);}},onTouchStart:function(){},_onTouchMove:function(e){var x=e.touches?e.touches[0].pageX:e.clientX;var y=e.touches?e.touches[0].pageY:e.clientY;if(Math.abs(x-this.touchStartX)>=4||Math.abs(y-this.touchStartY)>=4){this.cancel();var p=this.getParent();if(p&&p.selectOne){this._prevSel&&this._prevSel.set("selected",true);}else{this.set("selected",false);}}},_disconnect:function(){this.disconnect(this._onTouchMoveHandle);this.disconnect(this._onTouchEndHandle);this._onTouchMoveHandle=this._onTouchEndHandle=null;},cancel:function(){if(this._selTimer){this._selTimer.remove();this._selTimer=null;}this._disconnect();},_onTouchEnd:function(e){if(!this._selTimer&&this._delayedSelection){return;}this.cancel();this._onClick(e);},setTransitionPos:function(e){var w=this;while(true){w=w.getParent();if(!w||_b1.contains(w.domNode,"mblView")){break;}}if(w){w.clickedPosX=e.clientX;w.clickedPosY=e.clientY;}},transitionTo:function(_c1,_c2,url,_c3){var _c4=(_c1&&typeof (_c1)==="object")?_c1:{moveTo:_c1,href:_c2,url:url,scene:_c3,transition:this.transition,transitionDir:this.transitionDir};new _b7(this.domNode,_c4).dispatch();},_setIconAttr:function(_c5){if(!this._isOnLine){this._pendingIcon=_c5;return;}this._set("icon",_c5);this.iconNode=_b8.setIcon(_c5,this.iconPos,this.iconNode,this.alt,this.iconParentNode,this.refNode,this.position);},_setLabelAttr:function(_c6){this._set("label",_c6);this.labelNode.innerHTML=this._cv?this._cv(_c6):_c6;},_setSelectedAttr:function(_c7){if(_c7){var p=this.getParent();if(p&&p.selectOne){var arr=_ae.filter(p.getChildren(),function(w){return w.selected;});_ae.forEach(arr,function(c){this._prevSel=c;c.set("selected",false);},this);}}this._set("selected",_c7);}});return has("dojo-bidi")?_af("dojox.mobile._ItemBase",[_ba,_b9]):_ba;});},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_c8,_c9,_ca){return _ca("dijit.Destroyable",null,{destroy:function(_cb){this._destroyed=true;},own:function(){_c8.forEach(arguments,function(_cc){var _cd="destroyRecursive" in _cc?"destroyRecursive":"destroy" in _cc?"destroy":"remove";var odh=_c9.before(this,"destroy",function(_ce){_cc[_cd](_ce);});var hdh=_c9.after(_cc,_cd,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dojox/mobile/View":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/sniff","dojo/_base/window","dojo/_base/Deferred","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dijit/registry","dijit/_Contained","dijit/_Container","dijit/_WidgetBase","./ViewController","./common","./transition","./viewRegistry","./_css3"],function(_cf,_d0,_d1,_d2,_d3,has,win,_d4,dom,_d5,_d6,_d7,_d8,_d9,_da,_db,_dc,_dd,_de,_df,_e0,_e1){var dm=_d3.getObject("dojox.mobile",true);return _d2("dojox.mobile.View",[_dc,_db,_da],{selected:false,keepScrollPos:true,tag:"div",baseClass:"mblView",constructor:function(_e2,_e3){if(_e3){dom.byId(_e3).style.visibility="hidden";}},destroy:function(){_e0.remove(this.id);this.inherited(arguments);},buildRendering:function(){if(!this.templateString){this.domNode=this.containerNode=this.srcNodeRef||_d6.create(this.tag);}this._animEndHandle=this.connect(this.domNode,_e1.name("animationEnd"),"onAnimationEnd");this._animStartHandle=this.connect(this.domNode,_e1.name("animationStart"),"onAnimationStart");if(!_d0["mblCSS3Transition"]){this._transEndHandle=this.connect(this.domNode,_e1.name("transitionEnd"),"onAnimationEnd");}if(has("mblAndroid3Workaround")){_d8.set(this.domNode,_e1.name("transformStyle"),"preserve-3d");}_e0.add(this);this.inherited(arguments);},startup:function(){if(this._started){return;}if(this._visible===undefined){var _e4=this.getSiblingViews();var ids=location.hash&&location.hash.substring(1).split(/,/);var _e5,_e6,_e7;_cf.forEach(_e4,function(v,i){if(_cf.indexOf(ids,v.id)!==-1){_e5=v;}if(i==0){_e7=v;}if(v.selected){_e6=v;}v._visible=false;},this);(_e5||_e6||_e7)._visible=true;}if(this._visible){this.show(true,true);this.defer(function(){this.onStartView();_d1.publish("/dojox/mobile/startView",[this]);});}if(this.domNode.style.visibility!="visible"){this.domNode.style.visibility="visible";}this.inherited(arguments);var _e8=this.getParent();if(!_e8||!_e8.resize){this.resize();}if(!this._visible){this.hide();}},resize:function(){_cf.forEach(this.getChildren(),function(_e9){if(_e9.resize){_e9.resize();}});},onStartView:function(){},onBeforeTransitionIn:function(_ea,dir,_eb,_ec,_ed){},onAfterTransitionIn:function(_ee,dir,_ef,_f0,_f1){},onBeforeTransitionOut:function(_f2,dir,_f3,_f4,_f5){},onAfterTransitionOut:function(_f6,dir,_f7,_f8,_f9){},_clearClasses:function(_fa){if(!_fa){return;}var _fb=[];_cf.forEach(_d3.trim(_fa.className||"").split(/\s+/),function(c){if(c.match(/^mbl\w*View$/)||c.indexOf("mbl")===-1){_fb.push(c);}},this);_fa.className=_fb.join(" ");},_fixViewState:function(_fc){var _fd=this.domNode.parentNode.childNodes;for(var i=0;i<_fd.length;i++){var n=_fd[i];if(n.nodeType===1&&_d5.contains(n,"mblView")){this._clearClasses(n);}}this._clearClasses(_fc);var _fe=_d9.byNode(_fc);if(_fe){_fe._inProgress=false;}},convertToId:function(_ff){if(typeof (_ff)=="string"){return _ff.replace(/^#?([^&?]+).*/,"$1");}return _ff;},_isBookmarkable:function(_100){return _100.moveTo&&(_d0["mblForceBookmarkable"]||_100.moveTo.charAt(0)==="#")&&!_100.hashchange;},performTransition:function(_101,_102,_103,_104,_105){if(this._inProgress){return;}this._inProgress=true;var _106,_107;if(_101&&typeof (_101)==="object"){_106=_101;_107=_102;}else{_106={moveTo:_101,transitionDir:_102,transition:_103,context:_104,method:_105};_107=[];for(var i=5;i<arguments.length;i++){_107.push(arguments[i]);}}this._detail=_106;this._optArgs=_107;this._arguments=[_106.moveTo,_106.transitionDir,_106.transition,_106.context,_106.method];if(_106.moveTo==="#"){return;}var _108;if(_106.moveTo){_108=this.convertToId(_106.moveTo);}else{if(!this._dummyNode){this._dummyNode=win.doc.createElement("div");win.body().appendChild(this._dummyNode);}_108=this._dummyNode;}if(this.addTransitionInfo&&typeof (_106.moveTo)=="string"&&this._isBookmarkable(_106)){this.addTransitionInfo(this.id,_106.moveTo,{transitionDir:_106.transitionDir,transition:_106.transition});}var _109=this.domNode;var _10a=_109.offsetTop;_108=this.toNode=dom.byId(_108);if(!_108){return;}_108.style.visibility="hidden";_108.style.display="";this._fixViewState(_108);var _10b=_d9.byNode(_108);if(_10b){if(_d0["mblAlwaysResizeOnTransition"]||!_10b._resized){_de.resizeAll(null,_10b);_10b._resized=true;}if(_106.transition&&_106.transition!="none"){_10b._addTransitionPaddingTop(_10a);}_10b.load&&_10b.load();_10b.movedFrom=_109.id;}if(has("mblAndroidWorkaround")&&!_d0["mblCSS3Transition"]&&_106.transition&&_106.transition!="none"){_d8.set(_108,_e1.name("transformStyle"),"preserve-3d");_d8.set(_109,_e1.name("transformStyle"),"preserve-3d");_d5.add(_108,"mblAndroidWorkaround");}this.onBeforeTransitionOut.apply(this,this._arguments);_d1.publish("/dojox/mobile/beforeTransitionOut",[this].concat(_d3._toArray(this._arguments)));if(_10b){if(this.keepScrollPos&&!this.getParent()){var _10c=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;_109._scrollTop=_10c;var _10d=(_106.transitionDir==1)?0:(_108._scrollTop||0);_108.style.top="0px";if(_10c>1||_10d!==0){_109.style.top=_10d-_10c+"px";if(_d0["mblHideAddressBar"]!==false){this.defer(function(){win.global.scrollTo(0,(_10d||1));});}}}else{_108.style.top="0px";}_10b.onBeforeTransitionIn.apply(_10b,this._arguments);_d1.publish("/dojox/mobile/beforeTransitionIn",[_10b].concat(_d3._toArray(this._arguments)));}_108.style.display="none";_108.style.visibility="visible";_de.fromView=this;_de.toView=_10b;this._doTransition(_109,_108,_106.transition,_106.transitionDir);},_addTransitionPaddingTop:function(_10e){this.containerNode.style.paddingTop=_10e+"px";},_removeTransitionPaddingTop:function(){this.containerNode.style.paddingTop="";},_toCls:function(s){return "mbl"+s.charAt(0).toUpperCase()+s.substring(1);},_doTransition:function(_10f,_110,_111,_112){var rev=(_112==-1)?" mblReverse":"";_110.style.display="";if(!_111||_111=="none"){this.domNode.style.display="none";this.invokeCallback();}else{if(_d0["mblCSS3Transition"]){_d4.when(_df,_d3.hitch(this,function(_113){var _114=_d8.get(_110,"position");_d8.set(_110,"position","absolute");_d4.when(_113(_10f,_110,{transition:_111,reverse:(_112===-1)?true:false}),_d3.hitch(this,function(){_d8.set(_110,"position",_114);_110.style.paddingTop="";this.invokeCallback();}));}));}else{if(_111.indexOf("cube")!=-1){if(has("ipad")){_d8.set(_110.parentNode,{webkitPerspective:1600});}else{if(has("ios")){_d8.set(_110.parentNode,{webkitPerspective:800});}}}var s=this._toCls(_111);if(has("mblAndroidWorkaround")){var _115=this;_115.defer(function(){_d5.add(_10f,s+" mblOut"+rev);_d5.add(_110,s+" mblIn"+rev);_d5.remove(_110,"mblAndroidWorkaround");_115.defer(function(){_d5.add(_10f,"mblTransition");_d5.add(_110,"mblTransition");},30);},70);}else{_d5.add(_10f,s+" mblOut"+rev);_d5.add(_110,s+" mblIn"+rev);this.defer(function(){_d5.add(_10f,"mblTransition");_d5.add(_110,"mblTransition");},100);}var _116="50% 50%";var _117="50% 50%";var _118,posX,posY;if(_111.indexOf("swirl")!=-1||_111.indexOf("zoom")!=-1){if(this.keepScrollPos&&!this.getParent()){_118=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;}else{_118=-_d7.position(_10f,true).y;}posY=win.global.innerHeight/2+_118;_116="50% "+posY+"px";_117="50% "+posY+"px";}else{if(_111.indexOf("scale")!=-1){var _119=_d7.position(_10f,true);posX=((this.clickedPosX!==undefined)?this.clickedPosX:win.global.innerWidth/2)-_119.x;if(this.keepScrollPos&&!this.getParent()){_118=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;}else{_118=-_119.y;}posY=((this.clickedPosY!==undefined)?this.clickedPosY:win.global.innerHeight/2)+_118;_116=posX+"px "+posY+"px";_117=posX+"px "+posY+"px";}}_d8.set(_10f,_e1.add({},{transformOrigin:_116}));_d8.set(_110,_e1.add({},{transformOrigin:_117}));}}},onAnimationStart:function(e){},onAnimationEnd:function(e){var name=e.animationName||e.target.className;if(name.indexOf("Out")===-1&&name.indexOf("In")===-1&&name.indexOf("Shrink")===-1){return;}var _11a=false;if(_d5.contains(this.domNode,"mblOut")){_11a=true;this.domNode.style.display="none";_d5.remove(this.domNode,[this._toCls(this._detail.transition),"mblIn","mblOut","mblReverse"]);}else{this._removeTransitionPaddingTop();}_d8.set(this.domNode,_e1.add({},{transformOrigin:""}));if(name.indexOf("Shrink")!==-1){var li=e.target;li.style.display="none";_d5.remove(li,"mblCloseContent");var p=_e0.getEnclosingScrollable(this.domNode);p&&p.onTouchEnd();}if(_11a){this.invokeCallback();}this._clearClasses(this.domNode);this.clickedPosX=this.clickedPosY=undefined;if(name.indexOf("Cube")!==-1&&name.indexOf("In")!==-1&&has("ios")){this.domNode.parentNode.style[_e1.name("perspective")]="";}},invokeCallback:function(){this.onAfterTransitionOut.apply(this,this._arguments);_d1.publish("/dojox/mobile/afterTransitionOut",[this].concat(this._arguments));var _11b=_d9.byNode(this.toNode);if(_11b){_11b.onAfterTransitionIn.apply(_11b,this._arguments);_d1.publish("/dojox/mobile/afterTransitionIn",[_11b].concat(this._arguments));_11b.movedFrom=undefined;if(this.setFragIds&&this._isBookmarkable(this._detail)){this.setFragIds(_11b);}}if(has("mblAndroidWorkaround")){this.defer(function(){if(_11b){_d8.set(this.toNode,_e1.name("transformStyle"),"");}_d8.set(this.domNode,_e1.name("transformStyle"),"");});}var c=this._detail.context,m=this._detail.method;if(c||m){if(!m){m=c;c=null;}c=c||win.global;if(typeof (m)=="string"){c[m].apply(c,this._optArgs);}else{if(typeof (m)=="function"){m.apply(c,this._optArgs);}}}this._detail=this._optArgs=this._arguments=undefined;this._inProgress=false;},isVisible:function(_11c){var _11d=function(node){return _d8.get(node,"display")!=="none";};if(_11c){for(var n=this.domNode;n.tagName!=="BODY";n=n.parentNode){if(!_11d(n)){return false;}}return true;}else{return _11d(this.domNode);}},getShowingView:function(){var _11e=this.domNode.parentNode.childNodes;for(var i=0;i<_11e.length;i++){var n=_11e[i];if(n.nodeType===1&&_d5.contains(n,"mblView")&&n.style.display!=="none"){return _d9.byNode(n);}}return null;},getSiblingViews:function(){if(!this.domNode.parentNode){return [this];}return _cf.map(_cf.filter(this.domNode.parentNode.childNodes,function(n){return n.nodeType===1&&_d5.contains(n,"mblView");}),function(n){return _d9.byNode(n);});},show:function(_11f,_120){var out=this.getShowingView();if(!_11f){if(out){out.onBeforeTransitionOut(out.id);_d1.publish("/dojox/mobile/beforeTransitionOut",[out,out.id]);}this.onBeforeTransitionIn(this.id);_d1.publish("/dojox/mobile/beforeTransitionIn",[this,this.id]);}if(_120){this.domNode.style.display="";}else{_cf.forEach(this.getSiblingViews(),function(v){v.domNode.style.display=(v===this)?"":"none";},this);}this.load&&this.load();if(!_11f){if(out){out.onAfterTransitionOut(out.id);_d1.publish("/dojox/mobile/afterTransitionOut",[out,out.id]);}this.onAfterTransitionIn(this.id);_d1.publish("/dojox/mobile/afterTransitionIn",[this,this.id]);}},hide:function(){this.domNode.style.display="none";}});});},"dojox/mobile/_base":function(){define(["./common","./View","./Heading","./RoundRect","./RoundRectCategory","./EdgeToEdgeCategory","./RoundRectList","./EdgeToEdgeList","./ListItem","./Container","./Pane","./Switch","./ToolBarButton","./ProgressIndicator"],function(_121,View,_122,_123,_124,_125,_126,_127,_128,_129,_12a,_12b){return _121;});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dojox/mobile/viewRegistry":function(){define(["dojo/_base/array","dojo/dom-class","dijit/registry"],function(_12c,_12d,_12e){var _12f={length:0,hash:{},initialView:null,add:function(view){this.hash[view.id]=view;this.length++;},remove:function(id){if(this.hash[id]){delete this.hash[id];this.length--;}},getViews:function(){var arr=[];for(var i in this.hash){arr.push(this.hash[i]);}return arr;},getParentView:function(view){for(var v=view.getParent();v;v=v.getParent()){if(_12d.contains(v.domNode,"mblView")){return v;}}return null;},getChildViews:function(_130){return _12c.filter(this.getViews(),function(v){return this.getParentView(v)===_130;},this);},getEnclosingView:function(node){for(var n=node;n&&n.tagName!=="BODY";n=n.parentNode){if(n.nodeType===1&&_12d.contains(n,"mblView")){return _12e.byNode(n);}}return null;},getEnclosingScrollable:function(node){for(var w=_12e.getEnclosingWidget(node);w;w=w.getParent()){if(w.scrollableParams&&w._v){return w;}}return null;}};return _12f;});},"dojox/mobile/Heading":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/dom-attr","dijit/registry","dijit/_Contained","dijit/_Container","dijit/_WidgetBase","./ProgressIndicator","./ToolBarButton","./View","dojo/has","dojo/has!dojo-bidi?dojox/mobile/bidi/Heading"],function(_131,_132,_133,lang,win,dom,_134,_135,_136,_137,_138,_139,_13a,_13b,_13c,_13d,View,has,_13e){var dm=lang.getObject("dojox.mobile",true);var _13f=_133(has("dojo-bidi")?"dojox.mobile.NonBidiHeading":"dojox.mobile.Heading",[_13b,_13a,_139],{back:"",href:"",moveTo:"",transition:"slide",label:"",iconBase:"",tag:"h1",busy:false,progStyle:"mblProgWhite",baseClass:"mblHeading",buildRendering:function(){if(!this.templateString){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement(this.tag);}this.inherited(arguments);if(!this.templateString){if(!this.label){_131.forEach(this.domNode.childNodes,function(n){if(n.nodeType==3){var v=lang.trim(n.nodeValue);if(v){this.label=v;this.labelNode=_135.create("span",{innerHTML:v},n,"replace");}}},this);}if(!this.labelNode){this.labelNode=_135.create("span",null,this.domNode);}this.labelNode.className="mblHeadingSpanTitle";this.labelDivNode=_135.create("div",{className:"mblHeadingDivTitle",innerHTML:this.labelNode.innerHTML},this.domNode);}if(this.labelDivNode){_137.set(this.labelDivNode,"role","heading");_137.set(this.labelDivNode,"aria-level","1");}dom.setSelectable(this.domNode,false);},startup:function(){if(this._started){return;}var _140=this.getParent&&this.getParent();if(!_140||!_140.resize){var _141=this;_141.defer(function(){_141.resize();});}this.inherited(arguments);},resize:function(){if(this.labelNode){var _142,_143;var _144=this.containerNode.childNodes;for(var i=_144.length-1;i>=0;i--){var c=_144[i];if(c.nodeType===1&&_136.get(c,"display")!=="none"){if(!_143&&_136.get(c,"float")==="right"){_143=c;}if(!_142&&_136.get(c,"float")==="left"){_142=c;}}}if(!this.labelNodeLen&&this.label){this.labelNode.style.display="inline";this.labelNodeLen=this.labelNode.offsetWidth;this.labelNode.style.display="";}var bw=this.domNode.offsetWidth;var rw=_143?bw-_143.offsetLeft+5:0;var lw=_142?_142.offsetLeft+_142.offsetWidth+5:0;var tw=this.labelNodeLen||0;_134[bw-Math.max(rw,lw)*2>tw?"add":"remove"](this.domNode,"mblHeadingCenterTitle");}_131.forEach(this.getChildren(),function(_145){if(_145.resize){_145.resize();}});},_setBackAttr:function(back){this._set("back",back);if(!this.backButton){this.backButton=new _13d({arrow:"left",label:back,moveTo:this.moveTo,back:!this.moveTo&&!this.href,href:this.href,transition:this.transition,transitionDir:-1,dir:this.isLeftToRight()?"ltr":"rtl"});this.backButton.placeAt(this.domNode,"first");}else{this.backButton.set("label",back);}this.resize();},_setMoveToAttr:function(_146){this._set("moveTo",_146);if(this.backButton){this.backButton.set("moveTo",_146);this.backButton.set("back",!_146&&!this.href);}},_setHrefAttr:function(href){this._set("href",href);if(this.backButton){this.backButton.set("href",href);this.backButton.set("back",!this.moveTo&&!href);}},_setTransitionAttr:function(_147){this._set("transition",_147);if(this.backButton){this.backButton.set("transition",_147);}},_setLabelAttr:function(_148){this._set("label",_148);this.labelNode.innerHTML=this.labelDivNode.innerHTML=this._cv?this._cv(_148):_148;},_setBusyAttr:function(busy){var prog=this._prog;if(busy){if(!prog){prog=this._prog=new _13c({size:30,center:false});_134.add(prog.domNode,this.progStyle);}_135.place(prog.domNode,this.domNode,"first");prog.start();}else{if(prog){prog.stop();}}this._set("busy",busy);}});return has("dojo-bidi")?_133("dojox.mobile.Heading",[_13f,_13e]):_13f;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/sniff","dojo/_base/window","./main"],function(_149,has,win,_14a){var _14b={},hash={};var _14c={length:0,add:function(_14d){if(hash[_14d.id]){throw new Error("Tried to register widget with id=="+_14d.id+" but that id is already registered");}hash[_14d.id]=_14d;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_14e){var id;do{id=_14e+"_"+(_14e in _14b?++_14b[_14e]:_14b[_14e]=0);}while(hash[id]);return _14a._scopeName=="dijit"?id:_14a._scopeName+"_"+id;},findWidgets:function(root,_14f){var _150=[];function _151(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _152=node.getAttribute("widgetId");if(_152){var _153=hash[_152];if(_153){_150.push(_153);}}else{if(node!==_14f){_151(node);}}}}};_151(root);return _150;},_destroyAll:function(){_14a._curFocus=null;_14a._prevFocus=null;_14a._activeStack=[];_149.forEach(_14c.findWidgets(win.body()),function(_154){if(!_154._destroyed){if(_154.destroyRecursive){_154.destroyRecursive();}else{if(_154.destroy){_154.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_14a.registry=_14c;return _14c;});},"dojox/mobile/ProgressIndicator":function(){define(["dojo/_base/config","dojo/_base/declare","dojo/_base/lang","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dijit/_Contained","dijit/_WidgetBase","./_css3"],function(_155,_156,lang,_157,_158,_159,_15a,has,_15b,_15c,css3){var cls=_156("dojox.mobile.ProgressIndicator",[_15c,_15b],{interval:100,size:40,removeOnStop:true,startSpinning:false,center:true,colors:null,baseClass:"mblProgressIndicator",constructor:function(){this.colors=[];this._bars=[];},buildRendering:function(){this.inherited(arguments);if(this.center){_157.add(this.domNode,"mblProgressIndicatorCenter");}this.containerNode=_158.create("div",{className:"mblProgContainer"},this.domNode);this.spinnerNode=_158.create("div",null,this.containerNode);for(var i=0;i<12;i++){var div=_158.create("div",{className:"mblProg mblProg"+i},this.spinnerNode);this._bars.push(div);}this.scale(this.size);if(this.startSpinning){this.start();}},scale:function(size){var _15d=size/40;_15a.set(this.containerNode,css3.add({},{transform:"scale("+_15d+")",transformOrigin:"0 0"}));_159.setMarginBox(this.domNode,{w:size,h:size});_159.setMarginBox(this.containerNode,{w:size/_15d,h:size/_15d});},start:function(){if(this.imageNode){var img=this.imageNode;var l=Math.round((this.containerNode.offsetWidth-img.offsetWidth)/2);var t=Math.round((this.containerNode.offsetHeight-img.offsetHeight)/2);img.style.margin=t+"px "+l+"px";return;}var cntr=0;var _15e=this;var n=12;this.timer=setInterval(function(){cntr--;cntr=cntr<0?n-1:cntr;var c=_15e.colors;for(var i=0;i<n;i++){var idx=(cntr+i)%n;if(c[idx]){_15e._bars[i].style.backgroundColor=c[idx];}else{_157.replace(_15e._bars[i],"mblProg"+idx+"Color","mblProg"+(idx===n-1?0:idx+1)+"Color");}}},this.interval);},stop:function(){if(this.timer){clearInterval(this.timer);}this.timer=null;if(this.removeOnStop&&this.domNode&&this.domNode.parentNode){this.domNode.parentNode.removeChild(this.domNode);}},setImage:function(file){if(file){this.imageNode=_158.create("img",{src:file},this.containerNode);this.spinnerNode.style.display="none";}else{if(this.imageNode){this.containerNode.removeChild(this.imageNode);this.imageNode=null;}this.spinnerNode.style.display="";}},destroy:function(){this.inherited(arguments);if(this===cls._instance){cls._instance=null;}}});cls._instance=null;cls.getInstance=function(_15f){if(!cls._instance){cls._instance=new cls(_15f);}return cls._instance;};return cls;});},"dojox/mobile/Container":function(){define(["dojo/_base/declare","dijit/_Container","./Pane"],function(_160,_161,Pane){return _160("dojox.mobile.Container",[Pane,_161],{baseClass:"mblContainer"});});},"dojox/mobile/RoundRectList":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/_base/lang","dojo/_base/window","dojo/dom-construct","dojo/dom-attr","dijit/_Contained","dijit/_Container","dijit/_WidgetBase"],function(_162,_163,_164,lang,win,_165,_166,_167,_168,_169){return _163("dojox.mobile.RoundRectList",[_169,_168,_167],{transition:"slide",iconBase:"",iconPos:"",select:"",stateful:false,syncWithViews:false,editable:false,tag:"ul",editableMixinClass:"dojox/mobile/_EditableListMixin",baseClass:"mblRoundRectList",filterBoxClass:"mblFilteredRoundRectListSearchBox",buildRendering:function(){this.domNode=this.srcNodeRef||_165.create(this.tag);if(this.select){_166.set(this.domNode,"role","listbox");if(this.select==="multiple"){_166.set(this.domNode,"aria-multiselectable","true");}}this.inherited(arguments);},postCreate:function(){if(this.editable){require([this.editableMixinClass],lang.hitch(this,function(_16a){_163.safeMixin(this,new _16a());}));}this.connect(this.domNode,"onselectstart",_164.stop);if(this.syncWithViews){var f=function(view,_16b,dir,_16c,_16d,_16e){var _16f=_162.filter(this.getChildren(),function(w){return w.moveTo==="#"+view.id||w.moveTo===view.id;})[0];if(_16f){_16f.set("selected",true);}};this.subscribe("/dojox/mobile/afterTransitionIn",f);this.subscribe("/dojox/mobile/startView",f);}},resize:function(){_162.forEach(this.getChildren(),function(_170){if(_170.resize){_170.resize();}});},onCheckStateChanged:function(){},_setStatefulAttr:function(_171){this._set("stateful",_171);this.selectOne=_171;_162.forEach(this.getChildren(),function(_172){_172.setArrow&&_172.setArrow();});},deselectItem:function(item){item.set("selected",false);},deselectAll:function(){_162.forEach(this.getChildren(),function(_173){_173.set("selected",false);});},selectItem:function(item){item.set("selected",true);}});});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_174,_175,_176,_177){return _175("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_178,_179){var _17a=this.containerNode;if(_179>0){_17a=_17a.firstChild;while(_179>0){if(_17a.nodeType==1){_179--;}_17a=_17a.nextSibling;}if(_17a){_179="before";}else{_17a=this.containerNode;_179="last";}}_176.place(_178.domNode,_17a,_179);if(this._started&&!_178._started){_178.startup();}},removeChild:function(_17b){if(typeof _17b=="number"){_17b=this.getChildren()[_17b];}if(_17b){var node=_17b.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_17c,dir){_177.deprecated(this.declaredClass+"::_getSiblingOfChild() is deprecated. Use _KeyNavMixin::_getNext() instead.","","2.0");var _17d=this.getChildren(),idx=_174.indexOf(_17d,_17c);return _17d[idx+dir];},getIndexOfChild:function(_17e){return _174.indexOf(this.getChildren(),_17e);}});});},"dojox/mobile/Switch":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/event","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/dom-attr","dojo/touch","dijit/_Contained","dijit/_WidgetBase","./sniff","./_maskUtils","./common","dojo/has!dojo-bidi?dojox/mobile/bidi/Switch"],function(_17f,_180,_181,_182,win,_183,_184,_185,_186,_187,_188,_189,has,_18a,dm,_18b){var _18c=_181(has("dojo-bidi")?"dojox.mobile.NonBidiSwitch":"dojox.mobile.Switch",[_189,_188],{value:"on",name:"",leftLabel:"ON",rightLabel:"OFF",shape:"mblSwDefaultShape",tabIndex:"0",_setTabIndexAttr:"",baseClass:"mblSwitch",role:"",buildRendering:function(){if(!this.templateString){this.domNode=(this.srcNodeRef&&this.srcNodeRef.tagName==="SPAN")?this.srcNodeRef:_184.create("span");}if(typeof this.domNode.style.msTouchAction!="undefined"){this.domNode.style.msTouchAction="none";}this.inherited(arguments);if(!this.templateString){var c=(this.srcNodeRef&&this.srcNodeRef.className)||this.className||this["class"];if((c=c.match(/mblSw.*Shape\d*/))){this.shape=c;}_183.add(this.domNode,this.shape);var _18d=this.name?" name=\""+this.name+"\"":"";this.domNode.innerHTML="<div class=\"mblSwitchInner\">"+"<div class=\"mblSwitchBg mblSwitchBgLeft\">"+"<div class=\"mblSwitchText mblSwitchTextLeft\"></div>"+"</div>"+"<div class=\"mblSwitchBg mblSwitchBgRight\">"+"<div class=\"mblSwitchText mblSwitchTextRight\"></div>"+"</div>"+"<div class=\"mblSwitchKnob\"></div>"+"<input type=\"hidden\""+_18d+"></div>"+"</div>";var n=this.inner=this.domNode.firstChild;this.left=n.childNodes[0];this.right=n.childNodes[1];this.knob=n.childNodes[2];this.input=n.childNodes[3];}_186.set(this.domNode,"role","checkbox");_186.set(this.domNode,"aria-checked",(this.value==="on")?"true":"false");this.switchNode=this.domNode;if(has("windows-theme")){var _18e=_184.create("div",{className:"mblSwitchContainer"});this.labelNode=_184.create("label",{"class":"mblSwitchLabel","for":this.id},_18e);_18e.appendChild(this.domNode.cloneNode(true));this.domNode=_18e;this.focusNode=_18e.childNodes[1];this.labelNode.innerHTML=(this.value=="off")?this.rightLabel:this.leftLabel;this.switchNode=this.domNode.childNodes[1];var _18f=this.inner=this.domNode.childNodes[1].firstChild;this.left=_18f.childNodes[0];this.right=_18f.childNodes[1];this.knob=_18f.childNodes[2];this.input=_18f.childNodes[3];}},postCreate:function(){this.connect(this.switchNode,"onclick","_onClick");this.connect(this.switchNode,"onkeydown","_onClick");this._startHandle=this.connect(this.switchNode,_187.press,"onTouchStart");this._initialValue=this.value;},_changeState:function(_190,anim){var on=(_190==="on");this.left.style.display="";this.right.style.display="";this.inner.style.left="";if(anim){_183.add(this.switchNode,"mblSwitchAnimation");}_183.remove(this.switchNode,on?"mblSwitchOff":"mblSwitchOn");_183.add(this.switchNode,on?"mblSwitchOn":"mblSwitchOff");_186.set(this.switchNode,"aria-checked",on?"true":"false");var _191=this;_191.defer(function(){_191.left.style.display=on?"":"none";_191.right.style.display=!on?"":"none";_183.remove(_191.switchNode,"mblSwitchAnimation");},anim?300:0);},_createMaskImage:function(){if(this._timer){this._timer.remove();delete this._timer;}if(this._hasMaskImage){return;}this._width=this.switchNode.offsetWidth-this.knob.offsetWidth;this._hasMaskImage=true;if(!(has("webkit")||has("svg"))){return;}var rDef=_185.get(this.left,"borderTopLeftRadius");if(rDef=="0px"){return;}var _192=rDef.split(" ");var rx=parseFloat(_192[0]),ry=(_192.length==1)?rx:parseFloat(_192[1]);var w=this.switchNode.offsetWidth,h=this.switchNode.offsetHeight;var id=(this.shape+"Mask"+w+h+rx+ry).replace(/\./,"_");_18a.createRoundMask(this.switchNode,0,0,0,0,w,h,rx,ry,1);},_onClick:function(e){if(e&&e.type==="keydown"&&e.keyCode!==13){return;}if(this.onClick(e)===false){return;}if(this._moved){return;}this.value=this.input.value=(this.value=="on")?"off":"on";this._changeState(this.value,true);this.onStateChanged(this.value);},onClick:function(){},onTouchStart:function(e){this._moved=false;this.innerStartX=this.inner.offsetLeft;if(!this._conn){this._conn=[this.connect(this.inner,_187.move,"onTouchMove"),this.connect(win.doc,_187.release,"onTouchEnd")];if(has("windows-theme")){this._conn.push(this.connect(win.doc,"MSPointerCancel","onTouchEnd"));}}this.touchStartX=e.touches?e.touches[0].pageX:e.clientX;this.left.style.display="";this.right.style.display="";_182.stop(e);this._createMaskImage();},onTouchMove:function(e){e.preventDefault();var dx;if(e.targetTouches){if(e.targetTouches.length!=1){return;}dx=e.targetTouches[0].clientX-this.touchStartX;}else{dx=e.clientX-this.touchStartX;}var pos=this.innerStartX+dx;var d=10;if(pos<=-(this._width-d)){pos=-this._width;}if(pos>=-d){pos=0;}this.inner.style.left=pos+"px";if(Math.abs(dx)>d){this._moved=true;}},onTouchEnd:function(e){_17f.forEach(this._conn,_180.disconnect);this._conn=null;if(this.innerStartX==this.inner.offsetLeft){if(has("touch")&&has("clicks-prevented")){dm._sendClick(this.inner,e);}return;}var _193=(this.inner.offsetLeft<-(this._width/2))?"off":"on";_193=this._newState(_193);this._changeState(_193,true);if(_193!=this.value){this.value=this.input.value=_193;this.onStateChanged(_193);}},_newState:function(_194){return _194;},onStateChanged:function(_195){if(this.labelNode){this.labelNode.innerHTML=_195=="off"?this.rightLabel:this.leftLabel;}},_setValueAttr:function(_196){this._changeState(_196,false);if(this.value!=_196){this.onStateChanged(_196);}this.value=this.input.value=_196;},_setLeftLabelAttr:function(_197){this.leftLabel=_197;this.left.firstChild.innerHTML=this._cv?this._cv(_197):_197;},_setRightLabelAttr:function(_198){this.rightLabel=_198;this.right.firstChild.innerHTML=this._cv?this._cv(_198):_198;},reset:function(){this.set("value",this._initialValue);}});return has("dojo-bidi")?_181("dojox.mobile.Switch",[_18c,_18b]):_18c;});},"dojox/mobile/EdgeToEdgeCategory":function(){define(["dojo/_base/declare","./RoundRectCategory"],function(_199,_19a){return _199("dojox.mobile.EdgeToEdgeCategory",_19a,{buildRendering:function(){this.inherited(arguments);this.domNode.className="mblEdgeToEdgeCategory";if(this.type&&this.type=="long"){this.domNode.className+=" mblEdgeToEdgeCategoryLong";}}});});},"dojox/mobile/transition":function(){define(["dojo/_base/Deferred","dojo/_base/config"],function(_19b,_19c){if(_19c["mblCSS3Transition"]){var _19d=new _19b();require([_19c["mblCSS3Transition"]],function(_19e){_19d.resolve(_19e);});return _19d;}return null;});},"dijit/_WidgetBase":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","dojo/has!dojo-bidi?./_BidiMixin","./registry"],function(_19f,_1a0,_1a1,_1a2,_1a3,_1a4,dom,_1a5,_1a6,_1a7,_1a8,_1a9,has,_1aa,lang,on,_1ab,_1ac,_1ad,win,_1ae,_1af,_1b0){has.add("dijit-legacy-requires",!_1aa.isAsync);has.add("dojo-bidi",false);if(has("dijit-legacy-requires")){_1ab(0,function(){var _1b1=["dijit/_base/manager"];_19f(_1b1);});}var _1b2={};function _1b3(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _1b4(attr){return function(val){_1a5[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};var _1b5=_1a4("dijit._WidgetBase",[_1ac,_1ae],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_1b4("lang"),dir:"",_setDirAttr:_1b4("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_1a2.blankGif||_19f.toUrl("dojo/resources/blank.gif"),_introspect:function(){var ctor=this.constructor;if(!ctor._setterAttrs){var _1b6=ctor.prototype,_1b7=ctor._setterAttrs=[],_1b8=(ctor._onMap={});for(var name in _1b6.attributeMap){_1b7.push(name);}for(name in _1b6){if(/^on/.test(name)){_1b8[name.substring(2).toLowerCase()]=name;}if(/^_set[A-Z](.*)Attr$/.test(name)){name=name.charAt(4).toLowerCase()+name.substr(5,name.length-9);if(!_1b6.attributeMap||!(name in _1b6.attributeMap)){_1b7.push(name);}}}}},postscript:function(_1b9,_1ba){this.create(_1b9,_1ba);},create:function(_1bb,_1bc){this._introspect();this.srcNodeRef=dom.byId(_1bc);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_1bb){this.params=_1bb;lang.mixin(this,_1bb);}this.postMixInProperties();if(!this.id){this.id=_1b0.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document);this.ownerDocumentBody=win.body(this.ownerDocument);_1b0.add(this);this.buildRendering();var _1bd;if(this.domNode){this._applyAttributes();var _1be=this.srcNodeRef;if(_1be&&_1be.parentNode&&this.domNode!==_1be){_1be.parentNode.replaceChild(this.domNode,_1be);_1bd=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_1bd){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _1bf={};for(var key in this.params||{}){_1bf[key]=this._get(key);}_1a0.forEach(this.constructor._setterAttrs,function(key){if(!(key in _1bf)){var val=this._get(key);if(val){this.set(key,val);}}},this);for(key in _1bf){this.set(key,_1bf[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _1c0=this.baseClass.split(" ");if(!this.isLeftToRight()){_1c0=_1c0.concat(_1a0.map(_1c0,function(name){return name+"Rtl";}));}_1a6.add(this.domNode,_1c0);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_1a0.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_1c1){this._beingDestroyed=true;this.destroyDescendants(_1c1);this.destroy(_1c1);},destroy:function(_1c2){this._beingDestroyed=true;this.uninitialize();function _1c3(w){if(w.destroyRecursive){w.destroyRecursive(_1c2);}else{if(w.destroy){w.destroy(_1c2);}}};_1a0.forEach(this._connects,lang.hitch(this,"disconnect"));_1a0.forEach(this._supportingWidgets,_1c3);if(this.domNode){_1a0.forEach(_1b0.findWidgets(this.domNode,this.containerNode),_1c3);}this.destroyRendering(_1c2);_1b0.remove(this.id);this._destroyed=true;},destroyRendering:function(_1c4){if(this.bgIframe){this.bgIframe.destroy(_1c4);delete this.bgIframe;}if(this.domNode){if(_1c4){_1a5.remove(this.domNode,"widgetId");}else{_1a7.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_1c4){_1a7.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_1c5){_1a0.forEach(this.getChildren(),function(_1c6){if(_1c6.destroyRecursive){_1c6.destroyRecursive(_1c5);}});},uninitialize:function(){return false;},_setStyleAttr:function(_1c7){var _1c8=this.domNode;if(lang.isObject(_1c7)){_1a9.set(_1c8,_1c7);}else{if(_1c8.style.cssText){_1c8.style.cssText+="; "+_1c7;}else{_1c8.style.cssText=_1c7;}}this._set("style",_1c7);},_attrToDom:function(attr,_1c9,_1ca){_1ca=arguments.length>=3?_1ca:this.attributeMap[attr];_1a0.forEach(lang.isArray(_1ca)?_1ca:[_1ca],function(_1cb){var _1cc=this[_1cb.node||_1cb||"domNode"];var type=_1cb.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_1c9)){_1c9=lang.hitch(this,_1c9);}var _1cd=_1cb.attribute?_1cb.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_1cc.tagName){_1a5.set(_1cc,_1cd,_1c9);}else{_1cc.set(_1cd,_1c9);}break;case "innerText":_1cc.innerHTML="";_1cc.appendChild(this.ownerDocument.createTextNode(_1c9));break;case "innerHTML":_1cc.innerHTML=_1c9;break;case "class":_1a6.replace(_1cc,_1c9,this[attr]);break;}},this);},get:function(name){var _1ce=this._getAttrNames(name);return this[_1ce.g]?this[_1ce.g]():this._get(name);},set:function(name,_1cf){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _1d0=this._getAttrNames(name),_1d1=this[_1d0.s];if(lang.isFunction(_1d1)){var _1d2=_1d1.apply(this,Array.prototype.slice.call(arguments,1));}else{var _1d3=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_1d3]&&this[_1d3].tagName,_1d4=tag&&(_1b2[tag]||(_1b2[tag]=_1b3(this[_1d3]))),map=name in this.attributeMap?this.attributeMap[name]:_1d0.s in this?this[_1d0.s]:((_1d4&&_1d0.l in _1d4&&typeof _1cf!="function")||/^aria-|^data-|^role$/.test(name))?_1d3:null;if(map!=null){this._attrToDom(name,_1cf,map);}this._set(name,_1cf);}return _1d2||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_1d5){var _1d6=this[name];this[name]=_1d5;if(this._created&&_1d5!==_1d6){if(this._watchCallbacks){this._watchCallbacks(name,_1d6,_1d5);}this.emit("attrmodified-"+name,{detail:{prevValue:_1d6,newValue:_1d5}});}},_get:function(name){return this[name];},emit:function(type,_1d7,_1d8){_1d7=_1d7||{};if(_1d7.bubbles===undefined){_1d7.bubbles=true;}if(_1d7.cancelable===undefined){_1d7.cancelable=true;}if(!_1d7.detail){_1d7.detail={};}_1d7.detail.widget=this;var ret,_1d9=this["on"+type];if(_1d9){ret=_1d9.apply(this,_1d8?_1d8:[_1d7]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_1d7);}return ret;},on:function(type,func){var _1da=this._onMap(type);if(_1da){return _1a1.after(this,_1da,func,true);}return this.own(on(this.domNode,type,func))[0];},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_1b0.findWidgets(this.containerNode):[];},getParent:function(){return _1b0.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_1db,_1dc){return this.own(_1a3.connect(obj,_1db,this,_1dc))[0];},disconnect:function(_1dd){_1dd.remove();},subscribe:function(t,_1de){return this.own(_1ad.subscribe(t,lang.hitch(this,_1de)))[0];},unsubscribe:function(_1df){_1df.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_1a8.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_1a9.get(this.domNode,"display")!="none");},placeAt:function(_1e0,_1e1){var _1e2=!_1e0.tagName&&_1b0.byId(_1e0);if(_1e2&&_1e2.addChild&&(!_1e1||typeof _1e1==="number")){_1e2.addChild(this,_1e1);}else{var ref=_1e2?(_1e2.containerNode&&!/after|before|replace/.test(_1e1||"")?_1e2.containerNode:_1e2.domNode):dom.byId(_1e0,this.ownerDocument);_1a7.place(this.domNode,ref,_1e1);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},defer:function(fcn,_1e3){var _1e4=setTimeout(lang.hitch(this,function(){if(!_1e4){return;}_1e4=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_1e3||0);return {remove:function(){if(_1e4){clearTimeout(_1e4);_1e4=null;}return null;}};}});if(has("dojo-bidi")){_1b5.extend(_1af);}return _1b5;});},"dojox/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dojox;});},"dojox/mobile/common":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/connect","dojo/_base/lang","dojo/_base/window","dojo/_base/kernel","dojo/dom-class","dojo/dom-construct","dojo/ready","dojo/touch","dijit/registry","./sniff","./uacss"],function(_1e5,_1e6,_1e7,lang,win,_1e8,_1e9,_1ea,_1eb,_1ec,_1ed,has){var dm=lang.getObject("dojox.mobile",true);win.doc.dojoClick=true;if(has("touch")){has.add("clicks-prevented",!(has("android")>=4.1||has("ie")>=10));if(has("clicks-prevented")){dm._sendClick=function(_1ee,e){for(var node=_1ee;node;node=node.parentNode){if(node.dojoClick){return;}}var ev=win.doc.createEvent("MouseEvents");ev.initMouseEvent("click",true,true,win.global,1,e.screenX,e.screenY,e.clientX,e.clientY);_1ee.dispatchEvent(ev);};}}dm.getScreenSize=function(){return {h:win.global.innerHeight||win.doc.documentElement.clientHeight,w:win.global.innerWidth||win.doc.documentElement.clientWidth};};dm.updateOrient=function(){var dim=dm.getScreenSize();_1e9.replace(win.doc.documentElement,dim.h>dim.w?"dj_portrait":"dj_landscape",dim.h>dim.w?"dj_landscape":"dj_portrait");};dm.updateOrient();dm.tabletSize=500;dm.detectScreenSize=function(_1ef){var dim=dm.getScreenSize();var sz=Math.min(dim.w,dim.h);var from,to;if(sz>=dm.tabletSize&&(_1ef||(!this._sz||this._sz<dm.tabletSize))){from="phone";to="tablet";}else{if(sz<dm.tabletSize&&(_1ef||(!this._sz||this._sz>=dm.tabletSize))){from="tablet";to="phone";}}if(to){_1e9.replace(win.doc.documentElement,"dj_"+to,"dj_"+from);_1e7.publish("/dojox/mobile/screenSize/"+to,[dim]);}this._sz=sz;};dm.detectScreenSize();dm.hideAddressBarWait=typeof (_1e6["mblHideAddressBarWait"])==="number"?_1e6["mblHideAddressBarWait"]:1500;dm.hide_1=function(){scrollTo(0,1);dm._hidingTimer=(dm._hidingTimer==0)?200:dm._hidingTimer*2;setTimeout(function(){if(dm.isAddressBarHidden()||dm._hidingTimer>dm.hideAddressBarWait){dm.resizeAll();dm._hiding=false;}else{setTimeout(dm.hide_1,dm._hidingTimer);}},50);};dm.hideAddressBar=function(evt){if(dm.disableHideAddressBar||dm._hiding){return;}dm._hiding=true;dm._hidingTimer=has("ios")?200:0;var minH=screen.availHeight;if(has("android")){minH=outerHeight/devicePixelRatio;if(minH==0){dm._hiding=false;setTimeout(function(){dm.hideAddressBar();},200);}if(minH<=innerHeight){minH=outerHeight;}if(has("android")<3){win.doc.documentElement.style.overflow=win.body().style.overflow="visible";}}if(win.body().offsetHeight<minH){win.body().style.minHeight=minH+"px";dm._resetMinHeight=true;}setTimeout(dm.hide_1,dm._hidingTimer);};dm.isAddressBarHidden=function(){return pageYOffset===1;};dm.resizeAll=function(evt,root){if(dm.disableResizeAll){return;}_1e7.publish("/dojox/mobile/resizeAll",[evt,root]);_1e7.publish("/dojox/mobile/beforeResizeAll",[evt,root]);if(dm._resetMinHeight){win.body().style.minHeight=dm.getScreenSize().h+"px";}dm.updateOrient();dm.detectScreenSize();var _1f0=function(w){var _1f1=w.getParent&&w.getParent();return !!((!_1f1||!_1f1.resize)&&w.resize);};var _1f2=function(w){_1e5.forEach(w.getChildren(),function(_1f3){if(_1f0(_1f3)){_1f3.resize();}_1f2(_1f3);});};if(root){if(root.resize){root.resize();}_1f2(root);}else{_1e5.forEach(_1e5.filter(_1ed.toArray(),_1f0),function(w){w.resize();});}_1e7.publish("/dojox/mobile/afterResizeAll",[evt,root]);};dm.openWindow=function(url,_1f4){win.global.open(url,_1f4||"_blank");};dm._detectWindowsTheme=function(){if(navigator.userAgent.match(/IEMobile\/10\.0/)){_1ea.create("style",{innerHTML:"@-ms-viewport {width: auto !important}"},win.doc.head);}var _1f5=function(){_1e9.add(win.doc.documentElement,"windows_theme");_1e8.experimental("Dojo Mobile Windows theme","Behavior and appearance of the Windows theme are experimental.");};var _1f6=has("windows-theme");if(_1f6!==undefined){if(_1f6){_1f5();}return;}var i,j;var _1f7=function(href){if(href&&href.indexOf("/windows/")!==-1){has.add("windows-theme",true);_1f5();return true;}return false;};var s=win.doc.styleSheets;for(i=0;i<s.length;i++){if(s[i].href){continue;}var r=s[i].cssRules||s[i].imports;if(!r){continue;}for(j=0;j<r.length;j++){if(_1f7(r[j].href)){return;}}}var _1f8=win.doc.getElementsByTagName("link");for(i=0;i<_1f8.length;i++){if(_1f7(_1f8[i].href)){return;}}};if(_1e6["mblApplyPageStyles"]!==false){_1e9.add(win.doc.documentElement,"mobile");}if(has("chrome")){_1e9.add(win.doc.documentElement,"dj_chrome");}if(win.global._no_dojo_dm){var _1f9=win.global._no_dojo_dm;for(var i in _1f9){dm[i]=_1f9[i];}dm.deviceTheme.setDm(dm);}has.add("mblAndroidWorkaround",_1e6["mblAndroidWorkaround"]!==false&&has("android")<3,undefined,true);has.add("mblAndroid3Workaround",_1e6["mblAndroid3Workaround"]!==false&&has("android")>=3,undefined,true);dm._detectWindowsTheme();_1eb(function(){dm.detectScreenSize(true);_1e9.add(win.body(),"mblBackground");if(_1e6["mblAndroidWorkaroundButtonStyle"]!==false&&has("android")){_1ea.create("style",{innerHTML:"BUTTON,INPUT[type='button'],INPUT[type='submit'],INPUT[type='reset'],INPUT[type='file']::-webkit-file-upload-button{-webkit-appearance:none;} audio::-webkit-media-controls-play-button,video::-webkit-media-controls-play-button{-webkit-appearance:media-play-button;} video::-webkit-media-controls-fullscreen-button{-webkit-appearance:media-fullscreen-button;}"},win.doc.head,"first");}if(has("mblAndroidWorkaround")){_1ea.create("style",{innerHTML:".mblView.mblAndroidWorkaround{position:absolute;top:-9999px !important;left:-9999px !important;}"},win.doc.head,"last");}var f=dm.resizeAll;if(_1e6["mblHideAddressBar"]!==false&&navigator.appVersion.indexOf("Mobile")!=-1||_1e6["mblForceHideAddressBar"]===true){dm.hideAddressBar();if(_1e6["mblAlwaysHideAddressBar"]===true){f=dm.hideAddressBar;}}var ios6=has("ios")>=6;if((has("android")||ios6)&&win.global.onorientationchange!==undefined){var _1fa=f;var _1fb,_1fc,_1fd;if(ios6){_1fc=win.doc.documentElement.clientWidth;_1fd=win.doc.documentElement.clientHeight;}else{f=function(evt){var _1fe=_1e7.connect(null,"onresize",null,function(e){_1e7.disconnect(_1fe);_1fa(e);});};_1fb=dm.getScreenSize();}_1e7.connect(null,"onresize",null,function(e){if(ios6){var _1ff=win.doc.documentElement.clientWidth,_200=win.doc.documentElement.clientHeight;if(_1ff==_1fc&&_200!=_1fd){_1fa(e);}_1fc=_1ff;_1fd=_200;}else{var _201=dm.getScreenSize();if(_201.w==_1fb.w&&Math.abs(_201.h-_1fb.h)>=100){_1fa(e);}_1fb=_201;}});}_1e7.connect(null,win.global.onorientationchange!==undefined?"onorientationchange":"onresize",null,f);win.body().style.visibility="visible";});return dm;});},"dojox/mobile/ViewController":function(){define(["dojo/_base/kernel","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/_base/Deferred","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/on","dojo/ready","dijit/registry","./ProgressIndicator","./TransitionEvent","./viewRegistry"],function(dojo,_202,_203,_204,lang,win,_205,dom,_206,_207,on,_208,_209,_20a,_20b,_20c){var _20d=_204("dojox.mobile.ViewController",null,{dataHandlerClass:"dojox/mobile/dh/DataHandler",dataSourceClass:"dojox/mobile/dh/UrlDataSource",fileTypeMapClass:"dojox/mobile/dh/SuffixFileTypeMap",constructor:function(){this.viewMap={};_208(lang.hitch(this,function(){on(win.body(),"startTransition",lang.hitch(this,"onStartTransition"));}));},findTransitionViews:function(_20e){if(!_20e){return [];}_20e.match(/^#?([^&?]+)(.*)/);var _20f=RegExp.$2;var view=_209.byId(RegExp.$1);if(!view){return [];}for(var v=view.getParent();v;v=v.getParent()){if(v.isVisible&&!v.isVisible()){var sv=view.getShowingView();if(sv&&sv.id!==view.id){view.show();}view=v;}}return [view.getShowingView(),view,_20f];},openExternalView:function(_210,_211){var d=new _205();var id=this.viewMap[_210.url];if(id){_210.moveTo=id;if(_210.noTransition){_209.byId(id).hide();}else{new _20b(win.body(),_210).dispatch();}d.resolve(true);return d;}var _212=null;for(var i=_211.childNodes.length-1;i>=0;i--){var c=_211.childNodes[i];if(c.nodeType===1){var _213=c.getAttribute("fixed")||c.getAttribute("data-mobile-fixed")||(_209.byNode(c)&&_209.byNode(c).fixed);if(_213==="bottom"){_212=c;break;}}}var dh=_210.dataHandlerClass||this.dataHandlerClass;var ds=_210.dataSourceClass||this.dataSourceClass;var ft=_210.fileTypeMapClass||this.fileTypeMapClass;require([dh,ds,ft],lang.hitch(this,function(_214,_215,_216){var _217=new _214(new _215(_210.data||_210.url),_211,_212);var _218=_210.contentType||_216.getContentType(_210.url)||"html";_217.processData(_218,lang.hitch(this,function(id){if(id){this.viewMap[_210.url]=_210.moveTo=id;if(_210.noTransition){_209.byId(id).hide();}else{new _20b(win.body(),_210).dispatch();}d.resolve(true);}else{d.reject("Failed to load "+_210.url);}}));}));return d;},onStartTransition:function(evt){evt.preventDefault();if(!evt.detail){return;}var _219=evt.detail;if(!_219.moveTo&&!_219.href&&!_219.url&&!_219.scene){return;}if(_219.url&&!_219.moveTo){var _21a=_219.urlTarget;var w=_209.byId(_21a);var _21b=w&&w.containerNode||dom.byId(_21a);if(!_21b){w=_20c.getEnclosingView(evt.target);_21b=w&&w.domNode.parentNode||win.body();}this.openExternalView(_219,_21b);return;}else{if(_219.href){if(_219.hrefTarget&&_219.hrefTarget!="_self"){win.global.open(_219.href,_219.hrefTarget);}else{var view;for(var v=_20c.getEnclosingView(evt.target);v;v=_20c.getParentView(v)){view=v;}if(view){view.performTransition(null,_219.transitionDir,_219.transition,evt.target,function(){location.href=_219.href;});}}return;}else{if(_219.scene){_203.publish("/dojox/mobile/app/pushScene",[_219.scene]);return;}}}var arr=this.findTransitionViews(_219.moveTo),_21c=arr[0],_21d=arr[1],_21e=arr[2];if(!location.hash&&!_219.hashchange){_20c.initialView=_21c;}if(_219.moveTo&&_21d){_219.moveTo=(_219.moveTo.charAt(0)==="#"?"#"+_21d.id:_21d.id)+_21e;}if(!_21c||(_219.moveTo&&_21c===_209.byId(_219.moveTo.replace(/^#?([^&?]+).*/,"$1")))){return;}var src=_209.getEnclosingWidget(evt.target);if(src&&src.callback){_219.context=src;_219.method=src.callback;}_21c.performTransition(_219);}});_20d._instance=new _20d();_20d.getInstance=function(){return _20d._instance;};return _20d;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_21f,lang,_220,when){return _21f("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_221){if(_221){this.set(_221);}},_get:function(name,_222){return typeof this[_222.g]==="function"?this[_222.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_223){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _224=this._getAttrNames(name),_225=this._get(name,_224),_226=this[_224.s],_227;if(typeof _226==="function"){_227=_226.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_223;}if(this._watchCallbacks){var self=this;when(_227,function(){self._watchCallbacks(name,_225,_223);});}return this;},_changeAttrValue:function(name,_228){var _229=this.get(name);this[name]=_228;if(this._watchCallbacks){this._watchCallbacks(name,_229,_228);}return this;},watch:function(name,_22a){var _22b=this._watchCallbacks;if(!_22b){var self=this;_22b=this._watchCallbacks=function(name,_22c,_22d,_22e){var _22f=function(_230){if(_230){_230=_230.slice();for(var i=0,l=_230.length;i<l;i++){_230[i].call(self,name,_22c,_22d);}}};_22f(_22b["_"+name]);if(!_22e){_22f(_22b["*"]);}};}if(!_22a&&typeof name==="function"){_22a=name;name="*";}else{name="_"+name;}var _231=_22b[name];if(typeof _231!=="object"){_231=_22b[name]=[];}_231.push(_22a);var _232={};_232.unwatch=_232.remove=function(){var _233=_220.indexOf(_231,_22a);if(_233>-1){_231.splice(_233,1);}};return _232;}});});},"dojox/mobile/RoundRectCategory":function(){define(["dojo/_base/declare","dojo/_base/window","dojo/dom-construct","dijit/_Contained","dijit/_WidgetBase","dojo/has","dojo/has!dojo-bidi?dojox/mobile/bidi/RoundRectCategory"],function(_234,win,_235,_236,_237,has,_238){var _239=_234(has("dojo-bidi")?"dojox.mobile.NonBidiRoundRectCategory":"dojox.mobile.RoundRectCategory",[_237,_236],{label:"",tag:"h2",baseClass:"mblRoundRectCategory",buildRendering:function(){var _23a=this.domNode=this.containerNode=this.srcNodeRef||_235.create(this.tag);this.inherited(arguments);if(!this.label&&_23a.childNodes.length===1&&_23a.firstChild.nodeType===3){this.label=_23a.firstChild.nodeValue;}},_setLabelAttr:function(_23b){this.label=_23b;this.domNode.innerHTML=this._cv?this._cv(_23b):_23b;}});return has("dojo-bidi")?_234("dojox.mobile.RoundRectCategory",[_239,_238]):_239;});},"dojox/mobile/ToolBarButton":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/dom-attr","./sniff","./_ItemBase","dojo/has!dojo-bidi?dojox/mobile/bidi/ToolBarButton"],function(_23c,lang,win,_23d,_23e,_23f,_240,has,_241,_242){var _243=_23c(has("dojo-bidi")?"dojox.mobile.NonBidiToolBarButton":"dojox.mobile.ToolBarButton",_241,{selected:false,arrow:"",light:true,defaultColor:"mblColorDefault",selColor:"mblColorDefaultSel",baseClass:"mblToolBarButton",_selStartMethod:"touch",_selEndMethod:"touch",buildRendering:function(){if(!this.label&&this.srcNodeRef){this.label=this.srcNodeRef.innerHTML;}this.label=lang.trim(this.label);this.domNode=(this.srcNodeRef&&this.srcNodeRef.tagName==="SPAN")?this.srcNodeRef:_23e.create("span");_240.set(this.domNode,"role","button");this.inherited(arguments);if(this.light&&!this.arrow&&(!this.icon||!this.label)){this.labelNode=this.tableNode=this.bodyNode=this.iconParentNode=this.domNode;_23d.add(this.domNode,this.defaultColor+" mblToolBarButtonBody"+(this.icon?" mblToolBarButtonLightIcon":" mblToolBarButtonLightText"));return;}this.domNode.innerHTML="";if(this.arrow==="left"||this.arrow==="right"){this.arrowNode=_23e.create("span",{className:"mblToolBarButtonArrow mblToolBarButton"+(this.arrow==="left"?"Left":"Right")+"Arrow "+(has("ie")<10?"":(this.defaultColor+" "+this.defaultColor+"45"))},this.domNode);_23d.add(this.domNode,"mblToolBarButtonHas"+(this.arrow==="left"?"Left":"Right")+"Arrow");}this.bodyNode=_23e.create("span",{className:"mblToolBarButtonBody"},this.domNode);this.tableNode=_23e.create("table",{cellPadding:"0",cellSpacing:"0",border:"0"},this.bodyNode);if(!this.label&&this.arrow){this.tableNode.className="mblToolBarButtonText";}var row=this.tableNode.insertRow(-1);this.iconParentNode=row.insertCell(-1);this.labelNode=row.insertCell(-1);this.iconParentNode.className="mblToolBarButtonIcon";this.labelNode.className="mblToolBarButtonLabel";if(this.icon&&this.icon!=="none"&&this.label){_23d.add(this.domNode,"mblToolBarButtonHasIcon");_23d.add(this.bodyNode,"mblToolBarButtonLabeledIcon");}_23d.add(this.bodyNode,this.defaultColor);},startup:function(){if(this._started){return;}this.connect(this.domNode,"onkeydown","_onClick");this.inherited(arguments);if(!this._isOnLine){this._isOnLine=true;this.set("icon",this._pendingIcon!==undefined?this._pendingIcon:this.icon);delete this._pendingIcon;}},_onClick:function(e){if(e&&e.type==="keydown"&&e.keyCode!==13){return;}if(this.onClick(e)===false){return;}this.defaultClickAction(e);},onClick:function(){},_setLabelAttr:function(text){this.inherited(arguments);_23d.toggle(this.tableNode,"mblToolBarButtonText",text||this.arrow);},_setSelectedAttr:function(_244){var _245=function(node,a,b){_23d.replace(node,a+" "+a+"45",b+" "+b+"45");};this.inherited(arguments);if(_244){_23d.replace(this.bodyNode,this.selColor,this.defaultColor);if(!(has("ie")<10)&&this.arrowNode){_245(this.arrowNode,this.selColor,this.defaultColor);}}else{_23d.replace(this.bodyNode,this.defaultColor,this.selColor);if(!(has("ie")<10)&&this.arrowNode){_245(this.arrowNode,this.defaultColor,this.selColor);}}_23d.toggle(this.domNode,"mblToolBarButtonSelected",_244);_23d.toggle(this.bodyNode,"mblToolBarButtonBodySelected",_244);}});return has("dojo-bidi")?_23c("dojox.mobile.ToolBarButton",[_243,_242]):_243;});}}});define("dojox/mobile",[".","dojo/_base/lang","dojox/mobile/_base"],function(_246,lang,base){lang.getObject("mobile",true,_246);return _246.mobile;});