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