/*
	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/ViewController":function(){define(["dojo/_base/kernel","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/on","dojo/ready","dijit/registry","./ProgressIndicator","./TransitionEvent"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,on,_a,_b,_c,_d){var dm=_5.getObject("dojox.mobile",true);var _e=_4("dojox.mobile.ViewController",null,{constructor:function(){this.viewMap={};this.currentView=null;this.defaultView=null;_a(_5.hitch(this,function(){on(_6.body(),"startTransition",_5.hitch(this,"onStartTransition"));}));},findCurrentView:function(_f,src){if(_f){var w=_b.byId(_f);if(w&&w.getShowingView){return w.getShowingView();}}if(dm.currentView){return dm.currentView;}w=src;while(true){w=w.getParent();if(!w){return null;}if(_8.contains(w.domNode,"mblView")){break;}}return w;},onStartTransition:function(evt){evt.preventDefault();if(!evt.detail||(evt.detail&&!evt.detail.moveTo&&!evt.detail.href&&!evt.detail.url&&!evt.detail.scene)){return;}var w=this.findCurrentView(evt.detail.moveTo,(evt.target&&evt.target.id)?_b.byId(evt.target.id):_b.byId(evt.target));if(!w||(evt.detail&&evt.detail.moveTo&&w===_b.byId(evt.detail.moveTo))){return;}if(evt.detail.href){var t=_b.byId(evt.target.id).hrefTarget;if(t){dm.openWindow(evt.detail.href,t);}else{w.performTransition(null,evt.detail.transitionDir,evt.detail.transition,evt.target,function(){location.href=evt.detail.href;});}return;}else{if(evt.detail.scene){_3.publish("/dojox/mobile/app/pushScene",[evt.detail.scene]);return;}}var _10=evt.detail.moveTo;if(evt.detail.url){var id;if(dm._viewMap&&dm._viewMap[evt.detail.url]){id=dm._viewMap[evt.detail.url];}else{var _11=this._text;if(!_11){if(_b.byId(evt.target.id).sync){_1.xhrGet({url:evt.detail.url,sync:true,load:function(_12){_11=_5.trim(_12);}});}else{var s="dojo/_base/xhr";require([s],_5.hitch(this,function(xhr){var _13=_c.getInstance();_6.body().appendChild(_13.domNode);_13.start();var obj=xhr.get({url:evt.detail.url,handleAs:"text"});obj.addCallback(_5.hitch(this,function(_14,_15){_13.stop();if(_14){this._text=_14;new _d(evt.target,{transition:evt.detail.transition,transitionDir:evt.detail.transitionDir,moveTo:_10,href:evt.detail.href,url:evt.detail.url,scene:evt.detail.scene},evt.detail).dispatch();}}));obj.addErrback(function(_16){_13.stop();});}));return;}}this._text=null;id=this._parse(_11,_b.byId(evt.target.id).urlTarget);if(!dm._viewMap){dm._viewMap=[];}dm._viewMap[evt.detail.url]=id;}_10=id;w=this.findCurrentView(_10,_b.byId(evt.target.id))||w;}w.performTransition(_10,evt.detail.transitionDir,evt.detail.transition,null,null);},_parse:function(_17,id){var _18,_19,i,j,len;var _1a=this.findCurrentView();var _1b=_b.byId(id)&&_b.byId(id).containerNode||_7.byId(id)||_1a&&_1a.domNode.parentNode||_6.body();var _1c=null;for(j=_1b.childNodes.length-1;j>=0;j--){var c=_1b.childNodes[j];if(c.nodeType===1){if(c.getAttribute("fixed")==="bottom"){_1c=c;}break;}}if(_17.charAt(0)==="<"){_18=_9.create("DIV",{innerHTML:_17});for(i=0;i<_18.childNodes.length;i++){var n=_18.childNodes[i];if(n.nodeType===1){_19=n;break;}}if(!_19){return;}_19.style.visibility="hidden";_1b.insertBefore(_18,_1c);var ws=_1.parser.parse(_18);_2.forEach(ws,function(w){if(w&&!w._started&&w.startup){w.startup();}});for(i=0,len=_18.childNodes.length;i<len;i++){_1b.insertBefore(_18.firstChild,_1c);}_1b.removeChild(_18);_b.byNode(_19)._visible=true;}else{if(_17.charAt(0)==="{"){_18=_9.create("DIV");_1b.insertBefore(_18,_1c);this._ws=[];_19=this._instantiate(eval("("+_17+")"),_18);for(i=0;i<this._ws.length;i++){var w=this._ws[i];w.startup&&!w._started&&(!w.getParent||!w.getParent())&&w.startup();}this._ws=null;}}_19.style.display="none";_19.style.visibility="visible";return _1.hash?"#"+_19.id:_19.id;},_instantiate:function(obj,_1d,_1e){var _1f;for(var key in obj){if(key.charAt(0)=="@"){continue;}var cls=_5.getObject(key);if(!cls){continue;}var _20={};var _21=cls.prototype;var _22=_5.isArray(obj[key])?obj[key]:[obj[key]];for(var i=0;i<_22.length;i++){for(var _23 in _22[i]){if(_23.charAt(0)=="@"){var val=_22[i][_23];_23=_23.substring(1);if(typeof _21[_23]=="string"){_20[_23]=val;}else{if(typeof _21[_23]=="number"){_20[_23]=val-0;}else{if(typeof _21[_23]=="boolean"){_20[_23]=(val!="false");}else{if(typeof _21[_23]=="object"){_20[_23]=eval("("+val+")");}}}}}}_1f=new cls(_20,_1d);if(_1d){_1f._visible=true;this._ws.push(_1f);}if(_1e&&_1e.addChild){_1e.addChild(_1f);}this._instantiate(_22[i],null,_1f);}}return _1f&&_1f.domNode;}});new _e();return _e;});},"dojox/mobile/RoundRect":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/window","dijit/_Contained","dijit/_Container","dijit/_WidgetBase"],function(_24,_25,win,_26,_27,_28){return _25("dojox.mobile.RoundRect",[_28,_27,_26],{shadow:false,buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement("DIV");this.domNode.className=this.shadow?"mblRoundRect mblShadow":"mblRoundRect";},resize:function(){_24.forEach(this.getChildren(),function(_29){if(_29.resize){_29.resize();}});}});});},"dojox/mobile/RoundRectList":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/window","dijit/_Contained","dijit/_Container","dijit/_WidgetBase"],function(_2a,_2b,win,_2c,_2d,_2e){return _2b("dojox.mobile.RoundRectList",[_2e,_2d,_2c],{transition:"slide",iconBase:"",iconPos:"",select:"",stateful:false,buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement("UL");this.domNode.className="mblRoundRectList";},resize:function(){_2a.forEach(this.getChildren(),function(_2f){if(_2f.resize){_2f.resize();}});},onCheckStateChanged:function(_30,_31){},_setStatefulAttr:function(_32){this.stateful=_32;_2a.forEach(this.getChildren(),function(_33){_33.setArrow&&_33.setArrow();});},deselectItem:function(_34){_34.deselect();},deselectAll:function(){_2a.forEach(this.getChildren(),function(_35){_35.deselect&&_35.deselect();});},selectItem:function(_36){_36.select();}});});},"dojox/mobile/sniff":function(){define(["dojo/_base/window","dojo/_base/sniff"],function(win,has){var ua=navigator.userAgent;has.add("bb",ua.indexOf("BlackBerry")>=0&&parseFloat(ua.split("Version/")[1])||undefined,undefined,true);has.add("android",parseFloat(ua.split("Android ")[1])||undefined,undefined,true);if(ua.match(/(iPhone|iPod|iPad)/)){var p=RegExp.$1.replace(/P/,"p");var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));has.add(p,os,undefined,true);has.add("iphone",os,undefined,true);}if(has("webkit")){has.add("touch",(typeof win.doc.documentElement.ontouchstart!="undefined"&&navigator.appVersion.indexOf("Mobile")!=-1)||!!has("android"),undefined,true);}return has;});},"dojox/mobile/TransitionEvent":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/lang","dojo/on","./transition"],function(_37,_38,_39,on,_3a){return _37("dojox.mobile.TransitionEvent",null,{constructor:function(_3b,_3c,_3d){this.transitionOptions=_3c;this.target=_3b;this.triggerEvent=_3d||null;},dispatch:function(){var _3e={bubbles:true,cancelable:true,detail:this.transitionOptions,triggerEvent:this.triggerEvent};var evt=on.emit(this.target,"startTransition",_3e);if(evt){_38.when(_3a,_39.hitch(this,function(_3f){_38.when(_3f.call(this,evt),_39.hitch(this,function(_40){this.endTransition(_40);}));}));}},endTransition:function(_41){on.emit(this.target,"endTransition",{detail:_41.transitionOptions});}});});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["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/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./registry"],function(_42,_43,_44,_45,_46,_47,dom,_48,_49,_4a,_4b,_4c,_4d,_4e,on,_4f,_50,_51,win,_52){if(!_4d.isAsync){_4f(0,function(){var _53=["dijit/_base/manager"];_42(_53);});}var _54={};function _55(obj){var ret={};for(var _56 in obj){ret[_56.toLowerCase()]=true;}return ret;};function _57(_58){return function(val){_48[val?"set":"remove"](this.domNode,_58,val);this._set(_58,val);};};return _47("dijit._WidgetBase",_50,{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_57("lang"),dir:"",_setDirAttr:_57("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{},_blankGif:_45.blankGif||_42.toUrl("dojo/resources/blank.gif"),postscript:function(_59,_5a){this.create(_59,_5a);},create:function(_5b,_5c){this.srcNodeRef=dom.byId(_5c);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_5b){this.params=_5b;_4e.mixin(this,_5b);}this.postMixInProperties();if(!this.id){this.id=_52.getUniqueId(this.declaredClass.replace(/\./g,"_"));}_52.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _5d=this.srcNodeRef;if(_5d&&_5d.parentNode&&this.domNode!==_5d){_5d.parentNode.replaceChild(this.domNode,_5d);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _5e=this.constructor,_5f=_5e._setterAttrs;if(!_5f){_5f=(_5e._setterAttrs=[]);for(var _60 in this.attributeMap){_5f.push(_60);}var _61=_5e.prototype;for(var _62 in _61){if(_62 in this.attributeMap){continue;}var _63="_set"+_62.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_63 in _61){_5f.push(_62);}}}_43.forEach(_5f,function(_64){if(this.params&&_64 in this.params){}else{if(this[_64]){this.set(_64,this[_64]);}}},this);for(var _65 in this.params){this.set(_65,this[_65]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||_4a.create("div");}if(this.baseClass){var _66=this.baseClass.split(" ");if(!this.isLeftToRight()){_66=_66.concat(_43.map(_66,function(_67){return _67+"Rtl";}));}_49.add(this.domNode,_66);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_43.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_4e.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_68){this._beingDestroyed=true;this.destroyDescendants(_68);this.destroy(_68);},destroy:function(_69){this._beingDestroyed=true;this.uninitialize();var c;while(c=this._connects.pop()){c.remove();}var w;while(w=this._supportingWidgets.pop()){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}}this.destroyRendering(_69);_52.remove(this.id);this._destroyed=true;},destroyRendering:function(_6a){if(this.bgIframe){this.bgIframe.destroy(_6a);delete this.bgIframe;}if(this.domNode){if(_6a){_48.remove(this.domNode,"widgetId");}else{_4a.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_6a){_4a.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_6b){_43.forEach(this.getChildren(),function(_6c){if(_6c.destroyRecursive){_6c.destroyRecursive(_6b);}});},uninitialize:function(){return false;},_setStyleAttr:function(_6d){var _6e=this.domNode;if(_4e.isObject(_6d)){_4c.set(_6e,_6d);}else{if(_6e.style.cssText){_6e.style.cssText+="; "+_6d;}else{_6e.style.cssText=_6d;}}this._set("style",_6d);},_attrToDom:function(_6f,_70,_71){_71=arguments.length>=3?_71:this.attributeMap[_6f];_43.forEach(_4e.isArray(_71)?_71:[_71],function(_72){var _73=this[_72.node||_72||"domNode"];var _74=_72.type||"attribute";switch(_74){case "attribute":if(_4e.isFunction(_70)){_70=_4e.hitch(this,_70);}var _75=_72.attribute?_72.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_6f)?_6f.toLowerCase():_6f);_48.set(_73,_75,_70);break;case "innerText":_73.innerHTML="";_73.appendChild(win.doc.createTextNode(_70));break;case "innerHTML":_73.innerHTML=_70;break;case "class":_49.replace(_73,_70,this[_6f]);break;}},this);},get:function(_76){var _77=this._getAttrNames(_76);return this[_77.g]?this[_77.g]():this[_76];},set:function(_78,_79){if(typeof _78==="object"){for(var x in _78){this.set(x,_78[x]);}return this;}var _7a=this._getAttrNames(_78),_7b=this[_7a.s];if(_4e.isFunction(_7b)){var _7c=_7b.apply(this,Array.prototype.slice.call(arguments,1));}else{var _7d=this.focusNode&&!_4e.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_7d].tagName,_7e=_54[tag]||(_54[tag]=_55(this[_7d])),map=_78 in this.attributeMap?this.attributeMap[_78]:_7a.s in this?this[_7a.s]:((_7a.l in _7e&&typeof _79!="function")||/^aria-|^data-|^role$/.test(_78))?_7d:null;if(map!=null){this._attrToDom(_78,_79,map);}this._set(_78,_79);}return _7c||this;},_attrPairNames:{},_getAttrNames:function(_7f){var apn=this._attrPairNames;if(apn[_7f]){return apn[_7f];}var uc=_7f.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[_7f]={n:_7f+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(_80,_81){var _82=this[_80];this[_80]=_81;if(this._watchCallbacks&&this._created&&_81!==_82){this._watchCallbacks(_80,_82,_81);}},on:function(_83,_84){return _44.after(this,this._onMap(_83),_84,true);},_onMap:function(_85){var _86=this.constructor,map=_86._onMap;if(!map){map=(_86._onMap={});for(var _87 in _86.prototype){if(/^on/.test(_87)){map[_87.replace(/^on/,"").toLowerCase()]=_87;}}}return map[_85.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_52.findWidgets(this.containerNode):[];},getParent:function(){return _52.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_88,_89){var _8a=_46.connect(obj,_88,this,_89);this._connects.push(_8a);return _8a;},disconnect:function(_8b){var i=_43.indexOf(this._connects,_8b);if(i!=-1){_8b.remove();this._connects.splice(i,1);}},subscribe:function(t,_8c){var _8d=_51.subscribe(t,_4e.hitch(this,_8c));this._connects.push(_8d);return _8d;},unsubscribe:function(_8e){this.disconnect(_8e);},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_4b.isBodyLtr();},isFocusable:function(){return this.focus&&(_4c.get(this.domNode,"display")!="none");},placeAt:function(_8f,_90){if(_8f.declaredClass&&_8f.addChild){_8f.addChild(this,_90);}else{_4a.place(this.domNode,_8f,_90);}return this;},getTextDir:function(_91,_92){return _92;},applyTextDir:function(){}});});},"dojox/mobile/View":function(){define("dojox/mobile/View",["dojo/_base/kernel","dojo/_base/array","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/_base/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dijit/registry","dijit/_Contained","dijit/_Container","dijit/_WidgetBase","./ViewController","./transition"],function(_93,_94,_95,_96,_97,_98,has,win,_99,dom,_9a,_9b,_9c,_9d,_9e,_9f,_a0,_a1,_a2){var dm=_98.getObject("dojox.mobile",true);return _97("dojox.mobile.View",[_a0,_9f,_9e],{selected:false,keepScrollPos:true,constructor:function(_a3,_a4){if(_a4){dom.byId(_a4).style.visibility="hidden";}this._aw=has("android")>=2.2&&has("android")<3;},buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement("DIV");this.domNode.className="mblView";this.connect(this.domNode,"webkitAnimationEnd","onAnimationEnd");this.connect(this.domNode,"webkitAnimationStart","onAnimationStart");if(!_95["mblCSS3Transition"]){this.connect(this.domNode,"webkitTransitionEnd","onAnimationEnd");}var id=location.href.match(/#(\w+)([^\w=]|$)/)?RegExp.$1:null;this._visible=this.selected&&!id||this.id==id;if(this.selected){dm._defaultView=this;}},startup:function(){if(this._started){return;}var _a5=[];var _a6=this.domNode.parentNode.childNodes;var _a7=false;for(var i=0;i<_a6.length;i++){var c=_a6[i];if(c.nodeType===1&&_9a.contains(c,"mblView")){_a5.push(c);_a7=_a7||_9d.byNode(c)._visible;}}var _a8=this._visible;if(_a5.length===1||(!_a7&&_a5[0]===this.domNode)){_a8=true;}var _a9=this;setTimeout(function(){if(!_a8){_a9.domNode.style.display="none";}else{dm.currentView=_a9;_a9.onStartView();_96.publish("/dojox/mobile/startView",[_a9]);}if(_a9.domNode.style.visibility!="visible"){_a9.domNode.style.visibility="visible";}var _aa=_a9.getParent&&_a9.getParent();if(!_aa||!_aa.resize){_a9.resize();}},has("ie")?100:0);this.inherited(arguments);},resize:function(){_94.forEach(this.getChildren(),function(_ab){if(_ab.resize){_ab.resize();}});},onStartView:function(){},onBeforeTransitionIn:function(_ac,dir,_ad,_ae,_af){},onAfterTransitionIn:function(_b0,dir,_b1,_b2,_b3){},onBeforeTransitionOut:function(_b4,dir,_b5,_b6,_b7){},onAfterTransitionOut:function(_b8,dir,_b9,_ba,_bb){},_saveState:function(_bc,dir,_bd,_be,_bf){this._context=_be;this._method=_bf;if(_bd=="none"){_bd=null;}this._moveTo=_bc;this._dir=dir;this._transition=_bd;this._arguments=_98._toArray(arguments);this._args=[];if(_be||_bf){for(var i=5;i<arguments.length;i++){this._args.push(arguments[i]);}}},_fixViewState:function(_c0){var _c1=this.domNode.parentNode.childNodes;for(var i=0;i<_c1.length;i++){var n=_c1[i];if(n.nodeType===1&&_9a.contains(n,"mblView")){n.className="mblView";}}_c0.className="mblView";},convertToId:function(_c2){if(typeof (_c2)=="string"){_c2.match(/^#?([^&?]+)/);return RegExp.$1;}return _c2;},performTransition:function(_c3,dir,_c4,_c5,_c6){if(_c3==="#"){return;}if(_93.hash){if(typeof (_c3)=="string"&&_c3.charAt(0)=="#"&&!dm._params){dm._params=[];for(var i=0;i<arguments.length;i++){dm._params.push(arguments[i]);}_93.hash(_c3);return;}}this._saveState.apply(this,arguments);var _c7;if(_c3){_c7=this.convertToId(_c3);}else{if(!this._dummyNode){this._dummyNode=win.doc.createElement("DIV");win.body().appendChild(this._dummyNode);}_c7=this._dummyNode;}var _c8=this.domNode;var _c9=_c8.offsetTop;_c7=this.toNode=dom.byId(_c7);if(!_c7){return;}_c7.style.visibility=this._aw?"visible":"hidden";_c7.style.display="";this._fixViewState(_c7);var _ca=_9d.byNode(_c7);if(_ca){if(_95["mblAlwaysResizeOnTransition"]||!_ca._resized){dm.resizeAll(null,_ca);_ca._resized=true;}if(_c4&&_c4!="none"){_ca.containerNode.style.paddingTop=_c9+"px";}_ca.movedFrom=_c8.id;}this.onBeforeTransitionOut.apply(this,arguments);_96.publish("/dojox/mobile/beforeTransitionOut",[this].concat(_98._toArray(arguments)));if(_ca){if(this.keepScrollPos&&!this.getParent()){var _cb=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;_c8._scrollTop=_cb;var _cc=(dir==1)?0:(_c7._scrollTop||0);_c7.style.top="0px";if(_cb>1||_cc!==0){_c8.style.top=_cc-_cb+"px";if(_95["mblHideAddressBar"]!==false){setTimeout(function(){win.global.scrollTo(0,(_cc||1));},0);}}}else{_c7.style.top="0px";}_ca.onBeforeTransitionIn.apply(_ca,arguments);_96.publish("/dojox/mobile/beforeTransitionIn",[_ca].concat(_98._toArray(arguments)));}if(!this._aw){_c7.style.display="none";_c7.style.visibility="visible";}if(dm._iw&&dm.scrollable){var ss=dm.getScreenSize();win.body().appendChild(dm._iwBgCover);_9c.set(dm._iwBgCover,{position:"absolute",top:"0px",left:"0px",height:(ss.h+1)+"px",width:ss.w+"px",backgroundColor:_9c.get(win.body(),"background-color"),zIndex:-10000,display:""});_9c.set(_c7,{position:"absolute",zIndex:-10001,visibility:"visible",display:""});setTimeout(_98.hitch(this,function(){this._doTransition(_c8,_c7,_c4,dir);}),80);}else{this._doTransition(_c8,_c7,_c4,dir);}},_toCls:function(s){return "mbl"+s.charAt(0).toUpperCase()+s.substring(1);},_doTransition:function(_cd,_ce,_cf,dir){var rev=(dir==-1)?" mblReverse":"";if(dm._iw&&dm.scrollable){_9c.set(_ce,{position:"",zIndex:""});win.body().removeChild(dm._iwBgCover);}else{if(!this._aw){_ce.style.display="";}}if(!_cf||_cf=="none"){this.domNode.style.display="none";this.invokeCallback();}else{if(_95["mblCSS3Transition"]){_99.when(_a2,_98.hitch(this,function(_d0){var _d1=_9c.get(_ce,"position");_9c.set(_ce,"position","absolute");_99.when(_d0(_cd,_ce,{transition:_cf,reverse:(dir===-1)?true:false}),_98.hitch(this,function(){_9c.set(_ce,"position",_d1);this.invokeCallback();}));}));}else{var s=this._toCls(_cf);_9a.add(_cd,s+" mblOut"+rev);_9a.add(_ce,s+" mblIn"+rev);setTimeout(function(){_9a.add(_cd,"mblTransition");_9a.add(_ce,"mblTransition");},100);var _d2="50% 50%";var _d3="50% 50%";var _d4,_d5,_d6;if(_cf.indexOf("swirl")!=-1||_cf.indexOf("zoom")!=-1){if(this.keepScrollPos&&!this.getParent()){_d4=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;}else{_d4=-_9b.position(_cd,true).y;}_d6=win.global.innerHeight/2+_d4;_d2="50% "+_d6+"px";_d3="50% "+_d6+"px";}else{if(_cf.indexOf("scale")!=-1){var _d7=_9b.position(_cd,true);_d5=((this.clickedPosX!==undefined)?this.clickedPosX:win.global.innerWidth/2)-_d7.x;if(this.keepScrollPos&&!this.getParent()){_d4=win.body().scrollTop||win.doc.documentElement.scrollTop||win.global.pageYOffset||0;}else{_d4=-_d7.y;}_d6=((this.clickedPosY!==undefined)?this.clickedPosY:win.global.innerHeight/2)+_d4;_d2=_d5+"px "+_d6+"px";_d3=_d5+"px "+_d6+"px";}}_9c.set(_cd,{webkitTransformOrigin:_d2});_9c.set(_ce,{webkitTransformOrigin:_d3});}}dm.currentView=_9d.byNode(_ce);},onAnimationStart:function(e){},onAnimationEnd:function(e){var _d8=e.animationName||e.target.className;if(_d8.indexOf("Out")===-1&&_d8.indexOf("In")===-1&&_d8.indexOf("Shrink")===-1){return;}var _d9=false;if(_9a.contains(this.domNode,"mblOut")){_d9=true;this.domNode.style.display="none";_9a.remove(this.domNode,[this._toCls(this._transition),"mblIn","mblOut","mblReverse"]);}else{this.containerNode.style.paddingTop="";}_9c.set(this.domNode,{webkitTransformOrigin:""});if(_d8.indexOf("Shrink")!==-1){var li=e.target;li.style.display="none";_9a.remove(li,"mblCloseContent");}if(_d9){this.invokeCallback();}this.domNode&&(this.domNode.className="mblView");this.clickedPosX=this.clickedPosY=undefined;},invokeCallback:function(){this.onAfterTransitionOut.apply(this,this._arguments);_96.publish("/dojox/mobile/afterTransitionOut",[this].concat(this._arguments));var _da=_9d.byNode(this.toNode);if(_da){_da.onAfterTransitionIn.apply(_da,this._arguments);_96.publish("/dojox/mobile/afterTransitionIn",[_da].concat(this._arguments));_da.movedFrom=undefined;}var c=this._context,m=this._method;if(!c&&!m){return;}if(!m){m=c;c=null;}c=c||win.global;if(typeof (m)=="string"){c[m].apply(c,this._args);}else{m.apply(c,this._args);}},getShowingView:function(){var _db=this.domNode.parentNode.childNodes;for(var i=0;i<_db.length;i++){var n=_db[i];if(n.nodeType===1&&_9a.contains(n,"mblView")&&_9c.get(n,"display")!=="none"){return _9d.byNode(n);}}return null;},show:function(){var _dc=this.getShowingView();if(_dc){_dc.domNode.style.display="none";}this.domNode.style.display="";dm.currentView=this;}});});},"dojox/main":function(){define(["dojo/_base/kernel"],function(_dd){return _dd.dojox;});},"dojox/mobile/transition":function(){define(["dojo/_base/Deferred","dojo/_base/config"],function(_de,_df){if(_df["mblCSS3Transition"]){var _e0=new _de();require([_df["mblCSS3Transition"]],function(_e1){_e0.resolve(_e1);});return _e0;}return null;});},"dojo/Stateful":function(){define(["./_base/kernel","./_base/declare","./_base/lang","./_base/array"],function(_e2,_e3,_e4,_e5){return _e2.declare("dojo.Stateful",null,{postscript:function(_e6){if(_e6){_e4.mixin(this,_e6);}},get:function(_e7){return this[_e7];},set:function(_e8,_e9){if(typeof _e8==="object"){for(var x in _e8){this.set(x,_e8[x]);}return this;}var _ea=this[_e8];this[_e8]=_e9;if(this._watchCallbacks){this._watchCallbacks(_e8,_ea,_e9);}return this;},watch:function(_eb,_ec){var _ed=this._watchCallbacks;if(!_ed){var _ee=this;_ed=this._watchCallbacks=function(_ef,_f0,_f1,_f2){var _f3=function(_f4){if(_f4){_f4=_f4.slice();for(var i=0,l=_f4.length;i<l;i++){try{_f4[i].call(_ee,_ef,_f0,_f1);}catch(e){console.error(e);}}}};_f3(_ed["_"+_ef]);if(!_f2){_f3(_ed["*"]);}};}if(!_ec&&typeof _eb==="function"){_ec=_eb;_eb="*";}else{_eb="_"+_eb;}var _f5=_ed[_eb];if(typeof _f5!=="object"){_f5=_ed[_eb]=[];}_f5.push(_ec);return {unwatch:function(){_f5.splice(_e5.indexOf(_f5,_ec),1);}};}});});},"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","dijit/registry","dijit/_Contained","dijit/_Container","dijit/_WidgetBase","./View"],function(_f6,_f7,_f8,_f9,win,_fa,_fb,_fc,_fd,_fe,_ff,_100,View){var dm=_f9.getObject("dojox.mobile",true);return _f8("dojox.mobile.Heading",[_100,_ff,_fe],{back:"",href:"",moveTo:"",transition:"slide",label:"",iconBase:"",backProp:{className:"mblArrowButton"},tag:"H1",buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement(this.tag);this.domNode.className="mblHeading";if(!this.label){_f6.forEach(this.domNode.childNodes,function(n){if(n.nodeType==3){var v=_f9.trim(n.nodeValue);if(v){this.label=v;this.labelNode=_fb.create("SPAN",{innerHTML:v},n,"replace");}}},this);}if(!this.labelNode){this.labelNode=_fb.create("SPAN",null,this.domNode);}this.labelNode.className="mblHeadingSpanTitle";this.labelDivNode=_fb.create("DIV",{className:"mblHeadingDivTitle",innerHTML:this.labelNode.innerHTML},this.domNode);},startup:function(){if(this._started){return;}var _101=this.getParent&&this.getParent();if(!_101||!_101.resize){var _102=this;setTimeout(function(){_102.resize();},0);}this.inherited(arguments);},resize:function(){if(this._btn){this._btn.style.width=this._body.offsetWidth+this._head.offsetWidth+"px";}if(this.labelNode){var _103,_104;var _105=this.containerNode.childNodes;for(var i=_105.length-1;i>=0;i--){var c=_105[i];if(c.nodeType===1){if(!_104&&_fa.contains(c,"mblToolBarButton")&&_fc.get(c,"float")==="right"){_104=c;}if(!_103&&(_fa.contains(c,"mblToolBarButton")&&_fc.get(c,"float")==="left"||c===this._btn)){_103=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=_104?bw-_104.offsetLeft+5:0;var lw=_103?_103.offsetLeft+_103.offsetWidth+5:0;var tw=this.labelNodeLen||0;_fa[bw-Math.max(rw,lw)*2>tw?"add":"remove"](this.domNode,"mblHeadingCenterTitle");}_f6.forEach(this.getChildren(),function(_106){if(_106.resize){_106.resize();}});},_setBackAttr:function(back){if(!back){_fb.destroy(this._btn);this._btn=null;this.back="";}else{if(!this._btn){var btn=_fb.create("DIV",this.backProp,this.domNode,"first");var head=_fb.create("DIV",{className:"mblArrowButtonHead"},btn);var body=_fb.create("DIV",{className:"mblArrowButtonBody mblArrowButtonText"},btn);this._body=body;this._head=head;this._btn=btn;this.backBtnNode=btn;this.connect(body,"onclick","onClick");}this.back=back;this._body.innerHTML=this._cv?this._cv(this.back):this.back;}this.resize();},_setLabelAttr:function(_107){this.label=_107;this.labelNode.innerHTML=this.labelDivNode.innerHTML=this._cv?this._cv(_107):_107;},findCurrentView:function(){var w=this;while(true){w=w.getParent();if(!w){return null;}if(w instanceof View){break;}}return w;},onClick:function(e){var h1=this.domNode;_fa.add(h1,"mblArrowButtonSelected");setTimeout(function(){_fa.remove(h1,"mblArrowButtonSelected");},1000);if(this.back&&!this.moveTo&&!this.href&&history){history.back();return;}var view=this.findCurrentView();if(view){view.clickedPosX=e.clientX;view.clickedPosY=e.clientY;}this.goTo(this.moveTo,this.href);},goTo:function(_108,href){var view=this.findCurrentView();if(!view){return;}if(href){view.performTransition(null,-1,this.transition,this,function(){location.href=href;});}else{if(dm.app&&dm.app.STAGE_CONTROLLER_ACTIVE){_f7.publish("/dojox/mobile/app/goback");}else{var node=_fd.byId(view.convertToId(_108));if(node){var _109=node.getParent();while(view){var _10a=view.getParent();if(_109===_10a){break;}view=_10a;}}if(view){view.performTransition(_108,-1,this.transition);}}}}});});},"dojox/mobile/Switch":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/event","dojo/_base/window","dojo/dom-class","dijit/_Contained","dijit/_WidgetBase","./sniff"],function(_10b,_10c,_10d,_10e,win,_10f,_110,_111,has){return _10d("dojox.mobile.Switch",[_111,_110],{value:"on",name:"",leftLabel:"ON",rightLabel:"OFF",_width:53,buildRendering:function(){this.domNode=win.doc.createElement("DIV");var c=(this.srcNodeRef&&this.srcNodeRef.className)||this.className||this["class"];this._swClass=(c||"").replace(/ .*/,"");this.domNode.className="mblSwitch";var _112=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\""+_112+"></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];},postCreate:function(){this.connect(this.domNode,"onclick","onClick");this.connect(this.domNode,has("touch")?"touchstart":"onmousedown","onTouchStart");this._initialValue=this.value;},_changeState:function(_113,anim){var on=(_113==="on");this.left.style.display="";this.right.style.display="";this.inner.style.left="";if(anim){_10f.add(this.domNode,"mblSwitchAnimation");}_10f.remove(this.domNode,on?"mblSwitchOff":"mblSwitchOn");_10f.add(this.domNode,on?"mblSwitchOn":"mblSwitchOff");var _114=this;setTimeout(function(){_114.left.style.display=on?"":"none";_114.right.style.display=!on?"":"none";_10f.remove(_114.domNode,"mblSwitchAnimation");},anim?300:0);},startup:function(){if(this._swClass.indexOf("Round")!=-1){var r=Math.round(this.domNode.offsetHeight/2);this.createRoundMask(this._swClass,r,this.domNode.offsetWidth);}},createRoundMask:function(_115,r,w){if(!has("webkit")||!_115){return;}if(!this._createdMasks){this._createdMasks=[];}if(this._createdMasks[_115]){return;}this._createdMasks[_115]=1;var ctx=win.doc.getCSSCanvasContext("2d",_115+"Mask",w,100);ctx.fillStyle="#000000";ctx.beginPath();ctx.moveTo(r,0);ctx.arcTo(0,0,0,2*r,r);ctx.arcTo(0,2*r,r,2*r,r);ctx.lineTo(w-r,2*r);ctx.arcTo(w,2*r,w,r,r);ctx.arcTo(w,0,w-r,0,r);ctx.closePath();ctx.fill();},onClick:function(e){if(this._moved){return;}this.value=this.input.value=(this.value=="on")?"off":"on";this._changeState(this.value,true);this.onStateChanged(this.value);},onTouchStart:function(e){this._moved=false;this.innerStartX=this.inner.offsetLeft;if(!this._conn){this._conn=[];this._conn.push(_10c.connect(this.inner,has("touch")?"touchmove":"onmousemove",this,"onTouchMove"));this._conn.push(_10c.connect(this.inner,has("touch")?"touchend":"onmouseup",this,"onTouchEnd"));}this.touchStartX=e.touches?e.touches[0].pageX:e.clientX;this.left.style.display="";this.right.style.display="";_10e.stop(e);},onTouchMove:function(e){e.preventDefault();var dx;if(e.targetTouches){if(e.targetTouches.length!=1){return false;}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){_10b.forEach(this._conn,_10c.disconnect);this._conn=null;if(this.innerStartX==this.inner.offsetLeft){if(has("touch")){var ev=win.doc.createEvent("MouseEvents");ev.initEvent("click",true,true);this.inner.dispatchEvent(ev);}return;}var _116=(this.inner.offsetLeft<-(this._width/2))?"off":"on";this._changeState(_116,true);if(_116!=this.value){this.value=this.input.value=_116;this.onStateChanged(_116);}},onStateChanged:function(_117){},_setValueAttr:function(_118){this._changeState(_118,false);if(this.value!=_118){this.onStateChanged(_118);}this.value=this.input.value=_118;},_setLeftLabelAttr:function(_119){this.leftLabel=_119;this.left.firstChild.innerHTML=this._cv?this._cv(_119):_119;},_setRightLabelAttr:function(_11a){this.rightLabel=_11a;this.right.firstChild.innerHTML=this._cv?this._cv(_11a):_11a;},reset:function(){this.set("value",this._initialValue);}});});},"dojox/mobile/ListItem":function(){define("dojox/mobile/ListItem",["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/dom-class","dojo/dom-construct","dojo/has","./common","./_ItemBase","./TransitionEvent"],function(_11b,_11c,_11d,lang,_11e,_11f,has,_120,_121,_122){return _11d("dojox.mobile.ListItem",_121,{rightText:"",rightIcon:"",rightIcon2:"",anchorLabel:false,noArrow:false,selected:false,checked:false,arrowClass:"mblDomButtonArrow",checkClass:"mblDomButtonCheck",variableHeight:false,rightIconTitle:"",rightIcon2Title:"",btnClass:"",btnClass2:"",tag:"li",postMixInProperties:function(){if(this.btnClass){this.rightIcon=this.btnClass;}this._setBtnClassAttr=this._setRightIconAttr;this._setBtnClass2Attr=this._setRightIcon2Attr;},buildRendering:function(){this.domNode=this.srcNodeRef||_11f.create(this.tag);this.inherited(arguments);this.domNode.className="mblListItem"+(this.selected?" mblItemSelected":"");var box=this.box=_11f.create("DIV");box.className="mblListItemTextBox";if(this.anchorLabel){box.style.cursor="pointer";}var r=this.srcNodeRef;if(r&&!this.label){this.label="";for(var i=0,len=r.childNodes.length;i<len;i++){var n=r.firstChild;if(n.nodeType===3&&lang.trim(n.nodeValue)!==""){n.nodeValue=this._cv?this._cv(n.nodeValue):n.nodeValue;this.labelNode=_11f.create("SPAN",{className:"mblListItemLabel"});this.labelNode.appendChild(n);n=this.labelNode;}box.appendChild(n);}}if(!this.labelNode){this.labelNode=_11f.create("SPAN",{className:"mblListItemLabel"},box);}if(this.anchorLabel){box.style.display="inline";}var a=this.anchorNode=_11f.create("A");a.className="mblListItemAnchor";this.domNode.appendChild(a);a.appendChild(box);},startup:function(){if(this._started){return;}this.inheritParams();var _123=this.getParent();if(this.moveTo||this.href||this.url||this.clickable||(_123&&_123.select)){this._onClickHandle=this.connect(this.anchorNode,"onclick","onClick");}this.setArrow();if(_11e.contains(this.domNode,"mblVariableHeight")){this.variableHeight=true;}if(this.variableHeight){_11e.add(this.domNode,"mblVariableHeight");setTimeout(lang.hitch(this,"layoutVariableHeight"));}this.set("icon",this.icon);if(!this.checked&&this.checkClass.indexOf(",")!==-1){this.set("checked",this.checked);}this.inherited(arguments);},resize:function(){if(this.variableHeight){this.layoutVariableHeight();}},onClick:function(e){var a=e.currentTarget;var li=a.parentNode;if(_11e.contains(li,"mblItemSelected")){return;}if(this.anchorLabel){for(var p=e.target;p.tagName!==this.tag.toUpperCase();p=p.parentNode){if(p.className=="mblListItemTextBox"){_11e.add(p,"mblListItemTextBoxSelected");setTimeout(function(){_11e.remove(p,"mblListItemTextBoxSelected");},has("android")?300:1000);this.onAnchorLabelClicked(e);return;}}}var _124=this.getParent();if(_124.select){if(_124.select==="single"){if(!this.checked){this.set("checked",true);}}else{if(_124.select==="multiple"){this.set("checked",!this.checked);}}}this.select();if(this.href&&this.hrefTarget){_120.openWindow(this.href,this.hrefTarget);return;}var _125;if(this.moveTo||this.href||this.url||this.scene){_125={moveTo:this.moveTo,href:this.href,url:this.url,scene:this.scene,transition:this.transition,transitionDir:this.transitionDir};}else{if(this.transitionOptions){_125=this.transitionOptions;}}if(_125){this.setTransitionPos(e);return new _122(this.domNode,_125,e).dispatch();}},select:function(){var _126=this.getParent();if(_126.stateful){_126.deselectAll();}else{var _127=this;setTimeout(function(){_127.deselect();},has("android")?300:1000);}_11e.add(this.domNode,"mblItemSelected");},deselect:function(){_11e.remove(this.domNode,"mblItemSelected");},onAnchorLabelClicked:function(e){},layoutVariableHeight:function(){var h=this.anchorNode.offsetHeight;if(h===this.anchorNodeHeight){return;}this.anchorNodeHeight=h;_11b.forEach([this.rightTextNode,this.rightIcon2Node,this.rightIconNode,this.iconNode],function(n){if(n){var t=Math.round((h-n.offsetHeight)/2);n.style.marginTop=t+"px";}});},setArrow:function(){if(this.checked){return;}var c="";var _128=this.getParent();if(this.moveTo||this.href||this.url||this.clickable){if(!this.noArrow&&!(_128&&_128.stateful)){c=this.arrowClass;}}if(c){this._setRightIconAttr(c);}},_setIconAttr:function(icon){if(!this.getParent()){return;}this.icon=icon;var a=this.anchorNode;if(!this.iconNode){if(icon){var ref=this.rightIconNode||this.rightIcon2Node||this.rightTextNode||this.box;this.iconNode=_11f.create("DIV",{className:"mblListItemIcon"},ref,"before");}}else{_11f.empty(this.iconNode);}if(icon&&icon!=="none"){_120.createIcon(icon,this.iconPos,null,this.alt,this.iconNode);if(this.iconPos){_11e.add(this.iconNode.firstChild,"mblListItemSpriteIcon");}_11e.remove(a,"mblListItemAnchorNoIcon");}else{_11e.add(a,"mblListItemAnchorNoIcon");}},_setCheckedAttr:function(_129){var _12a=this.getParent();if(_12a&&_12a.select==="single"&&_129){_11b.forEach(_12a.getChildren(),function(_12b){_12b.set("checked",false);});}this._setRightIconAttr(this.checkClass);var _12c=this.rightIconNode.childNodes;if(_12c.length===1){this.rightIconNode.style.display=_129?"":"none";}else{_12c[0].style.display=_129?"":"none";_12c[1].style.display=!_129?"":"none";}_11e.toggle(this.domNode,"mblListItemChecked",_129);if(_12a&&this.checked!==_129){_12a.onCheckStateChanged(this,_129);}this.checked=_129;},_setRightTextAttr:function(text){if(!this.rightTextNode){this.rightTextNode=_11f.create("DIV",{className:"mblListItemRightText"},this.box,"before");}this.rightText=text;this.rightTextNode.innerHTML=this._cv?this._cv(text):text;},_setRightIconAttr:function(icon){if(!this.rightIconNode){var ref=this.rightIcon2Node||this.rightTextNode||this.box;this.rightIconNode=_11f.create("DIV",{className:"mblListItemRightIcon"},ref,"before");}else{_11f.empty(this.rightIconNode);}this.rightIcon=icon;var arr=(icon||"").split(/,/);if(arr.length===1){_120.createIcon(icon,null,null,this.rightIconTitle,this.rightIconNode);}else{_120.createIcon(arr[0],null,null,this.rightIconTitle,this.rightIconNode);_120.createIcon(arr[1],null,null,this.rightIconTitle,this.rightIconNode);}},_setRightIcon2Attr:function(icon){if(!this.rightIcon2Node){var ref=this.rightTextNode||this.box;this.rightIcon2Node=_11f.create("DIV",{className:"mblListItemRightIcon2"},ref,"before");}else{_11f.empty(this.rightIcon2Node);}this.rightIcon2=icon;_120.createIcon(icon,null,null,this.rightIcon2Title,this.rightIcon2Node);},_setLabelAttr:function(text){this.label=text;this.labelNode.innerHTML=this._cv?this._cv(text):text;}});});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window","."],function(_12d,has,_12e,win,_12f){var _130={},hash={};var _131={length:0,add:function(_132){if(hash[_132.id]){throw new Error("Tried to register widget with id=="+_132.id+" but that id is already registered");}hash[_132.id]=_132;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(_133){var id;do{id=_133+"_"+(_133 in _130?++_130[_133]:_130[_133]=0);}while(hash[id]);return _12f._scopeName=="dijit"?id:_12f._scopeName+"_"+id;},findWidgets:function(root){var _134=[];function _135(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _136=node.getAttribute("widgetId");if(_136){var _137=hash[_136];if(_137){_134.push(_137);}}else{_135(node);}}}};_135(root);return _134;},_destroyAll:function(){_12f._curFocus=null;_12f._prevFocus=null;_12f._activeStack=[];_12d.forEach(_131.findWidgets(win.body()),function(_138){if(!_138._destroyed){if(_138.destroyRecursive){_138.destroyRecursive();}else{if(_138.destroy){_138.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};if(has("ie")){_12e.addOnWindowUnload(function(){_131._destroyAll();});}_12f.registry=_131;return _131;});},"dojox/mobile/common":function(){define(["dojo/_base/kernel","dojo/_base/array","dojo/_base/config","dojo/_base/connect","dojo/_base/lang","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/ready","dijit/registry","./sniff","./uacss"],function(dojo,_139,_13a,_13b,lang,win,_13c,_13d,_13e,_13f,_140,has,_141){var dm=lang.getObject("dojox.mobile",true);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();_13c.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(_142){var dim=dm.getScreenSize();var sz=Math.min(dim.w,dim.h);var from,to;if(sz>=dm.tabletSize&&(_142||(!this._sz||this._sz<dm.tabletSize))){from="phone";to="tablet";}else{if(sz<dm.tabletSize&&(_142||(!this._sz||this._sz>=dm.tabletSize))){from="tablet";to="phone";}}if(to){_13c.replace(win.doc.documentElement,"dj_"+to,"dj_"+from);_13b.publish("/dojox/mobile/screenSize/"+to,[dim]);}this._sz=sz;};dm.detectScreenSize();dm.setupIcon=function(_143,_144){if(_143&&_144){var arr=_139.map(_144.split(/[ ,]/),function(item){return item-0;});var t=arr[0];var r=arr[1]+arr[2];var b=arr[0]+arr[3];var l=arr[1];_13e.set(_143,{clip:"rect("+t+"px "+r+"px "+b+"px "+l+"px)",top:(_143.parentNode?_13e.get(_143,"top"):0)-t+"px",left:-l+"px"});}};dm.hideAddressBarWait=typeof (_13a["mblHideAddressBarWait"])==="number"?_13a["mblHideAddressBarWait"]:1500;dm.hide_1=function(_145){scrollTo(0,1);var h=dm.getScreenSize().h+"px";if(has("android")){if(_145){win.body().style.minHeight=h;}dm.resizeAll();}else{if(_145||dm._h===h&&h!==win.body().style.minHeight){win.body().style.minHeight=h;dm.resizeAll();}}dm._h=h;};dm.hide_fs=function(){var t=win.body().style.minHeight;win.body().style.minHeight=(dm.getScreenSize().h*2)+"px";scrollTo(0,1);setTimeout(function(){dm.hide_1(1);dm._hiding=false;},1000);};dm.hideAddressBar=function(evt){if(dm.disableHideAddressBar||dm._hiding){return;}dm._hiding=true;dm._h=0;win.body().style.minHeight=(dm.getScreenSize().h*2)+"px";setTimeout(dm.hide_1,0);setTimeout(dm.hide_1,200);setTimeout(dm.hide_1,800);setTimeout(dm.hide_fs,dm.hideAddressBarWait);};dm.resizeAll=function(evt,root){if(dm.disableResizeAll){return;}_13b.publish("/dojox/mobile/resizeAll",[evt,root]);dm.updateOrient();dm.detectScreenSize();var _146=function(w){var _147=w.getParent&&w.getParent();return !!((!_147||!_147.resize)&&w.resize);};var _148=function(w){_139.forEach(w.getChildren(),function(_149){if(_146(_149)){_149.resize();}_148(_149);});};if(root){if(root.resize){root.resize();}_148(root);}else{_139.forEach(_139.filter(_140.toArray(),_146),function(w){w.resize();});}};dm.openWindow=function(url,_14a){win.global.open(url,_14a||"_blank");};dm.createDomButton=function(_14b,_14c,_14d){if(!dm._domButtons){if(has("webkit")){var _14e=function(_14f,dic){var i,j;if(!_14f){var dic={};var ss=dojo.doc.styleSheets;for(i=0;i<ss.length;i++){ss[i]&&_14e(ss[i],dic);}return dic;}var _150=_14f.cssRules||[];for(i=0;i<_150.length;i++){var rule=_150[i];if(rule.href&&rule.styleSheet){_14e(rule.styleSheet,dic);}else{if(rule.selectorText){var sels=rule.selectorText.split(/,/);for(j=0;j<sels.length;j++){var sel=sels[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;}}}}}}};dm._domButtons=_14e();}else{dm._domButtons={};}}var s=_14b.className;var node=_14d||_14b;if(s.match(/(mblDomButton\w+)/)&&s.indexOf("/")===-1){var _151=RegExp.$1;var nDiv=4;if(s.match(/(mblDomButton\w+_(\d+))/)){nDiv=RegExp.$2-0;}else{if(dm._domButtons[_151]!==undefined){nDiv=dm._domButtons[_151];}}var _152=null;if(has("bb")&&_13a["mblBBBoxShadowWorkaround"]!==false){_152={style:"-webkit-box-shadow:none"};}for(var i=0,p=node;i<nDiv;i++){p=p.firstChild||_13d.create("DIV",_152,p);}if(_14d){setTimeout(function(){_13c.remove(_14b,_151);},0);_13c.add(_14d,_151);}}else{if(s.indexOf(".")!==-1){_13d.create("IMG",{src:s},node);}else{return null;}}_13c.add(node,"mblDomButton");if(_13a["mblAndroidWorkaround"]!==false&&has("android")>=2.2){_13e.set(node,"webkitTransform","translate3d(0,0,0)");}!!_14c&&_13e.set(node,_14c);return node;};dm.createIcon=function(icon,_153,node,_154,_155){if(icon&&icon.indexOf("mblDomButton")===0){if(node&&node.className.match(/(mblDomButton\w+)/)){_13c.remove(node,RegExp.$1);}else{node=_13d.create("DIV");}node.title=_154;_13c.add(node,icon);dm.createDomButton(node);}else{if(icon&&icon!=="none"){if(!node||node.nodeName!=="IMG"){node=_13d.create("IMG",{alt:_154});}node.src=(icon||"").replace("${theme}",dm.currentTheme);dm.setupIcon(node,_153);if(_155&&_153){var arr=_153.split(/[ ,]/);_13e.set(_155,{width:arr[2]+"px",height:arr[3]+"px"});}}}if(_155){_155.appendChild(node);}return node;};dm._iw=_13a["mblIosWorkaround"]!==false&&has("iphone");if(dm._iw){dm._iwBgCover=_13d.create("div");}if(_13a.parseOnLoad){_13f(90,function(){var _156=win.body().getElementsByTagName("*");var i,len,s;len=_156.length;for(i=0;i<len;i++){s=_156[i].getAttribute("dojoType");if(s){if(_156[i].parentNode.getAttribute("lazy")=="true"){_156[i].setAttribute("__dojoType",s);_156[i].removeAttribute("dojoType");}}}});}_13f(function(){dm.detectScreenSize(true);if(_13a["mblApplyPageStyles"]!==false){_13c.add(win.doc.documentElement,"mobile");}if(has("chrome")){_13c.add(win.doc.documentElement,"dj_chrome");}if(_13a["mblAndroidWorkaround"]!==false&&has("android")>=2.2){if(_13a["mblAndroidWorkaroundButtonStyle"]!==false){_13d.create("style",{innerHTML:"BUTTON,INPUT[type='button'],INPUT[type='submit'],INPUT[type='reset'],INPUT[type='file']::-webkit-file-upload-button{-webkit-appearance:none;}"},win.doc.head,"first");}if(has("android")<3){_13e.set(win.doc.documentElement,"webkitTransform","translate3d(0,0,0)");_13b.connect(null,"onfocus",null,function(e){_13e.set(win.doc.documentElement,"webkitTransform","");});_13b.connect(null,"onblur",null,function(e){_13e.set(win.doc.documentElement,"webkitTransform","translate3d(0,0,0)");});}else{if(_13a["mblAndroid3Workaround"]!==false){_13e.set(win.doc.documentElement,{webkitBackfaceVisibility:"hidden",webkitPerspective:8000});}}}var f=dm.resizeAll;if(_13a["mblHideAddressBar"]!==false&&navigator.appVersion.indexOf("Mobile")!=-1||_13a["mblForceHideAddressBar"]===true){dm.hideAddressBar();if(_13a["mblAlwaysHideAddressBar"]===true){f=dm.hideAddressBar;}}_13b.connect(null,(win.global.onorientationchange!==undefined&&!has("android"))?"onorientationchange":"onresize",null,f);var _157=win.body().getElementsByTagName("*");var i,len=_157.length,s;for(i=0;i<len;i++){s=_157[i].getAttribute("__dojoType");if(s){_157[i].setAttribute("dojoType",s);_157[i].removeAttribute("__dojoType");}}if(dojo.hash){var _158=function(root){if(!root){return [];}var arr=_140.findWidgets(root);var _159=arr;for(var i=0;i<_159.length;i++){arr=arr.concat(_158(_159[i].containerNode));}return arr;};_13b.subscribe("/dojo/hashchange",null,function(_15a){var view=dm.currentView;if(!view){return;}var _15b=dm._params;if(!_15b){var _15c=_15a?_15a:dm._defaultView.id;var _15d=_158(view.domNode);var dir=1,_15e="slide";for(i=0;i<_15d.length;i++){var w=_15d[i];if("#"+_15c==w.moveTo){_15e=w.transition;dir=(w instanceof dm.Heading)?-1:1;break;}}_15b=[_15c,dir,_15e];}view.performTransition.apply(view,_15b);dm._params=null;});}win.body().style.visibility="visible";});_140.getEnclosingWidget=function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return _140.byId(id);}node=node._parentNode||node.parentNode;}return null;};return dm;});},"dojox/mobile/uacss":function(){define("dojox/mobile/uacss",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/window","dojox/mobile/sniff"],function(dojo,lang,win,has){win.doc.documentElement.className+=lang.trim([has("bb")?"dj_bb":"",has("android")?"dj_android":"",has("iphone")?"dj_iphone":"",has("ipod")?"dj_ipod":"",has("ipad")?"dj_ipad":""].join(" ").replace(/ +/g," "));return dojo;});},"dojox/mobile/RoundRectCategory":function(){define(["dojo/_base/declare","dojo/_base/window","dijit/_Contained","dijit/_WidgetBase"],function(_15f,win,_160,_161){return _15f("dojox.mobile.RoundRectCategory",[_161,_160],{label:"",buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement("H2");this.domNode.className="mblRoundRectCategory";if(!this.label){this.label=this.domNode.innerHTML;}},_setLabelAttr:function(_162){this.label=_162;this.domNode.innerHTML=this._cv?this._cv(_162):_162;}});});},"dojox/mobile/ProgressIndicator":function(){define(["dojo/_base/config","dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/has"],function(_163,_164,_165,_166,has){var cls=_164("dojox.mobile.ProgressIndicator",null,{interval:100,colors:["#C0C0C0","#C0C0C0","#C0C0C0","#C0C0C0","#C0C0C0","#C0C0C0","#B8B9B8","#AEAFAE","#A4A5A4","#9A9A9A","#8E8E8E","#838383"],constructor:function(){this._bars=[];this.domNode=_165.create("DIV");this.domNode.className="mblProgContainer";if(_163["mblAndroidWorkaround"]!==false&&has("android")>=2.2&&has("android")<3){_166.set(this.domNode,"webkitTransform","translate3d(0,0,0)");}this.spinnerNode=_165.create("DIV",null,this.domNode);for(var i=0;i<this.colors.length;i++){var div=_165.create("DIV",{className:"mblProg mblProg"+i},this.spinnerNode);this._bars.push(div);}},start:function(){if(this.imageNode){var img=this.imageNode;var l=Math.round((this.domNode.offsetWidth-img.offsetWidth)/2);var t=Math.round((this.domNode.offsetHeight-img.offsetHeight)/2);img.style.margin=t+"px "+l+"px";return;}var cntr=0;var _167=this;var n=this.colors.length;this.timer=setInterval(function(){cntr--;cntr=cntr<0?n-1:cntr;var c=_167.colors;for(var i=0;i<n;i++){var idx=(cntr+i)%n;_167._bars[i].style.backgroundColor=c[idx];}},this.interval);},stop:function(){if(this.timer){clearInterval(this.timer);}this.timer=null;if(this.domNode.parentNode){this.domNode.parentNode.removeChild(this.domNode);}},setImage:function(file){if(file){this.imageNode=_165.create("IMG",{src:file},this.domNode);this.spinnerNode.style.display="none";}else{if(this.imageNode){this.domNode.removeChild(this.imageNode);this.imageNode=null;}this.spinnerNode.style.display="";}}});cls._instance=null;cls.getInstance=function(){if(!cls._instance){cls._instance=new cls();}return cls._instance;};return cls;});},"dojox/mobile/EdgeToEdgeList":function(){define(["dojo/_base/declare","./RoundRectList"],function(_168,_169){return _168("dojox.mobile.EdgeToEdgeList",_169,{buildRendering:function(){this.inherited(arguments);this.domNode.className="mblEdgeToEdgeList";}});});},"dojox/mobile/EdgeToEdgeCategory":function(){define(["dojo/_base/declare","./RoundRectCategory"],function(_16a,_16b){return _16a("dojox.mobile.EdgeToEdgeCategory",_16b,{buildRendering:function(){this.inherited(arguments);this.domNode.className="mblEdgeToEdgeCategory";}});});},"dojox/mobile/ToolBarButton":function(){define(["dojo/_base/declare","dojo/_base/window","dojo/dom-class","dojo/dom-construct","dojo/dom-style","./common","./_ItemBase"],function(_16c,win,_16d,_16e,_16f,_170,_171){return _16c("dojox.mobile.ToolBarButton",_171,{selected:false,btnClass:"",_defaultColor:"mblColorDefault",_selColor:"mblColorDefaultSel",buildRendering:function(){this.domNode=this.containerNode=this.srcNodeRef||win.doc.createElement("div");this.inheritParams();_16d.add(this.domNode,"mblToolBarButton mblArrowButtonText");var _172;if(this.selected){_172=this._selColor;}else{if(this.domNode.className.indexOf("mblColor")==-1){_172=this._defaultColor;}}_16d.add(this.domNode,_172);if(!this.label){this.label=this.domNode.innerHTML;}if(this.icon&&this.icon!="none"){this.iconNode=_16e.create("div",{className:"mblToolBarButtonIcon"},this.domNode);_170.createIcon(this.icon,this.iconPos,null,this.alt,this.iconNode);if(this.iconPos){_16d.add(this.iconNode.firstChild,"mblToolBarButtonSpriteIcon");}}else{if(_170.createDomButton(this.domNode)){_16d.add(this.domNode,"mblToolBarButtonDomButton");}else{_16d.add(this.domNode,"mblToolBarButtonText");}}this.connect(this.domNode,"onclick","onClick");},select:function(){_16d.toggle(this.domNode,this._selColor,!arguments[0]);this.selected=!arguments[0];},deselect:function(){this.select(true);},onClick:function(e){this.setTransitionPos(e);this.defaultClickAction();},_setBtnClassAttr:function(_173){var node=this.domNode;if(node.className.match(/(mblDomButton\w+)/)){_16d.remove(node,RegExp.$1);}_16d.add(node,_173);if(_170.createDomButton(this.domNode)){_16d.add(this.domNode,"mblToolBarButtonDomButton");}},_setLabelAttr:function(text){this.label=text;this.domNode.innerHTML=this._cv?this._cv(text):text;}});});},"dojox/mobile/_ItemBase":function(){define("dojox/mobile/_ItemBase",["dojo/_base/kernel","dojo/_base/config","dojo/_base/declare","dijit/registry","dijit/_Contained","dijit/_Container","dijit/_WidgetBase","./TransitionEvent","./View"],function(_174,_175,_176,_177,_178,_179,_17a,_17b,View){return _176("dojox.mobile._ItemBase",[_17a,_179,_178],{icon:"",iconPos:"",alt:"",href:"",hrefTarget:"",moveTo:"",scene:"",clickable:false,url:"",urlTarget:"",transition:"",transitionDir:1,transitionOptions:null,callback:null,sync:true,label:"",toggle:false,_duration:800,inheritParams:function(){var _17c=this.getParent();if(_17c){if(!this.transition){this.transition=_17c.transition;}if(this.icon&&_17c.iconBase&&_17c.iconBase.charAt(_17c.iconBase.length-1)==="/"){this.icon=_17c.iconBase+this.icon;}if(!this.icon){this.icon=_17c.iconBase;}if(!this.iconPos){this.iconPos=_17c.iconPos;}}},select:function(){},deselect:function(){},defaultClickAction:function(e){if(this.toggle){if(this.selected){this.deselect();}else{this.select();}}else{if(!this.selected){this.select();if(!this.selectOne){var _17d=this;setTimeout(function(){_17d.deselect();},this._duration);}var _17e;if(this.moveTo||this.href||this.url||this.scene){_17e={moveTo:this.moveTo,href:this.href,url:this.url,scene:this.scene,transition:this.transition,transitionDir:this.transitionDir};}else{if(this.transitionOptions){_17e=this.transitionOptions;}}if(_17e){return new _17b(this.domNode,_17e,e).dispatch();}}}},getParent:function(){var ref=this.srcNodeRef||this.domNode;return ref&&ref.parentNode?_177.getEnclosingWidget(ref.parentNode):null;},setTransitionPos:function(e){var w=this;while(true){w=w.getParent();if(!w||w instanceof View){break;}}if(w){w.clickedPosX=e.clientX;w.clickedPosY=e.clientY;}},transitionTo:function(_17f,href,url,_180){if(_175.isDebug){var _181=arguments.callee._ach||(arguments.callee._ach={}),_182=(arguments.callee.caller||"unknown caller").toString();if(!_181[_182]){_174.deprecated(this.declaredClass+"::transitionTo() is deprecated."+_182,"","2.0");_181[_182]=true;}}new _17b(this.domNode,{moveTo:_17f,href:href,url:url,scene:_180,transition:this.transition,transitionDir:this.transitionDir}).dispatch();}});});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_183,_184){return _183("dijit._Contained",null,{_getSibling:function(_185){var node=this.domNode;do{node=node[_185+"Sibling"];}while(node&&node.nodeType!=1);return node&&_184.byNode(node);},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/_base":function(){define(["./common","./View","./Heading","./RoundRect","./RoundRectCategory","./EdgeToEdgeCategory","./RoundRectList","./EdgeToEdgeList","./ListItem","./Switch","./ToolBarButton","./ProgressIndicator"],function(_186,View,_187,_188,_189,_18a,_18b,_18c,_18d,_18e,_18f,_190){return _186;});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","./registry"],function(_191,_192,_193,_194){return _192("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_195,_196){var _197=this.containerNode;if(_196&&typeof _196=="number"){var _198=this.getChildren();if(_198&&_198.length>=_196){_197=_198[_196-1].domNode;_196="after";}}_193.place(_195.domNode,_197,_196);if(this._started&&!_195._started){_195.startup();}},removeChild:function(_199){if(typeof _199=="number"){_199=this.getChildren()[_199];}if(_199){var node=_199.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_19a,dir){var node=_19a.domNode,_19b=(dir>0?"nextSibling":"previousSibling");do{node=node[_19b];}while(node&&(node.nodeType!=1||!_194.byNode(node)));return node&&_194.byNode(node);},getIndexOfChild:function(_19c){return _191.indexOf(this.getChildren(),_19c);}});});}}});require(["dojo/i18n"],function(i18n){i18n._preloadLocalizations("dojox/nls/mobile",[]);});define("dojox/mobile",[".","dojo/_base/lang","dojox/mobile/_base"],function(_19d,lang,base){lang.getObject("mobile",true,_19d);return _19d.mobile;});