function bi(){}m("AdfDhtmlChooseDateTimeZoneUtils",bi);bi.aTa=function(a,b){if(a){for(var d="",e=-1,f={},g=!1,h=rc.K9(),l=[],d=0;d<h.length;d++)l[d]=Qh.ty(h[d])[0];b&&(-1!=a.indexOf(b)?g=!0:(d=h[l.indexOf(b)][b],e=bi.W4(d),f[b]=d));for(var n=[],t=a.length+(b&&!g?1:0),y=0,d=0;d<t&&y<a.length;d++){var z={},B=a[y];y++;var F=l.indexOf(B);-1!=F&&(z[B]=h[F][B],b&&!g&&bi.W4(z[B])>e&&(n[d]=f,d++,g=!0),n[d]=z)}b&&!g&&(n[t-1]=f);return n}return bi.veb(b)};m("AdfDhtmlChooseDateTimeZoneUtils.getTimeZones",bi.aTa);
bi.veb=function(a){var b=rc.K9(),d=!1,e=[];if(bi.Yza)e=bi.Yza;else{for(var b=b.slice(0),f=0;f<b.length;f++){var g=b[f];if("true"!=g.common)break;delete g.svb;e[f]=g;g[Qh.ty(g)]==a&&(d=!0)}bi.Yza=e}return a?d?e:bi.leb(e,a):e};
bi.leb=function(a,b){for(var d=rc.K9(),e=a.slice(0),f=!1,g=-1,h,l,n=e.length-1;n<d.length;n++)if(Qh.ty(d[n])[0]==b){h=d[n][b];l=bi.W4(h);break}for(n=0;n<e.length;n++){if(Qh.ty(e[n])[0]==b){f=!0;break}if(bi.W4(e[n][Qh.ty(e[n])[0]])>l){g=n;break}}f||(-1==g&&(g=e.length),h&&(d={},d[b]=h,e.splice(g,0,d)));return e};bi.W4=function(a){a=a.match("[+-][0-9]{2}:[0-9]{2}")[0];var b=parseInt(a.match("[0-9]{2}")),d=parseInt(a.match("(?![0-9]{2}:)[0-9]{2}"));return parseInt(a[0]+(60*b+d))};