/*
 COPYRIGHT 2009 ESRI

 TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
 Unpublished material - all rights reserved under the
 Copyright Laws of the United States and applicable international
 laws, treaties, and conventions.

 For additional information, contact:
 Environmental Systems Research Institute, Inc.
 Attn: Contracts and Legal Services Department
 380 New York Street
 Redlands, California, 92373
 USA

 email: contracts@esri.com
 */

window[esri._dojoScopeName||"dojo"]._xdResourceLoaded(function(_1,_2,_3){return {depends:[["provide","esri.utils"],["require","dojo.io.script"],["require","esri.graphic"],["requireLocalization","esri","jsapi",null,"ROOT,ar,de,es,fr,it,ja,ko,nl,pl,pt-br,ro,ru,sv,zh","ROOT,ar,de,es,fr,it,ja,ko,nl,pl,pt-br,ro,ru,sv,zh"]],defineResource:function(_4,_5,_6){if(!_4._hasResource["esri.utils"]){_4._hasResource["esri.utils"]=true;_4.provide("esri.utils");_4.require("dojo.io.script");_4.require("esri.graphic");_4.addOnLoad(function(){esri.bundle=_4.i18n.getLocalization("esri","jsapi");});esri.show=function(_7){_7.style.display="block";};esri.hide=function(_8){_8.style.display="none";};esri.toggle=function(_9){_9.style.display=_9.style.display==="none"?"block":"none";};esri.valueOf=function(_a,_b){var i;for(i in _a){if(_a[i]==_b){return i;}}return null;};esri.substitute=(function(){var _c="${*}",_d=["NumberFormat","DateString","DateFormat"];function _e(_f){return esri._isDefined(_f)?_f:"";};function _10(key,_11,_12){var _13=_12.match(/([^\(]+)(\([^\)]+\))?/i);var _14=_4.trim(_13[1]);var _15=_4.fromJson((_13[2]?_4.trim(_13[2]):"()").replace(/^\(/,"({").replace(/\)$/,"})"));var _16=_11[key];if(_4.indexOf(_d,_14)===-1){var ref=_4.getObject(_14);if(_4.isFunction(ref)){_16=ref(_16,key,_11);}}else{if(typeof _16==="number"||(typeof _16==="string"&&_16&&!isNaN(Number(_16)))){_16=Number(_16);switch(_14){case "NumberFormat":if(_4.getObject("dojo.number.format")){return _4.number.format(_16,_15);}break;case "DateString":var _17=new Date(_16);if(_15.local||_15.systemLocale){if(_15.systemLocale){return _17.toLocaleDateString()+(_15.hideTime?"":(" "+_17.toLocaleTimeString()));}else{return _17.toDateString()+(_15.hideTime?"":(" "+_17.toTimeString()));}}else{_17=_17.toUTCString();if(_15.hideTime){_17=_17.replace(/\s+\d\d\:\d\d\:\d\d\s+(utc|gmt)/i,"");}return _17;}break;case "DateFormat":if(_4.getObject("dojo.date.locale.format")){return _4.date.locale.format(new Date(_16),_15);}break;}}}return _e(_16);};return function(_18,_19,_1a){var _1b,_1c,_1d;if(esri._isDefined(_1a)){if(_4.isObject(_1a)){_1b=_1a.first;_1c=_1a.dateFormat;_1d=_1a.numberFormat;}else{_1b=_1a;}}if(!_19||_19===_c){var s=[],val,i;for(i in _18){val=_18[i];if(_1c&&_4.indexOf(_1c.properties||"",i)!==-1){val=_10(i,_18,_1c.formatter||"DateString");}else{if(_1d&&_4.indexOf(_1d.properties||"",i)!==-1){val=_10(i,_18,_1d.formatter||"NumberFormat");}}s.push(i+" = "+_e(val)+"<br/>");if(_1b){break;}}return s.join("");}else{return _4.replace(_19,_4.hitch({obj:_18},function(_1e,key){var _1f=key.split(":");if(_1f.length>1){key=_1f[0];_1f.shift();return _10(key,this.obj,_1f.join(":"));}else{if(_1c&&_4.indexOf(_1c.properties||"",key)!==-1){return _10(key,this.obj,_1c.formatter||"DateString");}if(_1d&&_4.indexOf(_1d.properties||"",key)!==-1){return _10(key,this.obj,_1d.formatter||"NumberFormat");}}return _e(this.obj[key]);}),/\$\{([^\}]+)\}/g);}};}());esri.documentBox=_4.isIE?{w:document.documentElement.clientWidth,h:document.documentElement.clientHeight}:{w:window.innerWidth,h:window.innerHeight};esri.urlToObject=function(url){var iq=url.indexOf("?");if(iq===-1){return {path:url,query:null};}else{return {path:url.substring(0,iq),query:_4.queryToObject(url.substring(iq+1))};}};esri._getProxyUrl=function(_20){var _21=esri.config.defaults.io.proxyUrl,_22,_23,_24;if(!_21){console.log(esri.bundle.io.proxyNotSet);throw new Error(esri.bundle.io.proxyNotSet);}if(_20&&window.location.href.toLowerCase().indexOf("https:")!==0){_23=_21;if(_23.toLowerCase().indexOf("http")!==0){_23=esri._getAbsoluteUrl(_23);}_23=_23.replace(/^http:/i,"https:");if(esri._canDoXOXHR(_23)){_21=_23;_24=1;}}_22=esri.urlToObject(_21);_22._xo=_24;return _22;};esri._getProxiedUrl=function(url){if(esri.config.defaults.io.alwaysUseProxy){var _25=esri._getProxyUrl(),_26=esri.urlToObject(url);url=_25.path+"?"+_26.path;var _27=_4.objectToQuery(_4.mixin(_25.query||{},_26.query));if(_27){url+=("?"+_27);}}return url;};esri._hasSameOrigin=function(_28,_29,_2a){_28=_28.toLowerCase();_29=_29.toLowerCase();var _2b=window.location.href.toLowerCase();_28=_28.indexOf("http")===0?new _4._Url(_28):(_2b=new _4._Url(_2b));_29=_29.indexOf("http")===0?new _4._Url(_29):(_4.isString(_2b)?new _4._Url(_2b):_2b);return ((_2a||(_28.scheme===_29.scheme))&&_28.host===_29.host&&_28.port===_29.port);};esri._canDoXOXHR=function(url){var _2c=false,_2d=esri._hasSameOrigin,_2e=esri.config.defaults.io.corsEnabledServers,_2f;if(esri._hasCors&&_2e&&_2e.length){_2c=_4.some(_2e,function(_30){_2f=(_4.trim(_30).toLowerCase().indexOf("http")!==0);return _2d(url,_2f?("http://"+_30):_30)||(_2f&&_2d(url,"https://"+_30));});}return _2c;};esri.request=function(req,_31){var dfd,_32=req.form,_33=_32&&_4.some(_32.elements,function(el){return el.type==="file";}),_34=(req.url.toLowerCase().indexOf("token=")!==-1||(req.content&&req.content.token)||(_33&&_4.some(_32.elements,function(el){return el.name==="token";})))?1:0;if(req._usrDfd){dfd=req._usrDfd;}else{dfd=new _4.Deferred(esri._dfdCanceller);var ld=req.load,_35=req.error;if(ld){dfd.addCallback(function(_36){var _37=dfd._pendingDfd,_38=_37&&_37.ioArgs,_39=_38&&_38.args;return ld.call(_39,_36,_38);});}if(_35){dfd.addErrback(function(_3a){var _3b=dfd._pendingDfd,_3c=_3b&&_3b.ioArgs,_3d=_3c&&_3c.args;return _35.call(_3d,_3a,_3c);});}}var _3e=_31&&_31.disableIdentityLookup;if(esri.id&&!_34&&!req._token&&!esri.id._isPublic(req.url)&&!_3e&&esri.id.findServerInfo(req.url)){dfd._pendingDfd=esri.id.getCredential(req.url);dfd._pendingDfd.addCallback(function(_3f){req._token=_3f.token;req._usrDfd=dfd;esri.request(req,_31);}).addErrback(function(_40){req._usrDfd=null;dfd.errback(_40);dfd._pendingDfd=null;});}else{dfd._pendingDfd=esri._request(req,_31,_33);if(!dfd._pendingDfd){dfd.ioArgs=dfd._pendingDfd&&dfd._pendingDfd.ioArgs;var err=new Error("Deferred object is missing");err.log=_4.config.isDebug;req._usrDfd=null;dfd.errback(err);dfd._pendingDfd=null;return dfd;}dfd._pendingDfd.addCallback(function(_41){dfd.ioArgs=dfd._pendingDfd&&dfd._pendingDfd.ioArgs;req._usrDfd=null;dfd.callback(_41);dfd._pendingDfd=null;}).addErrback(function(_42){if(esri.id&&_4.indexOf(esri.id._errorCodes,_42.code)!==-1&&!esri.id._isPublic(req.url)&&!_3e){dfd._pendingDfd=esri.id.getCredential(req.url,req._token);dfd._pendingDfd.addCallback(function(_43){req._token=_43.token;req._usrDfd=dfd;esri.request(req,_31);}).addErrback(function(_44){req._usrDfd=null;dfd.errback(_44);dfd._pendingDfd=null;});return;}dfd.ioArgs=dfd._pendingDfd&&dfd._pendingDfd.ioArgs;req._usrDfd=null;dfd.errback(_42);dfd._pendingDfd=null;});}return dfd;};esri._request=function(req,_45,_46){var _47=false,_48=false;if(esri._isDefined(_45)){if(_4.isObject(_45)){_47=!!_45.useProxy;_48=!!_45.usePost;}else{_47=!!_45;}}req=_4.mixin({},req);var _49=req.content,_4a=req.url,_4b=_46&&req.form,_4c=esri.config.defaults.io;req.load=function(_4d){var err;if(_4d&&_4d.error){err=_4.mixin(new Error(),_4d.error);err.log=_4.config.isDebug;}return err||_4d;};req.error=function(_4e,io){if(io&&io.xhr){io.xhr.abort();}if(!(_4e instanceof Error)){_4e=_4.mixin(new Error(),_4e);}_4e.log=_4.config.isDebug;_4c.errorHandler(_4e,io);return _4e;};if(req._token){req.content=req.content||{};req.content.token=req._token;}var len=0;if(_49&&_4a){len=_4.objectToQuery(_49).length+_4a.length+1;}req.timeout=esri._isDefined(req.timeout)?req.timeout:_4c.timeout;req.handleAs=req.handleAs||"json";try{var _4f,_50,_51=esri._reqPreCallback,_52,_53=(_48||_46||len>_4c.postLength)?true:false,_54=(req.handleAs.indexOf("json")!==-1&&req.callbackParamName&&!_46)?true:false,_55=(_4c.alwaysUseProxy||_47||((!_54||_53)&&!esri._hasSameOrigin(req.url,window.location.href)&&!(_52=esri._canDoXOXHR(req.url))))?true:false;if(_46&&!esri._hasFileUpload&&!_55&&_52){_55=true;}if(_55){_4f=esri._getProxyUrl(_4.trim(_4a).toLowerCase().indexOf("https:")===0);_50=_4f.path;if(_4f._xo){_52=true;}if(!_53&&(_50.length+1+len)>_4c.postLength){_53=true;}req.url=_50+"?"+_4a;if(_53){req.content=_4.mixin(_4f.query||{},_49);}else{var _56=_4.objectToQuery(_4.mixin(_4f.query||{},_49));if(_56){req.url+=("?"+_56);}req.content=null;}}if(_54&&!_53){if(!esri._isDefined(req.isAsync)&&_4.isFF<4){req.isAsync=true;}return _4.io.script.get(_51?_51(req):req);}else{var _57=req.headers;if(_52&&(!_57||!_57.hasOwnProperty("X-Requested-With"))){_57=req.headers=(_57||{});_57["X-Requested-With"]=null;}if(_46){var _58=req.callbackParamName||"callback.html",_59=req.callbackElementName||"textarea",_5a,_5b,_5c,i,il=_4b.elements.length,el;_49=req.content;if(_49){for(_5a in _49){_5c=_49[_5a];if(esri._isDefined(_5c)){_5b=null;for(i=0;i<il;i++){el=_4b.elements[i];if(el.name===_5a){_5b=el;break;}}if(_5b){_5b.value=_5c;}else{_4b.appendChild(_4.create("input",{type:"hidden",name:_5a,value:_5c}));}}}}if(esri._hasFileUpload){_4.forEach(_4b.elements,function(el){if(el.name===_58){_4b.removeChild(el);}});req.contentType=false;req.postData=new FormData(_4b);delete req.form;}else{_4b.enctype="multipart/form-data";if(_4.isIE<9){_4b.encoding="multipart/form-data";}_4b.method="post";if(!_4.some(_4b.elements,function(el){return el.name===_58;})){_4b.appendChild(_4.create("input",{type:"hidden",name:_58,value:_59}));}if(_4a.toLowerCase().indexOf("addattachment")!==-1||_4a.toLowerCase().indexOf("updateattachment")!==-1){req.url=_4a+((_4a.indexOf("?")===-1)?"?":"&")+_58+"="+_59;if(_55){req.url=_50+"?"+req.url;}}delete req.content;}}req=_51?_51(req):req;if(_53){if(_46&&!esri._hasFileUpload){return _4.io.iframe.send(req);}else{return _4.rawXhrPost(req);}}else{return _4.xhrGet(req);}}}catch(e){var dfd=new _4.Deferred();dfd.errback(req.error(e));return dfd;}};esri.setRequestPreCallback=function(_5d){esri._reqPreCallback=_5d;};esri._getParts=function(arr,obj,cb){return [_4.isString(arr)?arr.split(""):arr,obj||_4.global,_4.isString(cb)?new Function("item","index","array",cb):cb];};esri.filter=function(arr,_5e,_5f){var _60=esri._getParts(arr,_5f,_5e),_61={},i;arr=_60[0];for(i in arr){if(_60[2].call(_60[i],arr[i],i,arr)){_61[i]=arr[i];}}return _61;};esri.TileUtils=(function(){function _62(map,ti,_63){var wd=map.width,ht=map.height,ew=_63.xmax-_63.xmin,eh=_63.ymax-_63.ymin,ed=-1,_64=ti.lods,i,il=_64.length,abs=Math.abs,lod,cl,ced;for(i=0;i<il;i++){cl=_64[i];ced=ew>eh?abs(eh-(ht*cl.resolution)):abs(ew-(wd*cl.resolution));if(ed<0||ced<=ed){lod=cl;ed=ced;}else{break;}}return lod;};function _65(map,_66,lod){var res=lod.resolution,cx=(_66.xmin+_66.xmax)/2,cy=(_66.ymin+_66.ymax)/2,_67=(map.width/2)*res,_68=(map.height/2)*res;return new esri.geometry.Extent(cx-(_67),cy-(_68),cx+(_67),cy+(_68),_66.spatialReference);};function _69(map,ti,_6a,lod){var res=lod.resolution,tw=ti.width,th=ti.height,to=ti.origin,mv=map.__visibleDelta,_6b=Math.floor,tmw=tw*res,tmh=th*res,tr=_6b((to.y-_6a.y)/tmh),tc=_6b((_6a.x-to.x)/tmw),_6c=to.x+(tc*tmw),_6d=to.y-(tr*tmh),oX=_6b(Math.abs((_6a.x-_6c)*tw/tmw))+mv.x,oY=_6b(Math.abs((_6a.y-_6d)*th/tmh))+mv.y;return {point:_6a,coords:{row:tr,col:tc},offsets:{x:oX,y:oY}};};return {_addFrameInfo:function(_6e,_6f){var _70,_71,_72=2*_6f.origin[1],_73=_6f.origin[0],_74=_6e.origin.x,_75=_6e.width,_76;_4.forEach(_6e.lods,function(lod){_70=Math.round(_72/lod.resolution);_71=Math.ceil(_70/_75);_76=Math.floor((_73-_74)/(_75*lod.resolution));if(!lod._frameInfo){lod._frameInfo=[_71,_76,_76+_71-1,_70];}});},getContainingTileCoords:function(ti,_77,lod){var to=ti.origin,res=lod.resolution,tmw=ti.width*res,tmh=ti.height*res,tc=Math.floor((_77.x-to.x)/tmw),tr=Math.floor((to.y-_77.y)/tmh);return {row:tr,col:tc};},getCandidateTileInfo:function(map,ti,_78){var lod=_62(map,ti,_78),adj=_65(map,_78,lod),ct=_69(map,ti,new esri.geometry.Point(adj.xmin,adj.ymax,_78.spatialReference),lod);return {tile:ct,lod:lod,extent:adj};},getTileExtent:function(ti,_79,row,col){var to=ti.origin,lod=ti.lods[_79],res=lod.resolution,tw=ti.width,th=ti.height;return new esri.geometry.Extent(((col*res)*tw)+to.x,to.y-((row+1)*res)*th,(((col+1)*res)*tw)+to.x,to.y-((row*res)*th),ti.spatialReference);}};}());esri.graphicsExtent=function(_7a){var g=_7a[0].geometry,_7b=g.getExtent(),ext,i,il=_7a.length;if(_7b===null){_7b=new esri.geometry.Extent(g.x,g.y,g.x,g.y,g.spatialReference);}for(i=1;i<il;i++){ext=(g=_7a[i].geometry).getExtent();if(ext===null){ext=new esri.geometry.Extent(g.x,g.y,g.x,g.y,g.spatialReference);}_7b=_7b.union(ext);}if(_7b.getWidth()<=0&&_7b.getHeight()<=0){return null;}return _7b;};esri.getGeometries=function(_7c){return _4.map(_7c,function(_7d){return _7d.geometry;});};esri._encodeGraphics=function(_7e,_7f){var _80=[],_81,enc,_82;_4.forEach(_7e,function(g,i){_81=g.toJson();enc={};if(_81.geometry){_82=_7f&&_7f[i];enc.geometry=_82&&_82.toJson()||_81.geometry;}if(_81.attributes){enc.attributes=_81.attributes;}_80[i]=enc;});return _80;};esri._serializeLayerDefinitions=function(_83){var _84=[],_85=false,re=/[:;]/;if(_83){_4.forEach(_83,function(_86,i){if(_86){_84.push([i,_86]);if(!_85&&re.test(_86)){_85=true;}}});if(_84.length>0){var _87;if(_85){_87={};_4.forEach(_84,function(_88){_87[_88[0]]=_88[1];});_87=_4.toJson(_87);}else{_87=[];_4.forEach(_84,function(_89){_87.push(_89[0]+":"+_89[1]);});_87=_87.join(";");}return _87;}}return null;};esri._serializeTimeOptions=function(_8a,ids){if(!_8a){return;}var _8b=[];_4.forEach(_8a,function(_8c,i){if(_8c){var _8d=_8c.toJson();if(ids&&_4.indexOf(ids,i)!==-1){_8d.useTime=false;}_8b.push("\""+i+"\":"+_4.toJson(_8d));}});if(_8b.length){return "{"+_8b.join(",")+"}";}};esri._isDefined=function(_8e){return (_8e!==undefined)&&(_8e!==null);};esri._sanitize=function(obj){var _8f;for(_8f in obj){if(obj.hasOwnProperty(_8f)){if(obj[_8f]===undefined){delete obj[_8f];}}}return obj;};esri._dfdCanceller=function(dfd){dfd.canceled=true;var _90=dfd._pendingDfd;if(dfd.fired===-1&&_90&&_90.fired===-1){_90.cancel();}dfd._pendingDfd=null;};esri._fixDfd=function(dfd){var _91=dfd.then;dfd.then=function(_92,b,c){if(_92){var _93=_92;_92=function(_94){if(_94&&_94._argsArray){return _93.apply(null,_94);}return _93(_94);};}return _91.call(this,_92,b,c);};return dfd;};esri._resDfd=function(dfd,_95,_96){var _97=_95.length;if(_97===1){if(_96){dfd.errback(_95[0]);}else{dfd.callback(_95[0]);}}else{if(_97>1){_95._argsArray=true;dfd.callback(_95);}else{dfd.callback();}}};esri._createWrappers=function(_98){var _99=_4.getObject(_98+".prototype");_4.forEach(_99.__msigns,function(sig){var _9a=_99[sig.n];_99[sig.n]=function(){var _9b=this,_9c=[],i,_9d=new _4.Deferred(esri._dfdCanceller);if(sig.f){esri._fixDfd(_9d);}for(i=0;i<sig.c;i++){_9c[i]=arguments[i];}var _9e={dfd:_9d};_9c.push(_9e);var _9f,_a0=[],_a1;if(_9b.normalization&&!_9b._isTable){_9f=esri._disassemble(_9c,sig.a);_4.forEach(_9f,function(_a2){_a0=_a0.concat(_a2.value);});if(_a0.length){var sr=_a0[0].spatialReference;if(sr&&sr._isWrappable()){_a1=esri.geometry.normalizeCentralMeridian(_a0,esri.config.defaults.geometryService);}}}if(_a1){_9d._pendingDfd=_a1;_a1.addCallbacks(function(_a3){if(_9d.canceled){return;}_9e.assembly=esri._reassemble(_a3,_9f);_9d._pendingDfd=_9a.apply(_9b,_9c);},function(err){var _a4=_9b.declaredClass;if(_a4&&_a4.indexOf("FeatureLayer")!==-1){_9b._resolve([err],null,_9c[sig.e],_9d,true);}else{_9b._errorHandler(err,_9c[sig.e],_9d);}});}else{_9d._pendingDfd=_9a.apply(_9b,_9c);}return _9d;};});};esri._disassemble=function(_a5,_a6){var _a7=[];_4.forEach(_a6,function(_a8){var _a9=_a8.i,arg=_a5[_a9],_aa=_a8.p,_ab;if(!_4.isObject(arg)||!arg){return;}if(_aa){if(_aa[0]==="*"){for(_ab in arg){if(arg.hasOwnProperty(_ab)){esri._addToBucket(arg[_ab],_a7,_a9,_ab);}}}else{_4.forEach(_aa,function(_ac){esri._addToBucket(_4.getObject(_ac,false,arg),_a7,_a9,_ac);});}}else{esri._addToBucket(arg,_a7,_a9);}});return _a7;};esri._addToBucket=function(_ad,_ae,_af,_b0){var _b1=false,_b2;if(_4.isObject(_ad)&&_ad){if(_4.isArray(_ad)){if(_ad.length){_b2=_ad[0]&&_ad[0].declaredClass;if(_b2&&_b2.indexOf("Graphic")!==-1){_ad=_4.map(_ad,function(_b3){return _b3.geometry;});_ad=_4.filter(_ad,esri._isDefined);_b1=_ad.length?true:false;}else{if(_b2&&_b2.indexOf("esri.geometry.")!==-1){_b1=true;}}}}else{_b2=_ad.declaredClass;if(_b2&&_b2.indexOf("FeatureSet")!==-1){_ad=_4.map(_ad.features||[],function(_b4){return _b4.geometry;});_ad=_4.filter(_ad,esri._isDefined);_b1=_ad.length?true:false;}else{if(_b2&&_b2.indexOf("esri.geometry.")!==-1){_b1=true;}}}}if(_b1){_ae.push({index:_af,property:_b0,value:_ad});}};esri._reassemble=function(_b5,_b6){var idx=0,_b7={};_4.forEach(_b6,function(_b8){var _b9=_b8.index,_ba=_b8.property,_bb=_b8.value,len=_bb.length||1;var _bc=_b5.slice(idx,idx+len);if(!_4.isArray(_bb)){_bc=_bc[0];}idx+=len;delete _b8.value;if(_ba){_b7[_b9]=_b7[_b9]||{};_b7[_b9][_ba]=_bc;}else{_b7[_b9]=_bc;}});return _b7;};esri.setScrollable=function(_bd){var _be=0,_bf=0,_c0=0,_c1=0,_c2=0,_c3=0;return [_4.connect(_bd,"ontouchstart",function(evt){_be=evt.touches[0].screenX;_bf=evt.touches[0].screenY;_c0=_bd.scrollWidth;_c1=_bd.scrollHeight;_c2=_bd.clientWidth;_c3=_bd.clientHeight;}),_4.connect(_bd,"ontouchmove",function(evt){evt.preventDefault();var _c4=_bd.firstChild;if(_c4 instanceof Text){_c4=_bd.childNodes[1];}var _c5=_c4._currentX||0,_c6=_c4._currentY||0;_c5+=(evt.touches[0].screenX-_be);if(_c5>0){_c5=0;}else{if(_c5<0&&(Math.abs(_c5)+_c2)>_c0){_c5=-1*(_c0-_c2);}}_c4._currentX=_c5;_c6+=(evt.touches[0].screenY-_bf);if(_c6>0){_c6=0;}else{if(_c6<0&&(Math.abs(_c6)+_c3)>_c1){_c6=-1*(_c1-_c3);}}_c4._currentY=_c6;_4.style(_c4,{"-webkit-transition-property":"-webkit-transform","-webkit-transform":"translate("+_c5+"px, "+_c6+"px)"});_be=evt.touches[0].screenX;_bf=evt.touches[0].screenY;})];};esri._getAbsoluteUrl=function(url){if(_4.isString(url)&&url.indexOf("http://")===-1&&url.indexOf("https://")===-1){if(url.indexOf("//")===0){return window.location.protocol+url;}else{if(url.indexOf("/")===0){return window.location.protocol+"//"+window.location.host+url;}else{return esri._appBaseUrl+url;}}}return url;};esri._getDefaultVisibleLayers=function(_c7){var _c8=[],i;for(i=0;i<_c7.length;i++){if(_c7[i].parentLayerId>=0&&_4.indexOf(_c8,_c7[i].parentLayerId)===-1){continue;}if(_c7[i].defaultVisibility){_c8.push(_c7[i].id);}}return _c8;};esri._getLayersForScale=function(_c9,_ca){var _cb=[];if(_c9>0&&_ca){var i;for(i=0;i<_ca.length;i++){if(_ca[i].parentLayerId>=0&&_4.indexOf(_cb,_ca[i].parentLayerId)===-1){continue;}if(_ca[i].id>=0){var _cc=true,_cd=_ca[i].maxScale,_ce=_ca[i].minScale;if(_cd>0||_ce>0){if(_cd>0&&_ce>0){_cc=_cd<=_c9&&_c9<=_ce;}else{if(_cd>0){_cc=_cd<=_c9;}else{if(_ce>0){_cc=_c9<=_ce;}}}}if(_cc){_cb.push(_ca[i].id);}}}}return _cb;};}}};});