//>>built
define("demos/mobileGallery/src/_base",["dojo/_base/array","dojo/_base/kernel","dojo/_base/sniff","dojo/_base/window"],function(_1,_2,_3,_4){var _5=_2.getObject("demos.mobileGallery.src._base",true);_5.isIPhone=_3("ios");_5.isIPad=_3("ipad");_5.isWebOS=_3("webos");_5.isAndroid=_3("android");var _6=_4.global.location.search;if(_6&&_6.length>1){var _7=_6.substr(1).split("&");_1.forEach(_7,function(_8){var _9=_8.split("=");if(_9[0]==="theme"&&_9[1]){switch(_9[1].toLowerCase()){case "iphone":_5.isIPhone=true;_5.isWebOS=false;_5.isAndroid=false;break;case "android":_5.isIPhone=false;_5.isWebOS=false;_5.isAndroid=true;break;case "webos":_5.isIPhone=false;_5.isWebOS=true;_5.isAndroid=false;break;}}});}return _5;});