Skip to content

Instantly share code, notes, and snippets.

@stevage
Last active March 24, 2018 14:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevage/2a874082ae096cf0ae7dd95266733ed7 to your computer and use it in GitHub Desktop.
Save stevage/2a874082ae096cf0ae7dd95266733ed7 to your computer and use it in GitHub Desktop.
Customised version of everytimezone.com, thanks to http://fabiopereira.me/blog/2016/06/29/how-to-customize-every-time-zone/
var data = [
[-6.0,"Wisconsin","MDT UTC-6",true],
[1.0,"UK","BST UTC+1",true],
[5.5,"Hyderabad","IST UTC+5.5",true],
[10.0,"Melbourne","AEST UTC+10",true],
];
body {
margin: 0;
font-family: Futura, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 18px;
color: #fff;
background: #111414;
}
html {
height: 100%;
-webkit-text-size-adjust: 100%;
}
* {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default;
}
/* wrapper for scrolling */
div#wrapper {
overflow: hidden;
position: absolute;
height: 2000px;
width: 100%;
box-sizing: border-box;
background: #111414;
background: #111414 no-repeat center top -moz-radial-gradient(top,#2a2e30,#111414);
background: #111414 no-repeat top center -webkit-gradient(radial, center top, 0, center top, 600, from(#2a2e30), to(#111414));
}
body.with-initial-animation div#wrapper {
-webkit-transform-origin: 50% 0;
-webkit-transform: scale(1.5);
opacity: 0;
}
div#header {
position: absolute;
z-index: 1001;
}
div#footer {
position: absolute;
bottom: 0;
width: 100%;
height: 90px;
background: #222;
border-top: 1px solid #333;
z-index: 9999;
padding: 30px 0 0 0;
cursor: pointer;
box-shadow: inset 0px 5px 10px rgba(0,0,0,0.25);
}
div#footer div.image {
float: left;
margin: -20px 20px 0 15px;
width: 221px;
height: 100px;
background: url(pulse.png?20151016);
background-size: 100% 100%;
color: transparent;
border-radius: 4px;
overflow: hidden;
}
div#footer #design {
position: absolute;
right: 20px;
top: 30px;
font-size: 12px;
}
div#footer small {
display: none;
}
canvas {
position: absolute;
}
h1,h2,h3 {
font-weight: normal;
margin: 0;
padding: 0;
text-rendering: optimizeLegibility;
}
h1 {
font-size: 1.75em;
line-height: 1.5em;
float: left;
margin: 0;
padding: 10px 0 0 10px;
}
h2 {
float: left;
font-size: 0.75em;
line-height: 1.4em;
width: 160px;
padding: 13px 0 0 20px;
}
h3 {
float: right;
font-size: 12px;
line-height: 15px;
text-align: right;
padding: 14px 10px 0 0;
}
a {
color: #fff;
}
#dates {
position: absolute;
top: 0;
}
#dates div {
position: absolute;
text-transform: lowercase;
font-size: 0.7em;
line-height: 2em;
color: #fff;
text-align: center;
}
#timezones {
position: absolute;
top: 0;
left: 15px;
-webkit-transform: translate3d(0,0,0);
text-rendering: optimizeLegibility;
}
#timezones div {
position: absolute;
font-size: 1em
line-height: 1em;
width: 200px;
}
#timezones div small {
font-size: 0.7em;
line-height: 1em;
color: #666;
}
#times {
position: absolute;
top: 0px;
left: 0;
margin-left: 15px;
z-index: 1000;
}
#times div {
font-size: 1em;
line-height: 1em;
position: absolute;
width: 150px;
}
#action_icon svg {
fill: #fff;
}
.touch {
display: none;
}
body.supports-touch .touch {
display: inherit;
}
body.standalone #tap_to_add {
display: none;
}
body.chrome *, body.android * {
text-rendering: auto !important;
}
#now, #cnow {
position: relative;
clear: both;
top: 70px;
background: #525;
background-image: -moz-linear-gradient(top, #414, #525);
background-image: -webkit-gradient(linear, left top, left bottom, from(#414), to(#525));
width: 80px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
padding: 4px 10px 8px;
text-align: center;
height: 20px;
font:0.9em/0.9em Futura, Helvetica, Arial, sans-serif;
color: #fff;
margin-left: -50px;
margin-bottom: 20px;
z-index:10;
}
#now {
color: #000;
margin-top: -52px;
background: #cce93f;
background-image: -moz-linear-gradient(top, #b8ff41, #d3ff59);
background-image: -webkit-gradient(linear, left top, left bottom, from(#b8ff41), to(#d3ff59));
padding: 4px 5px 8px 15px;
}
#now div.drag1, #now div.drag2 {
position: absolute;
width:3px;
top: 5px;
left: 8px;
height: 22px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
background: #3fba07;
background-image:
-webkit-gradient(linear, left top, left bottom, color-stop(0.0, rgba(63,186,7,0.5)), color-stop(1.0, rgba(110,216,27,0.5))),
-webkit-gradient(linear, left top, right top, color-stop(0.0, #3fba07), color-stop(0.5, #6ed81b), color-stop(1.0, #3fba07));
}
#now div.drag2 {
left: 13px;
}
#now span.info, #cnow span.info {
display: block;
font: 0.6em/1.2em Futura, Helvetica, Arial, sans-serif;
}
#line, #cline {
position: absolute;
left: 49px;
background: #d3ff59;
width: 2px;
height: 0px;
top: 32px;
}
#cline {
background: #525;
}
.button {
width: 44px;
height: 44px;
x-border: 1px solid #000;
x-border-radius: 8px;
x-border: 1px solid red;
font-size: 16px;
line-height: 40px;
text-align: center;
text-shadow: 0px -1px #000;
x-background-image: -webkit-gradient(linear, left top, left bottom, from(#aaa), color-stop(0.05, #888), color-stop(0.5, #555), color-stop(0.501, #444), to(#393939));
}
#select_timezones_button {
position: absolute;
right: 0px;
top: 10px;
padding: 7px 0 0 9px;
width: 35px;
height: 35px;
display: none;
}
#share_button {
display: none;
position: absolute;
right: 0px;
top: 8px;
padding: 2px 0 0 6px;
width: 64px;
height: 40px;
x-background-image: -webkit-gradient(linear, left top, left bottom, from(#a6e6fa), color-stop(0.05, #55c8e4), color-stop(0.5, #3cafc5), color-stop(0.501, #3399b5), to(#3399b5));
}
#select_timezones {
display: none;
position: absolute;
right: 8px;
top: 10px;
width: 30px;
height: 40px;
border: 0;
-webkit-appearance: button;
background: transparent;
color: transparent;
outline: none;
border-radius: 0;
xvisibility: hidden;
}
#shortcut_link {
position: absolute;
top: 15px;
right: 20px;
font-size: 0.8em;
line-height: 1.5em;
}
body.supports-touch #select_timezones {
display: block;
}
body.supports-touch #select_timezones_button {
display: block;
}
body.supports-touch #shortcut_link {
top: 18px;
right: 50px;
}
.twitter-share-button {
position: absolute !important;
left: 450px;
top: 19px;
}
@media screen and (max-device-width: 480px) {
h1 {
font-size: 1em;
width: 300px;
line-height: 2.25em;
}
h2 {
display: none;
}
h3 {
font-size: 0.7em;
}
h3 .optional {
display: none;
}
#select_timezones {
display: block;
}
#select_timezones_button {
display: block;
}
#shortcut_link {
top: 18px;
right: 50px;
}
div#footer {
text-align: center;
font-size: 0.8em;
height: 190px;
}
div#footer small {
display: none;
}
div#footer div.image {
float: none;
display: block;
margin: 0px auto 10px;
}
div#footer #design {
position: relative;
font-size: 0.9em;
line-height: 1.5em;
top: 0;
left: 0;
}
.twitter-share-button {
display: none;
}
}
// Generated by CoffeeScript 1.6.1
(function(){var e,t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,C,k,L,A,O,M,_,D,P,H,B,j,F,I,q,R,U,z,W,X,V,$,J,K,Q,G,Y,Z,et,tt,nt,rt,it,st,ot,ut,at,ft,lt,ct,ht,pt,dt,vt,mt,gt,yt,bt,wt,Et,St,xt,Tt,Nt,Ct,kt,Lt;v=[],R=0,wt=function(e){var t,n,r,i,s;e===0&&(e=65535),t=0,v=[],s=[];for(r=0,i=data.length;r<i;r++)n=data[r],s.push(function(n){return n[3]=!1,e&1<<t&&(v.push(n),n[3]=!0),t+=1}(n));return s},Z=function(){var e,t,n,r,i,s;e=0,n=0,r=function(t){return t[3]&&(n+=1<<e),e+=1};for(i=0,s=data.length;i<s;i++)t=data[i],r(t);return n.toString(36)},C=function(){var e,t,n;t=new Date,e=t.getDate(),n=t.getUTCDate();if(n===e)return 0;if(n===e+1||n===1)return 1440;if(n===e-1)return-1440},z={},rt=function(){var e,t,n;return n=new Date,e=n.getUTCHours()*60+n.getUTCMinutes(),t=e-720+C(),z={date:n,offset:t,cities:65535}},rt(),Tt=function(){var e,t,n,r,i;if(location.hash==="")return;return i=location.hash.slice(1).split(","),n=i[0],r=i[1],t=i[2],e=n.split("-"),z.date=new Date(e[0],e[1]-1,e[2]),z.offset=parseInt(r),z.cities=parseInt(t,36)},navigator.standalone==null&&!navigator.standalone&&Tt(),wt(z.cities),R=z.offset,M=!1,e=function(e){return document.getElementById(e)},A=function(t,n){return n==null&&(n=""),(e(t)||t).innerHTML=n},b=function(t,n){return(e(t)||t).style.cssText+=";"+n},bt=navigator.userAgent,_=bt.match(/(iPhone\sOS)\s([\d_]+)/)||bt.match(/(iPad\sOS)\s([\d_]+)/),kt=bt.indexOf("AppleWebKit/")>-1,q=bt.indexOf("Gecko")>-1&&!kt,U=bt.indexOf("Opera")>-1,O=bt.indexOf("MSIE")>-1,d=bt.indexOf("Chrome")>-1,n=bt.match(/(Android)\s+([\d.]+)/)&&kt,r=bt.match(/(Android)\s+4([\d.]+)/)&&kt,mt=kt?"webkitTransform":O?"msTransform":q?"MozTransform":U?"OTransform":"transform",gt=kt?"-webkit-transform":O?"-ms-transform":q?"-moz-transform":U?"-o-transform":void 0,dt=kt?"-webkit-transition":O?"-ms-transition":q?"-moz-transition":U?"-o-transition":void 0,i=function(e,t,n,r){return n==null&&(n=1),r==null&&(r=.5),b(e,""+dt+":all "+r+"s; "+gt+": "+t+"; opacity:"+n)},vt=function(t,n,r){r==null&&(r=!1);if(isNaN(n))return;return t=e(t),r&&(t.style.cssText+=";"+dt+":all 0.4s;"),t.style[mt]=kt&&ot?"translate3d("+n+"px,0,0)":"translate3d("+n+"px,0,0)"},ft="left",F="January February March April May June July August September October November December".split(" "),Date.prototype.addDays=function(e){return new Date(this.getTime()+e*1e3*60*60*24)},Function.prototype.delay=function(e){return setTimeout(this,e*1e3)},ot=document.createTouch!=null,W=window.devicePixelRatio||1,f=e("body"),p=e("canvas"),y=p.getContext("2d"),W>1&&(y.webkitBackingStorePixelRatio||1)>1&&(W=1),Lt=L=a=u=G=D=null,E=t=B=Q=lt=l=null,w=j=ut=null,o=at=null,y.save(),ot&&(f.className="supports-touch"),d&&(f.className="chrome"),_&&(f.className="supports-touch with-initial-animation"),tt=function(e,t,n){return e.setAttribute("width",t*W),e.setAttribute("height",n*W),b(e,"height:"+n+"px; width:"+t+"px")},it=function(){var t,r,i,s;i=function(){var t,n,r,i,s,o;i=e("select_timezones"),t=-1;for(s=0,o=data.length;s<o;s++)n=data[s],r=n[1],n[2]!==""&&(r+=" "+n[2]),i.appendChild(new Option(r,t+=1,!1,n[3]));return i.onchange=function(){var e,t,n,r,s,o;e=0,n=0,r=function(t){return i.options[e].selected&&(n+=1<<e),e+=1};for(s=0,o=data.length;s<o;s++)t=data[s],r(t);return wt(n),$(),Ct()}},s=function(e){return document.adoptNode((new DOMParser).parseFromString(e,"text/xml").firstChild)},t=function(e){var t;return t=' <svg class="action" width="12px" height="10px" viewBox="0 0 12 10" version="1.1" xmlns="http://www.w3.org/2000/svg">\n<g><path d="M12,3.5L8,0v2.25c0,0-5,0.75-5,5C4.5,5,8,4.75,8,4.75V7L12,3.5z"/></g>\n<g><polygon points="10,7 9,8 9,9 1,9 1,3 3.5,3 4.5,2 0,2 0,10 10,10"/></g>\n</svg>',e.appendChild(s(t))},r=function(e){var t;return t=' <svg class="action" width="36px" height="36px" viewBox="0 0 36 36" version="1.1" xmlns="http://www.w3.org/2000/svg">\n <path fill="#FFFFFF" d="M23.077,10.154h-1.106c-0.508,0-1.047-0.397-1.198-0.883l-0.636-1.545c-0.239-0.447-0.141-1.107,0.216-1.467\nl0.788-0.785c0.359-0.359,0.359-0.947,0-1.307l-1.309-1.305c-0.358-0.359-0.945-0.359-1.305,0l-0.788,0.785\nc-0.356,0.358-1.019,0.457-1.467,0.217l-1.543-0.637c-0.483-0.149-0.881-0.688-0.881-1.197V0.924C13.849,0.417,13.432,0,12.924,0\nh-1.847c-0.508,0-0.924,0.417-0.924,0.924v1.107c0,0.509-0.396,1.048-0.881,1.197L7.728,3.865c-0.449,0.24-1.106,0.143-1.466-0.217\nL5.474,2.863c-0.359-0.359-0.945-0.359-1.304,0L2.864,4.168c-0.36,0.359-0.36,0.947,0,1.307L3.647,6.26\nc0.36,0.359,0.459,1.02,0.217,1.467L3.229,9.273c-0.152,0.484-0.688,0.881-1.197,0.881H0.924C0.416,10.154,0,10.568,0,11.077v1.846\nc0,0.509,0.416,0.925,0.924,0.925h1.108c0.509,0,1.045,0.396,1.195,0.881l0.637,1.547c0.241,0.447,0.144,1.109-0.217,1.467\nl-0.785,0.785c-0.358,0.359-0.358,0.947,0,1.307l1.308,1.307c0.358,0.357,0.944,0.357,1.304,0l0.788-0.787\nc0.357-0.357,1.017-0.455,1.462-0.213l1.549,0.635c0.485,0.152,0.881,0.689,0.881,1.197v1.105c0,0.506,0.416,0.922,0.924,0.922\nh1.847c0.508,0,0.925-0.416,0.925-0.922v-1.105c0-0.508,0.397-1.045,0.881-1.197l1.548-0.635c0.446-0.242,1.107-0.145,1.467,0.213\nl0.783,0.787c0.359,0.357,0.946,0.357,1.305,0l1.309-1.307c0.359-0.359,0.359-0.947,0-1.307l-0.788-0.785\nc-0.356-0.357-0.455-1.02-0.216-1.467l0.636-1.547c0.151-0.484,0.693-0.881,1.198-0.881h1.106c0.509,0,0.923-0.414,0.923-0.923\nv-1.848C24,10.568,23.586,10.154,23.077,10.154 M16.619,11.999c0,2.55-2.066,4.614-4.615,4.614c-2.552,0-4.617-2.064-4.617-4.614\nc0-2.549,2.065-4.615,4.617-4.615C14.553,7.384,16.619,9.45,16.619,11.999"/>\n </svg>',e.appendChild(s(t))},t(e("action_icon")),r(e("edit_icon")),navigator.standalone&&(f.className+=" standalone"),i();if(!ot)return A("shortcut_link","link to this page");A("shortcut_link","tap &amp; hold to share");if(n)return e("tap_to_add").style.display="none"},st=function(){var e,n,r,i,s,o,f,c,h,p;E=y.createLinearGradient(0,0,a*W,0),t=y.createLinearGradient(0,0,a*W,0),B=y.createLinearGradient(0,0,a*W,0),Q=y.createLinearGradient(0,0,0,u*W),lt=y.createLinearGradient(0,0,0,u*W),l=y.createLinearGradient(0,u*W,0,0),c=[[0,"#4b4c4d"],[.2499,"#4b4c4d"],[.25,"#575b5c"],[.3299,"#575b5c"],[.33,"#6b7071"],[.7499,"#6b7071"],[.75,"#575b5c"],[.9099,"#575b5c"],[.91,"#4b4c4d"],[1,"#4b4c4d"]];for(n=0,s=c.length;n<s;n++)e=c[n],E.addColorStop(e[0],e[1]);h=[[0,"#5485b1"],[.2499,"#5485b1"],[.25,"#3cafc5"],[.3299,"#3cafc5"],[.33,"#55c8e4"],[.7499,"#55c8e4"],[.75,"#3cafc5"],[.9099,"#3cafc5"],[.91,"#5485b1"],[1,"#5485b1"]];for(r=0,o=h.length;r<o;r++)e=h[r],t.addColorStop(e[0],e[1]);p=[[0,"#8abb29"],[.2499,"#8abb29"],[.25,"#a5df3b"],[.3299,"#a5df3b"],[.33,"#b8ff41"],[.7499,"#b8ff41"],[.75,"#a5df3b"],[.9099,"#a5df3b"],[.91,"#8abb29"],[1,"#8abb29"]];for(i=0,f=p.length;i<f;i++)e=p[i],B.addColorStop(e[0],e[1]);return Q.addColorStop(0,"rgba(0,0,0,0)"),Q.addColorStop(1,"rgba(0,0,0,0.4)"),lt.addColorStop(0,"rgba(255,255,255,0.3)"),lt.addColorStop(.025,"rgba(255,255,255,0)"),l.addColorStop(0,"rgba(255,255,255,0.3)"),l.addColorStop(.025,"rgba(255,255,255,0)")},K=function(e,t,n,r){return r==null&&(r=y),r.beginPath(),r.moveTo(n,0),r.lineTo(e-n,0),r.quadraticCurveTo(e,0,e,n),r.lineTo(e,t-n),r.quadraticCurveTo(e,t,e-n,t),r.lineTo(n,t),r.quadraticCurveTo(0,t,0,t-n),r.lineTo(0,n),r.quadraticCurveTo(0,0,n,0),r.fill()},c={},x=function(e,n,r){var i,s,o,f,h;return r==null&&(r=E),r===E&&(o="default"),r===t&&(o="active"),r===B&&(o="local"),c[o]||(i=document.createElement("canvas"),tt(i,a*W,u*W),s=i.getContext("2d"),h=(a-2)*W,f=u*W,s.fillStyle=r,s.clearRect(0,0,h,f),K(h,f,f/2.5,s),s.fillStyle=Q,K(h,f,f/2.5,s),s.fillStyle=lt,K(h,f,f/2.5,s),s.fillStyle=l,K(h,f,f/2.5,s),c[o]=i),y.clearRect(e,n,a,u),y.drawImage(c[o],e,n,a*W,u*W)},nt=function(e){return e==null&&(e=z.date),w=e,j=-(w.getTimezoneOffset()/60),ut=w.getUTCHours()*60+w.getUTCMinutes()},X=function(){var e;return e=[window.innerWidth,v.length*60+350],Lt=e[0],L=e[1],a=Lt/3,Lt>480&&(L-=100),G=60,u=24,D=Lt/2-a*3/2,tt(p,Lt,L),y.restore(),y.save(),y.scale(W,W),y.clearRect(0,0,Lt,L),b("header","width:"+a*3+"px;left:"+(Lt/2-a*3/2)+"px"),b("line","height:"+(L-82-100)+"px"),b("cline","height:"+(L-82-100)+"px"),b("wrapper","height:"+L+"px")},k=function(e,n){var r;return r=n+12,r>=0&&r<24?e===j?B:t:E},V=function(){var t,n,r,i,s,u,f,l,c,h,p,d,m,g;l=115,i=0,t=Lt/2-a/2,f="",r="",s="",o=[],at=[],c=function(e){var n,u;return n=-e[0]/24*a,u=i*G+l,o.push([{left:n+t-a*2,top:u+20,gradient:k(e[0],e[0]+48+R/60)},{left:n+t-a,top:u+20,gradient:k(e[0],e[0]+24+R/60)},{left:n+t,top:u+20,gradient:k(e[0],e[0]+R/60)},{left:n+t+a,top:u+20,gradient:k(e[0],e[0]-24+R/60)},{left:n+t+a*2,top:u+20,gradient:k(e[0],e[0]-48+R/60)}]),at.push({offset:e[0]}),x(o[i][1].left,o[i][1].top,o[i][1].gradient),x(o[i][2].left,o[i][2].top,o[i][2].gradient),x(o[i][3].left,o[i][3].top,o[i][3].gradient),f+="<div style='left:"+D+"px;top:"+(u-2)+"px'>"+e[1]+" <small>"+e[2]+"</small></div>",s+="<div id='time_"+i+"' style='top:"+(u-2)+"px'></div>",r+="<div style='left:"+o[i][1].left+"px;top:"+o[i][1].top+"px;width:"+a+"px'>\n "+T(w.addDays(-1))+"\n</div>\n<div style='left:"+o[i][2].left+"px;top:"+o[i][2].top+"px;width:"+a+"px'>\n "+T(w.addDays(0))+"\n</div>\n<div style='left:"+o[i][3].left+"px;top:"+o[i][3].top+"px;width:"+a+"px'>\n "+T(w.addDays(1))+"\n</div>",i+=1};for(h=0,d=v.length;h<d;h++)n=v[h],c(n);A("timezones",f),A("dates",r),A("times",s),i=0,g=[];for(p=0,m=at.length;p<m;p++)u=at[p],g.push(function(t){return t.timeEl=e("time_"+i),i+=1}(u));return g},J=function(){var e,t,n,r,i;t=0,i=[];for(n=0,r=v.length;n<r;n++)e=v[n],i.push(function(e){var n,r,i,s,u,a;return n=o[t],r=k(e[0],e[0]+48+R/60),i=k(e[0],e[0]+24+R/60),s=k(e[0],e[0]+R/60),u=k(e[0],e[0]-24+R/60),a=k(e[0],e[0]-48+R/60),n[1].gradient!==i&&x(n[1].left,n[1].top,n[1].gradient=i),n[2].gradient!==s&&x(n[2].left,n[2].top,n[2].gradient=s),n[3].gradient!==u&&x(n[3].left,n[3].top,n[3].gradient=u),t+=1}(e));return i},$=function(){return c={},X(),st(),V(),J(),Nt(),Et()},window.onorientationchange=$,window.onresize=$,S=!1,T=function(e){return""+F[e.getMonth()]+" "+e.getDate()},N=function(e){var t,n,r;return e<0&&(e=24-Math.abs(e%24)),e>=24&&(e%=24),t=Math.abs(e*60%60|0),t<10&&(t="0"+t),e|=0,n="am",e>=12&&(r=[e%12,"pm"],e=r[0],n=r[1]),e===0&&(e=12),""+e+":"+t+" "+n},Et=function(e){var t,n,r,i,s,o;i=new Date,o=C(),t=i.getUTCHours()*60+i.getUTCMinutes(),n=t-720+o,r=-(i.getTimezoneOffset()/60),s=Lt/2+n/60/24*a,b("cnow","left:"+s+"px"),A("clocaltime",N(n/60+j+12));if(e)return b("now","left:"+s+"px"),A("localtime",N(n/60+j+12))},xt=null,St=function(e){var t,n,r,i;if(!e&&xt===R)return;xt=R,A("localtime",N(R/60+12+j)),i=[];for(n=0,r=at.length;n<r;n++)t=at[n],i.push(function(e){return e.timeEl.innerHTML=N(R/60+12+e.offset)}(t));return i},et=function(){return""+w.getFullYear()+"-"+(w.getMonth()+1)+"-"+w.getDate()+","+R+","+Z()},Nt=function(e){var t,n;e==null&&(e=R),t=Lt/2+e/60/24*a,b("now","left:"+t+"px"),n=t,t>Lt-100&&(n-=85),b("times","left:"+n+"px"),t<200&&ft==="left"&&(vt("timezones",Lt-(Lt<=480?120:200),!0),ft="right");if(t>Lt-(Lt<=480?200:300)&&ft==="right")return vt("timezones",0,!0),ft="left"},Ct=function(){var t;return t=et(),M=!0,location.hash=t,e("shortcut_link").setAttribute("href","http://everytimezone.com/#"+t)},ht=pt=-1,P=H=-1,ct=Y=-1,h=!1,I=function(e){var t,r;if(!S)return;r=e.pageX,e.touches!=null&&(r=P),r<50&&(r=50),r>Lt-50&&(r=Lt-50),R=Math.round((r-Lt/2)/a*24*60),t=R,R-=R%15,J(),Nt(t),n||St();if(e.touches!=null)return e.preventDefault()},key("left",function(){R-=15,R-=R%15,J(),Nt();if(!n)return St()}),key("right",function(){R+=15,R-=R%15,J(),Nt();if(!n)return St()}),f[ot?"ontouchstart":"onmousedown"]=function(e){var t,n;t=e.target,t.nodeType!==1&&(t=t.parentNode);if(t.tagName==null||(n=t.tagName)!=="A"&&n!=="IMG"&&n!=="SELECT"&&n!=="INPUT"){if(e.touches!=null){Y=document.body.scrollTop,ct=Date.now(),ht=P=e.touches[0].pageX,pt=H=e.touches[0].pageY;if(e.touches[0].pageY<50)return}return S=!0}return},f[ot?"ontouchmove":"onmousemove"]=function(e){var t;if(e.touches!=null){P=e.touches[0].pageX,H=e.touches[0].pageY;if(!!h||document.body.scrollTop!==Y){h=!0;return}if(Date.now()-ct<50)return;if(-10<(t=ht-P)&&t<10)return}return I(e)},f[ot?"ontouchend":"onmouseup"]=function(e){return ot?!h&&Y===document.body.scrollTop&&I(e):I(e),ht=pt=P=H=ct=Y=-1,h=!1,S=!1,Ct()},e("footer").onclick=function(){return location.href="http://letsfreckle.com/"},window.onhashchange=function(){if(M){M=!1;return}return Tt(),wt(z.cities),R=z.offset,nt(),Nt(),St(!0),$()},it(),nt(),$(),Et(!0),St(!0),Nt(),setInterval(Et,1e3),n&&setInterval(St,350),scrollTo(0,1),_&&function(){return i("wrapper","scale(1)")}.delay(.5),window.applicationCache!=null&&(s=window.applicationCache,s.addEventListener("updateready",function(){if(confirm("There's a newer version of Every Time Zone available, reload now?"))return s.swapCache(),location.reload()},!1));if(navigator.onLine==null||navigator.onLine)yt=document.createElement("script"),yt.innerHTML='!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs")',m=document.createElement("script"),m.src="//static.getclicky.com/js",e("body").appendChild(yt),e("body").appendChild(m),g=setInterval(function(){if(typeof clicky=="undefined"||clicky===null)return;clearInterval(g);try{return clicky.init(204109)}catch(e){}},1e3)}).call(this);
<!DOCTYPE html>
<!-- saved from url=(0044)http://everytimezone.com/#2016-6-30,-840,cn3 -->
<html manifest="everytimezone.manifest"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Time Zones</title>
<meta http-equiv="imagetoolbar" content="false">
<meta name="viewport" content="initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<link rel="apple-touch-startup-image" href="http://everytimezone.com/startup-ipad-landscape.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)">
<link rel="apple-touch-startup-image" href="http://everytimezone.com/startup-ipad-portrait.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)">
<link rel="apple-touch-startup-image" href="http://everytimezone.com/startup-retina.png" media="screen and (max-device-width: 480px) and (min-device-pixel-ratio: 2)">
<link rel="apple-touch-startup-image" href="http://everytimezone.com/startup.png" media="screen and (max-device-width: 320px)">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link rel="apple-touch-icon-precomposed" href="http://everytimezone.com/everytimezone-512.png">
<link rel="icon" type="image/png" href="http://everytimezone.com/everytimezone-512.png">
<link rel="stylesheet" href="everytimezone.css">
<style type="text/css">:root #header + #content > #left > #rlblock_left
{display:none !important;}</style></head>
<body id="body" onselectstart="return false" class="chrome" data-feedly-mini="yes">
<div id="wrapper" style="height: 1090px;">
<canvas id="canvas" width="1348" height="1090" style="height: 1090px; width: 1348px;"></canvas>
<div id="dates"><div style="left:187.22222222222234px;top:135px;width:449.3333333333333px">
June 29
</div>
<div style="left:636.5555555555557px;top:135px;width:449.3333333333333px">
June 30
</div>
<div style="left:1085.888888888889px;top:135px;width:449.3333333333333px">
July 1
</div><div style="left:131.0555555555556px;top:195px;width:449.3333333333333px">
June 29
</div>
<div style="left:580.3888888888889px;top:195px;width:449.3333333333333px">
June 30
</div>
<div style="left:1029.7222222222222px;top:195px;width:449.3333333333333px">
July 1
</div><div style="left:112.33333333333343px;top:255px;width:449.3333333333333px">
June 29
</div>
<div style="left:561.6666666666667px;top:255px;width:449.3333333333333px">
June 30
</div>
<div style="left:1011px;top:255px;width:449.3333333333333px">
July 1
</div><div style="left:93.61111111111114px;top:315px;width:449.3333333333333px">
June 29
</div>
<div style="left:542.9444444444445px;top:315px;width:449.3333333333333px">
June 30
</div>
<div style="left:992.2777777777778px;top:315px;width:449.3333333333333px">
July 1
</div><div style="left:74.88888888888897px;top:375px;width:449.3333333333333px">
June 29
</div>
<div style="left:524.2222222222223px;top:375px;width:449.3333333333333px">
June 30
</div>
<div style="left:973.5555555555557px;top:375px;width:449.3333333333333px">
July 1
</div><div style="left:56.16666666666674px;top:435px;width:449.3333333333333px">
June 29
</div>
<div style="left:505.50000000000006px;top:435px;width:449.3333333333333px">
June 30
</div>
<div style="left:954.8333333333334px;top:435px;width:449.3333333333333px">
July 1
</div><div style="left:5.684341886080802e-14px;top:495px;width:449.3333333333333px">
June 29
</div>
<div style="left:449.33333333333337px;top:495px;width:449.3333333333333px">
June 30
</div>
<div style="left:898.6666666666667px;top:495px;width:449.3333333333333px">
July 1
</div><div style="left:-18.72222222222217px;top:555px;width:449.3333333333333px">
June 29
</div>
<div style="left:430.61111111111114px;top:555px;width:449.3333333333333px">
June 30
</div>
<div style="left:879.9444444444445px;top:555px;width:449.3333333333333px">
July 1
</div><div style="left:-37.4444444444444px;top:615px;width:449.3333333333333px">
June 29
</div>
<div style="left:411.8888888888889px;top:615px;width:449.3333333333333px">
June 30
</div>
<div style="left:861.2222222222222px;top:615px;width:449.3333333333333px">
July 1
</div><div style="left:-102.97222222222217px;top:675px;width:449.3333333333333px">
June 29
</div>
<div style="left:346.36111111111114px;top:675px;width:449.3333333333333px">
June 30
</div>
<div style="left:795.6944444444445px;top:675px;width:449.3333333333333px">
July 1
</div><div style="left:-149.77777777777771px;top:735px;width:449.3333333333333px">
June 29
</div>
<div style="left:299.5555555555556px;top:735px;width:449.3333333333333px">
June 30
</div>
<div style="left:748.8888888888889px;top:735px;width:449.3333333333333px">
July 1
</div><div style="left:-168.49999999999994px;top:795px;width:449.3333333333333px">
June 29
</div>
<div style="left:280.83333333333337px;top:795px;width:449.3333333333333px">
June 30
</div>
<div style="left:730.1666666666667px;top:795px;width:449.3333333333333px">
July 1
</div><div style="left:-187.22222222222217px;top:855px;width:449.3333333333333px">
June 29
</div>
<div style="left:262.11111111111114px;top:855px;width:449.3333333333333px">
June 30
</div>
<div style="left:711.4444444444445px;top:855px;width:449.3333333333333px">
July 1
</div><div style="left:-224.6666666666666px;top:915px;width:449.3333333333333px">
June 29
</div>
<div style="left:224.6666666666667px;top:915px;width:449.3333333333333px">
June 30
</div>
<div style="left:674px;top:915px;width:449.3333333333333px">
July 1
</div></div>
<div id="header" style="width: 1348px; left: 0px;">
<h1>Every Time Zone</h1>
<h2>Never warp your brain with time zone math again.</h2>
<iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" class="twitter-share-button twitter-share-button-rendered twitter-tweet-button" style="position: static; visibility: visible; width: 61px; height: 20px;" title="Twitter Tweet Button" src="tweet_button.b7de008f493a5185d8df1aedd62d77c6.en.html" data-url="http://everytimezone.com"></iframe>
<div class="button" id="select_timezones_button">
<span id="edit_icon"><svg xmlns="http://www.w3.org/2000/svg" class="action" width="36px" height="36px" viewBox="0 0 36 36" version="1.1">
<path fill="#FFFFFF" d="M23.077,10.154h-1.106c-0.508,0-1.047-0.397-1.198-0.883l-0.636-1.545c-0.239-0.447-0.141-1.107,0.216-1.467 l0.788-0.785c0.359-0.359,0.359-0.947,0-1.307l-1.309-1.305c-0.358-0.359-0.945-0.359-1.305,0l-0.788,0.785 c-0.356,0.358-1.019,0.457-1.467,0.217l-1.543-0.637c-0.483-0.149-0.881-0.688-0.881-1.197V0.924C13.849,0.417,13.432,0,12.924,0 h-1.847c-0.508,0-0.924,0.417-0.924,0.924v1.107c0,0.509-0.396,1.048-0.881,1.197L7.728,3.865c-0.449,0.24-1.106,0.143-1.466-0.217 L5.474,2.863c-0.359-0.359-0.945-0.359-1.304,0L2.864,4.168c-0.36,0.359-0.36,0.947,0,1.307L3.647,6.26 c0.36,0.359,0.459,1.02,0.217,1.467L3.229,9.273c-0.152,0.484-0.688,0.881-1.197,0.881H0.924C0.416,10.154,0,10.568,0,11.077v1.846 c0,0.509,0.416,0.925,0.924,0.925h1.108c0.509,0,1.045,0.396,1.195,0.881l0.637,1.547c0.241,0.447,0.144,1.109-0.217,1.467 l-0.785,0.785c-0.358,0.359-0.358,0.947,0,1.307l1.308,1.307c0.358,0.357,0.944,0.357,1.304,0l0.788-0.787 c0.357-0.357,1.017-0.455,1.462-0.213l1.549,0.635c0.485,0.152,0.881,0.689,0.881,1.197v1.105c0,0.506,0.416,0.922,0.924,0.922 h1.847c0.508,0,0.925-0.416,0.925-0.922v-1.105c0-0.508,0.397-1.045,0.881-1.197l1.548-0.635c0.446-0.242,1.107-0.145,1.467,0.213 l0.783,0.787c0.359,0.357,0.946,0.357,1.305,0l1.309-1.307c0.359-0.359,0.359-0.947,0-1.307l-0.788-0.785 c-0.356-0.357-0.455-1.02-0.216-1.467l0.636-1.547c0.151-0.484,0.693-0.881,1.198-0.881h1.106c0.509,0,0.923-0.414,0.923-0.923 v-1.848C24,10.568,23.586,10.154,23.077,10.154 M16.619,11.999c0,2.55-2.066,4.614-4.615,4.614c-2.552,0-4.617-2.064-4.617-4.614 c0-2.549,2.065-4.615,4.617-4.615C14.553,7.384,16.619,9.45,16.619,11.999"></path>
</svg></span>
</div>
<select multiple="" name="timezones" id="select_timezones">
<option value="0">Honolulu HST UTC-10</option><option value="1">San Francisco PDT UTC-7</option><option value="2">Denver MDT UTC-6</option><option value="3">Chicago CDT UTC-5</option><option value="4">New York EDT UTC-4</option><option value="5">Rio de Janeiro BRT UTC-3</option><option value="6">UTC</option><option value="7">London BST UTC+1</option><option value="8">Vienna CEST UTC+2</option><option value="9">Mumbai IST UTC+5.5</option><option value="10">Singapore SGT UTC+8</option><option value="11">Tokyo JST UTC+9</option><option value="12">Sydney AEST UTC+10</option><option value="13">Auckland NZST UTC+12</option></select>
<a id="shortcut_link" href="http://everytimezone.com/#2016-6-30,-840,cn3">link to this page</a>
</div>
<div id="timezones" style="transition: all 0.4s; transform: translate3d(1148px, 0px, 0px);"><div style="left:0px;top:113px">Honolulu <small>HST UTC-10</small></div><div style="left:0px;top:173px">San Francisco <small>PDT UTC-7</small></div><div style="left:0px;top:233px">Denver <small>MDT UTC-6</small></div><div style="left:0px;top:293px">Chicago <small>CDT UTC-5</small></div><div style="left:0px;top:353px">New York <small>EDT UTC-4</small></div><div style="left:0px;top:413px">Rio de Janeiro <small>BRT UTC-3</small></div><div style="left:0px;top:473px">UTC <small></small></div><div style="left:0px;top:533px">London <small>BST UTC+1</small></div><div style="left:0px;top:593px">Vienna <small>CEST UTC+2</small></div><div style="left:0px;top:653px">Mumbai <small>IST UTC+5.5</small></div><div style="left:0px;top:713px">Singapore <small>SGT UTC+8</small></div><div style="left:0px;top:773px">Tokyo <small>JST UTC+9</small></div><div style="left:0px;top:833px">Sydney <small>AEST UTC+10</small></div><div style="left:0px;top:893px">Auckland <small>NZST UTC+12</small></div></div>
<div id="times" style="left: 49.9259px;"><div id="time_0" style="top:113px">4:45 pm</div><div id="time_1" style="top:173px">7:45 pm</div><div id="time_2" style="top:233px">8:45 pm</div><div id="time_3" style="top:293px">9:45 pm</div><div id="time_4" style="top:353px">10:45 pm</div><div id="time_5" style="top:413px">11:45 pm</div><div id="time_6" style="top:473px">2:45 am</div><div id="time_7" style="top:533px">3:45 am</div><div id="time_8" style="top:593px">4:45 am</div><div id="time_9" style="top:653px">8:15 am</div><div id="time_10" style="top:713px">10:45 am</div><div id="time_11" style="top:773px">11:45 am</div><div id="time_12" style="top:833px">12:45 pm</div><div id="time_13" style="top:893px">2:45 pm</div></div>
<div id="cnow" style="left: 480.849px;">
<span id="clocaltime">11:41 am</span>
<span class="info">current local time</span>
<div id="cline" style="height: 908px;"></div>
</div>
<div id="now" style="left: 49.9259px;">
<div class="drag1"></div>
<div class="drag2"></div>
<span id="localtime">12:45 pm</span>
<span class="info">your local time</span>
<div id="line" style="height: 908px;"></div>
</div>
<div id="footer">
<a href="http://letsfreckle.com/"><div class="image">Freckle Time Tracking</div></a>
Want your team to track time accurately?<br>
Try <b>Freckle Time Tracking</b>.<br>
<small>Brought to you by the folks behind Every Time Zone.</small>
<div id="design">
<span class="optional">design by <a href="http://twitter.com/amyhoy">Amy Hoy</a> &amp; dev by <a href="http://twitter.com/thomasfuchs">Thomas Fuchs</a></span><br class="optional">
<span class="touch" id="tap_to_add">works offline, tap <span id="action_icon"><svg xmlns="http://www.w3.org/2000/svg" class="action" width="12px" height="10px" viewBox="0 0 12 10" version="1.1">
<g><path d="M12,3.5L8,0v2.25c0,0-5,0.75-5,5C4.5,5,8,4.75,8,4.75V7L12,3.5z"></path></g>
<g><polygon points="10,7 9,8 9,9 1,9 1,3 3.5,3 4.5,2 0,2 0,10 10,10"></polygon></g>
</svg></span> to add to home screen</span>
</div>
</div>
</div>
<script type="text/javascript" async="" src="http://tag.perfectaudience.com/serve/51fbcda0dc91ad725f0000eb.js"></script><script src="keymaster.min.js"></script>
<script src="data.js"></script>
<script src="everytimezone.min.js"></script><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs")</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-37896092-5', 'everytimezone.com');
ga('send', 'pageview');
</script>
<script>
(function() {
window._pa = window._pa || {};
var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;
pa.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + "//tag.perfectaudience.com/serve/51fbcda0dc91ad725f0000eb.js";
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pa, s);
})();
window._pq = window._pq || [];
_pq.push(['track','everytimezone'])
</script>
<script>
document.title = 'Time Zones';
</script>
<div id="feedly-mini" title="feedly Mini tookit"></div><iframe id="rufous-sandbox" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" style="position: absolute; visibility: hidden; display: none; width: 0px; height: 0px; padding: 0px; border: none;" src="saved_resource.html"></iframe></body></html>
// keymaster.js
// (c) 2011 Thomas Fuchs
// keymaster.js may be freely distributed under the MIT license.
(function(a){function h(a,b){var c=a.length;while(c--)if(a[c]===b)return c;return-1}function i(a){var b,g,i,j,k,m;g=(a.target||a.srcElement).tagName,b=a.keyCode;if(b==93||b==224)b=91;if(b in d){d[b]=!0;for(j in f)f[j]==b&&(l[j]=!0);return}if(g=="INPUT"||g=="SELECT"||g=="TEXTAREA")return;if(!(b in c))return;for(k=0;k<c[b].length;k++){i=c[b][k];if(i.scope==e||i.scope=="all"){m=i.mods.length>0;for(j in d)if(!d[j]&&h(i.mods,+j)>-1||d[j]&&h(i.mods,+j)==-1)m=!1;(i.mods.length==0&&!d[16]&&!d[18]&&!d[17]&&!d[91]||m)&&i.method(a,i)===!1&&(a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation&&a.stopPropagation(),a.cancelBubble&&(a.cancelBubble=!0))}}}function j(a){var b=a.keyCode,c;if(b==93||b==224)b=91;if(b in d){d[b]=!1;for(c in f)f[c]==b&&(l[c]=!1)}}function k(){for(b in d)d[b]=!1;for(b in f)l[b]=!1}function l(a,b,d){var e,h,i,j;d===undefined&&(d=b,b="all"),a=a.replace(/\s/g,""),e=a.split(","),e[e.length-1]==""&&(e[e.length-2]+=",");for(i=0;i<e.length;i++){h=[],a=e[i].split("+");if(a.length>1){h=a.slice(0,a.length-1);for(j=0;j<h.length;j++)h[j]=f[h[j]];a=[a[a.length-1]]}a=a[0],a=g[a]||a.toUpperCase().charCodeAt(0),a in c||(c[a]=[]),c[a].push({shortcut:e[i],scope:b,method:d,key:e[i],mods:h})}}function m(a){e=a||"all"}function n(){return e||"all"}function o(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,function(){c(window.event)})}var b,c={},d={16:!1,18:!1,17:!1,91:!1},e="all",f={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,command:91},g={backspace:8,tab:9,clear:12,enter:13,"return":13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,"delete":46,home:36,end:35,pageup:33,pagedown:34,",":188,".":190,"/":191,"`":192,"-":189,"=":187,";":186,"'":222,"[":219,"]":221,"\\":220};for(b=1;b<20;b++)f["f"+b]=111+b;for(b in f)l[b]=!1;o(document,"keydown",i),o(document,"keyup",j),o(window,"focus",k),a.key=l,a.key.setScope=m,a.key.getScope=n,typeof module!="undefined"&&(module.exports=key)})(this)
<!-- saved from url=(0011)about:blank -->
<html class="SandboxRoot"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css">.SandboxRoot { display: none; }</style><!--<base target="_blank">--><base href="." target="_blank"></head><body></body></html>
<!DOCTYPE html>
<!-- saved from url=(0352)http://platform.twitter.com/widgets/tweet_button.b7de008f493a5185d8df1aedd62d77c6.en.html#dnt=true&id=twitter-widget-0&lang=en&original_referer=http%3A%2F%2Feverytimezone.com%2F&size=m&text=Every%20Time%20Zone%3A%20never%20warp%20your%20brain%20with%20timezone%20math%20again&time=1467250798296&type=share&url=http%3A%2F%2Feverytimezone.com&via=freckle -->
<html data-scribe="page:button" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="dns-prefetch" href="http://twitter.com/"><title>Tweet Button</title><!--<base target="_blank">--><base href="." target="_blank"><style type="text/css">html{padding:0;margin:0;font:normal normal normal 11px/18px 'Helvetica Neue',Arial,sans-serif;color:#333;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{padding:0;margin:0;background:transparent}a{text-decoration:none;outline:0}body.rtl{direction:rtl}#widget{display:inline-block;overflow:hidden;text-align:left;white-space:nowrap}.btn-o,.count-o,.btn,.btn .label,#count{display:inline-block;vertical-align:top;zoom:1}.btn-o{max-width:100%}.btn{position:relative;height:20px;padding:1px 8px 1px 6px;font-weight:500;color:#fff;cursor:pointer;background-color:#1b95e0;border-radius:3px;box-sizing:border-box}.rtl .btn{padding:1px 6px 1px 8px}.btn:focus,.btn:hover,.btn:active{background-color:#0c7abf}.btn:active{box-shadow:inset 0 3px 5px rgba(0,0,0,0.1)}.xl .btn:active{box-shadow:inset 0 3px 7px rgba(0,0,0,0.1)}.btn i{position:relative;top:2px;display:inline-block;width:14px;height:14px;background:transparent 0 0 no-repeat;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2072%2072%22%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h72v72H0z%22%2F%3E%3Cpath%20class%3D%22icon%22%20fill%3D%22%23fff%22%20d%3D%22M68.812%2015.14c-2.348%201.04-4.87%201.744-7.52%202.06%202.704-1.62%204.78-4.186%205.757-7.243-2.53%201.5-5.33%202.592-8.314%203.176C56.35%2010.59%2052.948%209%2049.182%209c-7.23%200-13.092%205.86-13.092%2013.093%200%201.026.118%202.02.338%202.98C25.543%2024.527%2015.9%2019.318%209.44%2011.396c-1.125%201.936-1.77%204.184-1.77%206.58%200%204.543%202.312%208.552%205.824%2010.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163%200%206.345%204.513%2011.638%2010.504%2012.84-1.1.298-2.256.457-3.45.457-.845%200-1.666-.078-2.464-.23%201.667%205.2%206.5%208.985%2012.23%209.09-4.482%203.51-10.13%205.605-16.26%205.605-1.055%200-2.096-.06-3.122-.184%205.794%203.717%2012.676%205.882%2020.067%205.882%2024.083%200%2037.25-19.95%2037.25-37.25%200-.565-.013-1.133-.038-1.693%202.558-1.847%204.778-4.15%206.532-6.774z%22%2F%3E%3C%2Fsvg%3E")}.btn .label{margin-left:3px;white-space:nowrap}.btn .label b{font-weight:500;white-space:nowrap}.rtl .btn .label{margin-right:3px}.rtl .btn .label b{display:inline-block;direction:ltr}.xl{font-size:13px;line-height:26px}.xl .btn{height:28px;padding:1px 10px 1px 9px;border-radius:4px}.rtl.xl .btn{padding:1px 9px 1px 10px}.xl .btn i{top:4px;width:18px;height:18px}.xl .btn .label{margin-left:4px}.rtl.xl .btn .label{margin-right:4px}.aria{position:absolute;left:-999em}.rtl .aria{right:-999em;left:auto}.count-o{position:relative;min-width:15px;min-height:18px;text-align:center;background:#fff;border:#8799a6 solid 1px;border-radius:3px;visibility:hidden}#count{color:#292f33;white-space:nowrap}#count:hover,#count:focus{color:#333;text-decoration:underline}.ncount .count-o{display:none}.count-ready .count-o{visibility:visible}.count-o i,.count-o u{position:absolute;top:50%;left:0;width:0;height:0;margin:-4px 0 0 -4px;line-height:0;border:4px transparent solid;border-left:0;border-right-color:#66757f;zoom:1}.count-o u{margin-left:-3px;border-right-color:#fff}.rtl .count-o i,.rtl .count-o u{right:0;left:auto;margin:-4px -4px 0 0;border:4px transparent solid;border-right:0;border-left-color:#66757f}.rtl .count-o u{margin-right:-3px;border-left-color:#fff}.hcount .count-o{margin:0 0 0 5px}.hcount.rtl .count-o{margin:0 5px 0 0}.hcount #count{padding:0 5px}.xl .count-o{font-size:11px;border-radius:4px}.xl.hcount .count-o{margin:0 0 0 6px}.xl.rtl.hcount .count-o{margin:0 6px 0 0}.xl.hcount .count-o i,.xl.hcount .count-o u{margin:-5px 0 0 -5px;border-width:5px 5px 5px 0}.xl.hcount .count-o u{margin-left:-4px}.xl.rtl.hcount .count-o i,.xl.rtl.hcount .count-o u{margin:-5px -5px 0 0;border-width:5px 0 5px 5px}.xl.rtl.hcount .count-o u{margin-right:-4px}.xl #count{padding:0 7px}</style><style type="text/css">:root .suggested-tweet-stream-container,
:root .stream-tweet[label="promoted"],
:root .stream-item[data-item-type="tweet"][data-item-id*=":"],
:root .stream-item-group-start[label="promoted"],
:root .promotion,
:root .promoted-tweet,
:root .promoted-trend,
:root .promoted-account,
:root .is-promoted,
:root .has-profile-promoted-tweet
{display:none !important;}</style></head><body data-scribe="section:share" class=" regular ltr ready"><div id="widget"><div class="btn-o" data-scribe="component:button" style="width: 61px;"><a href="https://twitter.com/intent/tweet?original_referer=http%3A%2F%2Feverytimezone.com%2F&amp;ref_src=twsrc%5Etfw&amp;text=Every%20Time%20Zone%3A%20never%20warp%20your%20brain%20with%20timezone%20math%20again&amp;tw_p=tweetbutton&amp;url=http%3A%2F%2Feverytimezone.com&amp;via=freckle" class="btn" id="b"><i></i><span class="label" id="l">Tweet</span></a></div></div><script type="text/javascript">window.__twttr=window.__twttr||{};var i18n = {};window._=function(s,reps){s=__twttr.lang&&i18n[__twttr.lang]&&i18n[__twttr.lang][s]||s;if(!reps)return s;return s.replace(/\%\{([a-z0-9_]+)\}/gi,function(m,k){return reps[k]||m})};</script><script>!function(){Function&&Function.prototype&&Function.prototype.bind&&(/MSIE [678]/.test(navigator.userAgent)||!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="https://platform.twitter.com/",e(0)}([function(t,e,n){function r(t){return t=t||h.event,t&&t.preventDefault?t.preventDefault():t.returnValue=!1,t&&t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,!1}function i(t){return t.replace(/(<)|(>)/g,function(t){var e;return e="<"===t[0]?"&lt;":"&gt;"})}function o(t){for(var e=0,n=t.length;n>e;e++)t[e]=i(t[e]);return t}function s(t,e){t.className+=" "+e}function a(){var t=L.parentNode;t.style.width=L.offsetWidth+"px"}function u(){var t=S.getElementById("l");S.title=_("Tweet Button"),t.innerHTML=c(),a(),N.triggerResize(C)}function c(){switch(M.type){case"hashtag":return _("Tweet %{hashtag}",{hashtag:"<b>#"+M.button_hashtag+"</b>"});case"mention":return _("Tweet to %{name}",{name:"<b>@"+M.screen_name+"</b>"});default:return _("Tweet")}}function f(t){var e="scrollbars=yes,resizable=yes,toolbar=no,location=yes",n=550,r=420,i=h.screen.height,o=h.screen.width,s=Math.round(o/2-n/2),a=0;return i>r&&(a=Math.round(i/2-r/2)),h.open(t,null,e+",width="+n+",height="+r+",left="+s+",top="+a)}var l=n(1),p=n(2),h=n(3),d=n(4),g=n(7),v=n(9),m=n(10),y=n(14),w=n(8),b=n(20),E=n(11),T=n(6),x=n(21),N=n(23),O=n(34);x.aug("config",{intentURL:"https://twitter.com/intent/tweet"});var P,R,j,A,I,S=l,L=S.getElementById("b"),C=S.getElementById("widget"),M=o(v.combined(p)),U={l:"xl",m:"regular"},D=["share","mention","hashtag"],F=[],k=O(w.asNumber(M.time));w.asBoolean(M.dnt)&&E.setOn(),M.lang=M.lang&&M.lang.toLowerCase(),S.body.parentNode.lang=M.lang=T.contains(b,M.lang)?M.lang:"en",x.set("lang",M.lang),I=_("ltr"),M.type=T.contains(D,M.type)?M.type:"share",M.size=U[M.size]?M.size:"m",s(S.body,U[M.size]||""),("mention"==M.type||M.screen_name)&&((A=y.screenName(M.screen_name))?M.screen_name=A:(delete M.screen_name,"mention"==M.type&&(M.type="share"))),"hashtag"==M.type||M.button_hashtag?(j=y.hashTag(M.button_hashtag,!1))?(M.button_hashtag=j,M.hashtags=M.button_hashtag+","+(M.hashtags||"")):(delete M.button_hashtag,M.type="share"):"share"==M.type&&(M.url=M.url||S.referrer),F.push(I),s(S.body,F.join(" ")),S.body.setAttribute("data-scribe","section:"+M.type),u(),s(S.body,"ready"),P={text:M.text,screen_name:M.screen_name,hashtags:M.hashtags,url:M.url,via:M.via,related:M.related,share_with_retweet:M.share_with_retweet,placeid:M.placeid,original_referer:S.referrer,partner:M.partner,tw_p:"tweetbutton",ref_src:"twsrc^tfw"},R=x.get("config.intentURL")+"?"+g.encode(P),k||m.clientEvent({page:"button",section:M.type,action:"impression"},{language:M.lang,message:M.size+":",widget_origin:S.referrer,widget_frame:S.location},!1),L.href=R,L.onclick=function(t){return t=t||h.event,m.interaction(t,{},!1),N.trigger("click","tweet"),N.trigger("tweet","tweet"),t.altKey||t.shiftKey||t.metaKey||d.ios()||d.android()?void 0:(f(R,M.id),r(t))}},function(t,e){t.exports=document},function(t,e){t.exports=location},function(t,e){t.exports=window},function(t,e,n){function r(t){return t=t||d,t.devicePixelRatio?t.devicePixelRatio>=1.5:t.matchMedia?t.matchMedia("only screen and (min-resolution: 144dpi)").matches:!1}function i(t){return t=t||v,/(Trident|MSIE \d)/.test(t)}function o(t){return t=t||v,/MSIE 9/.test(t)}function s(t){return t=t||v,/(iPad|iPhone|iPod)/.test(t)}function a(t){return t=t||v,/^Mozilla\/5\.0 \(Linux; (U; )?Android/.test(t)}function u(t,e){return t=t||d,e=e||v,t.postMessage&&!(i(e)&&t.opener)}function c(t,e,n){return t=t||d,e=e||h,n=n||v,"ontouchstart"in t||/Opera Mini/.test(n)||e.msMaxTouchPoints>0}function f(){var t=p.body.style;return void 0!==t.transition||void 0!==t.webkitTransition||void 0!==t.mozTransition||void 0!==t.oTransition||void 0!==t.msTransition}function l(){return!!(d.Promise&&d.Promise.resolve&&d.Promise.reject&&d.Promise.all&&d.Promise.race&&function(){var t;return new d.Promise(function(e){t=e}),g.isType("function",t)}())}var p=n(1),h=n(5),d=n(3),g=n(6),v=h.userAgent;t.exports={retina:r,anyIE:i,ie9:o,ios:s,android:a,canPostMessage:u,touch:c,cssTransitions:f,hasPromiseSupport:l}},function(t,e){t.exports=navigator},function(t,e,n){function r(t){return l(arguments).slice(1).forEach(function(e){o(e,function(e,n){t[e]=n})}),t}function i(t){return o(t,function(e,n){u(n)&&(i(n),c(n)&&delete t[e]),void 0!==n&&null!==n&&""!==n||delete t[e]}),t}function o(t,e){for(var n in t)t.hasOwnProperty&&!t.hasOwnProperty(n)||e(n,t[n]);return t}function s(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function a(t,e){return t==s(e)}function u(t){return t===Object(t)}function c(t){if(!u(t))return!1;if(Object.keys)return!Object.keys(t).length;for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function f(t,e){h.setTimeout(function(){t.call(e||null)},0)}function l(t){return t?Array.prototype.slice.call(t):[]}function p(t,e){return t&&t.indexOf?t.indexOf(e)>-1:!1}var h=n(3);t.exports={aug:r,async:f,compact:i,contains:p,forIn:o,isObject:u,isEmptyObject:c,toType:s,isType:a,toRealArray:l}},function(t,e,n){function r(t){return encodeURIComponent(t).replace(/\+/g,"%2B").replace(/'/g,"%27")}function i(t){return decodeURIComponent(t)}function o(t){var e=[];return f.forIn(t,function(t,n){var i=r(t);f.isType("array",n)||(n=[n]),n.forEach(function(t){c.hasValue(t)&&e.push(i+"="+r(t))})}),e.sort().join("&")}function s(t){var e,n={};return t?(e=t.split("&"),e.forEach(function(t){var e=t.split("="),r=i(e[0]),o=i(e[1]);return 2==e.length?f.isType("array",n[r])?void n[r].push(o):r in n?(n[r]=[n[r]],void n[r].push(o)):void(n[r]=o):void 0}),n):{}}function a(t,e){var n=o(e);return n.length>0?f.contains(t,"?")?t+"&"+o(e):t+"?"+o(e):t}function u(t){var e=t&&t.split("?");return 2==e.length?s(e[1]):{}}var c=n(8),f=n(6);t.exports={url:a,decodeURL:u,decode:s,encode:o,encodePart:r,decodePart:i}},function(t,e,n){function r(t){return void 0!==t&&null!==t&&""!==t}function i(t){return a(t)&&t%1===0}function o(t){return"string"===g.toType(t)}function s(t){return a(t)&&!i(t)}function a(t){return r(t)&&!isNaN(t)}function u(t){return r(t)&&"array"==g.toType(t)}function c(t){return g.contains(m,t)}function f(t){return g.contains(v,t)}function l(t){return r(t)?f(t)?!0:c(t)?!1:!!t:!1}function p(t){return a(t)?t:void 0}function h(t){return s(t)?t:void 0}function d(t){return i(t)?parseInt(t,10):void 0}var g=n(6),v=[!0,1,"1","on","ON","true","TRUE","yes","YES"],m=[!1,0,"0","off","OFF","false","FALSE","no","NO"];t.exports={hasValue:r,isInt:i,isFloat:s,isNumber:a,isString:o,isArray:u,isTruthValue:f,isFalseValue:c,asInt:d,asFloat:h,asNumber:p,asBoolean:l}},function(t,e,n){var r,i,o,s=n(7);r=function(t){var e=t.search.substr(1);return s.decode(e)},i=function(t){var e=t.href,n=e.indexOf("#"),r=0>n?"":e.substring(n+1);return s.decode(r)},o=function(t){var e,n={},o=r(t),s=i(t);for(e in o)o.hasOwnProperty(e)&&(n[e]=o[e]);for(e in s)s.hasOwnProperty(e)&&(n[e]=s[e]);return n},t.exports={combined:o,fromQuery:r,fromFragment:i}},function(t,e,n){function r(t,e,n){return i(t,e,n,2)}function i(t,e,n,r){var i=!v.isObject(t),o=e?!v.isObject(e):!1;i||o||s(g.formatClientEventNamespace(t),g.formatClientEventData(e,n,r),g.CLIENT_EVENT_ENDPOINT)}function o(t,e,n,r){var o=g.extractTermsFromDOM(t.target||t.srcElement);o.action=r||"click",i(o,e,n)}function s(t,e,n){var r,i;n&&v.isObject(t)&&v.isObject(e)&&(r=g.flattenClientEventPayload(t,e),i={l:g.stringify(r)},r.dnt&&(i.dnt=1),p(d.url(n,i)))}function a(t,e,n,r){var i,o=!v.isObject(t),s=e?!v.isObject(e):!1;if(!o&&!s)return i=g.flattenClientEventPayload(g.formatClientEventNamespace(t),g.formatClientEventData(e,n,r)),u(i)}function u(t){return y.push(t),y}function c(){var t,e;return y.length>1&&a({page:"widgets_js",component:"scribe_pixel",action:"batch_log"},{}),t=y,y=[],e=t.reduce(function(e,n,r){var i=e.length,o=i&&e[i-1],s=r+1==t.length;return s&&n.event_namespace&&"batch_log"==n.event_namespace.action&&(n.message=["entries:"+r,"requests:"+i].join("/")),f(n).forEach(function(t){var n=l(t);(!o||o.urlLength+n>m)&&(o={urlLength:_,items:[]},e.push(o)),o.urlLength+=n,o.items.push(t)}),e},[]),e.map(function(t){var e={l:t.items};return h.enabled()&&(e.dnt=1),p(d.url(g.CLIENT_EVENT_ENDPOINT,e))})}function f(t){return Array.isArray(t)||(t=[t]),t.reduce(function(t,e){var n,r=g.stringify(e),i=l(r);return m>_+i?t=t.concat(r):(n=g.splitLogEntry(e),n.length>1&&(t=t.concat(f(n)))),t},[])}function l(t){return encodeURIComponent(t).length+3}function p(t){var e=new Image;return e.src=t}var h=n(11),d=n(7),g=n(17),v=n(6),m=2083,y=[],w=d.url(g.CLIENT_EVENT_ENDPOINT,{dnt:0,l:""}),_=encodeURIComponent(w).length;t.exports={_enqueueRawObject:u,scribe:s,clientEvent:i,clientEvent2:r,enqueueClientEvent:a,flushClientEvents:c,interaction:o}},function(t,e,n){function r(){p=!0}function i(t,e){return p?!0:f.asBoolean(l.val("dnt"))?!0:!a||1!=a.doNotTrack&&1!=a.msDoNotTrack?c.isUrlSensitive(e||s.host)?!0:u.isFramed()&&c.isUrlSensitive(u.rootDocumentLocation())?!0:(t=h.test(t||o.referrer)&&RegExp.$1,!(!t||!c.isUrlSensitive(t))):!0}var o=n(1),s=n(2),a=n(5),u=n(12),c=n(15),f=n(8),l=n(16),p=!1,h=/https?:\/\/([^\/]+).*/i;t.exports={setOn:r,enabled:i}},function(t,e,n){function r(t){return t&&u.isType("string",t)&&(c=t),c}function i(){return f}function o(){return c!==f}var s=n(2),a=n(13),u=n(6),c=a.getCanonicalURL()||s.href,f=c;t.exports={isFramed:o,rootDocumentLocation:r,currentDocumentLocation:i}},function(t,e,n){function r(t,e){var n,r;return e=e||a,/^https?:\/\//.test(t)?t:/^\/\//.test(t)?e.protocol+t:(n=e.host+(e.port.length?":"+e.port:""),0!==t.indexOf("/")&&(r=e.pathname.split("/"),r.pop(),r.push(t),t="/"+r.join("/")),[e.protocol,"//",n,t].join(""))}function i(){for(var t,e=s.getElementsByTagName("link"),n=0;t=e[n];n++)if("canonical"==t.rel)return r(t.href)}function o(){for(var t,e,n,r=s.getElementsByTagName("a"),i=s.getElementsByTagName("link"),o=[r,i],a=0,c=0,f=/\bme\b/;t=o[a];a++)for(c=0;e=t[c];c++)if(f.test(e.rel)&&(n=u.screenName(e.href)))return n}var s=n(1),a=n(2),u=n(14);t.exports={absolutize:r,getCanonicalURL:i,getScreenNameFromPage:o}},function(t,e,n){function r(t){return"string"==typeof t&&_.test(t)&&RegExp.$1.length<=20}function i(t){return r(t)?RegExp.$1:void 0}function o(t,e){var n=w.decodeURL(t);return e=e||!1,n.screen_name=i(t),n.screen_name?w.url("https://twitter.com/intent/"+(e?"follow":"user"),n):void 0}function s(t){return o(t,!0)}function a(t){return"string"==typeof t&&x.test(t)}function u(t,e){return e=void 0===e?!0:e,a(t)?(e?"#":"")+RegExp.$1:void 0}function c(t){return"string"==typeof t&&b.test(t)}function f(t){return c(t)&&RegExp.$1}function l(t){return E.test(t)}function p(t){return T.test(t)}function h(t){return N.test(t)}function d(t){return P.test(t)&&RegExp.$1}function g(t){return O.test(t)&&RegExp.$1}function v(t){return N.test(t)&&RegExp.$1}function m(t){return R.test(t)&&RegExp.$1}function y(t){return j.test(t)?{ownerScreenName:RegExp.$1,slug:RegExp.$2}:!1}var w=n(7),_=/(?:^|(?:https?\:)?\/\/(?:www\.)?twitter\.com(?:\:\d+)?(?:\/intent\/(?:follow|user)\/?\?screen_name=|(?:\/#!)?\/))@?([\w]+)(?:\?|&|$)/i,b=/(?:^|(?:https?\:)?\/\/(?:www\.)?twitter\.com(?:\:\d+)?\/(?:#!\/)?[\w_]+\/status(?:es)?\/)(\d+)/i,E=/^http(s?):\/\/(\w+\.)*twitter\.com([\:\/]|$)/i,T=/^http(s?):\/\/pbs\.twimg\.com\//,x=/^#?([^.,<>!\s\/#\-\(\)\'\"]+)$/,N=/twitter\.com(?:\:\d{2,4})?\/intent\/(\w+)/,O=/^https?:\/\/(?:www\.)?twitter\.com\/\w+\/timelines\/(\d+)/i,P=/^https?:\/\/(?:www\.)?twitter\.com\/i\/moments\/(\d+)/i,R=/^https?:\/\/(?:www\.)?twitter\.com\/(\w+)\/(?:likes|favorites)/i,j=/^https?:\/\/(?:www\.)?twitter\.com\/(\w+)\/lists\/([\w-]+)/i;t.exports={isHashTag:a,hashTag:u,isScreenName:r,screenName:i,isStatus:c,status:f,intentForProfileURL:o,intentForFollowURL:s,isTwitterURL:l,isTwimgURL:p,isIntentURL:h,regexen:{profile:_},momentId:d,collectionId:g,intentType:v,likesScreenName:m,listScreenNameAndSlug:y}},function(t,e,n){function r(t){return t in a?a[t]:a[t]=s.test(t)}function i(){return r(o.host)}var o=n(2),s=/^[^#?]*\.(gov|mil)(:\d+)?([#?].*)?$/i,a={};t.exports={isUrlSensitive:r,isHostPageSensitive:i}},function(t,e,n){function r(t){var e,n,r,i=0;for(o={},t=t||s,e=t.getElementsByTagName("meta");n=e[i];i++)/^twitter:/.test(n.name)&&(r=n.name.replace(/^twitter:/,""),o[r]=n.content)}function i(t){return o[t]}var o,s=n(1);r(),t.exports={init:r,val:i}},function(t,e,n){function r(t,e){var n;return e=e||{},t&&t.nodeType===Node.ELEMENT_NODE?((n=t.getAttribute("data-scribe"))&&n.split(" ").forEach(function(t){var n=t.trim().split(":"),r=n[0],i=n[1];r&&i&&!e[r]&&(e[r]=i)}),r(t.parentNode,e)):e}function i(t){return d.aug({client:"tfw"},t||{})}function o(t,e,n){var r=t&&t.widget_origin||l.referrer;return t=s("tfw_client_event",t,r),t.client_version=v,t.format_version=void 0!==n?n:1,e||(t.widget_origin=r),t}function s(t,e,n){return e=e||{},d.aug({},e,{_category_:t,triggered_on:e.triggered_on||+new Date,dnt:h.enabled(n)})}function a(t,e){var n={};return e=e||{},e.association_namespace=i(t),n[_]=e,n}function u(t,e){return d.aug({},e,{event_namespace:t})}function c(t){var e,n=Array.prototype.toJSON;return delete Array.prototype.toJSON,e=p.stringify(t),n&&(Array.prototype.toJSON=n),e}function f(t){if(t.item_ids&&t.item_ids.length>1){var e=Math.floor(t.item_ids.length/2),n=t.item_ids.slice(0,e),r={},i=t.item_ids.slice(e),o={};n.forEach(function(e){r[e]=t.item_details[e]}),i.forEach(function(e){o[e]=t.item_details[e]});var s=[d.aug({},t,{item_ids:n,item_details:r}),d.aug({},t,{item_ids:i,item_details:o})];return s}return[t]}var l=n(1),p=n(18),h=n(11),d=n(6),g=n(19),v=g.version,m="https://syndication.twitter.com/i/jot",y="https://syndication.twitter.com/i/jot/syndication",w="https://platform.twitter.com/jot.html",_=1;t.exports={extractTermsFromDOM:r,flattenClientEventPayload:u,formatGenericEventData:s,formatClientEventData:o,formatClientEventNamespace:i,formatTweetAssociation:a,splitLogEntry:f,stringify:c,AUDIENCE_ENDPOINT:y,CLIENT_EVENT_ENDPOINT:m,RUFOUS_REDIRECT:w}},function(t,e,n){var r=n(3),i=r.JSON;t.exports={stringify:i.stringify||i.encode,parse:i.parse||i.decode}},function(t,e){t.exports={version:"c94156f:1467075588381"}},function(t,e){t.exports=["hi","zh-cn","fr","zh-tw","msa","fil","fi","sv","pl","ja","ko","de","it","pt","es","ru","id","tr","da","no","nl","hu","fa","ar","ur","he","th","cs","uk","vi","ro","bn","el","en-gb","gu","kn","mr","ta","bg","ca","hr","sr","sk"]},function(t,e,n){var r=n(22);t.exports=new r("__twttr")},function(t,e,n){function r(t){return a.isType("string",t)?t.split("."):a.isType("array",t)?t:[]}function i(t,e){var n=r(e),i=n.slice(0,-1);return i.reduce(function(t,e,n){if(t[e]=t[e]||{},!a.isObject(t[e]))throw new Error(i.slice(0,n+1).join(".")+" is already defined with a value.");return t[e]},t)}function o(t,e){e=e||s,e[t]=e[t]||{},Object.defineProperty(this,"base",{value:e[t]}),Object.defineProperty(this,"name",{value:t})}var s=n(3),a=n(6);a.aug(o.prototype,{get:function(t){var e=r(t);return e.reduce(function(t,e){return a.isObject(t)?t[e]:void 0},this.base)},set:function(t,e,n){var o=r(t),s=i(this.base,t),a=o.slice(-1);return n&&a in s?s[a]:s[a]=e},init:function(t,e){return this.set(t,e,!0)},unset:function(t){var e=r(t),n=this.get(e.slice(0,-1));n&&delete n[e.slice(-1)]},aug:function(t){var e=this.get(t),n=a.toRealArray(arguments).slice(1);if(e="undefined"!=typeof e?e:{},n.unshift(e),!n.every(a.isObject))throw new Error("Cannot augment non-object.");return this.set(t,a.aug.apply(null,n))},call:function(t){var e=this.get(t),n=a.toRealArray(arguments).slice(1);if(!a.isType("function",e))throw new Error("Function "+t+"does not exist.");return e.apply(null,n)},fullPath:function(t){var e=r(t);return e.unshift(this.name),e.join(".")}}),t.exports=o},function(t,e,n){function r(t){var e=u(t),n=Math.ceil(e.width),r=Math.ceil(e.height);c.notify("twttr.private.resizeButton",{width:n,height:r})}function i(t,e){c.notify("twttr.private.trigger",t,e)}var o=n(3),s=n(24),a=n(30),u=n(33),c=new s(new a.Dispatcher(o.parent,"twttr.button"));t.exports={triggerResize:r,trigger:i}},function(t,e,n){function r(t){if(!t)throw new Error("JsonRpcClient requires a dispatcher");this.idIterator=0,this.dispatcher=t,this.idPrefix=String(+new Date)+a++}function i(t){var e={jsonrpc:s,method:t};return arguments.length>1&&(e.params=[].slice.call(arguments,1)),e}var o=n(25),s="2.0",a=0;r.prototype._generateId=function(){return this.idPrefix+this.idIterator++},r.prototype.notify=function(){this.dispatcher.send(i.apply(null,arguments))},r.prototype.request=function(){var t=i.apply(null,arguments);return t.id=this._generateId(),this.dispatcher.send(t).then(function(t){return"result"in t?t.result:o.reject(t.error)})},t.exports=r},function(t,e,n){var r=n(26).Promise,i=n(3),o=n(4);t.exports=o.hasPromiseSupport()?i.Promise:r},function(t,e,n){var r;(function(t){/*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @licenseLicensed under MIT license *See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE * @version2.3.0 */(function(){"use strict";function i(t){return"function"==typeof t||"object"==typeof t&&null!==t}function o(t){return"function"==typeof t}function s(t){return"object"==typeof t&&null!==t}function a(t){q=t}function u(t){W=t}function c(){var t=process.nextTick,e=process.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);return Array.isArray(e)&&"0"===e[1]&&"10"===e[2]&&(t=setImmediate),function(){t(d)}}function f(){return function(){J(d)}}function l(){var t=0,e=new Z(d),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function p(){var t=new MessageChannel;return t.port1.onmessage=d,function(){t.port2.postMessage(0)}}function h(){return function(){setTimeout(d,1)}}function d(){for(var t=0;Y>t;t+=2){var e=et[t],n=et[t+1];e(n),et[t]=void 0,et[t+1]=void 0}Y=0}function g(){try{var t=n(28);return J=t.runOnLoop||t.runOnContext,f()}catch(e){return h()}}function v(){}function m(){return new TypeError("You cannot resolve a promise with itself")}function y(){return new TypeError("A promises callback cannot return that same promise.")}function w(t){try{return t.then}catch(e){return ot.error=e,ot}}function _(t,e,n,r){try{t.call(e,n,r)}catch(i){return i}}function b(t,e,n){W(function(t){var r=!1,i=_(n,e,function(n){r||(r=!0,e!==n?x(t,n):O(t,n))},function(e){r||(r=!0,P(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&i&&(r=!0,P(t,i))},t)}function E(t,e){e._state===rt?O(t,e._result):e._state===it?P(t,e._result):R(e,void 0,function(e){x(t,e)},function(e){P(t,e)})}function T(t,e){if(e.constructor===t.constructor)E(t,e);else{var n=w(e);n===ot?P(t,ot.error):void 0===n?O(t,e):o(n)?b(t,e,n):O(t,e)}}function x(t,e){t===e?P(t,m()):i(e)?T(t,e):O(t,e)}function N(t){t._onerror&&t._onerror(t._result),j(t)}function O(t,e){t._state===nt&&(t._result=e,t._state=rt,0!==t._subscribers.length&&W(j,t))}function P(t,e){t._state===nt&&(t._state=it,t._result=e,W(N,t))}function R(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+rt]=n,i[o+it]=r,0===o&&t._state&&W(j,t)}function j(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,i,o=t._result,s=0;s<e.length;s+=3)r=e[s],i=e[s+n],r?S(n,r,i,o):i(o);t._subscribers.length=0}}function A(){this.error=null}function I(t,e){try{return t(e)}catch(n){return st.error=n,st}}function S(t,e,n,r){var i,s,a,u,c=o(n);if(c){if(i=I(n,r),i===st?(u=!0,s=i.error,i=null):a=!0,e===i)return void P(e,y())}else i=r,a=!0;e._state!==nt||(c&&a?x(e,i):u?P(e,s):t===rt?O(e,i):t===it&&P(e,i))}function L(t,e){try{e(function(e){x(t,e)},function(e){P(t,e)})}catch(n){P(t,n)}}function C(t,e){var n=this;n._instanceConstructor=t,n.promise=new t(v),n._validateInput(e)?(n._input=e,n.length=e.length,n._remaining=e.length,n._init(),0===n.length?O(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&O(n.promise,n._result))):P(n.promise,n._validationError())}function M(t){return new at(this,t).promise}function U(t){function e(t){x(i,t)}function n(t){P(i,t)}var r=this,i=new r(v);if(!K(t))return P(i,new TypeError("You must pass an array to race.")),i;for(var o=t.length,s=0;i._state===nt&&o>s;s++)R(r.resolve(t[s]),void 0,e,n);return i}function D(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(v);return x(n,t),n}function F(t){var e=this,n=new e(v);return P(n,t),n}function k(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function $(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function z(t){this._id=pt++,this._state=void 0,this._result=void 0,this._subscribers=[],v!==t&&(o(t)||k(),this instanceof z||$(),L(this,t))}function B(){var t;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;n&&"[object Promise]"===Object.prototype.toString.call(n.resolve())&&!n.cast||(t.Promise=ht)}var V;V=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var J,q,H,K=V,Y=0,W=({}.toString,function(t,e){et[Y]=t,et[Y+1]=e,Y+=2,2===Y&&(q?q(d):H())}),G="undefined"!=typeof window?window:void 0,Q=G||{},Z=Q.MutationObserver||Q.WebKitMutationObserver,X="undefined"!=typeof process&&"[object process]"==={}.toString.call(process),tt="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,et=new Array(1e3);H=X?c():Z?l():tt?p():void 0===G?g():h();var nt=void 0,rt=1,it=2,ot=new A,st=new A;C.prototype._validateInput=function(t){return K(t)},C.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},C.prototype._init=function(){this._result=new Array(this.length)};var at=C;C.prototype._enumerate=function(){for(var t=this,e=t.length,n=t.promise,r=t._input,i=0;n._state===nt&&e>i;i++)t._eachEntry(r[i],i)},C.prototype._eachEntry=function(t,e){var n=this,r=n._instanceConstructor;s(t)?t.constructor===r&&t._state!==nt?(t._onerror=null,n._settledAt(t._state,e,t._result)):n._willSettleAt(r.resolve(t),e):(n._remaining--,n._result[e]=t)},C.prototype._settledAt=function(t,e,n){var r=this,i=r.promise;i._state===nt&&(r._remaining--,t===it?P(i,n):r._result[e]=n),0===r._remaining&&O(i,r._result)},C.prototype._willSettleAt=function(t,e){var n=this;R(t,void 0,function(t){n._settledAt(rt,e,t)},function(t){n._settledAt(it,e,t)})};var ut=M,ct=U,ft=D,lt=F,pt=0,ht=z;z.all=ut,z.race=ct,z.resolve=ft,z.reject=lt,z._setScheduler=a,z._setAsap=u,z._asap=W,z.prototype={constructor:z,then:function(t,e){var n=this,r=n._state;if(r===rt&&!t||r===it&&!e)return this;var i=new this.constructor(v),o=n._result;if(r){var s=arguments[r-1];W(function(){S(r,i,s,o)})}else R(n,i,t,e);return i},"catch":function(t){return this.then(null,t)}};var dt=B,gt={Promise:ht,polyfill:dt};n(29).amd?(r=function(){return gt}.call(e,n,e,t),!(void 0!==r&&(t.exports=r))):"undefined"!=typeof t&&t.exports&&(t.exports=gt)}).call(this)}).call(e,n(27)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,e,n){function r(t,e,n){var r;t&&t.postMessage&&(m?r=(n||"")+l.stringify(e):n?(r={},r[n]=e):r=e,t.postMessage(r,"*"))}function i(t){return d.isType("string",t)?t:"JSONRPC"}function o(t,e){return e?d.isType("string",t)&&0===t.indexOf(e)?t.substring(e.length):t[e]?t[e]:void 0:t}function s(t,e){var n=t.document;this.filter=i(e),this.server=null,this.isTwitterFrame=g.isTwitterURL(n.location.href),t.addEventListener("message",v(this._onMessage,this),!1)}function a(t,e){this.pending={},this.target=t,this.isTwitterHost=g.isTwitterURL(c.href),this.filter=i(e),f.addEventListener("message",v(this._onMessage,this),!1)}function u(t){return arguments.length>0&&(m=!!t),m}var c=n(2),f=n(3),l=n(18),p=n(31),h=n(4),d=n(6),g=n(14),v=n(32),m=h.ie9();d.aug(s.prototype,{_onMessage:function(t){var e,n=this;this.server&&(this.isTwitterFrame&&!g.isTwitterURL(t.origin)||(e=o(t.data,this.filter),e&&this.server.receive(e,t.source).then(function(e){e&&r(t.source,e,n.filter)})))},attachTo:function(t){this.server=t},detach:function(){this.server=null}}),d.aug(a.prototype,{_processResponse:function(t){var e=this.pending[t.id];e&&(e.resolve(t),delete this.pending[t.id])},_onMessage:function(t){var e;if((!this.isTwitterHost||g.isTwitterURL(t.origin))&&(e=o(t.data,this.filter))){if(d.isType("string",e))try{e=l.parse(e)}catch(n){return}e=d.isType("array",e)?e:[e],e.forEach(v(this._processResponse,this))}},send:function(t){var e=new p;return t.id?this.pending[t.id]=e:e.resolve(),r(this.target,t,this.filter),e.promise}}),t.exports={Receiver:s,Dispatcher:a,_stringifyPayload:u}},function(t,e,n){function r(){var t=this;this.promise=new i(function(e,n){t.resolve=e,t.reject=n})}var i=n(25);t.exports=r},function(t,e,n){var r=n(6);t.exports=function(t,e){var n=Array.prototype.slice.call(arguments,2);return function(){var i=r.toRealArray(arguments);return t.apply(e,n.concat(i))}}},function(t,e){function n(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height}}t.exports=n},function(t,e){var n=3e4;t.exports=function(t,e){var r=+new Date;return e=e||n,t>r-e}}]))}();;</script></body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment