//>>built
define("dojox/mobile/parser","dojo/_base/kernel dojo/_base/array dojo/_base/config dojo/_base/lang dojo/_base/window dojo/ready".split(" "),function(u,v,w,m,x,y){var z=m.getObject("dojox.mobile",!0),r=new function(){var q={},t=function(a,c){if("string"===typeof c){var h=a+":"+c.replace(/ /g,"");return q[h]||(q[h]=t(a).createSubclass(v.map(c.split(/, */),t)))}return q[a]||(q[a]=m.getObject(a)||require(a))},A=function(a){return eval(a)};this.instantiate=function(a,c,h){c=c||{};h=h||{};var f,k=[];if(a){for(f=
0;f<a.length;f++){var b=a[f],g=t(b._type,b.getAttribute("data-dojo-mixins")),n=g.prototype,d={},l;m.mixin(d,A.call(h.propsThis,"({"+(b.getAttribute("data-dojo-props")||"")+"})"));m.mixin(d,h.defaults);m.mixin(d,c);for(l in n){var e=(e=b.getAttributeNode(l))&&e.nodeValue;var p=typeof n[l];if(e||"boolean"===p&&""===e)m.isArray(n[l])?d[l]=e.split(/\s*,\s*/):"string"===p?d[l]=e:"number"===p?d[l]=e-0:"boolean"===p?d[l]="false"!==e:"object"===p?d[l]=eval("("+e+")"):"function"===p&&(d[l]=m.getObject(e,!1)||
new Function(e),b.removeAttribute(l))}d["class"]=b.className;d.style||(d.style=b.style.cssText);if(e=b.getAttribute("data-dojo-attach-point"))d.dojoAttachPoint=e;if(e=b.getAttribute("data-dojo-attach-event"))d.dojoAttachEvent=e;g=new g(d,b);k.push(g);(b=b.getAttribute("jsId")||b.getAttribute("data-dojo-id"))&&m.setObject(b,g)}for(f=0;f<k.length;f++)a=k[f],!h.noStart&&a.startup&&!a._started&&a.startup()}return k};this.parse=function(a,c){a?!c&&a.rootNode&&(c=a,a=a.rootNode):a=x.body();var h=a.getElementsByTagName("*"),
f,k,b=[];for(f=0;f<h.length;f++){var g=h[f];if(k=g._type=g.getAttribute("dojoType")||g.getAttribute("data-dojo-type"))if(g._skip)g._skip="";else{if(t(k).prototype.stopParser&&(!c||!c.template)){var n=g.getElementsByTagName("*");for(k=0;k<n.length;k++)n[k]._skip="1"}b.push(g)}}return this.instantiate(b,c&&c.template?{template:!0}:null,c)}};w.parseOnLoad&&y(100,function(){try{require("dojo/parser")||r.parse()}catch(q){r.parse()}});z.parser=r;u.parser=u.parser||r;return r});