//>>built
define("dojox/date/timezone","dojo/_base/array dojo/_base/config dojo/_base/declare dojo/_base/kernel dojo/_base/lang dojo/date dojo/date/locale dojo/request dojo/request/handlers".split(" "),function(B,C,n,R,D,l,w,S,T){function J(a){a=a||{};q=D.mixin(q,a.zones||{});x=D.mixin(x,a.rules||{})}function y(a){z[a]=!0;S.get(require.toUrl((C.timezoneFileBasePath||"dojox/date/zoneinfo")+"/"+a),{handleAs:"olson_zoneinfo",sync:!0}).then(J,function(c){throw c;})}function K(a){throw Error('Timezone "'+a+'" is either incorrect, or not loaded in the timezone registry.');
}function E(a){var c=U[a];if(!c&&(c=a.split("/")[0],c=V[c],!c)){var e=q[a];if("string"==typeof e)return E(e);if(z.backward)K(a);else return y("backward"),E(a)}return c}function F(a){a=a.match(/(\d+)(?::0*(\d*))?(?::0*(\d*))?([su])?$/);if(!a)return null;a[1]=parseInt(a[1],10);a[2]=a[2]?parseInt(a[2],10):0;a[3]=a[3]?parseInt(a[3],10):0;return a}function u(a,c,e,d,b,f,g){return Date.UTC(a,c,e,d,b,f)+6E4*(g||0)}function t(a){var c=F(a);if(null===c)return 0;c=1E3*(0===a.indexOf("-")?-1:1)*(60*(60*c[1]+
c[2])+c[3]);return-c/60/1E3}function L(a,c,e){var d=M[a[3].substr(0,3).toLowerCase()],b=a[4],f=F(a[5]);"u"==f[4]&&(e=0);if(isNaN(b)){if("last"==b.substr(0,4))return b=N[b.substr(4,3).toLowerCase()],a=new Date(u(c,d+1,1,f[1]-24,f[2],f[3],e)),e=l.add(a,"minute",-e).getUTCDay(),b=b>e?b-e-7:b-e,0!==b&&(a=l.add(a,"hour",24*b)),a;b=N[b.substr(0,3).toLowerCase()];if("undefined"!=b){if("\x3e\x3d"==a[4].substr(3,2))return a=new Date(u(c,d,parseInt(a[4].substr(5),10),f[1],f[2],f[3],e)),e=l.add(a,"minute",-e).getUTCDay(),
b=b<e?b-e+7:b-e,0!==b&&(a=l.add(a,"hour",24*b)),a;if("\x3c\x3d"==b.substr(3,2))return a=new Date(u(c,d,parseInt(a[4].substr(5),10),f[1],f[2],f[3],e)),e=l.add(a,"minute",-e).getUTCDay(),b=b>e?b-e-7:b-e,0!==b&&(a=l.add(a,"hour",24*b)),a}}else return a=new Date(u(c,d,parseInt(b,10),f[1],f[2],f[3],e));return null}function W(a,c){var e=[];B.forEach(x[a[1]]||[],function(d){for(var b=0;2>b;b++)switch(d[b]){case "min":d[b]=1835;break;case "max":d[b]=2038;break;case "only":break;default:if(d[b]=parseInt(d[b],
10),isNaN(d[b]))throw Error("Invalid year found on rule");}"string"==typeof d[6]&&(d[6]=t(d[6]));(d[0]<=c&&d[1]>=c||d[0]==c&&"only"==d[1])&&e.push({r:d,d:L(d,c,a[0])})});return e}function X(a,c){for(var e=G[a]=[],d=0;d<c.length;d++){var b=c[d],f=e[d]=[],g=null,h=null,p=[];"string"==typeof b[0]&&(b[0]=t(b[0]));0===d?f[0]=Date.UTC(1835,0,1,0,0,0,0):(f[0]=e[d-1][1],g=c[d-1],h=e[d-1],p=h[2]);for(var m=(new Date(f[0])).getUTCFullYear(),v=b[3]?parseInt(b[3],10):2038,r=[];m<=v;m++)r=r.concat(W(b,m));r.sort(function(H,
A){return l.compare(H.d,A.d)});var k;m=0;for(k;k=r[m];m++)v=0<m?r[m-1]:null,0>k.r[5].indexOf("u")&&0>k.r[5].indexOf("s")&&(0===m&&0<d?p.length?k.d=l.add(k.d,"minute",p[p.length-1].r[6]):0===l.compare(new Date(h[1]),k.d,"date")?k.d=new Date(h[1]):k.d=l.add(k.d,"minute",t(g[1])):0<m&&(k.d=l.add(k.d,"minute",v.r[6])));f[2]=r;if(b[3]){h=parseInt(b[3],10);p=M[(b[4]||"Jan").substr(0,3).toLowerCase()];v=parseInt(b[5]||"1",10);g=F(b[6]||"0");var I=f[1]=u(h,p,v,g[1],g[2],g[3],"u"==g[4]?0:b[0]);isNaN(I)&&(I=
f[1]=L([0,0,0,b[4],b[5],b[6]||"0"],h,"u"==g[4]?0:b[0]).getTime());h=B.filter(r,function(H,A){var Y=0<A?6E4*r[A-1].r[6]:0;return H.d.getTime()<I+Y});"u"!=g[4]&&"s"!=g[4]&&(f[1]=h.length?f[1]+6E4*h[h.length-1].r[6]:f[1]+6E4*t(b[1]))}else f[1]=Date.UTC(2038,11,31,23,59,59,999)}}function O(a,c){for(var e=c,d=q[e];"string"==typeof d;)e=d,d=q[e];if(!d){if(!z.backward)return y("backward",!0),O(a,c);K(e)}G[c]||X(c,d);e=G[c];for(var b=a.getTime(),f=0,g;g=e[f];f++)if(b>=g[0]&&b<g[1])return{zone:d[f],range:e[f],
idx:f};throw Error('No Zone found for "'+c+'" on '+a);}R.experimental("dojox.date.timezone");n="africa antarctica asia australasia backward etcetera europe northamerica pacificnew southamerica".split(" ");var z={},q={},G={},x={},P=C.timezoneLoadingScheme||"preloadAll";n=C.defaultZoneFile||("preloadAll"==P?n:"northamerica");T.register("olson_zoneinfo",function(a){a=a.text.split("\n");var c=[],e="",d=null;e=null;for(var b={zones:{},rules:{}},f=0;f<a.length;f++)if(c=a[f],c.match(/^\s/)&&(c="Zone "+d+
c),c=c.split("#")[0],3<c.length)switch(c=c.split(/\s+/),e=c.shift(),e){case "Zone":d=c.shift();c[0]&&(b.zones[d]||(b.zones[d]=[]),b.zones[d].push(c));break;case "Rule":e=c.shift();b.rules[e]||(b.rules[e]=[]);b.rules[e].push(c);break;case "Link":if(b.zones[c[1]])throw Error("Error with Link "+c[1]);b.zones[c[1]]=c[0]}return b});var M={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},N={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6},V={EST:"northamerica",MST:"northamerica",HST:"northamerica",
EST5EDT:"northamerica",CST6CDT:"northamerica",MST7MDT:"northamerica",PST8PDT:"northamerica",America:"northamerica",Pacific:"australasia",Atlantic:"europe",Africa:"africa",Indian:"africa",Antarctica:"antarctica",Asia:"asia",Australia:"australasia",Europe:"europe",WET:"europe",CET:"europe",MET:"europe",EET:"europe"},U={"Pacific/Honolulu":"northamerica","Atlantic/Bermuda":"northamerica","Atlantic/Cape_Verde":"africa","Atlantic/St_Helena":"africa","Indian/Kerguelen":"antarctica","Indian/Chagos":"asia",
"Indian/Maldives":"asia","Indian/Christmas":"australasia","Indian/Cocos":"australasia","America/Danmarkshavn":"europe","America/Scoresbysund":"europe","America/Godthab":"europe","America/Thule":"europe","Asia/Yekaterinburg":"europe","Asia/Omsk":"europe","Asia/Novosibirsk":"europe","Asia/Krasnoyarsk":"europe","Asia/Irkutsk":"europe","Asia/Yakutsk":"europe","Asia/Vladivostok":"europe","Asia/Sakhalin":"europe","Asia/Magadan":"europe","Asia/Kamchatka":"europe","Asia/Anadyr":"europe","Africa/Ceuta":"europe",
"America/Argentina/Buenos_Aires":"southamerica","America/Argentina/Cordoba":"southamerica","America/Argentina/Tucuman":"southamerica","America/Argentina/La_Rioja":"southamerica","America/Argentina/San_Juan":"southamerica","America/Argentina/Jujuy":"southamerica","America/Argentina/Catamarca":"southamerica","America/Argentina/Mendoza":"southamerica","America/Argentina/Rio_Gallegos":"southamerica","America/Argentina/Ushuaia":"southamerica","America/Aruba":"southamerica","America/La_Paz":"southamerica",
"America/Noronha":"southamerica","America/Belem":"southamerica","America/Fortaleza":"southamerica","America/Recife":"southamerica","America/Araguaina":"southamerica","America/Maceio":"southamerica","America/Bahia":"southamerica","America/Sao_Paulo":"southamerica","America/Campo_Grande":"southamerica","America/Cuiaba":"southamerica","America/Porto_Velho":"southamerica","America/Boa_Vista":"southamerica","America/Manaus":"southamerica","America/Eirunepe":"southamerica","America/Rio_Branco":"southamerica",
"America/Santiago":"southamerica","Pacific/Easter":"southamerica","America/Bogota":"southamerica","America/Curacao":"southamerica","America/Guayaquil":"southamerica","Pacific/Galapagos":"southamerica","Atlantic/Stanley":"southamerica","America/Cayenne":"southamerica","America/Guyana":"southamerica","America/Asuncion":"southamerica","America/Lima":"southamerica","Atlantic/South_Georgia":"southamerica","America/Paramaribo":"southamerica","America/Port_of_Spain":"southamerica","America/Montevideo":"southamerica",
"America/Caracas":"southamerica"},Q={US:"S",Chatham:"S",NZ:"S",NT_YK:"S",Edm:"S",Salv:"S",Canada:"S",StJohns:"S",TC:"S",Guat:"S",Mexico:"S",Haiti:"S",Barb:"S",Belize:"S",CR:"S",Moncton:"S",Swift:"S",Hond:"S",Thule:"S",NZAQ:"S",Zion:"S",ROK:"S",PRC:"S",Taiwan:"S",Ghana:"GMT",SL:"WAT",Chicago:"S",Detroit:"S",Vanc:"S",Denver:"S",Halifax:"S",Cuba:"S",Indianapolis:"S",Starke:"S",Marengo:"S",Pike:"S",Perry:"S",Vincennes:"S",Pulaski:"S",Louisville:"S",CA:"S",Nic:"S",Menominee:"S",Mont:"S",Bahamas:"S",NYC:"S",
Regina:"S",Resolute:"ES",DR:"S",Toronto:"S",Winn:"S"};D.setObject("dojox.date.timezone",{getTzInfo:function(a,c){if("lazyLoad"==P){var e=E(c);if(e)z[e]||y(e);else throw Error("Not a valid timezone ID.");}var d=O(a,c);e=d.zone[0];var b=-1;var f=d.range[2]||[];for(var g=a.getTime(),h=0,p;p=f[h];h++)g>=p.d.getTime()&&(b=h);f=0<=b?f[b].r:null;e=f?e+f[6]:x[d.zone[1]]&&0<d.idx?e+t(q[c][d.idx-1][1]):e+t(d.zone[1]);g=d.zone;b=g[2];-1<b.indexOf("%s")?(f?(d=f[7],"-"==d&&(d="")):g[1]in Q?d=Q[g[1]]:0<d.idx?(d=
q[c][d.idx-1][2],d=0>d.indexOf("%s")?b.replace("%s","S")==d?"S":"":""):d="",d=b.replace("%s",d)):-1<b.indexOf("/")?(d=b.split("/"),d=f?d[0===f[6]?0:1]:d[0]):d=b;return{tzOffset:e,tzAbbr:d}},loadZoneData:function(a){J(a)},getAllZones:function(){var a=[],c;for(c in q)a.push(c);a.sort();return a}});"string"==typeof n&&n&&(n=[n]);n instanceof Array&&B.forEach(n,y);var Z=w.format,aa=w._getZone;w.format=function(a,c){c=c||{};c.timezone&&!c._tzInfo&&(c._tzInfo=dojox.date.timezone.getTzInfo(a,c.timezone));
if(c._tzInfo){var e=a.getTimezoneOffset()-c._tzInfo.tzOffset;a=new Date(a.getTime()+6E4*e)}return Z.call(this,a,c)};w._getZone=function(a,c,e){return e._tzInfo?c?e._tzInfo.tzAbbr:e._tzInfo.tzOffset:aa.call(this,a,c,e)};return dojox.date.timezone});