//>>built
require({cache:{"dojox/main":function(){define(["dojo/_base/kernel"],function(m){return m.dojox})},"dojox/mobile/_base":function(){define("./common ./View ./Heading ./RoundRect ./RoundRectCategory ./EdgeToEdgeCategory ./RoundRectList ./EdgeToEdgeList ./ListItem ./Container ./Pane ./Switch ./ToolBarButton ./ProgressIndicator".split(" "),function(m,p,n,f,e,k,d,g,u,r,t,h){return m})},"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".split(" "),
function(m,p,n,f,e,k,d,g,u,r,t,h,q,l){var c=f.getObject("dojox.mobile",!0);e.doc.dojoClick=!0;l("touch")&&(l.add("clicks-prevented",!(4.1<=l("android")||10===l("ie")||!l("ie")&&6<l("trident"))),l("clicks-prevented")&&(c._sendClick=function(c,a){for(var b=c;b;b=b.parentNode)if(b.dojoClick)return;b=e.doc.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,e.global,1,a.screenX,a.screenY,a.clientX,a.clientY);c.dispatchEvent(b)}));c.getScreenSize=function(){return{h:e.global.innerHeight||e.doc.documentElement.clientHeight,
w:e.global.innerWidth||e.doc.documentElement.clientWidth}};c.updateOrient=function(){var a=c.getScreenSize();g.replace(e.doc.documentElement,a.h>a.w?"dj_portrait":"dj_landscape",a.h>a.w?"dj_landscape":"dj_portrait")};c.updateOrient();c.tabletSize=500;c.detectScreenSize=function(a){var b=c.getScreenSize(),d=Math.min(b.w,b.h),f,v;d>=c.tabletSize&&(a||!this._sz||this._sz<c.tabletSize)?(f="phone",v="tablet"):d<c.tabletSize&&(a||!this._sz||this._sz>=c.tabletSize)&&(f="tablet",v="phone");v&&(g.replace(e.doc.documentElement,
"dj_"+v,"dj_"+f),n.publish("/dojox/mobile/screenSize/"+v,[b]));this._sz=d};c.detectScreenSize();c.hideAddressBarWait="number"===typeof p.mblHideAddressBarWait?p.mblHideAddressBarWait:1500;c.hide_1=function(){scrollTo(0,1);c._hidingTimer=0==c._hidingTimer?200:2*c._hidingTimer;setTimeout(function(){c.isAddressBarHidden()||c._hidingTimer>c.hideAddressBarWait?(c.resizeAll(),c._hiding=!1):setTimeout(c.hide_1,c._hidingTimer)},50)};c.hideAddressBar=function(a){c.disableHideAddressBar||c._hiding||(c._hiding=
!0,c._hidingTimer=l("ios")?200:0,a=screen.availHeight,l("android")&&(a=outerHeight/devicePixelRatio,0==a&&(c._hiding=!1,setTimeout(function(){c.hideAddressBar()},200)),a<=innerHeight&&(a=outerHeight),3>l("android")&&(e.doc.documentElement.style.overflow=e.body().style.overflow="visible")),e.body().offsetHeight<a&&(e.body().style.minHeight=a+"px",c._resetMinHeight=!0),setTimeout(c.hide_1,c._hidingTimer))};c.isAddressBarHidden=function(){return 1===pageYOffset};c.resizeAll=function(a,b){if(!c.disableResizeAll){n.publish("/dojox/mobile/resizeAll",
[a,b]);n.publish("/dojox/mobile/beforeResizeAll",[a,b]);c._resetMinHeight&&(e.body().style.minHeight=c.getScreenSize().h+"px");c.updateOrient();c.detectScreenSize();var d=function(a){var c=a.getParent&&a.getParent();return!(c&&c.resize||!a.resize)},g=function(a){m.forEach(a.getChildren(),function(a){d(a)&&a.resize();g(a)})};b?(b.resize&&b.resize(),g(b)):m.forEach(m.filter(q.toArray(),d),function(a){a.resize()});n.publish("/dojox/mobile/afterResizeAll",[a,b])}};c.openWindow=function(a,c){e.global.open(a,
c||"_blank")};c._detectWindowsTheme=function(){navigator.userAgent.match(/IEMobile\/10\.0/)&&u.create("style",{innerHTML:"@-ms-viewport {width: auto !important}"},e.doc.head);var a=function(){g.add(e.doc.documentElement,"windows_theme");k.experimental("Dojo Mobile Windows theme","Behavior and appearance of the Windows theme are experimental.")},c=l("windows-theme");if(void 0!==c)c&&a();else{for(var b,d=function(c){return c&&-1!==c.indexOf("/windows/")?(l.add("windows-theme",!0),a(),!0):!1},f=e.doc.styleSheets,
c=0;c<f.length;c++)if(!f[c].href){var h=f[c].cssRules||f[c].imports;if(h)for(b=0;b<h.length;b++)if(d(h[b].href))return}b=e.doc.getElementsByTagName("link");for(c=0;c<b.length&&!d(b[c].href);c++);}};!1!==p.mblApplyPageStyles&&g.add(e.doc.documentElement,"mobile");l("chrome")&&g.add(e.doc.documentElement,"dj_chrome");if(e.global._no_dojo_dm){f=e.global._no_dojo_dm;for(var b in f)c[b]=f[b];c.deviceTheme.setDm(c)}l.add("mblAndroidWorkaround",!1!==p.mblAndroidWorkaround&&3>l("android"),void 0,!0);l.add("mblAndroid3Workaround",
!1!==p.mblAndroid3Workaround&&3<=l("android"),void 0,!0);c._detectWindowsTheme();c.setSelectable=function(a,c){var b,e;a=d.byId(a);if(9>=l("ie"))if(b=a.getElementsByTagName("*"),e=b.length,c)for(a.removeAttribute("unselectable");e--;)b[e].removeAttribute("unselectable");else for(a.setAttribute("unselectable","on");e--;)"INPUT"!==b[e].tagName&&b[e].setAttribute("unselectable","on");else g.toggle(a,"unselectable",!c)};var a=l("pointer-events")?"touchAction":l("MSPointer")?"msTouchAction":null;c._setTouchAction=
a?function(c,b){c.style[a]=b}:function(){};r(function(){!1!==p.mblApplyPageStyles&&g.add(e.body(),"mblBackground")});t(function(){c.detectScreenSize(!0);!1!==p.mblAndroidWorkaroundButtonStyle&&l("android")&&u.create("style",{innerHTML:"BUTTON,INPUT[type\x3d'button'],INPUT[type\x3d'submit'],INPUT[type\x3d'reset'],INPUT[type\x3d'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;}"},
e.doc.head,"first");l("mblAndroidWorkaround")&&u.create("style",{innerHTML:".mblView.mblAndroidWorkaround{position:absolute;top:-9999px !important;left:-9999px !important;}"},e.doc.head,"last");var a=c.resizeAll,b=-1!=navigator.appVersion.indexOf("Mobile")&&!(7<=l("ios"));if(!1!==p.mblHideAddressBar&&b||!0===p.mblForceHideAddressBar)c.hideAddressBar(),!0===p.mblAlwaysHideAddressBar&&(a=c.hideAddressBar);var d=6<=l("ios");if((l("android")||d)&&void 0!==e.global.onorientationchange){var f=a,g,k,h;d?
(k=e.doc.documentElement.clientWidth,h=e.doc.documentElement.clientHeight):(a=function(a){var c=n.connect(null,"onresize",null,function(a){n.disconnect(c);f(a)})},g=c.getScreenSize());n.connect(null,"onresize",null,function(a){if(d){var b=e.doc.documentElement.clientWidth,l=e.doc.documentElement.clientHeight;b==k&&l!=h&&f(a);k=b;h=l}else b=c.getScreenSize(),b.w==g.w&&100<=Math.abs(b.h-g.h)&&f(a),g=b})}n.connect(null,void 0!==e.global.onorientationchange?"onorientationchange":"onresize",null,a);e.body().style.visibility=
"visible"});return c})},"dojo/touch":function(){define("./_base/kernel ./aspect ./dom ./dom-class ./_base/lang ./on ./has ./mouse ./domReady ./_base/window".split(" "),function(m,p,n,f,e,k,d,g,u,r){function t(b,d,e){return c&&e?function(a,c){return k(a,e,c)}:a?function(a,c){var e=k(a,d,function(a){c.call(this,a);y=(new Date).getTime()}),g=k(a,b,function(a){(!y||(new Date).getTime()>y+1E3)&&c.call(this,a)});return{remove:function(){e.remove();g.remove()}}}:function(a,c){return k(a,b,c)}}function h(a){do if(void 0!==
a.dojoClick)return a;while(a=a.parentNode)}function q(a,c,b){if(!g.isRight(a)){var d=h(a.target);if(x=!a.target.disabled&&d&&d.dojoClick)if(A=(C="useTarget"==x)?d:a.target,C&&a.preventDefault(),z=a.changedTouches?a.changedTouches[0].pageX-r.global.pageXOffset:a.clientX,B=a.changedTouches?a.changedTouches[0].pageY-r.global.pageYOffset:a.clientY,E=("object"==typeof x?x.x:"number"==typeof x?x:0)||4,F=("object"==typeof x?x.y:"number"==typeof x?x:0)||4,!v){a=function(a){r.doc.addEventListener(a,function(c){var b=
c.target;x&&!c._dojo_click&&(new Date).getTime()<=w+1E3&&("INPUT"!=b.tagName||!f.contains(b,"dijitOffScreen"))&&(c.stopPropagation(),c.stopImmediatePropagation&&c.stopImmediatePropagation(),"click"==a&&("INPUT"!=b.tagName||"radio"==b.type&&(f.contains(b,"dijitCheckBoxInput")||f.contains(b,"mblRadioButton"))||"checkbox"==b.type&&(f.contains(b,"dijitCheckBoxInput")||f.contains(b,"mblCheckBox")))&&"TEXTAREA"!=b.tagName&&"AUDIO"!=b.tagName&&"VIDEO"!=b.tagName&&c.preventDefault())},!0)};var e=function(a){x=
C?n.isDescendant(r.doc.elementFromPoint(a.changedTouches?a.changedTouches[0].pageX-r.global.pageXOffset:a.clientX,a.changedTouches?a.changedTouches[0].pageY-r.global.pageYOffset:a.clientY),A):x&&(a.changedTouches?a.changedTouches[0].target:a.target)==A&&Math.abs((a.changedTouches?a.changedTouches[0].pageX-r.global.pageXOffset:a.clientX)-z)<=E&&Math.abs((a.changedTouches?a.changedTouches[0].pageY-r.global.pageYOffset:a.clientY)-B)<=F};v=!0;r.doc.addEventListener(c,function(a){g.isRight(a)||(e(a),C&&
a.preventDefault())},!0);r.doc.addEventListener(b,function(a){if(!g.isRight(a)&&(e(a),x)){var c=function(c){var b=document.createEvent("MouseEvents");b._dojo_click=!0;b.initMouseEvent(c,!0,!0,a.view,a.detail,d.screenX,d.screenY,d.clientX,d.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,null);return b};w=(new Date).getTime();var b=C?A:a.target;"LABEL"===b.tagName&&(b=n.byId(b.getAttribute("for"))||b);var d=a.changedTouches?a.changedTouches[0]:a,f=c("mousedown"),l=c("mouseup"),h=c("click");setTimeout(function(){k.emit(b,
"mousedown",f);k.emit(b,"mouseup",l);k.emit(b,"click",h);w=(new Date).getTime()},0)}},!0);a("click");a("mousedown");a("mouseup")}}}var l=5>d("ios"),c=d("pointer-events")||d("MSPointer"),b=function(){var a={},b;for(b in{down:1,move:1,up:1,cancel:1,over:1,out:1})a[b]=d("MSPointer")?"MSPointer"+b.charAt(0).toUpperCase()+b.slice(1):"pointer"+b;return a}(),a=d("touch-events"),v,x,C=!1,A,z,B,E,F,w,y,D;d("touch")&&(c?u(function(){r.doc.addEventListener(b.down,function(a){q(a,b.move,b.up)},!0)}):u(function(){function a(a){var b=
e.delegate(a,{bubbles:!0});6<=d("ios")&&(b.touches=a.touches,b.altKey=a.altKey,b.changedTouches=a.changedTouches,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.targetTouches=a.targetTouches);return b}D=r.body();r.doc.addEventListener("touchstart",function(a){y=(new Date).getTime();var b=D;D=a.target;k.emit(b,"dojotouchout",{relatedTarget:D,bubbles:!0});k.emit(D,"dojotouchover",{relatedTarget:b,bubbles:!0});q(a,"touchmove","touchend")},!0);k(r.doc,"touchmove",function(b){y=(new Date).getTime();
var c=r.doc.elementFromPoint(b.pageX-(l?0:r.global.pageXOffset),b.pageY-(l?0:r.global.pageYOffset));c&&(D!==c&&(k.emit(D,"dojotouchout",{relatedTarget:c,bubbles:!0}),k.emit(c,"dojotouchover",{relatedTarget:D,bubbles:!0}),D=c),k.emit(c,"dojotouchmove",a(b))||b.preventDefault())});k(r.doc,"touchend",function(b){y=(new Date).getTime();var c=r.doc.elementFromPoint(b.pageX-(l?0:r.global.pageXOffset),b.pageY-(l?0:r.global.pageYOffset))||r.body();k.emit(c,"dojotouchend",a(b))})}));p={press:t("mousedown",
"touchstart",b.down),move:t("mousemove","dojotouchmove",b.move),release:t("mouseup","dojotouchend",b.up),cancel:t(g.leave,"touchcancel",c?b.cancel:null),over:t("mouseover","dojotouchover",b.over),out:t("mouseout","dojotouchout",b.out),enter:g._eventHandler(t("mouseover","dojotouchover",b.over)),leave:g._eventHandler(t("mouseout","dojotouchout",b.out))};return m.touch=p})},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(m,p,n){var f={},e={},k={length:0,
add:function(d){if(e[d.id])throw Error("Tried to register widget with id\x3d\x3d"+d.id+" but that id is already registered");e[d.id]=d;this.length++},remove:function(d){e[d]&&(delete e[d],this.length--)},byId:function(d){return"string"==typeof d?e[d]:d},byNode:function(d){return e[d.getAttribute("widgetId")]},toArray:function(){var d=[],g;for(g in e)d.push(e[g]);return d},getUniqueId:function(d){var g;do g=d+"_"+(d in f?++f[d]:f[d]=0);while(e[g]);return"dijit"==n._scopeName?g:n._scopeName+"_"+g},
findWidgets:function(d,g){function f(d){for(d=d.firstChild;d;d=d.nextSibling)if(1==d.nodeType){var h=d.getAttribute("widgetId");h?(h=e[h])&&k.push(h):d!==g&&f(d)}}var k=[];f(d);return k},_destroyAll:function(){n._curFocus=null;n._prevFocus=null;n._activeStack=[];m.forEach(k.findWidgets(p.body()),function(d){d._destroyed||(d.destroyRecursive?d.destroyRecursive():d.destroy&&d.destroy())})},getEnclosingWidget:function(d){for(;d;){var f=1==d.nodeType&&d.getAttribute("widgetId");if(f)return e[f];d=d.parentNode}return null},
_hash:e};return n.registry=k})},"dijit/main":function(){define(["dojo/_base/kernel"],function(m){return m.dijit})},"dojox/mobile/sniff":function(){define(["dojo/_base/kernel","dojo/sniff"],function(m,p){m.deprecated("dojox/mobile/sniff","Use dojo/sniff instead","2.0");p.add("iphone",p("ios"));return p})},"dojox/mobile/uacss":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/window","./sniff"],function(m,p,n,f){n=n.doc.documentElement;n.className=p.trim(n.className+" "+[f("bb")?
"dj_bb":"",f("android")?"dj_android":"",f("ios")?"dj_ios":"",6<=f("ios")?"dj_ios6":"",f("ios")?"dj_iphone":"",f("ipod")?"dj_ipod":"",f("ipad")?"dj_ipad":"",f("ie")?"dj_ie":""].join(" ").replace(/ +/g," "));return m})},"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".split(" "),
function(m,p,n,f,e,k,d,g,u,r,t,h,q,l,c,b,a,v,x,C,A,z){e.getObject("dojox.mobile",!0);return f("dojox.mobile.View",[a,b,c],{selected:!1,keepScrollPos:!0,tag:"div",baseClass:"mblView",constructor:function(a,b){b&&(u.byId(b).style.visibility="hidden")},destroy:function(){A.remove(this.id);this.inherited(arguments)},buildRendering:function(){this.templateString||(this.domNode=this.containerNode=this.srcNodeRef||t.create(this.tag));this._animEndHandle=this.connect(this.domNode,z.name("animationEnd"),"onAnimationEnd");
this._animStartHandle=this.connect(this.domNode,z.name("animationStart"),"onAnimationStart");p.mblCSS3Transition||(this._transEndHandle=this.connect(this.domNode,z.name("transitionEnd"),"onAnimationEnd"));k("mblAndroid3Workaround")&&q.set(this.domNode,z.name("transformStyle"),"preserve-3d");A.add(this);this.inherited(arguments)},startup:function(){if(!this._started){if(void 0===this._visible){var a=this.getSiblingViews(),b=location.hash&&location.hash.substring(1).split(/,/),c,d,e;m.forEach(a,function(a,
f){-1!==m.indexOf(b,a.id)&&(c=a);0==f&&(e=a);a.selected&&(d=a);a._visible=!1},this);(c||d||e)._visible=!0}this._visible&&(this.show(!0,!0),this.defer(function(){this.onStartView();n.publish("/dojox/mobile/startView",[this])}));"hidden"===this.domNode.style.visibility&&(this.domNode.style.visibility="inherit");this.inherited(arguments);(a=this.getParent())&&a.resize||this.resize();this._visible||this.hide()}},resize:function(){m.forEach(this.getChildren(),function(a){a.resize&&a.resize()})},onStartView:function(){},
onBeforeTransitionIn:function(a,b,c,d,e){},onAfterTransitionIn:function(a,b,c,d,e){},onBeforeTransitionOut:function(a,b,c,d,e){},onAfterTransitionOut:function(a,b,c,d,e){},_clearClasses:function(a){if(a){var b=[];m.forEach(e.trim(a.className||"").split(/\s+/),function(a){(a.match(/^mbl\w*View$/)||-1===a.indexOf("mbl"))&&b.push(a)},this);a.className=b.join(" ")}},_fixViewState:function(a){for(var b=this.domNode.parentNode.childNodes,c=0;c<b.length;c++){var d=b[c];1===d.nodeType&&r.contains(d,"mblView")&&
this._clearClasses(d)}this._clearClasses(a);if(a=l.byNode(a))a._inProgress=!1},convertToId:function(a){return"string"==typeof a?a.replace(/^#?([^&?]+).*/,"$1"):a},_isBookmarkable:function(a){return a.moveTo&&(p.mblForceBookmarkable||"#"===a.moveTo.charAt(0))&&!a.hashchange},performTransition:function(a,b,c,f,g){if(!this._inProgress){this._inProgress=!0;var h,w;if(a&&"object"===typeof a)h=a,w=b;else{h={moveTo:a,transitionDir:b,transition:c,context:f,method:g};w=[];for(var t=5;t<arguments.length;t++)w.push(arguments[t])}this._detail=
h;this._optArgs=w;this._arguments=[h.moveTo,h.transitionDir,h.transition,h.context,h.method];if("#"!==h.moveTo){h.moveTo?w=this.convertToId(h.moveTo):(this._dummyNode||(this._dummyNode=d.doc.createElement("div"),d.body().appendChild(this._dummyNode)),w=this._dummyNode);this.addTransitionInfo&&"string"==typeof h.moveTo&&this._isBookmarkable(h)&&this.addTransitionInfo(this.id,h.moveTo,{transitionDir:h.transitionDir,transition:h.transition});var t=this.domNode,v=t.offsetTop;if(w=this.toNode=u.byId(w)){w.style.visibility=
"hidden";w.style.display="";this._fixViewState(w);var y=l.byNode(w);if(y){if(p.mblAlwaysResizeOnTransition||!y._resized)x.resizeAll(null,y),y._resized=!0;h.transition&&"none"!=h.transition&&y._addTransitionPaddingTop(v);y.load&&y.load();y.movedFrom=t.id}k("mblAndroidWorkaround")&&!p.mblCSS3Transition&&h.transition&&"none"!=h.transition&&(q.set(w,z.name("transformStyle"),"preserve-3d"),q.set(t,z.name("transformStyle"),"preserve-3d"),r.add(w,"mblAndroidWorkaround"));this.onBeforeTransitionOut.apply(this,
this._arguments);n.publish("/dojox/mobile/beforeTransitionOut",[this].concat(e._toArray(this._arguments)));if(y){if(this.keepScrollPos&&!this.getParent()){v=d.body().scrollTop||d.doc.documentElement.scrollTop||d.global.pageYOffset||0;t._scrollTop=v;var m=1==h.transitionDir?0:w._scrollTop||0;w.style.top="0px";if(1<v||0!==m)t.style.top=m-v+"px",7<=k("ios")||!1===p.mblHideAddressBar||this.defer(function(){d.global.scrollTo(0,m||1)})}else w.style.top="0px";y.onBeforeTransitionIn.apply(y,this._arguments);
n.publish("/dojox/mobile/beforeTransitionIn",[y].concat(e._toArray(this._arguments)))}w.style.display="none";w.style.visibility="inherit";x.fromView=this;x.toView=y;this._doTransition(t,w,h.transition,h.transitionDir)}else console.log("dojox/mobile/View.performTransition: destination view not found: "+h.moveTo)}}},_addTransitionPaddingTop:function(a){this.containerNode.style.paddingTop=a+"px"},_removeTransitionPaddingTop:function(){this.containerNode.style.paddingTop=""},_toCls:function(a){return"mbl"+
a.charAt(0).toUpperCase()+a.substring(1)},_doTransition:function(a,b,c,f){var w=-1==f?" mblReverse":"";b.style.display="";if(c&&"none"!=c)if(p.mblCSS3Transition)g.when(C,e.hitch(this,function(d){var h=q.get(b,"position");q.set(b,"position","absolute");g.when(d(a,b,{transition:c,reverse:-1===f?!0:!1}),e.hitch(this,function(){q.set(b,"position",h);b.style.paddingTop="";this.invokeCallback()}))}));else{-1!=c.indexOf("cube")&&(k("ipad")?q.set(b.parentNode,{webkitPerspective:1600}):k("ios")&&q.set(b.parentNode,
{webkitPerspective:800}));var l=this._toCls(c);if(k("mblAndroidWorkaround")){var t=this;t.defer(function(){r.add(a,l+" mblOut"+w);r.add(b,l+" mblIn"+w);r.remove(b,"mblAndroidWorkaround");t.defer(function(){r.add(a,"mblTransition");r.add(b,"mblTransition")},30)},70)}else r.add(a,l+" mblOut"+w),r.add(b,l+" mblIn"+w),this.defer(function(){r.add(a,"mblTransition");r.add(b,"mblTransition")},100);var v="50% 50%",n="50% 50%",m;-1!=c.indexOf("swirl")||-1!=c.indexOf("zoom")?(v=this.keepScrollPos&&!this.getParent()?
d.body().scrollTop||d.doc.documentElement.scrollTop||d.global.pageYOffset||0:-h.position(a,!0).y,m=d.global.innerHeight/2+v,v="50% "+m+"px",n="50% "+m+"px"):-1!=c.indexOf("scale")&&(v=h.position(a,!0),n=(void 0!==this.clickedPosX?this.clickedPosX:d.global.innerWidth/2)-v.x,v=this.keepScrollPos&&!this.getParent()?d.body().scrollTop||d.doc.documentElement.scrollTop||d.global.pageYOffset||0:-v.y,m=(void 0!==this.clickedPosY?this.clickedPosY:d.global.innerHeight/2)+v,v=n+"px "+m+"px",n=n+"px "+m+"px");
q.set(a,z.add({},{transformOrigin:v}));q.set(b,z.add({},{transformOrigin:n}))}else this.domNode.style.display="none",this.invokeCallback()},onAnimationStart:function(a){},onAnimationEnd:function(a){var b=a.animationName||a.target.className;if(-1!==b.indexOf("Out")||-1!==b.indexOf("In")||-1!==b.indexOf("Shrink")){var c=!1;r.contains(this.domNode,"mblOut")?(c=!0,this.domNode.style.display="none",r.remove(this.domNode,[this._toCls(this._detail.transition),"mblIn","mblOut","mblReverse"])):this._removeTransitionPaddingTop();
q.set(this.domNode,z.add({},{transformOrigin:""}));-1!==b.indexOf("Shrink")&&(a=a.target,a.style.display="none",r.remove(a,"mblCloseContent"),(a=A.getEnclosingScrollable(this.domNode))&&a.onTouchEnd());c&&this.invokeCallback();this._clearClasses(this.domNode);this.clickedPosX=this.clickedPosY=void 0;-1!==b.indexOf("Cube")&&-1!==b.indexOf("In")&&k("ios")&&(this.domNode.parentNode.style[z.name("perspective")]="")}},invokeCallback:function(){this.onAfterTransitionOut.apply(this,this._arguments);n.publish("/dojox/mobile/afterTransitionOut",
[this].concat(this._arguments));var a=l.byNode(this.toNode);a&&(a.onAfterTransitionIn.apply(a,this._arguments),n.publish("/dojox/mobile/afterTransitionIn",[a].concat(this._arguments)),a.movedFrom=void 0,this.setFragIds&&this._isBookmarkable(this._detail)&&this.setFragIds(a));k("mblAndroidWorkaround")&&this.defer(function(){a&&q.set(this.toNode,z.name("transformStyle"),"");q.set(this.domNode,z.name("transformStyle"),"")});var b=this._detail.context,c=this._detail.method;if(b||c)c||(c=b,b=null),b=b||
d.global,"string"==typeof c?b[c].apply(b,this._optArgs):"function"==typeof c&&c.apply(b,this._optArgs);this._detail=this._optArgs=this._arguments=void 0;this._inProgress=!1},isVisible:function(a){if(a){for(a=this.domNode;"BODY"!==a.tagName;a=a.parentNode)if("none"===q.get(a,"display"))return!1;return!0}return"none"!==q.get(this.domNode,"display")},getShowingView:function(){for(var a=this.domNode.parentNode.childNodes,b=0;b<a.length;b++){var c=a[b];if(1===c.nodeType&&r.contains(c,"mblView")&&"none"!==
c.style.display)return l.byNode(c)}return null},getSiblingViews:function(){return this.domNode.parentNode?m.map(m.filter(this.domNode.parentNode.childNodes,function(a){return 1===a.nodeType&&r.contains(a,"mblView")}),function(a){return l.byNode(a)}):[this]},show:function(a,b){var c=this.getShowingView();a||(c&&(c.onBeforeTransitionOut(c.id),n.publish("/dojox/mobile/beforeTransitionOut",[c,c.id])),this.onBeforeTransitionIn(this.id),n.publish("/dojox/mobile/beforeTransitionIn",[this,this.id]));b?this.domNode.style.display=
"":m.forEach(this.getSiblingViews(),function(a){a.domNode.style.display=a===this?"":"none"},this);this.load&&this.load();a||(c&&(c.onAfterTransitionOut(c.id),n.publish("/dojox/mobile/afterTransitionOut",[c,c.id])),this.onAfterTransitionIn(this.id),n.publish("/dojox/mobile/afterTransitionIn",[this,this.id]))},hide:function(){this.domNode.style.display="none"}})})},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(m,p){return m("dijit._Contained",null,{_getSibling:function(n){var f=
this.getParent();return f&&f._getSiblingOfChild&&f._getSiblingOfChild(this,"previous"==n?-1:1)||null},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},getIndexInParent:function(){var n=this.getParent();return n&&n.getIndexOfChild?n.getIndexOfChild(this):-1}})})},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(m,p,n,f){return p("dijit._Container",
null,{buildRendering:function(){this.inherited(arguments);this.containerNode||(this.containerNode=this.domNode)},addChild:function(e,f){var d=this.containerNode;if(0<f){for(d=d.firstChild;0<f;)1==d.nodeType&&f--,d=d.nextSibling;d?f="before":(d=this.containerNode,f="last")}n.place(e.domNode,d,f);this._started&&!e._started&&e.startup()},removeChild:function(e){"number"==typeof e&&(e=this.getChildren()[e]);e&&(e=e.domNode)&&e.parentNode&&e.parentNode.removeChild(e)},hasChildren:function(){return 0<this.getChildren().length},
_getSiblingOfChild:function(e,f){var d=this.getChildren(),g=m.indexOf(d,e);return d[g+f]},getIndexOfChild:function(e){return m.indexOf(this.getChildren(),e)}})})},"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".split(" "),
function(m,p,n,f,e,k,d,g,u,r,t,h,q,l,c,b,a,v,x,C,A,z,B){function E(a){return function(b){g[b?"set":"remove"](this.domNode,a,b);this._set(a,b)}}q.add("dijit-legacy-requires",!l.isAsync);q.add("dojo-bidi",!1);q("dijit-legacy-requires")&&a(0,function(){m(["dijit/_base/manager"])});var F={};f=k("dijit._WidgetBase",[v,A],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:E("lang"),dir:"",_setDirAttr:E("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",
baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(a){this._set("ownerDocument",a)},attributeMap:{},_blankGif:f.blankGif||m.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var a=this.constructor;if(!a._setterAttrs){var b=a.prototype,c=a._setterAttrs=[],a=a._onMap={},d;for(d in b.attributeMap)c.push(d);for(d in b)/^on/.test(d)&&(a[d.substring(2).toLowerCase()]=d),/^_set[A-Z](.*)Attr$/.test(d)&&(d=d.charAt(4).toLowerCase()+
d.substr(5,d.length-9),b.attributeMap&&d in b.attributeMap||c.push(d))}},postscript:function(a,b){this.create(a,b)},create:function(a,b){this._introspect();this.srcNodeRef=d.byId(b);this._connects=[];this._supportingWidgets=[];this.srcNodeRef&&this.srcNodeRef.id&&"string"==typeof this.srcNodeRef.id&&(this.id=this.srcNodeRef.id);a&&(this.params=a,c.mixin(this,a));this.postMixInProperties();this.id||(this.id=B.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id);this.ownerDocument=
this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document);this.ownerDocumentBody=C.body(this.ownerDocument);B.add(this);this.buildRendering();var e;if(this.domNode){this._applyAttributes();var f=this.srcNodeRef;f&&f.parentNode&&this.domNode!==f&&(f.parentNode.replaceChild(this.domNode,f),e=!0);this.domNode.setAttribute("widgetId",this.id)}this.postCreate();e&&delete this.srcNodeRef;this._created=!0},_applyAttributes:function(){var a={},b;for(b in this.params||{})a[b]=this._get(b);
p.forEach(this.constructor._setterAttrs,function(b){if(!(b in a)){var c=this._get(b);c&&this.set(b,c)}},this);for(b in a)this.set(b,a[b])},postMixInProperties:function(){},buildRendering:function(){this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div"));if(this.baseClass){var a=this.baseClass.split(" ");this.isLeftToRight()||(a=a.concat(p.map(a,function(a){return a+"Rtl"})));u.add(this.domNode,a)}},postCreate:function(){},startup:function(){this._started||(this._started=
!0,p.forEach(this.getChildren(),function(a){a._started||a._destroyed||!c.isFunction(a.startup)||(a.startup(),a._started=!0)}))},destroyRecursive:function(a){this._beingDestroyed=!0;this.destroyDescendants(a);this.destroy(a)},destroy:function(a){function b(b){b.destroyRecursive?b.destroyRecursive(a):b.destroy&&b.destroy(a)}this._beingDestroyed=!0;this.uninitialize();p.forEach(this._connects,c.hitch(this,"disconnect"));p.forEach(this._supportingWidgets,b);this.domNode&&p.forEach(B.findWidgets(this.domNode,
this.containerNode),b);this.destroyRendering(a);B.remove(this.id);this._destroyed=!0},destroyRendering:function(a){this.bgIframe&&(this.bgIframe.destroy(a),delete this.bgIframe);this.domNode&&(a?g.remove(this.domNode,"widgetId"):r.destroy(this.domNode),delete this.domNode);this.srcNodeRef&&(a||r.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(a){p.forEach(this.getChildren(),function(b){b.destroyRecursive&&b.destroyRecursive(a)})},uninitialize:function(){return!1},_setStyleAttr:function(a){var b=
this.domNode;c.isObject(a)?h.set(b,a):b.style.cssText=b.style.cssText?b.style.cssText+("; "+a):a;this._set("style",a)},_attrToDom:function(a,b,d){d=3<=arguments.length?d:this.attributeMap[a];p.forEach(c.isArray(d)?d:[d],function(d){var e=this[d.node||d||"domNode"];switch(d.type||"attribute"){case "attribute":c.isFunction(b)&&(b=c.hitch(this,b));d=d.attribute?d.attribute:/^on[A-Z][a-zA-Z]*$/.test(a)?a.toLowerCase():a;e.tagName?g.set(e,d,b):e.set(d,b);break;case "innerText":e.innerHTML="";e.appendChild(this.ownerDocument.createTextNode(b));
break;case "innerHTML":e.innerHTML=b;break;case "class":u.replace(e,b,this[a]);break;case "toggleClass":u.toggle(e,d.className||a,b)}},this)},get:function(a){var b=this._getAttrNames(a);return this[b.g]?this[b.g]():this._get(a)},set:function(a,b){if("object"===typeof a){for(var d in a)this.set(d,a[d]);return this}d=this._getAttrNames(a);var e=this[d.s];if(c.isFunction(e))var f=e.apply(this,Array.prototype.slice.call(arguments,1));else{var e=this.focusNode&&!c.isFunction(this.focusNode)?"focusNode":
"domNode",h=this[e]&&this[e].tagName,g;if((g=h)&&!(g=F[h])){g=this[e];var l={},v;for(v in g)l[v.toLowerCase()]=!0;g=F[h]=l}v=g;d=a in this.attributeMap?this.attributeMap[a]:d.s in this?this[d.s]:v&&d.l in v&&"function"!=typeof b||/^aria-|^data-|^role$/.test(a)?e:null;null!=d&&this._attrToDom(a,b,d);this._set(a,b)}return f||this},_attrPairNames:{},_getAttrNames:function(a){var b=this._attrPairNames;if(b[a])return b[a];var c=a.replace(/^[a-z]|-[a-zA-Z]/g,function(a){return a.charAt(a.length-1).toUpperCase()});
return b[a]={n:a+"Node",s:"_set"+c+"Attr",g:"_get"+c+"Attr",l:c.toLowerCase()}},_set:function(a,b){var c=this[a];this[a]=b;!this._created||c===b||c!==c&&b!==b||(this._watchCallbacks&&this._watchCallbacks(a,c,b),this.emit("attrmodified-"+a,{detail:{prevValue:c,newValue:b}}))},_get:function(a){return this[a]},emit:function(a,c,d){c=c||{};void 0===c.bubbles&&(c.bubbles=!0);void 0===c.cancelable&&(c.cancelable=!0);c.detail||(c.detail={});c.detail.widget=this;var e,f=this["on"+a];f&&(e=f.apply(this,d?
d:[c]));this._started&&!this._beingDestroyed&&b.emit(this.domNode,a.toLowerCase(),c);return e},on:function(a,c){var d=this._onMap(a);return d?n.after(this,d,c,!0):this.own(b(this.domNode,a,c))[0]},_onMap:function(a){var b=this.constructor,c=b._onMap;if(!c){var c=b._onMap={},d;for(d in b.prototype)/^on/.test(d)&&(c[d.replace(/^on/,"").toLowerCase()]=d)}return c["string"==typeof a&&a.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?
B.findWidgets(this.containerNode):[]},getParent:function(){return B.getEnclosingWidget(this.domNode.parentNode)},connect:function(a,b,c){return this.own(e.connect(a,b,this,c))[0]},disconnect:function(a){a.remove()},subscribe:function(a,b){return this.own(x.subscribe(a,c.hitch(this,b)))[0]},unsubscribe:function(a){a.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir.toLowerCase():t.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&"none"!=h.get(this.domNode,"display")},
placeAt:function(a,b){var c=!a.tagName&&B.byId(a);!c||!c.addChild||b&&"number"!==typeof b?(c=c&&"domNode"in c?c.containerNode&&!/after|before|replace/.test(b||"")?c.containerNode:c.domNode:d.byId(a,this.ownerDocument),r.place(this.domNode,c,b),!this._started&&(this.getParent()||{})._started&&this.startup()):c.addChild(this,b);return this},defer:function(a,b){var d=setTimeout(c.hitch(this,function(){d&&(d=null,this._destroyed||c.hitch(this,a)())}),b||0);return{remove:function(){d&&(clearTimeout(d),
d=null);return null}}}});q("dojo-bidi")&&f.extend(z);return f})},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(m,p,n,f){return m("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(e){var f=this._attrPairNames;return f[e]?f[e]:f[e]={s:"_"+e+"Setter",g:"_"+e+"Getter"}},postscript:function(e){e&&this.set(e)},_get:function(e,f){return"function"===typeof this[f.g]?this[f.g]():this[e]},get:function(e){return this._get(e,this._getAttrNames(e))},
set:function(e,k){if("object"===typeof e){for(var d in e)e.hasOwnProperty(d)&&"_watchCallbacks"!=d&&this.set(d,e[d]);return this}d=this._getAttrNames(e);var g=this._get(e,d);d=this[d.s];var n;"function"===typeof d?n=d.apply(this,Array.prototype.slice.call(arguments,1)):this[e]=k;if(this._watchCallbacks){var r=this;f(n,function(){r._watchCallbacks(e,g,k)})}return this},_changeAttrValue:function(e,f){var d=this.get(e);this[e]=f;this._watchCallbacks&&this._watchCallbacks(e,d,f);return this},watch:function(e,
f){var d=this._watchCallbacks;if(!d)var g=this,d=this._watchCallbacks=function(e,f,k,l){var c=function(b){if(b){b=b.slice();for(var a=0,c=b.length;a<c;a++)b[a].call(g,e,f,k)}};c(d["_"+e]);l||c(d["*"])};f||"function"!==typeof e?e="_"+e:(f=e,e="*");var k=d[e];"object"!==typeof k&&(k=d[e]=[]);k.push(f);var r={};r.unwatch=r.remove=function(){var d=n.indexOf(k,f);-1<d&&k.splice(d,1)};return r}})})},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(m,
p,n){return n("dijit.Destroyable",null,{destroy:function(f){this._destroyed=!0},own:function(){var f=["destroyRecursive","destroy","remove"];m.forEach(arguments,function(e){function k(){g.remove();m.forEach(n,function(d){d.remove()})}var d,g=p.before(this,"destroy",function(f){e[d](f)}),n=[];e.then?(d="cancel",e.then(k,k)):m.forEach(f,function(f){"function"===typeof e[f]&&(d||(d=f),n.push(p.after(e,f,k,!0)))})},this);return arguments}})})},"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".split(" "),
function(m,p,n,f,e,k,d,g,u,r,t,h,q,l,c,b){var a=f("dojox.mobile.ViewController",null,{dataHandlerClass:"dojox/mobile/dh/DataHandler",dataSourceClass:"dojox/mobile/dh/UrlDataSource",fileTypeMapClass:"dojox/mobile/dh/SuffixFileTypeMap",constructor:function(){this.viewMap={};h(e.hitch(this,function(){t(k.body(),"startTransition",e.hitch(this,"onStartTransition"))}))},findTransitionViews:function(a){if(!a)return[];a.match(/^#?([^&?]+)(.*)/);a=RegExp.$2;var b=q.byId(RegExp.$1);if(!b)return[];for(var c=
b.getParent();c;c=c.getParent())if(c.isVisible&&!c.isVisible()){var d=b.getShowingView();d&&d.id!==b.id&&b.show();b=c}return[b.getShowingView(),b,a]},openExternalView:function(a,b){var f=new d,h=this.viewMap[a.url];if(h)return a.moveTo=h,a.noTransition?q.byId(h).hide():(new c(k.body(),a)).dispatch(),f.resolve(!0),f;for(var g=null,h=b.childNodes.length-1;0<=h;h--){var l=b.childNodes[h];if(1===l.nodeType&&"bottom"===(l.getAttribute("fixed")||l.getAttribute("data-mobile-fixed")||q.byNode(l)&&q.byNode(l).fixed)){g=
l;break}}require([a.dataHandlerClass||this.dataHandlerClass,a.dataSourceClass||this.dataSourceClass,a.fileTypeMapClass||this.fileTypeMapClass],e.hitch(this,function(d,h,l){d=new d(new h(a.data||a.url),b,g);l=a.contentType||l.getContentType(a.url)||"html";d.processData(l,e.hitch(this,function(b){b?(this.viewMap[a.url]=a.moveTo=b,a.noTransition?q.byId(b).hide():(new c(k.body(),a)).dispatch(),f.resolve(!0)):f.reject("Failed to load "+a.url)}))}));return f},onStartTransition:function(a){a.preventDefault();
if(a.detail){var c=a.detail;if(c.moveTo||c.href||c.url||c.scene)if(c.url&&!c.moveTo){var d=c.urlTarget,e=q.byId(d),d=e&&e.containerNode||g.byId(d);d||(d=(e=b.getEnclosingView(a.target))&&e.domNode.parentNode||k.body());(a=q.getEnclosingWidget(a.target))&&a.callback&&(c.context=a,c.method=a.callback);this.openExternalView(c,d)}else if(c.href)if(c.hrefTarget&&"_self"!=c.hrefTarget)k.global.open(c.href,c.hrefTarget);else{for(e=b.getEnclosingView(a.target);e;e=b.getParentView(e))d=e;d&&d.performTransition(null,
c.transitionDir,c.transition,a.target,function(){location.href=c.href})}else if(c.scene)n.publish("/dojox/mobile/app/pushScene",[c.scene]);else{var f=this.findTransitionViews(c.moveTo),d=f[0],e=f[1],f=f[2];location.hash||c.hashchange||(b.initialView=d);c.moveTo&&e&&(c.moveTo=("#"===c.moveTo.charAt(0)?"#"+e.id:e.id)+f);!d||c.moveTo&&d===q.byId(c.moveTo.replace(/^#?([^&?]+).*/,"$1"))||((a=q.getEnclosingWidget(a.target))&&a.callback&&(c.context=a,c.method=a.callback),d.performTransition(c))}}}});a._instance=
new a;a.getInstance=function(){return a._instance};return a})},"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".split(" "),function(m,p,n,f,e,k,d,g,u,r,t,h){var q=p("dojox.mobile.ProgressIndicator",[r,u],{interval:100,size:40,removeOnStop:!0,startSpinning:!1,center:!0,colors:null,
baseClass:"mblProgressIndicator",constructor:function(){this.colors=[];this._bars=[]},buildRendering:function(){this.inherited(arguments);this.center&&f.add(this.domNode,"mblProgressIndicatorCenter");this.containerNode=e.create("div",{className:"mblProgContainer"},this.domNode);this.spinnerNode=e.create("div",null,this.containerNode);for(var d=0;12>d;d++){var c=e.create("div",{className:"mblProg mblProg"+d},this.spinnerNode);this._bars.push(c)}this.scale(this.size);this.startSpinning&&this.start()},
scale:function(e){var c=e/40;d.set(this.containerNode,t.add({},{transform:"scale("+c+")",transformOrigin:"0 0"}));k.setMarginBox(this.domNode,{w:e,h:e});k.setMarginBox(this.containerNode,{w:e/c,h:e/c})},start:function(){if(this.imageNode){var d=this.imageNode;d.style.margin=Math.round((this.containerNode.offsetHeight-d.offsetHeight)/2)+"px "+Math.round((this.containerNode.offsetWidth-d.offsetWidth)/2)+"px"}else{var c=0,b=this;this.timer=setInterval(function(){c--;c=0>c?11:c;for(var a=b.colors,d=0;12>
d;d++){var e=(c+d)%12;a[e]?b._bars[d].style.backgroundColor=a[e]:f.replace(b._bars[d],"mblProg"+e+"Color","mblProg"+(11===e?0:e+1)+"Color")}},this.interval)}},stop:function(){this.timer&&clearInterval(this.timer);this.timer=null;this.removeOnStop&&this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode)},setImage:function(d){d?(this.imageNode=e.create("img",{src:d},this.containerNode),this.spinnerNode.style.display="none"):(this.imageNode&&(this.containerNode.removeChild(this.imageNode),
this.imageNode=null),this.spinnerNode.style.display="")},destroy:function(){this.inherited(arguments);this===q._instance&&(q._instance=null)}}),q=g("dojo-bidi")?p("dojox.mobile.ProgressIndicator",[q,h]):q;q._instance=null;q.getInstance=function(d){q._instance||(q._instance=new q(d));return q._instance};return q})},"dojox/mobile/_css3":function(){define(["dojo/_base/window","dojo/_base/array","dojo/has"],function(m,p,n){var f=[],e=[],k=m.doc.createElement("div").style,d=["webkit"];n.add("css3-animations",
function(e,f,g){var h=g.style;return void 0!==h.animation&&void 0!==h.transition||p.some(d,function(d){return void 0!==h[d+"Animation"]&&void 0!==h[d+"Transition"]})});n.add("t17164",function(d,e,f){return void 0!==f.style.transition&&!("TransitionEvent"in window)});var g={name:function(g,m){var t=(m?e:f)[g];if(!t){if(/End|Start/.test(g))var h=g.length-(g.match(/End/)?3:5),q=g.substr(0,h),l=this.name(q),t=l==q?g.toLowerCase():l+g.substr(h);else if("keyframes"==g)h=this.name("animation",m),t="animation"==
h?g:m?h.replace(/animation/,"keyframes"):h.replace(/Animation/,"Keyframes");else{var c=m?g.replace(/-(.)/g,function(b,a){return a.toUpperCase()}):g;void 0===k[c]||n("t17164")?(c=c.charAt(0).toUpperCase()+c.slice(1),p.some(d,function(b){void 0!==k[b+c]&&(t=m?"-"+b+"-"+g:b+c)})):t=g}t||(t=g);(m?e:f)[g]=t}return t},add:function(d,e){for(var f in e)e.hasOwnProperty(f)&&(d[g.name(f)]=e[f]);return d}};return g})},"dojox/mobile/TransitionEvent":function(){define(["dojo/_base/declare","dojo/on"],function(m,
p){return m("dojox.mobile.TransitionEvent",null,{constructor:function(m,f,e){this.transitionOptions=f;this.target=m;this.triggerEvent=e||null},dispatch:function(){p.emit(this.target,"startTransition",{bubbles:!0,cancelable:!0,detail:this.transitionOptions,triggerEvent:this.triggerEvent})}})})},"dojox/mobile/viewRegistry":function(){define(["dojo/_base/array","dojo/dom-class","dijit/registry"],function(m,p,n){return{length:0,hash:{},initialView:null,add:function(f){this.hash[f.id]=f;this.length++},
remove:function(f){this.hash[f]&&(delete this.hash[f],this.length--)},getViews:function(){var f=[],e;for(e in this.hash)f.push(this.hash[e]);return f},getParentView:function(f){for(f=f.getParent();f;f=f.getParent())if(p.contains(f.domNode,"mblView"))return f;return null},getChildViews:function(f){return m.filter(this.getViews(),function(e){return this.getParentView(e)===f},this)},getEnclosingView:function(f){for(;f&&"BODY"!==f.tagName;f=f.parentNode)if(1===f.nodeType&&p.contains(f,"mblView"))return n.byNode(f);
return null},getEnclosingScrollable:function(f){for(f=n.getEnclosingWidget(f);f;f=f.getParent())if(f.scrollableParams&&f._v)return f;return null}}})},"dojox/mobile/transition":function(){define(["dojo/_base/Deferred","dojo/_base/config"],function(m,p){if(p.mblCSS3Transition){var n=new m;require([p.mblCSS3Transition],function(f){n.resolve(f)});return n}return null})},"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".split(" "),
function(m,p,n,f,e,k,d,g,u,r,t,h,q,l,c,b,a,v,x){f.getObject("dojox.mobile",!0);p=n(v("dojo-bidi")?"dojox.mobile.NonBidiHeading":"dojox.mobile.Heading",[l,q,h],{back:"",href:"",moveTo:"",transition:"slide",label:"",iconBase:"",tag:"h1",busy:!1,progStyle:"mblProgWhite",baseClass:"mblHeading",buildRendering:function(){this.templateString||(this.domNode=this.containerNode=this.srcNodeRef||e.doc.createElement(this.tag));this.inherited(arguments);this.templateString||(this.label||m.forEach(this.domNode.childNodes,
function(a){if(3==a.nodeType){var b=f.trim(a.nodeValue);b&&(this.label=b,this.labelNode=d.create("span",{innerHTML:b},a,"replace"))}},this),this.labelNode||(this.labelNode=d.create("span",null,this.domNode)),this.labelNode.className="mblHeadingSpanTitle",this.labelDivNode=d.create("div",{className:"mblHeadingDivTitle",innerHTML:this.labelNode.innerHTML},this.domNode));this.labelDivNode&&(u.set(this.labelDivNode,"role","heading"),u.set(this.labelDivNode,"aria-level","1"));t.setSelectable(this.domNode,
!1)},startup:function(){if(!this._started){var a=this.getParent&&this.getParent();if(!a||!a.resize){var b=this;b.defer(function(){b.resize()})}this.inherited(arguments)}},resize:function(){if(this.labelNode){for(var a,b,c=this.containerNode.childNodes,d=c.length-1;0<=d;d--){var e=c[d];1===e.nodeType&&"none"!==g.get(e,"display")&&(b||"right"!==g.get(e,"float")||(b=e),a||"left"!==g.get(e,"float")||(a=e))}!this.labelNodeLen&&this.label&&(this.labelNode.style.display="inline",this.labelNodeLen=this.labelNode.offsetWidth,
this.labelNode.style.display="");c=this.domNode.offsetWidth;k[c-2*Math.max(b?c-b.offsetLeft+5:0,a?a.offsetLeft+a.offsetWidth+5:0)>(this.labelNodeLen||0)?"add":"remove"](this.domNode,"mblHeadingCenterTitle")}m.forEach(this.getChildren(),function(a){a.resize&&a.resize()})},_setBackAttr:function(a){this._set("back",a);this.backButton?this.backButton.set("label",a):(this.backButton=new b({arrow:"left",label:a,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"));this.resize()},_setMoveToAttr:function(a){this._set("moveTo",a);this.backButton&&(this.backButton.set("moveTo",a),this.backButton.set("back",!a&&!this.href))},_setHrefAttr:function(a){this._set("href",a);this.backButton&&(this.backButton.set("href",a),this.backButton.set("back",!this.moveTo&&!a))},_setTransitionAttr:function(a){this._set("transition",a);this.backButton&&this.backButton.set("transition",a)},_setLabelAttr:function(a){this._set("label",
a);this.labelNode.innerHTML=this.labelDivNode.innerHTML=this._cv?this._cv(a):a;delete this.labelNodeLen},_setBusyAttr:function(a){var b=this._prog;a?(b||(b=this._prog=new c({size:30,center:!1}),k.add(b.domNode,this.progStyle)),d.place(b.domNode,this.domNode,"first"),b.start()):b&&b.stop();this._set("busy",a)}});return v("dojo-bidi")?n("dojox.mobile.Heading",[p,x]):p})},"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".split(" "),
function(m,p,n,f,e,k,d,g,u,r){n=m(g("dojo-bidi")?"dojox.mobile.NonBidiToolBarButton":"dojox.mobile.ToolBarButton",u,{selected:!1,arrow:"",light:!0,defaultColor:"mblColorDefault",selColor:"mblColorDefaultSel",baseClass:"mblToolBarButton",_selStartMethod:"touch",_selEndMethod:"touch",buildRendering:function(){!this.label&&this.srcNodeRef&&(this.label=this.srcNodeRef.innerHTML);this.label=p.trim(this.label);this.domNode=this.srcNodeRef&&"SPAN"===this.srcNodeRef.tagName?this.srcNodeRef:e.create("span");
d.set(this.domNode,"role","button");this.inherited(arguments);if(!this.light||this.arrow||this.icon&&this.label){this.domNode.innerHTML="";if("left"===this.arrow||"right"===this.arrow)this.arrowNode=e.create("span",{className:"mblToolBarButtonArrow mblToolBarButton"+("left"===this.arrow?"Left":"Right")+"Arrow "+(10>g("ie")?"":this.defaultColor+" "+this.defaultColor+"45")},this.domNode),f.add(this.domNode,"mblToolBarButtonHas"+("left"===this.arrow?"Left":"Right")+"Arrow");this.bodyNode=e.create("span",
{className:"mblToolBarButtonBody"},this.domNode);this.tableNode=e.create("table",{cellPadding:"0",cellSpacing:"0",border:"0",role:"presentation"},this.bodyNode);!this.label&&this.arrow&&(this.tableNode.className="mblToolBarButtonText");var k=this.tableNode.insertRow(-1);this.iconParentNode=k.insertCell(-1);this.labelNode=k.insertCell(-1);this.iconParentNode.className="mblToolBarButtonIcon";this.labelNode.className="mblToolBarButtonLabel";this.icon&&"none"!==this.icon&&this.label&&(f.add(this.domNode,
"mblToolBarButtonHasIcon"),f.add(this.bodyNode,"mblToolBarButtonLabeledIcon"));f.add(this.bodyNode,this.defaultColor)}else this.labelNode=this.tableNode=this.bodyNode=this.iconParentNode=this.domNode,f.add(this.domNode,this.defaultColor+" mblToolBarButtonBody"+(this.icon?" mblToolBarButtonLightIcon":" mblToolBarButtonLightText"))},startup:function(){this._started||(this.connect(this.domNode,"onkeydown","_onClick"),this.inherited(arguments),this._isOnLine||(this._isOnLine=!0,this.set("icon",void 0!==
this._pendingIcon?this._pendingIcon:this.icon),delete this._pendingIcon))},_onClick:function(d){d&&"keydown"===d.type&&13!==d.keyCode||!1!==this.onClick(d)&&this.defaultClickAction(d)},onClick:function(){},_setLabelAttr:function(d){this.inherited(arguments);f.toggle(this.tableNode,"mblToolBarButtonText",d||this.arrow)},_setSelectedAttr:function(d){this.inherited(arguments);if(d){if(f.replace(this.bodyNode,this.selColor,this.defaultColor),!(10>g("ie"))&&this.arrowNode){var e=this.selColor,k=this.defaultColor;
f.replace(this.arrowNode,e+" "+e+"45",k+" "+k+"45")}}else f.replace(this.bodyNode,this.defaultColor,this.selColor),10>g("ie")||!this.arrowNode||(e=this.defaultColor,k=this.selColor,f.replace(this.arrowNode,e+" "+e+"45",k+" "+k+"45"));f.toggle(this.domNode,"mblToolBarButtonSelected",d);f.toggle(this.bodyNode,"mblToolBarButtonBodySelected",d)}});return g("dojo-bidi")?m("dojox.mobile.ToolBarButton",[n,r]):n})},"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".split(" "),
function(m,p,n,f,e,k,d,g,u,r,t,h,q,l,c){n=p(q("dojo-bidi")?"dojox.mobile._NonBidiItemBase":"dojox.mobile._ItemBase",[r,u,g],{icon:"",iconPos:"",alt:"",href:"",hrefTarget:"",moveTo:"",scene:"",clickable:!1,url:"",urlTarget:"",back:!1,transition:"",transitionDir:1,transitionOptions:null,callback:null,label:"",toggle:!1,selected:!1,tabIndex:"0",_setTabIndexAttr:"",paramsToInherit:"transition,icon",_selStartMethod:"none",_selEndMethod:"none",_delayedSelection:!1,_duration:800,_handleClick:!0,buildRendering:function(){this.inherited(arguments);
this._isOnLine=this.inheritParams()},startup:function(){this._started||(this._isOnLine||this.inheritParams(),this._updateHandles(),this.inherited(arguments))},inheritParams:function(){var b=this.getParent();b&&m.forEach(this.paramsToInherit.split(/,/),function(a){if(a.match(/icon/i)){var c=a+"Base",d=a+"Pos";this[a]&&b[c]&&"/"===b[c].charAt(b[c].length-1)&&(this[a]=b[c]+this[a]);this[a]||(this[a]=b[c]);this[d]||(this[d]=b[d])}this[a]||(this[a]=b[a])},this);return!!b},_updateHandles:function(){this._handleClick&&
"touch"===this._selStartMethod?this._onTouchStartHandle||(this._onTouchStartHandle=this.connect(this.domNode,k.press,"_onTouchStart")):this._onTouchStartHandle&&(this.disconnect(this._onTouchStartHandle),this._onTouchStartHandle=null)},getTransOpts:function(){var b=this.transitionOptions||{};m.forEach("moveTo href hrefTarget url target urlTarget scene transition transitionDir".split(" "),function(a){b[a]=b[a]||this[a]},this);return b},userClickAction:function(){},defaultClickAction:function(b){this.handleSelection(b);
!1!==this.userClickAction(b)&&this.makeTransition(b)},handleSelection:function(b){this._delayedSelection&&this.set("selected",!0);this._onTouchEndHandle&&(this.disconnect(this._onTouchEndHandle),this._onTouchEndHandle=null);b=this.getParent();this.toggle?this.set("selected",!this._currentSel):b&&b.selectOne?this.set("selected",!0):"touch"===this._selEndMethod?this.set("selected",!1):"timer"===this._selEndMethod&&this.defer(function(){this.set("selected",!1)},this._duration)},makeTransition:function(b){if(this.back&&
history)history.back();else if(this.href&&this.hrefTarget&&"_self"!=this.hrefTarget)f.global.open(this.href,this.hrefTarget||"_blank"),this._onNewWindowOpened(b);else{var a=this.getTransOpts(),c=!!(a.moveTo||a.href||a.url||a.target||a.scene);!1!==this._prepareForTransition(b,c?a:null)&&c&&(this.setTransitionPos(b),(new t(this.domNode,a,b)).dispatch())}},_onNewWindowOpened:function(){},_prepareForTransition:function(b,a){},_onTouchStart:function(b){if(!this.getParent().isEditing&&!1!==this.onTouchStart(b)){var a=
l.getEnclosingScrollable(this.domNode);a&&e.contains(a.containerNode,"mblScrollableScrollTo2")||(this._onTouchEndHandle||"touch"!==this._selStartMethod||(this._onTouchMoveHandle=this.connect(f.body(),k.move,"_onTouchMove"),this._onTouchEndHandle=this.connect(f.body(),k.release,"_onTouchEnd")),this.touchStartX=b.touches?b.touches[0].pageX:b.clientX,this.touchStartY=b.touches?b.touches[0].pageY:b.clientY,this._currentSel=this.selected,this._delayedSelection?this._selTimer=this.defer(function(){this.set("selected",
!0)},100):this.set("selected",!0))}},onTouchStart:function(){},_onTouchMove:function(b){var a=b.touches?b.touches[0].pageY:b.clientY;if(4<=Math.abs((b.touches?b.touches[0].pageX:b.clientX)-this.touchStartX)||4<=Math.abs(a-this.touchStartY))this.cancel(),(b=this.getParent())&&b.selectOne?this._prevSel&&this._prevSel.set("selected",!0):this.set("selected",!1)},_disconnect:function(){this.disconnect(this._onTouchMoveHandle);this.disconnect(this._onTouchEndHandle);this._onTouchMoveHandle=this._onTouchEndHandle=
null},cancel:function(){this._selTimer&&(this._selTimer.remove(),this._selTimer=null);this._disconnect()},_onTouchEnd:function(b){if(this._selTimer||!this._delayedSelection)this.cancel(),this._onClick(b)},setTransitionPos:function(b){for(var a=this;a=a.getParent(),a&&!e.contains(a.domNode,"mblView"););a&&(a.clickedPosX=b.clientX,a.clickedPosY=b.clientY)},transitionTo:function(b,a,c,d){(new t(this.domNode,b&&"object"===typeof b?b:{moveTo:b,href:a,url:c,scene:d,transition:this.transition,transitionDir:this.transitionDir})).dispatch()},
_setIconAttr:function(b){this._isOnLine?(this._set("icon",b),this.iconNode=h.setIcon(b,this.iconPos,this.iconNode,this.alt,this.iconParentNode,this.refNode,this.position)):this._pendingIcon=b},_setLabelAttr:function(b){this._set("label",b);this.labelNode.innerHTML=this._cv?this._cv(b):b},_setSelectedAttr:function(b){if(b){var a=this.getParent();a&&a.selectOne&&(a=m.filter(a.getChildren(),function(a){return a.selected}),m.forEach(a,function(a){this._prevSel=a;a.set("selected",!1)},this))}this._set("selected",
b)}});return q("dojo-bidi")?p("dojox.mobile._ItemBase",[n,c]):n})},"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".split(" "),function(m,p,n,f,e,k,d,g,u,r){var t=e.getObject("dojox.mobile",!0);return new function(){this.setupSpriteIcon=function(e,f){if(e&&f){var g=m.map(f.split(/[ ,]/),function(a){return a-0}),c=g[0],b=g[1];u.set(e,{position:"absolute",
clip:"rect("+c+"px "+(g[1]+g[2])+"px "+(g[0]+g[3])+"px "+b+"px)",top:(e.parentNode?u.get(e,"top"):0)-c+"px",left:-b+"px"});d.add(e,"mblSpriteIcon")}};this.createDomButton=function(e,f,l){if(!this._domButtons)if(r("webkit")){var c=function(a,b){var d,e;if(!a){var f={};e=k.doc.styleSheets;for(d=0;d<e.length;d++)e[d]&&c(e[d],f);return f}f=a.cssRules||[];for(d=0;d<f.length;d++)if(e=f[d],e.href&&e.styleSheet)c(e.styleSheet,b);else if(e.selectorText){var g=e.selectorText.split(/,/);for(e=0;e<g.length;e++){var h=
g[e],l=h.split(/>/).length-1;h.match(/(mblDomButton\w+)/)&&(h=RegExp.$1,!b[h]||l>b[h])&&(b[h]=l)}}return b};this._domButtons=c()}else this._domButtons={};var b=e.className,a=l||e;if(b.match(/(mblDomButton\w+)/)&&-1===b.indexOf("/")){var h=RegExp.$1,m=4;b.match(/(mblDomButton\w+_(\d+))/)?m=RegExp.$2-0:void 0!==this._domButtons[h]&&(m=this._domButtons[h]);b=null;r("bb")&&!1!==p.mblBBBoxShadowWorkaround&&(b={style:"-webkit-box-shadow:none"});for(var n=0,q=a;n<m;n++)q=q.firstChild||g.create("div",b,q);
l&&(setTimeout(function(){d.remove(e,h)},0),d.add(l,h))}else if(-1!==b.indexOf("."))g.create("img",{src:b},a);else return null;d.add(a,"mblDomButton");f&&u.set(a,f);return a};this.createIcon=function(e,k,l,c,b,a,m){c=c||"";e&&0===e.indexOf("mblDomButton")?(l?l.className.match(/(mblDomButton\w+)/)&&d.remove(l,RegExp.$1):l=g.create("div",null,a||b,m),l.title=c,d.add(l,e),this.createDomButton(l)):e&&"none"!==e&&(l&&"IMG"===l.nodeName||(l=g.create("img",{alt:c},a||b,m)),l.src=(e||"").replace("${theme}",
t.currentTheme),this.setupSpriteIcon(l,k),k&&b&&(e=k.split(/[ ,]/),u.set(b,{position:"relative",width:e[2]+"px",height:e[3]+"px"}),d.add(b,"mblSpriteIconParent")),n.connect(l,"ondragstart",f,"stop"));return l};this.iconWrapper=!1;this.setIcon=function(e,f,l,c,b,a,k){if(!b||!e&&!l)return null;if(e&&"none"!==e)return this.iconWrapper||0===e.indexOf("mblDomButton")||f?(l&&"IMG"===l.tagName&&(g.destroy(l),l=null),l&&g.empty(l),l||(l=g.create("div",null,a||b,k)),this.createIcon(e,f,null,null,l),c&&(l.title=
c)):(l&&"DIV"===l.tagName&&(g.destroy(l),l=null),l=this.createIcon(e,null,l,c,b,a,k),d.add(l,"mblImageIcon")),d.remove(b,"mblNoIcon"),l;g.destroy(l);d.add(b,"mblNoIcon");return null}}})},"dojox/mobile/RoundRect":function(){define(["dojo/_base/declare","dojo/dom-class","./Container"],function(m,p,n){return m("dojox.mobile.RoundRect",n,{shadow:!1,baseClass:"mblRoundRect",buildRendering:function(){this.inherited(arguments);this.shadow&&p.add(this.domNode,"mblShadow")}})})},"dojox/mobile/Container":function(){define(["dojo/_base/declare",
"dijit/_Container","./Pane"],function(m,p,n){return m("dojox.mobile.Container",[n,p],{baseClass:"mblContainer"})})},"dojox/mobile/Pane":function(){define(["dojo/_base/array","dojo/_base/declare","dijit/_Contained","dijit/_WidgetBase"],function(m,p,n,f){return p("dojox.mobile.Pane",[f,n],{baseClass:"mblPane",buildRendering:function(){this.inherited(arguments);this.containerNode||(this.containerNode=this.domNode)},resize:function(){m.forEach(this.getChildren(),function(e){e.resize&&e.resize()})}})})},
"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".split(" "),function(m,p,n,f,e,k,d){p=m(k("dojo-bidi")?"dojox.mobile.NonBidiRoundRectCategory":"dojox.mobile.RoundRectCategory",[e,f],{label:"",tag:"h2",baseClass:"mblRoundRectCategory",buildRendering:function(){var d=this.domNode=this.containerNode=this.srcNodeRef||n.create(this.tag);this.inherited(arguments);
this.label||1!==d.childNodes.length||3!==d.firstChild.nodeType||(this.label=d.firstChild.nodeValue)},_setLabelAttr:function(d){this.label=d;this.domNode.innerHTML=this._cv?this._cv(d):d}});return k("dojo-bidi")?m("dojox.mobile.RoundRectCategory",[p,d]):p})},"dojox/mobile/EdgeToEdgeCategory":function(){define(["dojo/_base/declare","./RoundRectCategory"],function(m,p){return m("dojox.mobile.EdgeToEdgeCategory",p,{buildRendering:function(){this.inherited(arguments);this.domNode.className="mblEdgeToEdgeCategory";
this.type&&"long"==this.type&&(this.domNode.className+=" mblEdgeToEdgeCategoryLong")}})})},"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".split(" "),function(m,p,n,f,e,k,d,g,u,r){return p("dojox.mobile.RoundRectList",[r,u,g],{transition:"slide",iconBase:"",iconPos:"",select:"",stateful:!1,syncWithViews:!1,editable:!1,tag:"ul",
editableMixinClass:"dojox/mobile/_EditableListMixin",baseClass:"mblRoundRectList",filterBoxClass:"mblFilteredRoundRectListSearchBox",buildRendering:function(){this.domNode=this.srcNodeRef||k.create(this.tag);this.select&&(d.set(this.domNode,"role","listbox"),"multiple"===this.select&&d.set(this.domNode,"aria-multiselectable","true"));this.inherited(arguments)},postCreate:function(){this.editable&&require([this.editableMixinClass],f.hitch(this,function(d){p.safeMixin(this,new d)}));this.connect(this.domNode,
"onselectstart",n.stop);if(this.syncWithViews){var d=function(d,e,f,c,b,a){(e=m.filter(this.getChildren(),function(a){return a.moveTo==="#"+d.id||a.moveTo===d.id})[0])&&e.set("selected",!0)};this.subscribe("/dojox/mobile/afterTransitionIn",d);this.subscribe("/dojox/mobile/startView",d)}},resize:function(){m.forEach(this.getChildren(),function(d){d.resize&&d.resize()})},onCheckStateChanged:function(){},_setStatefulAttr:function(d){this._set("stateful",d);this.selectOne=d;m.forEach(this.getChildren(),
function(d){d.setArrow&&d.setArrow()})},deselectItem:function(d){d.set("selected",!1)},deselectAll:function(){m.forEach(this.getChildren(),function(d){d.set("selected",!1)})},selectItem:function(d){d.set("selected",!0)}})})},"dojox/mobile/EdgeToEdgeList":function(){define(["dojo/_base/declare","./RoundRectList"],function(m,p){return m("dojox.mobile.EdgeToEdgeList",p,{filterBoxClass:"mblFilteredEdgeToEdgeListSearchBox",buildRendering:function(){this.inherited(arguments);this.domNode.className="mblEdgeToEdgeList"}})})},
"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".split(" "),function(m,p,n,f,e,k,d,g,u,r,t,h,q,l){t=p(q("dojo-bidi")?"dojox.mobile.NonBidiListItem":"dojox.mobile.ListItem",t,{rightText:"",rightIcon:"",rightIcon2:"",deleteIcon:"",anchorLabel:!1,noArrow:!1,checked:!1,
arrowClass:"",checkClass:"",uncheckClass:"",variableHeight:!1,rightIconTitle:"",rightIcon2Title:"",header:!1,tag:"li",busy:!1,progStyle:"",layoutOnResize:!1,paramsToInherit:"variableHeight,transition,deleteIcon,icon,rightIcon,rightIcon2,uncheckIcon,arrowClass,checkClass,uncheckClass,deleteIconTitle,deleteIconRole",baseClass:"mblListItem",_selStartMethod:"touch",_selEndMethod:"timer",_delayedSelection:!0,_selClass:"mblListItemSelected",buildRendering:function(){this._templated=!!this.templateString;
this._templated||(this.domNode=this.containerNode=this.srcNodeRef||e.create(this.tag));this.inherited(arguments);this.selected&&f.add(this.domNode,this._selClass);this.header&&f.replace(this.domNode,"mblEdgeToEdgeCategory",this.baseClass);if(!this._templated){this.labelNode=e.create("div",{className:"mblListItemLabel"});var c=this.srcNodeRef;c&&1===c.childNodes.length&&3===c.firstChild.nodeType&&this.labelNode.appendChild(c.firstChild);this.domNode.appendChild(this.labelNode)}this._layoutChildren=
[]},startup:function(){if(!this._started){var c=this.getParent();this.getTransOpts();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(b){return b.target!==this.labelNode});this.inherited(arguments);f.contains(this.domNode,"mblVariableHeight")&&(this.variableHeight=!0);this.variableHeight&&(f.add(this.domNode,"mblVariableHeight"),this.defer("layoutVariableHeight"));
this._isOnLine||(this._isOnLine=!0,this.set({icon:void 0!==this._pending_icon?this._pending_icon:this.icon,deleteIcon:void 0!==this._pending_deleteIcon?this._pending_deleteIcon:this.deleteIcon,rightIcon:void 0!==this._pending_rightIcon?this._pending_rightIcon:this.rightIcon,rightIcon2:void 0!==this._pending_rightIcon2?this._pending_rightIcon2:this.rightIcon2,uncheckIcon:void 0!==this._pending_uncheckIcon?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);c&&c.select&&(this.set("checked",void 0!==this._pendingChecked?this._pendingChecked:this.checked),d.set(this.domNode,"role","option"),(this._pendingChecked||this.checked)&&d.set(this.domNode,"aria-selected","true"),delete this._pendingChecked);this.setArrow();this.layoutChildren()}},_updateHandles:function(){var c=this.getParent(),b=this.getTransOpts();b.moveTo||b.href||b.url||this.clickable||c&&c.select?
(this._keydownHandle||(this._keydownHandle=this.connect(this.domNode,"onkeydown","_onClick")),this._handleClick=!0):(this._keydownHandle&&(this.disconnect(this._keydownHandle),this._keydownHandle=null),this._handleClick=!1);this.inherited(arguments)},layoutChildren:function(){var c;m.forEach(this.domNode.childNodes,function(b){if(1===b.nodeType){var a=b.getAttribute("layout")||b.getAttribute("data-mobile-layout")||(g.byNode(b)||{}).layout;a&&(f.add(b,"mblListItemLayout"+a.charAt(0).toUpperCase()+
a.substring(1)),this._layoutChildren.push(b),"center"===a&&(c=b))}},this);c&&this.domNode.insertBefore(c,this.domNode.firstChild)},resize:function(){this.layoutOnResize&&this.variableHeight&&this.layoutVariableHeight();if(!this._templated||this.labelNode)this.labelNode.style.display=this.labelNode.firstChild?"block":"inline"},_onTouchStart:function(c){c.target.getAttribute("preventTouch")||c.target.getAttribute("data-mobile-prevent-touch")||(g.getEnclosingWidget(c.target)||{}).preventTouch||this.inherited(arguments)},
_onClick:function(c){if(!(this.getParent().isEditing||c&&"keydown"===c.type&&13!==c.keyCode)&&!1!==this.onClick(c)){var b=this.labelNode;if((this._templated||b)&&this.anchorLabel&&c.currentTarget===b)f.add(b,"mblListItemLabelSelected"),this.defer(function(){f.remove(b,"mblListItemLabelSelected")},this._duration),this.onAnchorLabelClicked(c);else{var a=this.getParent();a.select&&("single"===a.select?this.checked||this.set("checked",!0):"multiple"===a.select&&this.set("checked",!this.checked));this.defaultClickAction(c)}}},
onClick:function(){},onAnchorLabelClicked:function(c){},layoutVariableHeight:function(){var c=this.domNode.offsetHeight;c!==this.domNodeHeight&&(this.domNodeHeight=c,m.forEach(this._layoutChildren.concat([this.rightTextNode,this.rightIcon2Node,this.rightIconNode,this.uncheckIconNode,this.iconNode,this.deleteIconNode,this.knobIconNode]),function(b){if(b){var a=this.domNode,c=function(){var c=Math.round((a.offsetHeight-b.offsetHeight)/2)-k.get(a,"paddingTop");b.style.marginTop=c+"px"};0===b.offsetHeight&&
"IMG"===b.tagName?b.onload=c:c()}},this))},setArrow:function(){if(!this.checked){var c="",b=this.getParent(),a=this.getTransOpts();!(a.moveTo||a.href||a.url||this.clickable)||this.noArrow||b&&b.selectOne||(c=this.arrowClass||"mblDomButtonArrow",d.set(this.domNode,"role","button"));c&&this._setRightIconAttr(c)}},_findRef:function(c){var b,a="deleteIcon icon rightIcon uncheckIcon rightIcon2 rightText".split(" ");for(c=m.indexOf(a,c)+1;c<a.length;c++)if(b=this[a[c]+"Node"])return b;for(c=a.length-1;0<=
c;c--)if(b=this[a[c]+"Node"])return b.nextSibling;return this.domNode.firstChild},_setIcon:function(c,b){if(this._isOnLine){this._set(b,c);this[b+"Node"]=r.setIcon(c,this[b+"Pos"],this[b+"Node"],this[b+"Title"]||this.alt,this.domNode,this._findRef(b),"before");if(this[b+"Node"]){var a=b.charAt(0).toUpperCase()+b.substring(1);f.add(this[b+"Node"],"mblListItem"+a)}(a=this[b+"Role"])&&this[b+"Node"].setAttribute("role",a)}else this["_pending_"+b]=c},_setDeleteIconAttr:function(c){this._setIcon(c,"deleteIcon")},
_setIconAttr:function(c){this._setIcon(c,"icon")},_setRightTextAttr:function(c){this._templated||this.rightTextNode||(this.rightTextNode=e.create("div",{className:"mblListItemRightText"},this.labelNode,"before"));this.rightText=c;this.rightTextNode.innerHTML=this._cv?this._cv(c):c},_setRightIconAttr:function(c){this._setIcon(c,"rightIcon")},_setUncheckIconAttr:function(c){this._setIcon(c,"uncheckIcon")},_setRightIcon2Attr:function(c){this._setIcon(c,"rightIcon2")},_setCheckedAttr:function(c){if(this._isOnLine){var b=
this.getParent();b&&"single"===b.select&&c&&m.forEach(b.getChildren(),function(a){a!==this&&a.checked&&a.set("checked",!1)&&d.set(a.domNode,"aria-selected","false")},this);this._setRightIconAttr(this.checkClass||"mblDomButtonCheck");this._setUncheckIconAttr(this.uncheckClass);f.toggle(this.domNode,"mblListItemChecked",c);f.toggle(this.domNode,"mblListItemUnchecked",!c);f.toggle(this.domNode,"mblListItemHasUncheck",!!this.uncheckIconNode);this.rightIconNode.style.position=this.uncheckIconNode&&!c?
"absolute":"";if(b&&this.checked!==c)b.onCheckStateChanged(this,c);this._set("checked",c);d.set(this.domNode,"aria-selected",c?"true":"false")}else this._pendingChecked=c},_setBusyAttr:function(c){var b=this._prog;c?(this._progNode||(this._progNode=e.create("div",{className:"mblListItemIcon"}),b=this._prog=new h({size:25,center:!1,removeOnStop:!1}),f.add(b.domNode,this.progStyle),this._progNode.appendChild(b.domNode)),this.iconNode?this.domNode.replaceChild(this._progNode,this.iconNode):e.place(this._progNode,
this._findRef("icon"),"before"),b.start()):this._progNode&&(this.iconNode?this.domNode.replaceChild(this.iconNode,this._progNode):this.domNode.removeChild(this._progNode),b.stop());this._set("busy",c)},_setSelectedAttr:function(c){this.inherited(arguments);f.toggle(this.domNode,this._selClass,c)},_setClickableAttr:function(c){this._set("clickable",c);this._updateHandles()},_setMoveToAttr:function(c){this._set("moveTo",c);this._updateHandles()},_setHrefAttr:function(c){this._set("href",c);this._updateHandles()},
_setUrlAttr:function(c){this._set("url",c);this._updateHandles()}});t.ChildWidgetProperties={layout:"",preventTouch:!1};n.extend(u,t.ChildWidgetProperties);return q("dojo-bidi")?p("dojox.mobile.ListItem",[t,l]):t})},"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".split(" "),
function(m,p,n,f,e,k,d,g,u,r,t,h,q,l,c,b){t=n(q("dojo-bidi")?"dojox.mobile.NonBidiSwitch":"dojox.mobile.Switch",[h,t],{value:"on",name:"",leftLabel:"ON",rightLabel:"OFF",shape:"mblSwDefaultShape",tabIndex:"0",_setTabIndexAttr:"",baseClass:"mblSwitch",role:"",buildRendering:function(){this.templateString||(this.domNode=this.srcNodeRef&&"SPAN"===this.srcNodeRef.tagName?this.srcNodeRef:d.create("span"));c._setTouchAction(this.domNode,"none");this.inherited(arguments);if(!this.templateString){var a=this.srcNodeRef&&
this.srcNodeRef.className||this.className||this["class"];if(a=a.match(/mblSw.*Shape\d*/))this.shape=a;k.add(this.domNode,this.shape);this.domNode.innerHTML='\x3cdiv class\x3d"mblSwitchInner"\x3e\x3cdiv class\x3d"mblSwitchBg mblSwitchBgLeft"\x3e\x3cdiv class\x3d"mblSwitchText mblSwitchTextLeft"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"mblSwitchBg mblSwitchBgRight"\x3e\x3cdiv class\x3d"mblSwitchText mblSwitchTextRight"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"mblSwitchKnob"\x3e\x3c/div\x3e\x3cinput type\x3d"hidden"'+
(this.name?' name\x3d"'+this.name+'"':"")+' value\x3d"'+this.value+'"\x3e\x3c/div\x3e\x3c/div\x3e';a=this.inner=this.domNode.firstChild;this.left=a.childNodes[0];this.right=a.childNodes[1];this.knob=a.childNodes[2];this.input=a.childNodes[3]}u.set(this.domNode,"role","checkbox");u.set(this.domNode,"aria-checked","on"===this.value?"true":"false");this.switchNode=this.domNode;q("windows-theme")&&(a=d.create("div",{className:"mblSwitchContainer"}),this.labelNode=d.create("label",{"class":"mblSwitchLabel",
"for":this.id},a),a.appendChild(this.domNode.cloneNode(!0)),this.domNode=a,this.focusNode=a.childNodes[1],this.labelNode.innerHTML="off"==this.value?this.rightLabel:this.leftLabel,this.switchNode=this.domNode.childNodes[1],a=this.inner=this.domNode.childNodes[1].firstChild,this.left=a.childNodes[0],this.right=a.childNodes[1],this.knob=a.childNodes[2],this.input=a.childNodes[3])},postCreate:function(){this.connect(this.switchNode,"onclick","_onClick");this.connect(this.switchNode,"onkeydown","_onClick");
this._startHandle=this.connect(this.switchNode,r.press,"onTouchStart");this._initialValue=this.value},startup:function(){var a=this._started;this.inherited(arguments);a||this.resize()},resize:function(){if(q("windows-theme"))g.set(this.domNode,"width","100%");else{var a=g.get(this.domNode,"width"),b=a+"px",a=a-g.get(this.knob,"width")+"px";g.set(this.left,"width",b);g.set(this.right,this.isLeftToRight()?{width:b,left:a}:{width:b});g.set(this.left.firstChild,"width",a);g.set(this.right.firstChild,
"width",a);g.set(this.knob,"left",a);"off"==this.value&&g.set(this.inner,"left",this.isLeftToRight()?"-"+a:0);this._hasMaskImage=!1;this._createMaskImage()}},_changeState:function(a,b){var c="on"===a;this.left.style.display="";this.right.style.display="";this.inner.style.left="";b&&k.add(this.switchNode,"mblSwitchAnimation");k.remove(this.switchNode,c?"mblSwitchOff":"mblSwitchOn");k.add(this.switchNode,c?"mblSwitchOn":"mblSwitchOff");u.set(this.switchNode,"aria-checked",c?"true":"false");c||q("windows-theme")||
(this.inner.style.left=(this.isLeftToRight()?-(g.get(this.domNode,"width")-g.get(this.knob,"width")):0)+"px");var d=this;d.defer(function(){d.left.style.display=c?"":"none";d.right.style.display=c?"none":"";k.remove(d.switchNode,"mblSwitchAnimation")},b?300:0)},_createMaskImage:function(){this._timer&&(this._timer.remove(),delete this._timer);if(!this._hasMaskImage){var a=g.get(this.domNode,"width"),b=g.get(this.domNode,"height");this._width=a-g.get(this.knob,"width");this._hasMaskImage=!0;if(q("mask-image")){var c=
g.get(this.left,"borderTopLeftRadius");if("0px"!=c){var d=c.split(" "),c=parseFloat(d[0]),d=1==d.length?c:parseFloat(d[1]);(this.shape+"Mask"+a+b+c+d).replace(/\./,"_");l.createRoundMask(this.switchNode,0,0,0,0,a,b,c,d,1)}}}},_onClick:function(a){a&&"keydown"===a.type&&13!==a.keyCode||!1===this.onClick(a)||this._moved||(this._set("value",this.input.value="on"==this.value?"off":"on"),this._changeState(this.value,!0),this.onStateChanged(this.value))},onClick:function(){},onTouchStart:function(a){this._moved=
!1;this.innerStartX=this.inner.offsetLeft;this._conn||(this._conn=[this.connect(this.inner,r.move,"onTouchMove"),this.connect(e.doc,r.release,"onTouchEnd")],q("windows-theme")&&this._conn.push(this.connect(e.doc,"MSPointerCancel","onTouchEnd")));this.touchStartX=a.touches?a.touches[0].pageX:a.clientX;this.left.style.display="";this.right.style.display="";f.stop(a);this._createMaskImage()},onTouchMove:function(a){a.preventDefault();if(a.targetTouches){if(1!=a.targetTouches.length)return;a=a.targetTouches[0].clientX-
this.touchStartX}else a=a.clientX-this.touchStartX;var b=this.innerStartX+a;b<=-(this._width-10)&&(b=-this._width);-10<=b&&(b=0);this.inner.style.left=b+"px";10<Math.abs(a)&&(this._moved=!0)},onTouchEnd:function(a){m.forEach(this._conn,p.disconnect);this._conn=null;this.innerStartX==this.inner.offsetLeft?q("touch")&&q("clicks-prevented")&&c._sendClick(this.inner,a):(a=this.inner.offsetLeft<-(this._width/2)?"off":"on",a=this._newState(a),this._changeState(a,!0),a!=this.value&&(this._set("value",this.input.value=
a),this.onStateChanged(a)))},_newState:function(a){return a},onStateChanged:function(a){this.labelNode&&(this.labelNode.innerHTML="off"==a?this.rightLabel:this.leftLabel)},_setValueAttr:function(a){this._changeState(a,!1);this.value!=a&&(this._set("value",this.input.value=a),this.onStateChanged(a))},_setLeftLabelAttr:function(a){this.leftLabel=a;this.left.firstChild.innerHTML=this._cv?this._cv(a):a},_setRightLabelAttr:function(a){this.rightLabel=a;this.right.firstChild.innerHTML=this._cv?this._cv(a):
a},reset:function(){this.set("value",this._initialValue)}});return q("dojo-bidi")?n("dojox.mobile.Switch",[t,b]):t})},"dojox/mobile/_maskUtils":function(){define(["dojo/_base/window","dojo/dom-style","./sniff"],function(m,p,n){n.add("mask-image-css",function(e,f,d){return"function"===typeof f.getCSSCanvasContext&&"undefined"!==typeof d.style.webkitMaskImage});n.add("mask-image",function(){return n("mask-image-css")||n("svg")});var f={};return{createRoundMask:function(e,k,d,g,u,r,t,h,q,l){g=k+r+g;
var c=d+t+u;if(n("mask-image-css"))u=("DojoMobileMask"+k+d+r+t+h+q).replace(/\./g,"_"),f[u]||(f[u]=1,g=m.doc.getCSSCanvasContext("2d",u,g,c),g.beginPath(),h==q?2==h&&5==r?(g.fillStyle="rgba(0,0,0,0.5)",g.fillRect(1,0,3,2),g.fillRect(0,1,5,1),g.fillRect(0,t-2,5,1),g.fillRect(1,t-1,3,2),g.fillStyle="rgb(0,0,0)",g.fillRect(0,2,5,t-4)):2==h&&5==t?(g.fillStyle="rgba(0,0,0,0.5)",g.fillRect(0,1,2,3),g.fillRect(1,0,1,5),g.fillRect(r-2,0,1,5),g.fillRect(r-1,1,2,3),g.fillStyle="rgb(0,0,0)",g.fillRect(2,0,r-
4,5)):(g.fillStyle="#000000",g.moveTo(k+h,d),g.arcTo(k,d,k,d+h,h),g.lineTo(k,d+t-h),g.arcTo(k,d+t,k+h,d+t,h),g.lineTo(k+r-h,d+t),g.arcTo(k+r,d+t,k+r,d+h,h),g.lineTo(k+r,d+h),g.arcTo(k+r,d,k+r-h,d,h)):(t=Math.PI,g.scale(1,q/h),g.moveTo(k+h,d),g.arc(k+h,d+h,h,1.5*t,.5*t,!0),g.lineTo(k+r-h,d+2*h),g.arc(k+r-h,d+h,h,.5*t,1.5*t,!0)),g.closePath(),g.fill()),e.style.webkitMaskImage="-webkit-canvas("+u+")";else if(n("svg")){e._svgMask&&e.removeChild(e._svgMask);for(var b=null,a=e.parentNode;a&&(!(b=p.getComputedStyle(a).backgroundColor)||
"transparent"==b||b.match(/rgba\(.*,\s*0\s*\)/));a=a.parentNode);a=m.doc.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("width",g);a.setAttribute("height",c);a.style.position="absolute";a.style.pointerEvents="none";a.style.opacity="1";a.style.zIndex="2147483647";c=m.doc.createElementNS("http://www.w3.org/2000/svg","path");l=l||0;h+=l;q+=l;k=" M"+(k+h-l)+","+(d-l)+" a"+h+","+q+" 0 0,0 "+-h+","+q+" v"+-q+" h"+h+" Z M"+(k-l)+","+(d+t-q+l)+" a"+h+","+q+" 0 0,0 "+h+","+q+" h"+-h+" v"+
-q+" z M"+(k+r-h+l)+","+(d+t+l)+" a"+h+","+q+" 0 0,0 "+h+","+-q+" v"+q+" h"+-h+" z M"+(k+r+l)+","+(d+q-l)+" a"+h+","+q+" 0 0,0 "+-h+","+-q+" h"+h+" v"+q+" z";0<d&&(k+=" M0,0 h"+g+" v"+d+" h"+-g+" z");0<u&&(k+=" M0,"+(d+t)+" h"+g+" v"+u+" h"+-g+" z");c.setAttribute("d",k);c.setAttribute("fill",b);c.setAttribute("stroke",b);c.style.opacity="1";a.appendChild(c);e._svgMask=a;e.appendChild(a)}}}})},"*noref":1}});
define("dojox/mobile",[".","dojo/_base/lang","dojox/mobile/_base"],function(m,p,n){p.getObject("mobile",!0,m);return m.mobile});