-
Notifications
You must be signed in to change notification settings - Fork 1
/
gfy-cat-demo.vulcanized.html
4 lines (4 loc) · 117 KB
/
gfy-cat-demo.vulcanized.html
1
2
3
4
<div hidden><style shim-shadowdom="">html /deep/ [layout][horizontal],html /deep/ [layout][vertical]{display:-ms-flexbox;display:-webkit-flex;display:flex}html /deep/ [layout][horizontal][inline],html /deep/ [layout][vertical][inline]{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}html /deep/ [layout][horizontal]{-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}html /deep/ [layout][horizontal][reverse]{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}html /deep/ [layout][vertical]{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}html /deep/ [layout][vertical][reverse]{-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}html /deep/ [layout][wrap]{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}html /deep/ [layout][wrap-reverse]{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}html /deep/ [flex]{-ms-flex:1 1 0;-webkit-flex:1;flex:1;-webkit-flex-basis:0;flex-basis:0}html /deep/ [vertical][layout]>[flex][auto-vertical],html /deep/ [vertical][layout]::shadow [flex][auto-vertical]{-ms-flex:1 1 auto;-webkit-flex-basis:auto;flex-basis:auto}html /deep/ [flex][auto]{-ms-flex:1 1 auto;-webkit-flex-basis:auto;flex-basis:auto}html /deep/ [flex][none]{-ms-flex:none;-webkit-flex:none;flex:none}html /deep/ [flex][one]{-ms-flex:1;-webkit-flex:1;flex:1}html /deep/ [flex][two]{-ms-flex:2;-webkit-flex:2;flex:2}html /deep/ [flex][three]{-ms-flex:3;-webkit-flex:3;flex:3}html /deep/ [flex][four]{-ms-flex:4;-webkit-flex:4;flex:4}html /deep/ [flex][five]{-ms-flex:5;-webkit-flex:5;flex:5}html /deep/ [flex][six]{-ms-flex:6;-webkit-flex:6;flex:6}html /deep/ [flex][seven]{-ms-flex:7;-webkit-flex:7;flex:7}html /deep/ [flex][eight]{-ms-flex:8;-webkit-flex:8;flex:8}html /deep/ [flex][nine]{-ms-flex:9;-webkit-flex:9;flex:9}html /deep/ [flex][ten]{-ms-flex:10;-webkit-flex:10;flex:10}html /deep/ [flex][eleven]{-ms-flex:11;-webkit-flex:11;flex:11}html /deep/ [flex][twelve]{-ms-flex:12;-webkit-flex:12;flex:12}html /deep/ [layout][start]{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}html /deep/ [layout][center],html /deep/ [layout][center-center]{-ms-flex-align:center;-webkit-align-items:center;align-items:center}html /deep/ [layout][end]{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}html /deep/ [layout][start-justified]{-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}html /deep/ [layout][center-justified],html /deep/ [layout][center-center]{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}html /deep/ [layout][end-justified]{-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}html /deep/ [layout][around-justified]{-ms-flex-pack:distribute;-webkit-justify-content:space-around;justify-content:space-around}html /deep/ [layout][justified]{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}html /deep/ [self-start]{-ms-align-self:flex-start;-webkit-align-self:flex-start;align-self:flex-start}html /deep/ [self-center]{-ms-align-self:center;-webkit-align-self:center;align-self:center}html /deep/ [self-end]{-ms-align-self:flex-end;-webkit-align-self:flex-end;align-self:flex-end}html /deep/ [self-stretch]{-ms-align-self:stretch;-webkit-align-self:stretch;align-self:stretch}html /deep/ [block]{display:block}html /deep/ [hidden]{display:none!important}html /deep/ [relative]{position:relative}html /deep/ [fit]{position:absolute;top:0;right:0;bottom:0;left:0}body[fullbleed]{margin:0;height:100vh}html /deep/ [segment],html /deep/ segment{display:block;position:relative;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;margin:1em .5em;padding:1em;background-color:#fff;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(0,0,0,.1);border-radius:5px 5px 5px 5px}</style><script src="bower_components/polymer/polymer.js"></script><polymer-element name="core-xhr" hidden assetpath="src/gfy-cat/core-ajax/"><script>Polymer("core-xhr",{request:function(options){var xhr=new XMLHttpRequest;var url=options.url;var method=options.method||"GET";var async=!options.sync;var params=this.toQueryString(options.params);if(params&&method=="GET"){url+=(url.indexOf("?")>0?"&":"?")+params}var xhrParams=this.isBodyMethod(method)?options.body||params:null;xhr.open(method,url,async);if(options.responseType){xhr.responseType=options.responseType}if(options.withCredentials){xhr.withCredentials=true}this.makeReadyStateHandler(xhr,options.callback);this.setRequestHeaders(xhr,options.headers);xhr.send(xhrParams);if(!async){xhr.onreadystatechange(xhr)}return xhr},toQueryString:function(params){var r=[];for(var n in params){var v=params[n];n=encodeURIComponent(n);r.push(v==null?n:n+"="+encodeURIComponent(v))}return r.join("&")},isBodyMethod:function(method){return this.bodyMethods[(method||"").toUpperCase()]},bodyMethods:{POST:1,PUT:1,DELETE:1},makeReadyStateHandler:function(xhr,callback){xhr.onreadystatechange=function(){if(xhr.readyState==4){callback&&callback.call(null,xhr.response,xhr)}}},setRequestHeaders:function(xhr,headers){if(headers){for(var name in headers){xhr.setRequestHeader(name,headers[name])}}}});</script></polymer-element><polymer-element name="core-ajax" hidden attributes="url handleAs auto params response error method headers body contentType withCredentials" assetpath="src/gfy-cat/core-ajax/"><script>Polymer("core-ajax",{url:"",handleAs:"",auto:false,params:"",response:null,error:null,method:"",headers:null,body:null,contentType:"application/x-www-form-urlencoded",withCredentials:false,xhrArgs:null,ready:function(){this.xhr=document.createElement("core-xhr")},receive:function(response,xhr){if(this.isSuccess(xhr)){this.processResponse(xhr)}else{this.processError(xhr)}this.complete(xhr)},isSuccess:function(xhr){var status=xhr.status||0;return!status||status>=200&&status<300},processResponse:function(xhr){var response=this.evalResponse(xhr);if(xhr===this.activeRequest){this.response=response}this.fire("core-response",{response:response,xhr:xhr})},processError:function(xhr){var response=xhr.status+": "+xhr.responseText;if(xhr===this.activeRequest){this.error=response}this.fire("core-error",{response:response,xhr:xhr})},complete:function(xhr){this.fire("core-complete",{response:xhr.status,xhr:xhr})},evalResponse:function(xhr){return this[(this.handleAs||"text")+"Handler"](xhr)},xmlHandler:function(xhr){return xhr.responseXML},textHandler:function(xhr){return xhr.responseText},jsonHandler:function(xhr){var r=xhr.responseText;try{return JSON.parse(r)}catch(x){console.warn("core-ajax caught an exception trying to parse response as JSON:");console.warn("url:",this.url);console.warn(x);return r}},documentHandler:function(xhr){return xhr.response},blobHandler:function(xhr){return xhr.response},arraybufferHandler:function(xhr){return xhr.response},urlChanged:function(){if(!this.handleAs){var ext=String(this.url).split(".").pop();switch(ext){case"json":this.handleAs="json";break}}this.autoGo()},paramsChanged:function(){this.autoGo()},autoChanged:function(){this.autoGo()},autoGo:function(){if(this.auto){this.goJob=this.job(this.goJob,this.go,0)}},go:function(){var args=this.xhrArgs||{};args.body=this.body||args.body;args.params=this.params||args.params;if(args.params&&typeof args.params=="string"){args.params=JSON.parse(args.params)}args.headers=this.headers||args.headers||{};if(args.headers&&typeof args.headers=="string"){args.headers=JSON.parse(args.headers)}var hasContentType=Object.keys(args.headers).some(function(header){return header.toLowerCase()==="content-type"});if(!hasContentType&&this.contentType){args.headers["Content-Type"]=this.contentType}if(this.handleAs==="arraybuffer"||this.handleAs==="blob"||this.handleAs==="document"){args.responseType=this.handleAs}args.withCredentials=this.withCredentials;args.callback=this.receive.bind(this);args.url=this.url;args.method=this.method;this.response=this.error=null;this.activeRequest=args.url&&this.xhr.request(args);return this.activeRequest}});</script></polymer-element><polymer-element name="playpause-svg" attributes="stroke strokeWidth fill" assetpath="src/playpause-svg/"><template><style>:host{position:absolute;text-align:center;top:0;bottom:0;right:0;left:0;margin:auto;overflow:hidden;display:-webkit-flex;display:flex;-webkit-flex-flow:row wrap;flex-flow:row wrap;-webkit-align-items:center;align-items:center}svg{display:inline-block;vertical-align:middle;width:inherit}.playpause-container{width:100%;-webkit-transition:-webkit-perspective .2s ease;-moz-transition:-moz-perspective .2s ease;transition:perspective .2s ease;-webkit-perspective:600px;-moz-perspective:600px;-ms-perspective:600px;perspective:600px;-webkit-perspective-origin:50% 40%;-moz-perspective-origin:50% 40%;-ms-perspective-origin:50% 40%;perspective-origin:50% 40%}.pause-container,.play-container{width:100%;position:absolute;top:0;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 400ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 400ms cubic-bezier(0.26,.86,.44,.985),visibility 400ms cubic-bezier(0.26,.86,.44,.985),opacity 400ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-webkit-transform-origin 400ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 400ms cubic-bezier(0.26,.86,.44,.985),visibility 400ms cubic-bezier(0.26,.86,.44,.985),opacity 400ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-webkit-transform-origin 400ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 400ms cubic-bezier(0.26,.86,.44,.985),visibility 400ms cubic-bezier(0.26,.86,.44,.985),opacity 400ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-webkit-transform-origin 400ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 400ms cubic-bezier(0.26,.86,.44,.985),visibility 400ms cubic-bezier(0.26,.86,.44,.985),opacity 400ms cubic-bezier(0.26,.86,.44,.985);transition:-webkit-transform-origin 400ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 400ms cubic-bezier(0.26,.86,.44,.985),visibility 400ms cubic-bezier(0.26,.86,.44,.985),opacity 400ms cubic-bezier(0.26,.86,.44,.985);-webkit-transition:transform-origin 400ms cubic-bezier(0.26,.86,.44,.985),transform 400ms cubic-bezier(0.26,.86,.44,.985),visibility 400ms cubic-bezier(0.26,.86,.44,.985),opacity 400ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:transform-origin 400ms cubic-bezier(0.26,.86,.44,.985),transform 400ms cubic-bezier(0.26,.86,.44,.985),visibility 400ms cubic-bezier(0.26,.86,.44,.985),opacity 400ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:transform-origin 400ms cubic-bezier(0.26,.86,.44,.985),transform 400ms cubic-bezier(0.26,.86,.44,.985),visibility 400ms cubic-bezier(0.26,.86,.44,.985),opacity 400ms cubic-bezier(0.26,.86,.44,.985);-o-transition:transform-origin 400ms cubic-bezier(0.26,.86,.44,.985),transform 400ms cubic-bezier(0.26,.86,.44,.985),visibility 400ms cubic-bezier(0.26,.86,.44,.985),opacity 400ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 400ms cubic-bezier(0.26,.86,.44,.985),transform 400ms cubic-bezier(0.26,.86,.44,.985),visibility 400ms cubic-bezier(0.26,.86,.44,.985),opacity 400ms cubic-bezier(0.26,.86,.44,.985)}.future{-moz-transform:translate3d(0,100%,0) rotateX(-90deg) translate3d(0,100%,0);-o-transform:translate3d(0,100%,0) rotateX(-90deg) translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0) rotateX(-90deg) translate3d(0,100%,0);-webkit-transform:translate3d(0,100%,0) rotateX(-90deg) translate3d(0,100%,0);transform:translate3d(0,100%,0) rotateX(-90deg) translate3d(0,100%,0);opacity:0}.past{-moz-transform:translate3d(0,-100%,0) rotateX(90deg) translate3d(0,-100%,0);-o-transform:translate3d(0,-100%,0) rotateX(90deg) translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0) rotateX(90deg) translate3d(0,-100%,0);-webkit-transform:translate3d(0,-100%,0) rotateX(90deg) translate3d(0,-100%,0);transform:translate3d(0,-100%,0) rotateX(90deg) translate3d(0,-100%,0);opacity:0}.dummy{opacity:0}</style><div class="playpause-container"><div class="play-container present" id="play"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" id="playPauseCtrl"><g><path d="M50.5504,30L9.44958,55.5539L9.44958,4.44605L50.5504,30Z" stroke="{{stroke}}" stroke-width="{{strokeWidth}}" stroke-linecap="round" stroke-linejoin="round" fill="{{fill}}" vector-effect="non-scaling-stroke"/></g></svg></div><div class="pause-container future" id="pause"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" id="playPauseCtrl"><g><g><rect x="6.67827" y="6.375" width="20.3217" height="47.25" stroke="{{stroke}}" stroke-width="{{strokeWidth}}" stroke-linecap="round" stroke-linejoin="round" fill="{{fill}}" vector-effect="non-scaling-stroke"/></g><g><rect x="33" y="6.375" width="20.3217" height="47.25" stroke="{{stroke}}" stroke-width="{{strokeWidth}}" stroke-linecap="round" stroke-linejoin="round" fill="{{fill}}" vector-effect="non-scaling-stroke"/></g></g></svg></div><div class="dummy"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" id="playPauseCtrl"><g><g><rect x="6.67827" y="6.375" width="20.3217" height="47.25" stroke="{{stroke}}" stroke-width="{{strokeWidth}}" stroke-linecap="round" stroke-linejoin="round" fill="{{fill}}" vector-effect="non-scaling-stroke"/></g><g><rect x="33" y="6.375" width="20.3217" height="47.25" stroke="{{stroke}}" stroke-width="{{strokeWidth}}" stroke-linecap="round" stroke-linejoin="round" fill="{{fill}}" vector-effect="non-scaling-stroke"/></g></g></svg></div></div><toggle-play></toggle-play></template><script>Polymer("playpause-svg",{created:function(){this.stroke="#555";this.strokeWidth=1;this.fill="transparent"},ready:function(){this.addEventListener("togglePlay",this.togglePlay)},togglePlay:function(e){if(e.detail.state==="play"){this.playAnim()}else{this.pauseAnim()}},pauseAnim:function(){this.$.play.classList.remove("present");this.$.play.classList.add("past");this.$.pause.classList.remove("future");this.$.pause.classList.add("present")},playAnim:function(){this.$.play.classList.remove("past");this.$.play.classList.add("present");this.$.pause.classList.remove("present");this.$.pause.classList.add("future")}});</script></polymer-element><polymer-element name="gfy-cat" attributes="src gfyName width color fill strokeWidth ntimes loop" assetpath="src/gfy-cat/"><template><style>:host{display:block;text-align:center}video{display:block;height:auto;vertical-align:top}#gfyContainer{position:relative;display:inline-block;overflow:hidden;background:#B6B6B6 url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PiA8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPiA8c3ZnIHZpZXdCb3g9IjAgMCA0MjYgNDI2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbWl0ZXJsaW1pdDoxLjQxNDIxOyI+IDxnPiA8Zz4gPHBhdGggZD0iTTI0MS41OSw2MS4zMDIyTDI5My43MjgsOTEuNDAzOEwyMjMuMjc0LDEzMi4wNzhMMjIzLjI3Miw1OC4yOTI1QzIyOS43NDIsNTguODM4IDIzNi4xMiw1OS45MDk5IDI0MS41OSw2MS4zMDIyWiIgc3R5bGU9ImZpbGw6d2hpdGU7c3Ryb2tlLXdpZHRoOjAuNjdweDtzdHJva2U6d2hpdGU7Ii8+IDwvZz4gPGc+IDxwYXRoIGQ9Ik0yN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YsMzY4LjY2N0MxNzcuMTI3LDM2OC42NjcgMTY1LjQ5MiwzNzAuMzgyIDE1Mi44MjYsMzYxLjIzNkwxNTIuODI1LDMzNS40NTRMMjEwLjU4NCwzNjguODAyWiIgc3R5bGU9ImZpbGw6cmdiKDg2LDEzOSwyMDcpO2ZpbGwtb3BhY2l0eTowLjkwMTk2MTtzdHJva2Utd2lkdGg6MC42N3B4O3N0cm9rZTpyZ2IoODYsMTM5LDIwNyk7c3Ryb2tlLW9wYWNpdHk6MC45MDE5NjE7Ii8+IDwvZz4gPGc+IDxwYXRoIGQ9Ik0xNTIuODI2LDM2MS4yMzZDMTUxLjAwMywzNTkuOTQ2IDE0OC45NDMsMzU4LjE5MyAxNDYuODM3LDM1Ni4wOTlDMTQzLjA4NywzNTIuMzY5IDE0MC4zNjQsMzQ4LjA3NCAxMzguNjUsMzQzLjYzOEwxNTIuODI1LDMzNS40NTRMMTUyLjgyNiwzNjEuMjM2WiIgc3R5bGU9ImZpbGw6cmdiKDg2LDEzOSwyMDcpO3N0cm9rZS13aWR0aDowLjY3cHg7c3Ryb2tlOnJnYig4NiwxMzksMjA3KTsiLz4gPC9nPiA8Zz4gPHBhdGggZD0iTTExMi4zMjcsMTE0Ljc3NkMxMTkuNDQ2LDEwMy4xMDYgMTI4Ljk3Niw5Mi4yNjcyIDEzOS40NzEsODMuNjkzN0wxNTIuODE4LDkxLj RMMTEyLjMyNywxMTQuNzc2WiIgc3R5bGU9ImZpbGw6cmdiKDEwMywxNTAsMjEyKTtmaWxsLW9wYWNpdHk6MC45MDE5NjE7c3Ryb2tlLXdpZHRoOjAuNjdweDtzdHJva2U6cmdiKDEwMywxNTAsMjEyKTtzdHJva2Utb3BhY2l0eTowLjg5ODAzOTsiLz4gPC9nPiA8L2c+IDwvc3ZnPg==") no-repeat center center;background-size:100px 100px;min-height:100px}#gfyCtrlBox{position:absolute;top:0;bottom:0;width:15%;background-color:rgba(0,0,0,.4);height:100%;-webkit-transition:right .3s ease;transition:right .3s ease;display:-webkit-flex;display:flex;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.gfyCtrl.shown{right:0}.gfyCtrl.hidden{right:-15%}.default{width:20px;height:20px;right:10px}.clearfix{clear:both}#gfyCtrlBox svg{display:block;position:absolute;top:0;left:0;width:100%;max-height:100%}#gfyCtrlBox svg:hover{cursor:pointer}playpause-svg{width:20%;-webkit-transition:opacity .2s ease;-moz-transition:opacity .2s ease;transition:opacity .2s ease;opacity:0}playpause-svg.shown{opacity:1}.speedCtrl{position:relative;display:block}#speed{position:relative;width:100%;text-align:center}.bttn{-webkit-transition:opacity .2s ease;transition:opacity .2s ease;opacity:.7;padding-right:10px;padding-left:10px;width:100%;box-sizing:border-box;position:relative;height:0;padding-bottom:60%}.gfyCtrl>*{padding-top:10px;padding-bottom:10px}.bttn:hover{opacity:1}.active{background-color:rgba(0,0,0,.3)}</style><template if="{{src}}"><core-ajax url="http://upload.gfycat.com/transcode?fetchUrl={{src | cleanSrcUrl}}" id="gfyAjax" handleas="json"></core-ajax></template><div id="gfyContainer" _style="width:{{ width }};" on-mouseup="{{toggleState}}" on-mouseover="{{hoverHandle}}" on-mouseout="{{hoverOutHandle}}"><video autoplay width="100%" id="vid" src="//zippy.gfycat.com/{{gfyName}}{{ext}}"></video><video hidden width="100%" id="vidReverse" src="//zippy.gfycat.com/{{gfyName}}-reverse{{ext}}"></video><div class="clearfix"></div><playpause-svg stroke="{{color}}" class="{{visibility}}" strokewidth="{{fill ? 0:strokeWidth}}" fill="{{fill ? color:'transparent'}}" id="playPauseSvg"></playpause-svg><div class="gfyCtrl {{visibility}}" id="gfyCtrlBox" style="-webkit-flex-flow: column nowrap; flex-flow:column nowrap; -webkit-justify-content:space-around; justify-content:space-around;"><div class="speedCtrl"><div class="bttn" id="up" on-mouseup="{{increaseSpeed}}" title="accelerate playback"><svg version="1.1" id="speedUp" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" preserveaspectratio="meet" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-miterlimit:1.41421;"><g><g><path fill="{{fill ? color:'transparent'}}" d="M54.368,30L26.3873,49.5821L26.3873,10.4179L54.368,30Z" stroke-width="{{fill ? 0:strokeWidth}}" stroke="{{color}}" vector-effect="non-scaling-stroke"/></g><g><path fill="{{fill ? color:'transparent'}}" d="M23.866,30L5.63198,42.7609L5.63198,17.2391L23.866,30Z" stroke-width="{{fill ? 0:strokeWidth}}" stroke="{{color}}" vector-effect="non-scaling-stroke"/></g></g></svg></div><div id="speed" _style="color:{{color}}">{{speed}}x</div><div class="bttn" id="down" on-mouseup="{{decreaseSpeed}}" title="slow playback"><svg version="1.1" id="speedDown" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" preserveaspectratio="meet" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-miterlimit:1.41421;"><g><g><path fill="{{fill ? color:'transparent'}}" d="M5.63198,30L33.6127,10.4179L33.6127,49.5821L5.63198,30Z" stroke-width="{{fill ? 0:strokeWidth}}" stroke="{{color}}" vector-effect="non-scaling-stroke"/></g><g><path fill="{{fill ? color:'transparent'}}" d="M36.134,29.5376L54.368,16.7767L54.368,42.2985L36.134,29.5376Z" stroke-width="{{fill ? 0:strokeWidth}}" stroke="{{color}}" vector-effect="non-scaling-stroke"/></g></g></svg></div></div><div id="pingpong"><div class="bttn" on-mouseup="{{togglePingPong}}" title="pingpong playback"><svg version="1.1" id="speedDown" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-miterlimit:1.41421;"><g><g><path fill="{{fill ? color:'transparent'}}" d="M45.4798,30L6.04689,53.8893L6.04689,6.11072Z" stroke-width="{{fill ? 0:strokeWidth}}" stroke="{{color}}" vector-effect="non-scaling-stroke"/></g><g><path fill="{{fill ? color:'transparent'}}" d="M14.5202,30L53.9531,6.11072L53.9531,53.8893Z" stroke-width="{{fill ? 0:strokeWidth}}" stroke="{{color}}" vector-effect="non-scaling-stroke"/></g></g></svg></div></div><div id="reverse"><div class="bttn" on-mouseup="{{reversePlayback}}" title="reverse playback"><svg version="1.1" id="speedDown" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-miterlimit:1.41421;"><g><g><path fill="{{fill ? color:'transparent'}}" d="M9.44958,30L50.5504,4.44605L50.5504,55.5539L9.44958,30Z" stroke-width="{{fill ? 0:strokeWidth}}" stroke="{{color}}" vector-effect="non-scaling-stroke"/></g></g></svg></div></div></div><content></content></div></template><script>Polymer("gfy-cat",{created:function(){this.gfyName="";this.width="100%";this.speed=1;this.color="#eee";this.visibility="hidden";this.fill=false;this.strokeWidth=2;this.playMode="forward";this.pingPongActive=false;this.src="";this.getExt();this.state="play";this.playCount=0;this.ntimes=3},ready:function(){if(this.loop!==undefined){this.addLoopAttr()}this.$.vid.addEventListener("ended",function(){this.nextAction()}.bind(this));this.$.vidReverse.addEventListener("ended",function(){this.nextAction()}.bind(this));if(this.src&&!this.src.match(/(\.gifv|\.webm|\.mp4)$/)){this.$.gfyAjax.addEventListener("core-response",function(e){this.gfyName=e.detail.response.gfyName}.bind(this));this.$.gfyAjax.go()}if(this.isIdevice()){this.$.vid.style.height=this.$.vid.getBoundingClientRect().width+"px";this.$.vid.setAttribute("controls","true");this.$.vid.addEventListener("loadedmetadata",this.scaleMedia.bind(this))}},addLoopAttr:function(){this.$.vid.setAttribute("loop","true");this.$.vidReverse.setAttribute("loop","true");this.ntimes=100},nextAction:function(){this.incrementPlayCount();if(this.pingPongActive&&this.state==="play"){this.reversePlayback()}else if(this.state==="play"){this.rePlay()}},scaleMedia:function(e){var curWidth=this.$.vid.getBoundingClientRect().width;var calcHeight=Math.floor(this.$.vid.videoHeight*curWidth/this.$.vid.videoWidth);this.$.vid.style.height=calcHeight+"px"},incrementPlayCount:function(){this.playCount++;var userIntervention=this.interrupt;if(this.playCount===this.ntimes||userIntervention){this.pauseVid();if(userIntervention){this.playVid(true)}}},resetPlayCount:function(){this.playCount=0},clearInterrupt:function(){this.interrupt=false},pingPongActiveChanged:function(){this.toggleNTimes()},toggleNTimes:function(){if(this.pingPongActive){this.ntimes*=2}else{this.ntimes/=2}},getExt:function(){var testVid=document.createElement("video");switch(true){case testVid.canPlayType("video/mp4")!="":this.ext=".mp4";break;case testVid.canPlayType("video/webm")!="":this.ext=".webm";break}},cleanSrcUrl:function(url){return url.replace(/http:\/\//,"")},showCtrls:function(e,d,s){this.visibility="shown";if(this.hideTimeOut){clearTimeout(this.hideTimeOut)}this.hideTimeOut=setTimeout(this.hideCtrls.bind(this),3e3)},hideCtrls:function(){this.visibility="hidden";this.hideTimeOut=undefined},hoverHandle:function(e,d,s){if(!this.isMobile()){if(!this.hideTimeOut){this.showCtrls()}clearTimeout(this.hideTimeOut)}},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isIdevice:function(){return/iPhone|iPad|iPod/i.test(navigator.userAgent)},hoverOutHandle:function(){if(this.hideTimeOut){clearTimeout(this.hideTimeOut)}this.hideTimeOut=setTimeout(this.hideCtrls.bind(this),400)},mobileCtrlReset:function(){if(this.isMobile()){this.showCtrls()}},autoResume:function(reset){if(this.state==="pause"){this.playVid(reset)}else{this.interrupt=true}},increaseSpeed:function(e,d,s){e.stopPropagation();this.mobileCtrlReset();if(this.speed<1){this.speed*=2}else{this.speed+=.5}this.$.vid.playbackRate=this.speed;this.$.vidReverse.playbackRate=this.speed;this.autoResume(false)},decreaseSpeed:function(e,d,s){e.stopPropagation();this.mobileCtrlReset();if(this.speed<1){this.speed/=2}else{this.speed-=.5}this.$.vid.playbackRate=this.speed;this.$.vidReverse.playbackRate=this.speed;this.autoResume(false)},reversePlayback:function(e,d,s){if(this.playMode==="reverse"){this.playMode="forward"}else{this.playMode="reverse"}if(e){e.stopPropagation();this.mobileCtrlReset();this.updateReverseUI();if(this.pingPongActive){this.deactivatePingPong();this.playMode="reverse";this.updateReverseUI()}}},updateReverseUI:function(forceState){if(this.playMode==="forward"||forceState===false){this.$.reverse.classList.remove("active")}else{this.$.reverse.classList.add("active")}},rePlay:function(){this.playVid()},togglePingPong:function(e,d,s){e.stopPropagation();this.mobileCtrlReset();if(this.pingPongActive){this.deactivatePingPong();if(this.playMode!=="forward")this.playMode="forward"}else{this.activatePingPong()}},activatePingPong:function(){this.pingPongActive=true;this.$.pingpong.classList.add("active");this.autoResume(true);this.updateReverseUI(false);this.removeLoop()},deactivatePingPong:function(){this.pingPongActive=false;this.$.pingpong.classList.remove("active");this.autoResume(true)},removeLoop:function(){this.$.vid.removeAttribute("loop");this.$.vidReverse.removeAttribute("loop")},playModeChanged:function(){var reset=!this.pingPongActive;this.playVid(reset)},playVid:function(reset){if(reset){this.clearInterrupt();this.resetPlayCount();this.rewind()}if(this.playMode==="forward"){this.$.vidReverse.pause();this.$.vid.play();this.$.vidReverse.setAttribute("hidden","true");this.$.vid.removeAttribute("hidden")}else{this.$.vid.pause();this.$.vidReverse.play();this.$.vid.setAttribute("hidden","true");this.$.vidReverse.removeAttribute("hidden")}this.state="play"},pauseVid:function(){this.resetPlayCount();if(this.playMode==="forward"){this.$.vid.pause()}else{this.$.vidReverse.pause()}this.state="pause"},rewind:function(){if(this.playMode==="forward"){this.$.vid.currentTime=0}else{this.$.vidReverse.currentTime=0}},stateChanged:function(attrName,oldVal,newVal){this.triggerToggleEvent()},toggleState:function(e,d,s){if(!this.hideTimeOut)this.showCtrls();if(this.state==="play"||this.state===undefined){this.pauseVid()}else if(this.state==="pause"){this.playVid()}},triggerToggleEvent:function(){var that=this;[].forEach.call(this.shadowRoot.querySelectorAll("playpause-svg"),function(el,i){el.fire("togglePlay",{state:that.state})})}});</script></polymer-element></div>
<div hidden><style shim-shadowdom="">html /deep/ paper-shadow,html /deep/ paper-animated-shadow{display:block;position:relative}html /deep/ paper-shadow::shadow #shadow-bottom,html /deep/ paper-shadow::shadow #shadow-top{border-radius:inherit;pointer-events:none}html /deep/ paper-shadow::shadow #shadow-bottom[animated],html /deep/ paper-shadow::shadow #shadow-top[animated]{transition:box-shadow .28s cubic-bezier(0.4,0,.2,1)}html /deep/ .paper-shadow-top-z-1{box-shadow:none}html /deep/ .paper-shadow-bottom-z-1{box-shadow:0 1px 4px 0 rgba(0,0,0,.37)}html /deep/ .paper-shadow-top-z-2{box-shadow:0 2px 2px 0 rgba(0,0,0,.2)}html /deep/ .paper-shadow-bottom-z-2{box-shadow:0 6px 10px 0 rgba(0,0,0,.3)}html /deep/ .paper-shadow-top-z-3{box-shadow:0 11px 7px 0 rgba(0,0,0,.19)}html /deep/ .paper-shadow-bottom-z-3{box-shadow:0 13px 25px 0 rgba(0,0,0,.3)}html /deep/ .paper-shadow-top-z-4{box-shadow:0 14px 12px 0 rgba(0,0,0,.17)}html /deep/ .paper-shadow-bottom-z-4{box-shadow:0 20px 40px 0 rgba(0,0,0,.3)}html /deep/ .paper-shadow-top-z-5{box-shadow:0 17px 17px 0 rgba(0,0,0,.15)}html /deep/ .paper-shadow-bottom-z-5{box-shadow:0 27px 55px 0 rgba(0,0,0,.3)}</style><polymer-element name="paper-shadow" assetpath="bower_components/paper-shadow/"><template><div id="shadow-bottom" fit="" animated?="[[animated]]" class="paper-shadow-bottom-z-[[z]]"></div><div id="shadow-top" fit="" animated?="[[animated]]" class="paper-shadow-top-z-[[z]]"></div><content></content></template><script>Polymer("paper-shadow",{publish:{z:1,animated:false},setZ:function(newZ){if(this.z!==newZ){this.$["shadow-bottom"].classList.remove("paper-shadow-bottom-z-"+this.z);this.$["shadow-bottom"].classList.add("paper-shadow-bottom-z-"+newZ);this.$["shadow-top"].classList.remove("paper-shadow-top-z-"+this.z);this.$["shadow-top"].classList.add("paper-shadow-top-z-"+newZ);this.z=newZ}}});</script></polymer-element><style shim-shadowdom="">html /deep/ core-a11y-keys{display:none}</style><polymer-element name="core-a11y-keys" assetpath="bower_components/core-a11y-keys/"><script>(function(){var KEY_IDENTIFIER={"U+0009":"tab","U+001B":"esc","U+0020":"space","U+002A":"*","U+0030":"0","U+0031":"1","U+0032":"2","U+0033":"3","U+0034":"4","U+0035":"5","U+0036":"6","U+0037":"7","U+0038":"8","U+0039":"9","U+0041":"a","U+0042":"b","U+0043":"c","U+0044":"d","U+0045":"e","U+0046":"f","U+0047":"g","U+0048":"h","U+0049":"i","U+004A":"j","U+004B":"k","U+004C":"l","U+004D":"m","U+004E":"n","U+004F":"o","U+0050":"p","U+0051":"q","U+0052":"r","U+0053":"s","U+0054":"t","U+0055":"u","U+0056":"v","U+0057":"w","U+0058":"x","U+0059":"y","U+005A":"z","U+007F":"del"};var KEY_CODE={9:"tab",13:"enter",27:"esc",33:"pageup",34:"pagedown",35:"end",36:"home",32:"space",37:"left",38:"up",39:"right",40:"down",46:"del",106:"*"};var KEY_CHAR=/[a-z0-9*]/;function transformKey(key){var validKey="";if(key){var lKey=key.toLowerCase();if(lKey.length==1){if(KEY_CHAR.test(lKey)){validKey=lKey}}else if(lKey=="multiply"){validKey="*"}else{validKey=lKey}}return validKey}var IDENT_CHAR=/U\+/;function transformKeyIdentifier(keyIdent){var validKey="";if(keyIdent){if(IDENT_CHAR.test(keyIdent)){validKey=KEY_IDENTIFIER[keyIdent]}else{validKey=keyIdent.toLowerCase()}}return validKey}function transformKeyCode(keyCode){var validKey="";if(Number(keyCode)){if(keyCode>=65&&keyCode<=90){validKey=String.fromCharCode(32+keyCode)}else if(keyCode>=112&&keyCode<=123){validKey="f"+(keyCode-112)}else if(keyCode>=48&&keyCode<=57){validKey=String(48-keyCode)}else if(keyCode>=96&&keyCode<=105){validKey=String(96-keyCode)}else{validKey=KEY_CODE[keyCode]}}return validKey}function keyboardEventToKey(ev){var normalizedKey=transformKey(ev.key)||transformKeyIdentifier(ev.keyIdentifier)||transformKeyCode(ev.keyCode)||transformKey(ev.detail.key)||"";return{shift:ev.shiftKey,ctrl:ev.ctrlKey,meta:ev.metaKey,alt:ev.altKey,key:normalizedKey}}function stringToKey(keyCombo){var keys=keyCombo.split("+");var keyObj=Object.create(null);keys.forEach(function(key){if(key=="shift"){keyObj.shift=true}else if(key=="ctrl"){keyObj.ctrl=true}else if(key=="alt"){keyObj.alt=true}else{keyObj.key=key}});return keyObj}function keyMatches(a,b){return Boolean(a.alt)==Boolean(b.alt)&&Boolean(a.ctrl)==Boolean(b.ctrl)&&Boolean(a.shift)==Boolean(b.shift)&&a.key===b.key}function processKeys(ev){var current=keyboardEventToKey(ev);for(var i=0,dk;i<this._desiredKeys.length;i++){dk=this._desiredKeys[i];if(keyMatches(dk,current)){ev.preventDefault();ev.stopPropagation();this.fire("keys-pressed",current,this,false);break}}}function listen(node,handler){if(node&&node.addEventListener){node.addEventListener("keydown",handler)}}function unlisten(node,handler){if(node&&node.removeEventListener){node.removeEventListener("keydown",handler)}}Polymer("core-a11y-keys",{created:function(){this._keyHandler=processKeys.bind(this)},attached:function(){if(!this.target){this.target=this.parentNode}listen(this.target,this._keyHandler)},detached:function(){unlisten(this.target,this._keyHandler)},publish:{keys:"",target:null},keysChanged:function(){var normalized=this.keys.replace("*","* shift+*");this._desiredKeys=normalized.toLowerCase().split(" ").map(stringToKey)},targetChanged:function(oldTarget){unlisten(oldTarget,this._keyHandler);listen(this.target,this._keyHandler)}})})();</script></polymer-element><script src="bower_components/core-focusable/polymer-mixin.js"></script><script src="bower_components/core-focusable/core-focusable.js"></script><polymer-element name="paper-ripple" attributes="initialOpacity opacityDecayVelocity" assetpath="bower_components/paper-ripple/"><template><style>:host{display:block;position:relative;border-radius:inherit;overflow:hidden}:host-context([noink]){pointer-events:none}#bg,#waves,.wave-container,.wave{pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%}#bg,.wave{opacity:0}#waves,.wave{overflow:hidden}.wave-container,.wave{border-radius:50%}:host(.circle) #bg,:host(.circle) #waves{border-radius:50%}:host(.circle) .wave-container{overflow:hidden}</style><div id="bg"></div><div id="waves"></div></template><script>(function(){var waveMaxRadius=150;function waveRadiusFn(touchDownMs,touchUpMs,anim){var touchDown=touchDownMs/1e3;var touchUp=touchUpMs/1e3;var totalElapsed=touchDown+touchUp;var ww=anim.width,hh=anim.height;var waveRadius=Math.min(Math.sqrt(ww*ww+hh*hh),waveMaxRadius)*1.1+5;var duration=1.1-.2*(waveRadius/waveMaxRadius);var tt=totalElapsed/duration;var size=waveRadius*(1-Math.pow(80,-tt));return Math.abs(size)}function waveOpacityFn(td,tu,anim){var touchDown=td/1e3;var touchUp=tu/1e3;var totalElapsed=touchDown+touchUp;if(tu<=0){return anim.initialOpacity}return Math.max(0,anim.initialOpacity-touchUp*anim.opacityDecayVelocity)}function waveOuterOpacityFn(td,tu,anim){var touchDown=td/1e3;var touchUp=tu/1e3;var outerOpacity=touchDown*.3;var waveOpacity=waveOpacityFn(td,tu,anim);return Math.max(0,Math.min(outerOpacity,waveOpacity))}function waveDidFinish(wave,radius,anim){var waveOpacity=waveOpacityFn(wave.tDown,wave.tUp,anim);return waveOpacity<.01&&radius>=Math.min(wave.maxRadius,waveMaxRadius)}function waveAtMaximum(wave,radius,anim){var waveOpacity=waveOpacityFn(wave.tDown,wave.tUp,anim);return waveOpacity>=anim.initialOpacity&&radius>=Math.min(wave.maxRadius,waveMaxRadius)}function drawRipple(ctx,x,y,radius,innerAlpha,outerAlpha){if(outerAlpha!==undefined){ctx.bg.style.opacity=outerAlpha}ctx.wave.style.opacity=innerAlpha;var s=radius/(ctx.containerSize/2);var dx=x-ctx.containerWidth/2;var dy=y-ctx.containerHeight/2;ctx.wc.style.webkitTransform="translate3d("+dx+"px,"+dy+"px,0)";ctx.wc.style.transform="translate3d("+dx+"px,"+dy+"px,0)";ctx.wave.style.webkitTransform="scale("+s+","+s+")";ctx.wave.style.transform="scale3d("+s+","+s+",1)"}function createWave(elem){var elementStyle=window.getComputedStyle(elem);var fgColor=elementStyle.color;var inner=document.createElement("div");inner.style.backgroundColor=fgColor;inner.classList.add("wave");var outer=document.createElement("div");outer.classList.add("wave-container");outer.appendChild(inner);var container=elem.$.waves;container.appendChild(outer);elem.$.bg.style.backgroundColor=fgColor;var wave={bg:elem.$.bg,wc:outer,wave:inner,waveColor:fgColor,maxRadius:0,isMouseDown:false,mouseDownStart:0,mouseUpStart:0,tDown:0,tUp:0};return wave}function removeWaveFromScope(scope,wave){if(scope.waves){var pos=scope.waves.indexOf(wave);scope.waves.splice(pos,1);wave.wc.remove()}}var pow=Math.pow;var now=Date.now;if(window.performance&&performance.now){now=performance.now.bind(performance)}function cssColorWithAlpha(cssColor,alpha){var parts=cssColor.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(typeof alpha=="undefined"){alpha=1}if(!parts){return"rgba(255, 255, 255, "+alpha+")"}return"rgba("+parts[1]+", "+parts[2]+", "+parts[3]+", "+alpha+")"}function dist(p1,p2){return Math.sqrt(pow(p1.x-p2.x,2)+pow(p1.y-p2.y,2))}function distanceFromPointToFurthestCorner(point,size){var tl_d=dist(point,{x:0,y:0});var tr_d=dist(point,{x:size.w,y:0});var bl_d=dist(point,{x:0,y:size.h});var br_d=dist(point,{x:size.w,y:size.h});return Math.max(tl_d,tr_d,bl_d,br_d)}Polymer("paper-ripple",{initialOpacity:.25,opacityDecayVelocity:.8,backgroundFill:true,pixelDensity:2,eventDelegates:{down:"downAction",up:"upAction"},ready:function(){this.waves=[]},downAction:function(e){var wave=createWave(this);this.cancelled=false;wave.isMouseDown=true;wave.tDown=0;wave.tUp=0;wave.mouseUpStart=0;wave.mouseDownStart=now();var rect=this.getBoundingClientRect();var width=rect.width;var height=rect.height;var touchX=e.x-rect.left;var touchY=e.y-rect.top;wave.startPosition={x:touchX,y:touchY};if(this.classList.contains("recenteringTouch")){wave.endPosition={x:width/2,y:height/2};wave.slideDistance=dist(wave.startPosition,wave.endPosition)}wave.containerSize=Math.max(width,height);wave.containerWidth=width;wave.containerHeight=height;wave.maxRadius=distanceFromPointToFurthestCorner(wave.startPosition,{w:width,h:height});wave.wc.style.top=(wave.containerHeight-wave.containerSize)/2+"px";wave.wc.style.left=(wave.containerWidth-wave.containerSize)/2+"px";wave.wc.style.width=wave.containerSize+"px";wave.wc.style.height=wave.containerSize+"px";this.waves.push(wave);if(!this._loop){this._loop=this.animate.bind(this,{width:width,height:height});requestAnimationFrame(this._loop)}},upAction:function(){for(var i=0;i<this.waves.length;i++){var wave=this.waves[i];if(wave.isMouseDown){wave.isMouseDown=false;wave.mouseUpStart=now();wave.mouseDownStart=0;wave.tUp=0;break}}this._loop&&requestAnimationFrame(this._loop)},cancel:function(){this.cancelled=true},animate:function(ctx){var shouldRenderNextFrame=false;var deleteTheseWaves=[];var longestTouchDownDuration=0;var longestTouchUpDuration=0;var lastWaveColor=null;var anim={initialOpacity:this.initialOpacity,opacityDecayVelocity:this.opacityDecayVelocity,height:ctx.height,width:ctx.width};for(var i=0;i<this.waves.length;i++){var wave=this.waves[i];if(wave.mouseDownStart>0){wave.tDown=now()-wave.mouseDownStart}if(wave.mouseUpStart>0){wave.tUp=now()-wave.mouseUpStart}var tUp=wave.tUp;var tDown=wave.tDown;longestTouchDownDuration=Math.max(longestTouchDownDuration,tDown);longestTouchUpDuration=Math.max(longestTouchUpDuration,tUp);var radius=waveRadiusFn(tDown,tUp,anim);var waveAlpha=waveOpacityFn(tDown,tUp,anim);var waveColor=cssColorWithAlpha(wave.waveColor,waveAlpha);lastWaveColor=wave.waveColor;var x=wave.startPosition.x;var y=wave.startPosition.y;if(wave.endPosition){var translateFraction=Math.min(1,radius/wave.containerSize*2/Math.sqrt(2));x+=translateFraction*(wave.endPosition.x-wave.startPosition.x);y+=translateFraction*(wave.endPosition.y-wave.startPosition.y)}var bgFillColor=null;if(this.backgroundFill){var bgFillAlpha=waveOuterOpacityFn(tDown,tUp,anim);bgFillColor=cssColorWithAlpha(wave.waveColor,bgFillAlpha)}drawRipple(wave,x,y,radius,waveAlpha,bgFillAlpha);var maximumWave=waveAtMaximum(wave,radius,anim);var waveDissipated=waveDidFinish(wave,radius,anim);var shouldKeepWave=!waveDissipated||maximumWave;var shouldRenderWaveAgain=wave.mouseUpStart?!waveDissipated:!maximumWave;shouldRenderNextFrame=shouldRenderNextFrame||shouldRenderWaveAgain;if(!shouldKeepWave||this.cancelled){deleteTheseWaves.push(wave)}}if(shouldRenderNextFrame){requestAnimationFrame(this._loop)}for(var i=0;i<deleteTheseWaves.length;++i){var wave=deleteTheseWaves[i];removeWaveFromScope(this,wave)}if(!this.waves.length&&this._loop){this.$.bg.style.backgroundColor=null;this._loop=null;this.fire("core-transitionend")}}})})();</script></polymer-element><polymer-element name="paper-button-base" tabindex="0" assetpath="bower_components/paper-button/"><script>(function(){var p={eventDelegates:{down:"downAction",up:"upAction"},toggleBackground:function(){if(this.active){if(!this.$.bg){var bg=document.createElement("div");bg.setAttribute("id","bg");bg.setAttribute("fit","");bg.style.opacity=.25;this.$.bg=bg;this.shadowRoot.insertBefore(bg,this.shadowRoot.firstChild)}this.$.bg.style.backgroundColor=getComputedStyle(this).color}else{if(this.$.bg){this.$.bg.style.backgroundColor=""}}},activeChanged:function(){this.super();if(this.toggle&&(!this.lastEvent||this.matches(":host-context([noink])"))){this.toggleBackground()}},pressedChanged:function(){this.super();if(!this.lastEvent){return}if(this.$.ripple&&!this.hasAttribute("noink")){if(this.pressed){this.$.ripple.downAction(this.lastEvent)}else{this.$.ripple.upAction()}}this.adjustZ()},focusedChanged:function(){this.adjustZ()},disabledChanged:function(){this._disabledChanged();this.adjustZ()},recenteringTouchChanged:function(){if(this.$.ripple){this.$.ripple.classList.toggle("recenteringTouch",this.recenteringTouch)}},fillChanged:function(){if(this.$.ripple){this.$.ripple.classList.toggle("fill",this.fill)}},adjustZ:function(){if(!this.$.shadow){return}if(this.active){this.$.shadow.setZ(2)}else if(this.disabled){this.$.shadow.setZ(0)}else if(this.focused){this.$.shadow.setZ(3)}else{this.$.shadow.setZ(1)}},downAction:function(e){this._downAction();if(this.hasAttribute("noink")){return}this.lastEvent=e;if(!this.$.ripple){var ripple=document.createElement("paper-ripple");ripple.setAttribute("id","ripple");ripple.setAttribute("fit","");if(this.recenteringTouch){ripple.classList.add("recenteringTouch")}if(!this.fill){ripple.classList.add("circle")}this.$.ripple=ripple;this.shadowRoot.insertBefore(ripple,this.shadowRoot.firstChild)}},upAction:function(){this._upAction();if(this.toggle){this.toggleBackground();if(this.$.ripple){this.$.ripple.cancel()}}}};Polymer.mixin2(p,Polymer.CoreFocusable);Polymer(p)})();</script></polymer-element><polymer-element name="paper-button" extends="paper-button-base" attributes="raised recenteringTouch fill" role="button" assetpath="bower_components/paper-button/"><template><style>:host{display:inline-block;position:relative;box-sizing:border-box;min-width:5.14em;margin:0 .29em;background:0 0;text-align:center;font:inherit;text-transform:uppercase;outline:0;border-radius:3px;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none;cursor:pointer;z-index:0}:host([disabled]){background:#eaeaea;color:#a8a8a8;cursor:auto;pointer-events:none}::content *{text-transform:inherit}#bg,#shadow{border-radius:inherit}#ripple{pointer-events:none;z-index:-1}.button-content{padding:.7em .57em}polyfill-next-selector{content:'.button-content > a'}::content>a{height:100%;padding:.7em .57em;margin:-.7em -.57em;-ms-flex:1 1 0;-webkit-flex:1;flex:1;-webkit-flex-basis:0;flex-basis:0}</style><template if="{{raised}}"><paper-shadow id="shadow" fit="" animated=""></paper-shadow></template><div class="button-content" relative="" layout="" horizontal="" center-center=""><content></content></div><core-a11y-keys keys="space enter" target="{{}}" on-keys-pressed="{{_activate}}"></core-a11y-keys></template><script>Polymer("paper-button",{publish:{raised:false,recenteringTouch:false,fill:true},_activate:function(){this.click();this.fire("tap");if(!this.pressed){var bcr=this.getBoundingClientRect();var x=bcr.left+bcr.width/2;var y=bcr.top+bcr.height/2;this.downAction({x:x,y:y});var fn=function fn(){this.upAction();this.removeEventListener("keyup",fn)}.bind(this);this.addEventListener("keyup",fn)}}});</script></polymer-element></div>
<div hidden><template id="template"><style>:host{display:inline-block}#frames,.x-gif__frames{display:inline-block;position:relative}#frames[data-frame="0"] .frame:nth-child(n+2),.x-gif__frames[data-frame="0"] .frame:nth-child(n+2){opacity:0}#frames[data-frame="0"] .frame.disposal-restore:nth-child(1),.x-gif__frames[data-frame="0"] .frame.disposal-restore:nth-child(1){opacity:1}#frames[data-frame="1"] .frame:nth-child(n+3),.x-gif__frames[data-frame="1"] .frame:nth-child(n+3){opacity:0}#frames[data-frame="1"] .frame.disposal-restore:nth-child(2),.x-gif__frames[data-frame="1"] .frame.disposal-restore:nth-child(2){opacity:1}#frames[data-frame="2"] .frame:nth-child(n+4),.x-gif__frames[data-frame="2"] .frame:nth-child(n+4){opacity:0}#frames[data-frame="2"] .frame.disposal-restore:nth-child(3),.x-gif__frames[data-frame="2"] .frame.disposal-restore:nth-child(3){opacity:1}#frames[data-frame="3"] .frame:nth-child(n+5),.x-gif__frames[data-frame="3"] .frame:nth-child(n+5){opacity:0}#frames[data-frame="3"] .frame.disposal-restore:nth-child(4),.x-gif__frames[data-frame="3"] .frame.disposal-restore:nth-child(4){opacity:1}#frames[data-frame="4"] .frame:nth-child(n+6),.x-gif__frames[data-frame="4"] .frame:nth-child(n+6){opacity:0}#frames[data-frame="4"] .frame.disposal-restore:nth-child(5),.x-gif__frames[data-frame="4"] .frame.disposal-restore:nth-child(5){opacity:1}#frames[data-frame="5"] .frame:nth-child(n+7),.x-gif__frames[data-frame="5"] .frame:nth-child(n+7){opacity:0}#frames[data-frame="5"] .frame.disposal-restore:nth-child(6),.x-gif__frames[data-frame="5"] .frame.disposal-restore:nth-child(6){opacity:1}#frames[data-frame="6"] .frame:nth-child(n+8),.x-gif__frames[data-frame="6"] .frame:nth-child(n+8){opacity:0}#frames[data-frame="6"] .frame.disposal-restore:nth-child(7),.x-gif__frames[data-frame="6"] .frame.disposal-restore:nth-child(7){opacity:1}#frames[data-frame="7"] .frame:nth-child(n+9),.x-gif__frames[data-frame="7"] .frame:nth-child(n+9){opacity:0}#frames[data-frame="7"] .frame.disposal-restore:nth-child(8),.x-gif__frames[data-frame="7"] .frame.disposal-restore:nth-child(8){opacity:1}#frames[data-frame="8"] .frame:nth-child(n+10),.x-gif__frames[data-frame="8"] .frame:nth-child(n+10){opacity:0}#frames[data-frame="8"] .frame.disposal-restore:nth-child(9),.x-gif__frames[data-frame="8"] .frame.disposal-restore:nth-child(9){opacity:1}#frames[data-frame="9"] .frame:nth-child(n+11),.x-gif__frames[data-frame="9"] .frame:nth-child(n+11){opacity:0}#frames[data-frame="9"] .frame.disposal-restore:nth-child(10),.x-gif__frames[data-frame="9"] .frame.disposal-restore:nth-child(10){opacity:1}#frames[data-frame="10"] .frame:nth-child(n+12),.x-gif__frames[data-frame="10"] .frame:nth-child(n+12){opacity:0}#frames[data-frame="10"] .frame.disposal-restore:nth-child(11),.x-gif__frames[data-frame="10"] .frame.disposal-restore:nth-child(11){opacity:1}#frames[data-frame="11"] .frame:nth-child(n+13),.x-gif__frames[data-frame="11"] .frame:nth-child(n+13){opacity:0}#frames[data-frame="11"] .frame.disposal-restore:nth-child(12),.x-gif__frames[data-frame="11"] .frame.disposal-restore:nth-child(12){opacity:1}#frames[data-frame="12"] .frame:nth-child(n+14),.x-gif__frames[data-frame="12"] .frame:nth-child(n+14){opacity:0}#frames[data-frame="12"] .frame.disposal-restore:nth-child(13),.x-gif__frames[data-frame="12"] .frame.disposal-restore:nth-child(13){opacity:1}#frames[data-frame="13"] .frame:nth-child(n+15),.x-gif__frames[data-frame="13"] .frame:nth-child(n+15){opacity:0}#frames[data-frame="13"] .frame.disposal-restore:nth-child(14),.x-gif__frames[data-frame="13"] .frame.disposal-restore:nth-child(14){opacity:1}#frames[data-frame="14"] .frame:nth-child(n+16),.x-gif__frames[data-frame="14"] .frame:nth-child(n+16){opacity:0}#frames[data-frame="14"] .frame.disposal-restore:nth-child(15),.x-gif__frames[data-frame="14"] .frame.disposal-restore:nth-child(15){opacity:1}#frames[data-frame="15"] .frame:nth-child(n+17),.x-gif__frames[data-frame="15"] .frame:nth-child(n+17){opacity:0}#frames[data-frame="15"] .frame.disposal-restore:nth-child(16),.x-gif__frames[data-frame="15"] .frame.disposal-restore:nth-child(16){opacity:1}#frames[data-frame="16"] .frame:nth-child(n+18),.x-gif__frames[data-frame="16"] .frame:nth-child(n+18){opacity:0}#frames[data-frame="16"] .frame.disposal-restore:nth-child(17),.x-gif__frames[data-frame="16"] .frame.disposal-restore:nth-child(17){opacity:1}#frames[data-frame="17"] .frame:nth-child(n+19),.x-gif__frames[data-frame="17"] .frame:nth-child(n+19){opacity:0}#frames[data-frame="17"] .frame.disposal-restore:nth-child(18),.x-gif__frames[data-frame="17"] .frame.disposal-restore:nth-child(18){opacity:1}#frames[data-frame="18"] .frame:nth-child(n+20),.x-gif__frames[data-frame="18"] .frame:nth-child(n+20){opacity:0}#frames[data-frame="18"] .frame.disposal-restore:nth-child(19),.x-gif__frames[data-frame="18"] .frame.disposal-restore:nth-child(19){opacity:1}#frames[data-frame="19"] .frame:nth-child(n+21),.x-gif__frames[data-frame="19"] .frame:nth-child(n+21){opacity:0}#frames[data-frame="19"] .frame.disposal-restore:nth-child(20),.x-gif__frames[data-frame="19"] .frame.disposal-restore:nth-child(20){opacity:1}#frames[data-frame="20"] .frame:nth-child(n+22),.x-gif__frames[data-frame="20"] .frame:nth-child(n+22){opacity:0}#frames[data-frame="20"] .frame.disposal-restore:nth-child(21),.x-gif__frames[data-frame="20"] .frame.disposal-restore:nth-child(21){opacity:1}#frames[data-frame="21"] .frame:nth-child(n+23),.x-gif__frames[data-frame="21"] .frame:nth-child(n+23){opacity:0}#frames[data-frame="21"] .frame.disposal-restore:nth-child(22),.x-gif__frames[data-frame="21"] .frame.disposal-restore:nth-child(22){opacity:1}#frames[data-frame="22"] .frame:nth-child(n+24),.x-gif__frames[data-frame="22"] .frame:nth-child(n+24){opacity:0}#frames[data-frame="22"] .frame.disposal-restore:nth-child(23),.x-gif__frames[data-frame="22"] .frame.disposal-restore:nth-child(23){opacity:1}#frames[data-frame="23"] .frame:nth-child(n+25),.x-gif__frames[data-frame="23"] .frame:nth-child(n+25){opacity:0}#frames[data-frame="23"] .frame.disposal-restore:nth-child(24),.x-gif__frames[data-frame="23"] .frame.disposal-restore:nth-child(24){opacity:1}#frames[data-frame="24"] .frame:nth-child(n+26),.x-gif__frames[data-frame="24"] .frame:nth-child(n+26){opacity:0}#frames[data-frame="24"] .frame.disposal-restore:nth-child(25),.x-gif__frames[data-frame="24"] .frame.disposal-restore:nth-child(25){opacity:1}#frames[data-frame="25"] .frame:nth-child(n+27),.x-gif__frames[data-frame="25"] .frame:nth-child(n+27){opacity:0}#frames[data-frame="25"] .frame.disposal-restore:nth-child(26),.x-gif__frames[data-frame="25"] .frame.disposal-restore:nth-child(26){opacity:1}#frames[data-frame="26"] .frame:nth-child(n+28),.x-gif__frames[data-frame="26"] .frame:nth-child(n+28){opacity:0}#frames[data-frame="26"] .frame.disposal-restore:nth-child(27),.x-gif__frames[data-frame="26"] .frame.disposal-restore:nth-child(27){opacity:1}#frames[data-frame="27"] .frame:nth-child(n+29),.x-gif__frames[data-frame="27"] .frame:nth-child(n+29){opacity:0}#frames[data-frame="27"] .frame.disposal-restore:nth-child(28),.x-gif__frames[data-frame="27"] .frame.disposal-restore:nth-child(28){opacity:1}#frames[data-frame="28"] .frame:nth-child(n+30),.x-gif__frames[data-frame="28"] .frame:nth-child(n+30){opacity:0}#frames[data-frame="28"] .frame.disposal-restore:nth-child(29),.x-gif__frames[data-frame="28"] .frame.disposal-restore:nth-child(29){opacity:1}#frames[data-frame="29"] .frame:nth-child(n+31),.x-gif__frames[data-frame="29"] .frame:nth-child(n+31){opacity:0}#frames[data-frame="29"] .frame.disposal-restore:nth-child(30),.x-gif__frames[data-frame="29"] .frame.disposal-restore:nth-child(30){opacity:1}#frames[data-frame="30"] .frame:nth-child(n+32),.x-gif__frames[data-frame="30"] .frame:nth-child(n+32){opacity:0}#frames[data-frame="30"] .frame.disposal-restore:nth-child(31),.x-gif__frames[data-frame="30"] .frame.disposal-restore:nth-child(31){opacity:1}#frames[data-frame="31"] .frame:nth-child(n+33),.x-gif__frames[data-frame="31"] .frame:nth-child(n+33){opacity:0}#frames[data-frame="31"] .frame.disposal-restore:nth-child(32),.x-gif__frames[data-frame="31"] .frame.disposal-restore:nth-child(32){opacity:1}#frames[data-frame="32"] .frame:nth-child(n+34),.x-gif__frames[data-frame="32"] .frame:nth-child(n+34){opacity:0}#frames[data-frame="32"] .frame.disposal-restore:nth-child(33),.x-gif__frames[data-frame="32"] .frame.disposal-restore:nth-child(33){opacity:1}#frames[data-frame="33"] .frame:nth-child(n+35),.x-gif__frames[data-frame="33"] .frame:nth-child(n+35){opacity:0}#frames[data-frame="33"] .frame.disposal-restore:nth-child(34),.x-gif__frames[data-frame="33"] .frame.disposal-restore:nth-child(34){opacity:1}#frames[data-frame="34"] .frame:nth-child(n+36),.x-gif__frames[data-frame="34"] .frame:nth-child(n+36){opacity:0}#frames[data-frame="34"] .frame.disposal-restore:nth-child(35),.x-gif__frames[data-frame="34"] .frame.disposal-restore:nth-child(35){opacity:1}#frames[data-frame="35"] .frame:nth-child(n+37),.x-gif__frames[data-frame="35"] .frame:nth-child(n+37){opacity:0}#frames[data-frame="35"] .frame.disposal-restore:nth-child(36),.x-gif__frames[data-frame="35"] .frame.disposal-restore:nth-child(36){opacity:1}#frames[data-frame="36"] .frame:nth-child(n+38),.x-gif__frames[data-frame="36"] .frame:nth-child(n+38){opacity:0}#frames[data-frame="36"] .frame.disposal-restore:nth-child(37),.x-gif__frames[data-frame="36"] .frame.disposal-restore:nth-child(37){opacity:1}#frames[data-frame="37"] .frame:nth-child(n+39),.x-gif__frames[data-frame="37"] .frame:nth-child(n+39){opacity:0}#frames[data-frame="37"] .frame.disposal-restore:nth-child(38),.x-gif__frames[data-frame="37"] .frame.disposal-restore:nth-child(38){opacity:1}#frames[data-frame="38"] .frame:nth-child(n+40),.x-gif__frames[data-frame="38"] .frame:nth-child(n+40){opacity:0}#frames[data-frame="38"] .frame.disposal-restore:nth-child(39),.x-gif__frames[data-frame="38"] .frame.disposal-restore:nth-child(39){opacity:1}#frames[data-frame="39"] .frame:nth-child(n+41),.x-gif__frames[data-frame="39"] .frame:nth-child(n+41){opacity:0}#frames[data-frame="39"] .frame.disposal-restore:nth-child(40),.x-gif__frames[data-frame="39"] .frame.disposal-restore:nth-child(40){opacity:1}#frames[data-frame="40"] .frame:nth-child(n+42),.x-gif__frames[data-frame="40"] .frame:nth-child(n+42){opacity:0}#frames[data-frame="40"] .frame.disposal-restore:nth-child(41),.x-gif__frames[data-frame="40"] .frame.disposal-restore:nth-child(41){opacity:1}#frames[data-frame="41"] .frame:nth-child(n+43),.x-gif__frames[data-frame="41"] .frame:nth-child(n+43){opacity:0}#frames[data-frame="41"] .frame.disposal-restore:nth-child(42),.x-gif__frames[data-frame="41"] .frame.disposal-restore:nth-child(42){opacity:1}#frames[data-frame="42"] .frame:nth-child(n+44),.x-gif__frames[data-frame="42"] .frame:nth-child(n+44){opacity:0}#frames[data-frame="42"] .frame.disposal-restore:nth-child(43),.x-gif__frames[data-frame="42"] .frame.disposal-restore:nth-child(43){opacity:1}#frames[data-frame="43"] .frame:nth-child(n+45),.x-gif__frames[data-frame="43"] .frame:nth-child(n+45){opacity:0}#frames[data-frame="43"] .frame.disposal-restore:nth-child(44),.x-gif__frames[data-frame="43"] .frame.disposal-restore:nth-child(44){opacity:1}#frames[data-frame="44"] .frame:nth-child(n+46),.x-gif__frames[data-frame="44"] .frame:nth-child(n+46){opacity:0}#frames[data-frame="44"] .frame.disposal-restore:nth-child(45),.x-gif__frames[data-frame="44"] .frame.disposal-restore:nth-child(45){opacity:1}#frames[data-frame="45"] .frame:nth-child(n+47),.x-gif__frames[data-frame="45"] .frame:nth-child(n+47){opacity:0}#frames[data-frame="45"] .frame.disposal-restore:nth-child(46),.x-gif__frames[data-frame="45"] .frame.disposal-restore:nth-child(46){opacity:1}#frames[data-frame="46"] .frame:nth-child(n+48),.x-gif__frames[data-frame="46"] .frame:nth-child(n+48){opacity:0}#frames[data-frame="46"] .frame.disposal-restore:nth-child(47),.x-gif__frames[data-frame="46"] .frame.disposal-restore:nth-child(47){opacity:1}#frames[data-frame="47"] .frame:nth-child(n+49),.x-gif__frames[data-frame="47"] .frame:nth-child(n+49){opacity:0}#frames[data-frame="47"] .frame.disposal-restore:nth-child(48),.x-gif__frames[data-frame="47"] .frame.disposal-restore:nth-child(48){opacity:1}#frames[data-frame="48"] .frame:nth-child(n+50),.x-gif__frames[data-frame="48"] .frame:nth-child(n+50){opacity:0}#frames[data-frame="48"] .frame.disposal-restore:nth-child(49),.x-gif__frames[data-frame="48"] .frame.disposal-restore:nth-child(49){opacity:1}#frames[data-frame="49"] .frame:nth-child(n+51),.x-gif__frames[data-frame="49"] .frame:nth-child(n+51){opacity:0}#frames[data-frame="49"] .frame.disposal-restore:nth-child(50),.x-gif__frames[data-frame="49"] .frame.disposal-restore:nth-child(50){opacity:1}#frames[data-frame="50"] .frame:nth-child(n+52),.x-gif__frames[data-frame="50"] .frame:nth-child(n+52){opacity:0}#frames[data-frame="50"] .frame.disposal-restore:nth-child(51),.x-gif__frames[data-frame="50"] .frame.disposal-restore:nth-child(51){opacity:1}#frames[data-frame="51"] .frame:nth-child(n+53),.x-gif__frames[data-frame="51"] .frame:nth-child(n+53){opacity:0}#frames[data-frame="51"] .frame.disposal-restore:nth-child(52),.x-gif__frames[data-frame="51"] .frame.disposal-restore:nth-child(52){opacity:1}#frames[data-frame="52"] .frame:nth-child(n+54),.x-gif__frames[data-frame="52"] .frame:nth-child(n+54){opacity:0}#frames[data-frame="52"] .frame.disposal-restore:nth-child(53),.x-gif__frames[data-frame="52"] .frame.disposal-restore:nth-child(53){opacity:1}#frames[data-frame="53"] .frame:nth-child(n+55),.x-gif__frames[data-frame="53"] .frame:nth-child(n+55){opacity:0}#frames[data-frame="53"] .frame.disposal-restore:nth-child(54),.x-gif__frames[data-frame="53"] .frame.disposal-restore:nth-child(54){opacity:1}#frames[data-frame="54"] .frame:nth-child(n+56),.x-gif__frames[data-frame="54"] .frame:nth-child(n+56){opacity:0}#frames[data-frame="54"] .frame.disposal-restore:nth-child(55),.x-gif__frames[data-frame="54"] .frame.disposal-restore:nth-child(55){opacity:1}#frames[data-frame="55"] .frame:nth-child(n+57),.x-gif__frames[data-frame="55"] .frame:nth-child(n+57){opacity:0}#frames[data-frame="55"] .frame.disposal-restore:nth-child(56),.x-gif__frames[data-frame="55"] .frame.disposal-restore:nth-child(56){opacity:1}#frames[data-frame="56"] .frame:nth-child(n+58),.x-gif__frames[data-frame="56"] .frame:nth-child(n+58){opacity:0}#frames[data-frame="56"] .frame.disposal-restore:nth-child(57),.x-gif__frames[data-frame="56"] .frame.disposal-restore:nth-child(57){opacity:1}#frames[data-frame="57"] .frame:nth-child(n+59),.x-gif__frames[data-frame="57"] .frame:nth-child(n+59){opacity:0}#frames[data-frame="57"] .frame.disposal-restore:nth-child(58),.x-gif__frames[data-frame="57"] .frame.disposal-restore:nth-child(58){opacity:1}#frames[data-frame="58"] .frame:nth-child(n+60),.x-gif__frames[data-frame="58"] .frame:nth-child(n+60){opacity:0}#frames[data-frame="58"] .frame.disposal-restore:nth-child(59),.x-gif__frames[data-frame="58"] .frame.disposal-restore:nth-child(59){opacity:1}#frames[data-frame="59"] .frame:nth-child(n+61),.x-gif__frames[data-frame="59"] .frame:nth-child(n+61){opacity:0}#frames[data-frame="59"] .frame.disposal-restore:nth-child(60),.x-gif__frames[data-frame="59"] .frame.disposal-restore:nth-child(60){opacity:1}#frames[data-frame="60"] .frame:nth-child(n+62),.x-gif__frames[data-frame="60"] .frame:nth-child(n+62){opacity:0}#frames[data-frame="60"] .frame.disposal-restore:nth-child(61),.x-gif__frames[data-frame="60"] .frame.disposal-restore:nth-child(61){opacity:1}#frames[data-frame="61"] .frame:nth-child(n+63),.x-gif__frames[data-frame="61"] .frame:nth-child(n+63){opacity:0}#frames[data-frame="61"] .frame.disposal-restore:nth-child(62),.x-gif__frames[data-frame="61"] .frame.disposal-restore:nth-child(62){opacity:1}#frames[data-frame="62"] .frame:nth-child(n+64),.x-gif__frames[data-frame="62"] .frame:nth-child(n+64){opacity:0}#frames[data-frame="62"] .frame.disposal-restore:nth-child(63),.x-gif__frames[data-frame="62"] .frame.disposal-restore:nth-child(63){opacity:1}#frames[data-frame="63"] .frame:nth-child(n+65),.x-gif__frames[data-frame="63"] .frame:nth-child(n+65){opacity:0}#frames[data-frame="63"] .frame.disposal-restore:nth-child(64),.x-gif__frames[data-frame="63"] .frame.disposal-restore:nth-child(64){opacity:1}#frames[data-frame="64"] .frame:nth-child(n+66),.x-gif__frames[data-frame="64"] .frame:nth-child(n+66){opacity:0}#frames[data-frame="64"] .frame.disposal-restore:nth-child(65),.x-gif__frames[data-frame="64"] .frame.disposal-restore:nth-child(65){opacity:1}#frames[data-frame="65"] .frame:nth-child(n+67),.x-gif__frames[data-frame="65"] .frame:nth-child(n+67){opacity:0}#frames[data-frame="65"] .frame.disposal-restore:nth-child(66),.x-gif__frames[data-frame="65"] .frame.disposal-restore:nth-child(66){opacity:1}#frames[data-frame="66"] .frame:nth-child(n+68),.x-gif__frames[data-frame="66"] .frame:nth-child(n+68){opacity:0}#frames[data-frame="66"] .frame.disposal-restore:nth-child(67),.x-gif__frames[data-frame="66"] .frame.disposal-restore:nth-child(67){opacity:1}#frames[data-frame="67"] .frame:nth-child(n+69),.x-gif__frames[data-frame="67"] .frame:nth-child(n+69){opacity:0}#frames[data-frame="67"] .frame.disposal-restore:nth-child(68),.x-gif__frames[data-frame="67"] .frame.disposal-restore:nth-child(68){opacity:1}#frames[data-frame="68"] .frame:nth-child(n+70),.x-gif__frames[data-frame="68"] .frame:nth-child(n+70){opacity:0}#frames[data-frame="68"] .frame.disposal-restore:nth-child(69),.x-gif__frames[data-frame="68"] .frame.disposal-restore:nth-child(69){opacity:1}#frames[data-frame="69"] .frame:nth-child(n+71),.x-gif__frames[data-frame="69"] .frame:nth-child(n+71){opacity:0}#frames[data-frame="69"] .frame.disposal-restore:nth-child(70),.x-gif__frames[data-frame="69"] .frame.disposal-restore:nth-child(70){opacity:1}#frames[data-frame="70"] .frame:nth-child(n+72),.x-gif__frames[data-frame="70"] .frame:nth-child(n+72){opacity:0}#frames[data-frame="70"] .frame.disposal-restore:nth-child(71),.x-gif__frames[data-frame="70"] .frame.disposal-restore:nth-child(71){opacity:1}#frames[data-frame="71"] .frame:nth-child(n+73),.x-gif__frames[data-frame="71"] .frame:nth-child(n+73){opacity:0}#frames[data-frame="71"] .frame.disposal-restore:nth-child(72),.x-gif__frames[data-frame="71"] .frame.disposal-restore:nth-child(72){opacity:1}#frames[data-frame="72"] .frame:nth-child(n+74),.x-gif__frames[data-frame="72"] .frame:nth-child(n+74){opacity:0}#frames[data-frame="72"] .frame.disposal-restore:nth-child(73),.x-gif__frames[data-frame="72"] .frame.disposal-restore:nth-child(73){opacity:1}#frames[data-frame="73"] .frame:nth-child(n+75),.x-gif__frames[data-frame="73"] .frame:nth-child(n+75){opacity:0}#frames[data-frame="73"] .frame.disposal-restore:nth-child(74),.x-gif__frames[data-frame="73"] .frame.disposal-restore:nth-child(74){opacity:1}#frames[data-frame="74"] .frame:nth-child(n+76),.x-gif__frames[data-frame="74"] .frame:nth-child(n+76){opacity:0}#frames[data-frame="74"] .frame.disposal-restore:nth-child(75),.x-gif__frames[data-frame="74"] .frame.disposal-restore:nth-child(75){opacity:1}#frames[data-frame="75"] .frame:nth-child(n+77),.x-gif__frames[data-frame="75"] .frame:nth-child(n+77){opacity:0}#frames[data-frame="75"] .frame.disposal-restore:nth-child(76),.x-gif__frames[data-frame="75"] .frame.disposal-restore:nth-child(76){opacity:1}#frames[data-frame="76"] .frame:nth-child(n+78),.x-gif__frames[data-frame="76"] .frame:nth-child(n+78){opacity:0}#frames[data-frame="76"] .frame.disposal-restore:nth-child(77),.x-gif__frames[data-frame="76"] .frame.disposal-restore:nth-child(77){opacity:1}#frames[data-frame="77"] .frame:nth-child(n+79),.x-gif__frames[data-frame="77"] .frame:nth-child(n+79){opacity:0}#frames[data-frame="77"] .frame.disposal-restore:nth-child(78),.x-gif__frames[data-frame="77"] .frame.disposal-restore:nth-child(78){opacity:1}#frames[data-frame="78"] .frame:nth-child(n+80),.x-gif__frames[data-frame="78"] .frame:nth-child(n+80){opacity:0}#frames[data-frame="78"] .frame.disposal-restore:nth-child(79),.x-gif__frames[data-frame="78"] .frame.disposal-restore:nth-child(79){opacity:1}#frames[data-frame="79"] .frame:nth-child(n+81),.x-gif__frames[data-frame="79"] .frame:nth-child(n+81){opacity:0}#frames[data-frame="79"] .frame.disposal-restore:nth-child(80),.x-gif__frames[data-frame="79"] .frame.disposal-restore:nth-child(80){opacity:1}#frames[data-frame="80"] .frame:nth-child(n+82),.x-gif__frames[data-frame="80"] .frame:nth-child(n+82){opacity:0}#frames[data-frame="80"] .frame.disposal-restore:nth-child(81),.x-gif__frames[data-frame="80"] .frame.disposal-restore:nth-child(81){opacity:1}#frames[data-frame="81"] .frame:nth-child(n+83),.x-gif__frames[data-frame="81"] .frame:nth-child(n+83){opacity:0}#frames[data-frame="81"] .frame.disposal-restore:nth-child(82),.x-gif__frames[data-frame="81"] .frame.disposal-restore:nth-child(82){opacity:1}#frames[data-frame="82"] .frame:nth-child(n+84),.x-gif__frames[data-frame="82"] .frame:nth-child(n+84){opacity:0}#frames[data-frame="82"] .frame.disposal-restore:nth-child(83),.x-gif__frames[data-frame="82"] .frame.disposal-restore:nth-child(83){opacity:1}#frames[data-frame="83"] .frame:nth-child(n+85),.x-gif__frames[data-frame="83"] .frame:nth-child(n+85){opacity:0}#frames[data-frame="83"] .frame.disposal-restore:nth-child(84),.x-gif__frames[data-frame="83"] .frame.disposal-restore:nth-child(84){opacity:1}#frames[data-frame="84"] .frame:nth-child(n+86),.x-gif__frames[data-frame="84"] .frame:nth-child(n+86){opacity:0}#frames[data-frame="84"] .frame.disposal-restore:nth-child(85),.x-gif__frames[data-frame="84"] .frame.disposal-restore:nth-child(85){opacity:1}#frames[data-frame="85"] .frame:nth-child(n+87),.x-gif__frames[data-frame="85"] .frame:nth-child(n+87){opacity:0}#frames[data-frame="85"] .frame.disposal-restore:nth-child(86),.x-gif__frames[data-frame="85"] .frame.disposal-restore:nth-child(86){opacity:1}#frames[data-frame="86"] .frame:nth-child(n+88),.x-gif__frames[data-frame="86"] .frame:nth-child(n+88){opacity:0}#frames[data-frame="86"] .frame.disposal-restore:nth-child(87),.x-gif__frames[data-frame="86"] .frame.disposal-restore:nth-child(87){opacity:1}#frames[data-frame="87"] .frame:nth-child(n+89),.x-gif__frames[data-frame="87"] .frame:nth-child(n+89){opacity:0}#frames[data-frame="87"] .frame.disposal-restore:nth-child(88),.x-gif__frames[data-frame="87"] .frame.disposal-restore:nth-child(88){opacity:1}#frames[data-frame="88"] .frame:nth-child(n+90),.x-gif__frames[data-frame="88"] .frame:nth-child(n+90){opacity:0}#frames[data-frame="88"] .frame.disposal-restore:nth-child(89),.x-gif__frames[data-frame="88"] .frame.disposal-restore:nth-child(89){opacity:1}#frames[data-frame="89"] .frame:nth-child(n+91),.x-gif__frames[data-frame="89"] .frame:nth-child(n+91){opacity:0}#frames[data-frame="89"] .frame.disposal-restore:nth-child(90),.x-gif__frames[data-frame="89"] .frame.disposal-restore:nth-child(90){opacity:1}#frames[data-frame="90"] .frame:nth-child(n+92),.x-gif__frames[data-frame="90"] .frame:nth-child(n+92){opacity:0}#frames[data-frame="90"] .frame.disposal-restore:nth-child(91),.x-gif__frames[data-frame="90"] .frame.disposal-restore:nth-child(91){opacity:1}#frames[data-frame="91"] .frame:nth-child(n+93),.x-gif__frames[data-frame="91"] .frame:nth-child(n+93){opacity:0}#frames[data-frame="91"] .frame.disposal-restore:nth-child(92),.x-gif__frames[data-frame="91"] .frame.disposal-restore:nth-child(92){opacity:1}#frames[data-frame="92"] .frame:nth-child(n+94),.x-gif__frames[data-frame="92"] .frame:nth-child(n+94){opacity:0}#frames[data-frame="92"] .frame.disposal-restore:nth-child(93),.x-gif__frames[data-frame="92"] .frame.disposal-restore:nth-child(93){opacity:1}#frames[data-frame="93"] .frame:nth-child(n+95),.x-gif__frames[data-frame="93"] .frame:nth-child(n+95){opacity:0}#frames[data-frame="93"] .frame.disposal-restore:nth-child(94),.x-gif__frames[data-frame="93"] .frame.disposal-restore:nth-child(94){opacity:1}#frames[data-frame="94"] .frame:nth-child(n+96),.x-gif__frames[data-frame="94"] .frame:nth-child(n+96){opacity:0}#frames[data-frame="94"] .frame.disposal-restore:nth-child(95),.x-gif__frames[data-frame="94"] .frame.disposal-restore:nth-child(95){opacity:1}#frames[data-frame="95"] .frame:nth-child(n+97),.x-gif__frames[data-frame="95"] .frame:nth-child(n+97){opacity:0}#frames[data-frame="95"] .frame.disposal-restore:nth-child(96),.x-gif__frames[data-frame="95"] .frame.disposal-restore:nth-child(96){opacity:1}#frames[data-frame="96"] .frame:nth-child(n+98),.x-gif__frames[data-frame="96"] .frame:nth-child(n+98){opacity:0}#frames[data-frame="96"] .frame.disposal-restore:nth-child(97),.x-gif__frames[data-frame="96"] .frame.disposal-restore:nth-child(97){opacity:1}#frames[data-frame="97"] .frame:nth-child(n+99),.x-gif__frames[data-frame="97"] .frame:nth-child(n+99){opacity:0}#frames[data-frame="97"] .frame.disposal-restore:nth-child(98),.x-gif__frames[data-frame="97"] .frame.disposal-restore:nth-child(98){opacity:1}#frames[data-frame="98"] .frame:nth-child(n+100),.x-gif__frames[data-frame="98"] .frame:nth-child(n+100){opacity:0}#frames[data-frame="98"] .frame.disposal-restore:nth-child(99),.x-gif__frames[data-frame="98"] .frame.disposal-restore:nth-child(99){opacity:1}#frames[data-frame="99"] .frame:nth-child(n+101),.x-gif__frames[data-frame="99"] .frame:nth-child(n+101){opacity:0}#frames[data-frame="99"] .frame.disposal-restore:nth-child(100),.x-gif__frames[data-frame="99"] .frame.disposal-restore:nth-child(100){opacity:1}.frame{position:absolute;top:0;left:0;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}.frame:first-child{position:static}.frame.disposal-restore{opacity:0}:host([exploded]) .frame{position:static;opacity:1}:host([fill]){width:100%;height:100%}:host([fill]) .frames-wrapper{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;overflow:hidden}:host([fill]) #frames,:host([fill]) .x-gif__frames{-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}x-gif[fill]{width:100%;height:100%}x-gif[fill] .frames-wrapper{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;overflow:hidden}x-gif[fill] #frames,x-gif[fill] .x-gif__frames{-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}</style><div class="frames-wrapper"><div id="frames"></div></div></template><script>!function t(e,r,n){function i(s,u){if(!r[s]){if(!e[s]){var a="function"==typeof require&&require;if(!u&&a)return a(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var c=r[s]={exports:{}};e[s][0].call(c.exports,function(t){var r=e[s][1][t];return i(r?r:t)},c,c.exports,t,e,r,n)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(t){(function(t,e){!function(t){"use strict";function e(t){return{configurable:!0,enumerable:!1,value:t,writable:!0}}function r(){return"__$"+Math.floor(1e9*Math.random())+"$"+ ++H+"$__"}function n(){var t=r();return z[t]=!0,t}function i(t){return"object"==typeof t&&t instanceof u}function o(t){return i(t)?"symbol":typeof t}function s(t){var e=new u(t);if(!(this instanceof s))return e;throw new TypeError("Symbol cannot be new'ed")}function u(t){var e=r();P(this,q,{value:this}),P(this,D,{value:e}),P(this,U,{value:t}),c(this),W[e]=this}function a(t){var e=t[K];return e&&e.self===t?e:B(t)?(Y.hash.value=V++,Y.self.value=t,X.value=k(null,Y),P(t,K,X),X.value):void 0}function c(t){return a(t),A.apply(this,arguments)}function l(t){return a(t),I.apply(this,arguments)}function f(t){return a(t),L.apply(this,arguments)}function h(t){return i(t)?t[D]:t}function p(t){for(var e=[],r=C(t),n=0;n<r.length;n++){var i=r[n];W[i]||z[i]||e.push(i)}return e}function d(t,e){return M(t,h(e))}function m(t){for(var e=[],r=C(t),n=0;n<r.length;n++){var i=W[r[n]];i&&e.push(i)}return e}function g(t){return $.call(this,h(t))}function v(e){return t.traceur&&t.traceur.options[e]}function b(t,e,r){var n,o;return i(e)&&(n=e,e=e[D]),t[e]=r,n&&(o=M(t,e))&&P(t,e,{enumerable:!1}),r}function y(t,e,r){return i(e)&&(r.enumerable&&(r=k(r,{enumerable:{value:!1}})),e=e[D]),P(t,e,r),t}function j(t){P(t,"defineProperty",{value:y}),P(t,"getOwnPropertyNames",{value:p}),P(t,"getOwnPropertyDescriptor",{value:d}),P(t.prototype,"hasOwnProperty",{value:g}),P(t,"freeze",{value:c}),P(t,"preventExtensions",{value:l}),P(t,"seal",{value:f}),t.getOwnPropertySymbols=m}function w(t){for(var e=1;e<arguments.length;e++)for(var r=C(arguments[e]),n=0;n<r.length;n++){var i=r[n];z[i]||!function(e,r){P(t,r,{get:function(){return e[r]},enumerable:!0})}(arguments[e],r[n])}return t}function O(t){return null!=t&&("object"==typeof t||"function"==typeof t)}function x(t){if(null==t)throw E();return R(t)}function S(t){if(!O(t))throw E(t+" is not an Object");return t}function _(t){t.Symbol=s,j(t.Object)}if(!t.$traceurRuntime){var R=Object,E=TypeError,k=R.create,T=R.defineProperties,P=R.defineProperty,A=R.freeze,M=R.getOwnPropertyDescriptor,C=R.getOwnPropertyNames,N=R.keys,$=R.prototype.hasOwnProperty,I=(R.prototype.toString,Object.preventExtensions),L=Object.seal,B=Object.isExtensible,F={"void":function(){},any:function(){},string:function(){},number:function(){},"boolean":function(){}},G=e,H=0,D=r(),U=r(),q=r(),W=k(null),z=k(null);P(s.prototype,"constructor",e(s)),P(s.prototype,"toString",G(function(){var t=this[q];if(!v("symbols"))return t[D];if(!t)throw TypeError("Conversion from symbol to string");var e=t[U];return void 0===e&&(e=""),"Symbol("+e+")"})),P(s.prototype,"valueOf",G(function(){var t=this[q];if(!t)throw TypeError("Conversion from symbol to string");return v("symbols")?t:t[D]})),P(u.prototype,"constructor",e(s)),P(u.prototype,"toString",{value:s.prototype.toString,enumerable:!1}),P(u.prototype,"valueOf",{value:s.prototype.valueOf,enumerable:!1});var K=n(),X={value:void 0},Y={hash:{value:void 0},self:{value:void 0}},V=0;s.iterator=s(),c(u.prototype),_(t),t.$traceurRuntime={assertObject:S,createPrivateName:n,exportStar:w,getOwnHashObject:a,privateNames:z,setProperty:b,setupGlobals:_,toObject:x,toProperty:h,type:F,"typeof":o,defineProperties:T,defineProperty:P,getOwnPropertyDescriptor:M,getOwnPropertyNames:C,keys:N}}}("undefined"!=typeof e?e:this),function(){"use strict";function t(){for(var t=[],r=0,n=0;n<arguments.length;n++)for(var i=e(arguments[n]),o=0;o<i.length;o++)t[r++]=i[o];return t}var e=$traceurRuntime.toObject;$traceurRuntime.spread=t}(),function(){"use strict";function t(t,e){var r=m(t);do{var n=p(r,e);if(n)return n;r=m(r)}while(r);return void 0}function e(t,e,n,i){return r(t,e,n).apply(t,i)}function r(e,r,n){var i=t(r,n);return i?i.get?i.get.call(e):i.value:void 0}function n(e,r,n,i){var o=t(r,n);if(o&&o.set)return o.set.call(e,i),i;throw c("super has no setter '"+n+"'.")}function i(t){for(var e,r={},n=d(t),i=0;i<n.length;i++){var e=n[i];r[e]=p(t,e)}return r}function o(t,e,r,n){return h(e,"constructor",{value:t,configurable:!0,enumerable:!1,writable:!0}),arguments.length>3?("function"==typeof n&&(t.__proto__=n),t.prototype=l(s(n),i(e))):t.prototype=e,h(t,"prototype",{configurable:!1,writable:!1}),f(t,i(r))}function s(t){if("function"==typeof t){var e=t.prototype;if(a(e)===e||null===e)return t.prototype}if(null===t)return null;throw new c}function u(t,r,n){null!==m(r)&&e(t,r,"constructor",n)}var a=Object,c=TypeError,l=a.create,f=$traceurRuntime.defineProperties,h=$traceurRuntime.defineProperty,p=$traceurRuntime.getOwnPropertyDescriptor,d=$traceurRuntime.getOwnPropertyNames,m=Object.getPrototypeOf;$traceurRuntime.createClass=o,$traceurRuntime.defaultSuperCall=u,$traceurRuntime.superCall=e,$traceurRuntime.superGet=r,$traceurRuntime.superSet=n}(),function(){"use strict";function t(t){return{configurable:!0,enumerable:!1,value:t,writable:!0}}function e(t){return new Error("Traceur compiler bug: invalid state in state machine: "+t)}function r(){this.state=0,this.GState=v,this.storedException=void 0,this.finallyFallThrough=void 0,this.sent_=void 0,this.returnValue=void 0,this.tryStack_=[]}function n(t,e,r,n){switch(t.GState){case b:throw new Error('"'+r+'" on executing generator');case j:if("next"==r)return{value:void 0,done:!0};throw new Error('"'+r+'" on closed generator');case v:if("throw"===r)throw t.GState=j,n;if(void 0!==n)throw g("Sent value to newborn generator");case y:t.GState=b,t.action=r,t.sent=n;var i=e(t),o=i===t;return o&&(i=t.returnValue),t.GState=o?j:y,{value:i,done:o}}}function i(){}function o(){}function s(t,e,n){var i=l(t,n),o=new r,s=m(e.prototype);return s[x]=o,s[S]=i,s}function u(t){return t.prototype=m(o.prototype),t.__proto__=o,t}function a(){r.call(this),this.err=void 0;var t=this;t.result=new Promise(function(e,r){t.resolve=e,t.reject=r})}function c(t,e){var r=l(t,e),n=new a;return n.createCallback=function(t){return function(e){n.state=t,n.value=e,r(n)}},n.errback=function(t){f(n,t),r(n)},r(n),n.result}function l(t,e){return function(r){for(;;)try{return t.call(e,r)}catch(n){f(r,n)}}}function f(t,e){t.storedException=e;var r=t.tryStack_[t.tryStack_.length-1];return r?(t.state=void 0!==r.catch?r.catch:r.finally,void(void 0!==r.finallyFallThrough&&(t.finallyFallThrough=r.finallyFallThrough))):void t.handleException(e)}var h=$traceurRuntime.createPrivateName,p=$traceurRuntime.defineProperties,d=$traceurRuntime.defineProperty,m=Object.create,g=TypeError,v=0,b=1,y=2,j=3,w=-2,O=-3;r.prototype={pushTry:function(t,e){if(null!==e){for(var r=null,n=this.tryStack_.length-1;n>=0;n--)if(void 0!==this.tryStack_[n].catch){r=this.tryStack_[n].catch;break}null===r&&(r=O),this.tryStack_.push({"finally":e,finallyFallThrough:r})}null!==t&&this.tryStack_.push({"catch":t})},popTry:function(){this.tryStack_.pop()},get sent(){return this.maybeThrow(),this.sent_},set sent(t){this.sent_=t},get sentIgnoreThrow(){return this.sent_},maybeThrow:function(){if("throw"===this.action)throw this.action="next",this.sent_},end:function(){switch(this.state){case w:return this;case O:throw this.storedException;default:throw e(this.state)}},handleException:function(t){throw this.GState=j,this.state=w,t}};var x=h(),S=h();i.prototype=o,d(o,"constructor",t(i)),o.prototype={constructor:o,next:function(t){return n(this[x],this[S],"next",t)},"throw":function(t){return n(this[x],this[S],"throw",t)}},p(o.prototype,{constructor:{enumerable:!1},next:{enumerable:!1},"throw":{enumerable:!1}}),Object.defineProperty(o.prototype,Symbol.iterator,t(function(){return this})),a.prototype=m(r.prototype),a.prototype.end=function(){switch(this.state){case w:this.resolve(this.returnValue);break;case O:this.reject(this.storedException);break;default:this.reject(e(this.state))}},a.prototype.handleException=function(){this.state=O},$traceurRuntime.asyncWrap=c,$traceurRuntime.initGeneratorFunction=u,$traceurRuntime.createGeneratorInstance=s}(),function(){function t(t,e,r,n,i,o,s){var u=[];return t&&u.push(t,":"),r&&(u.push("//"),e&&u.push(e,"@"),u.push(r),n&&u.push(":",n)),i&&u.push(i),o&&u.push("?",o),s&&u.push("#",s),u.join("")}function e(t){return t.match(u)}function r(t){if("/"===t)return"/";for(var e="/"===t[0]?"/":"",r="/"===t.slice(-1)?"/":"",n=t.split("/"),i=[],o=0,s=0;s<n.length;s++){var u=n[s];switch(u){case"":case".":break;case"..":i.length?i.pop():o++;break;default:i.push(u)}}if(!e){for(;o-->0;)i.unshift("..");0===i.length&&i.push(".")}return e+i.join("/")+r}function n(e){var n=e[a.PATH]||"";return n=r(n),e[a.PATH]=n,t(e[a.SCHEME],e[a.USER_INFO],e[a.DOMAIN],e[a.PORT],e[a.PATH],e[a.QUERY_DATA],e[a.FRAGMENT])}function i(t){var r=e(t);return n(r)}function o(t,r){var i=e(r),o=e(t);if(i[a.SCHEME])return n(i);i[a.SCHEME]=o[a.SCHEME];for(var s=a.SCHEME;s<=a.PORT;s++)i[s]||(i[s]=o[s]);if("/"==i[a.PATH][0])return n(i);var u=o[a.PATH],c=u.lastIndexOf("/");return u=u.slice(0,c+1)+i[a.PATH],i[a.PATH]=u,n(i)}function s(t){if(!t)return!1;if("/"===t[0])return!0;var r=e(t);return r[a.SCHEME]?!0:!1}var u=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),a={SCHEME:1,USER_INFO:2,DOMAIN:3,PORT:4,PATH:5,QUERY_DATA:6,FRAGMENT:7};$traceurRuntime.canonicalizeUrl=i,$traceurRuntime.isAbsolute=s,$traceurRuntime.removeDotSegments=r,$traceurRuntime.resolveUrl=o}(),function(t){"use strict";function e(t){if(t){var e=d.normalize(t);return a[e]}}function r(t){var e=arguments[1],r=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(n){var i,o;if(e===p){var s=Object.getOwnPropertyDescriptor(t,n);s.get&&(i=s.get)}i||(o=t[n],i=function(){return o}),Object.defineProperty(r,n,{get:i,enumerable:!0})}),Object.preventExtensions(r),r}var n,i=$traceurRuntime.assertObject($traceurRuntime),o=i.canonicalizeUrl,s=i.resolveUrl,u=i.isAbsolute,a=Object.create(null);n=t.location&&t.location.href?s(t.location.href,"./"):"";var c=function(t,e){this.url=t,this.value_=e};$traceurRuntime.createClass(c,{},{});var l=function(t,e){$traceurRuntime.superCall(this,f.prototype,"constructor",[t,null]),this.func=e},f=l;$traceurRuntime.createClass(l,{getUncoatedModule:function(){return this.value_?this.value_:this.value_=this.func.call(t)}},{},c);var h=Object.create(null),p={},d={normalize:function(t,e){if("string"!=typeof t)throw new TypeError("module name must be a string, not "+typeof t);if(u(t))return o(t);if(/[^\.]\/\.\.\//.test(t))throw new Error("module name embeds /../: "+t);return"."===t[0]&&e?s(e,t):o(t)},get:function(t){var n=e(t);if(!n)return void 0;var i=h[n.url];return i?i:(i=r(n.getUncoatedModule(),p),h[n.url]=i)},set:function(t,e){t=String(t),a[t]=new l(t,function(){return e}),h[t]=e},get baseURL(){return n},set baseURL(t){n=String(t)},registerModule:function(t,e){var r=d.normalize(t);if(a[r])throw new Error("duplicate module named "+r);a[r]=new l(r,e)},bundleStore:Object.create(null),register:function(t,e,r){e&&(e.length||r.length)?this.bundleStore[t]={deps:e,execute:function(){var t=arguments,n={};e.forEach(function(e,r){return n[e]=t[r]});var i=r.call(this,n);return i.execute.call(this),i.exports}}:this.registerModule(t,r)},getAnonymousModule:function(e){return new r(e.call(t),p)},getForTesting:function(t){var e=this;return this.testingPrefix_||Object.keys(h).some(function(t){var r=/(traceur@[^\/]*\/)/.exec(t);return r?(e.testingPrefix_=r[1],!0):void 0}),this.get(this.testingPrefix_+t)}};d.set("@traceur/src/runtime/ModuleStore",new r({ModuleStore:d}));var m=$traceurRuntime.setupGlobals;$traceurRuntime.setupGlobals=function(t){m(t)},$traceurRuntime.ModuleStore=d,t.System={register:d.register.bind(d),get:d.get,set:d.set,normalize:d.normalize},$traceurRuntime.getModuleImpl=function(t){var r=e(t);return r&&r.getUncoatedModule()}}("undefined"!=typeof e?e:this),System.register("[email protected]/src/runtime/polyfills/utils",[],function(){"use strict";function t(t){return 0|t}function e(t){return t&&("object"==typeof t||"function"==typeof t)}function r(t){return"function"==typeof t}function n(t){return t=+t,isNaN(t)?0:isFinite(t)&&0!==t?t>0?Math.floor(t):Math.ceil(t):t}function i(t){var e=n(t);return 0>e?0:Math.min(e,s)}var o=$traceurRuntime.toObject,s=Math.pow(2,53)-1;return{get toObject(){return o},get toUint32(){return t},get isObject(){return e},get isCallable(){return r},get toInteger(){return n},get toLength(){return i}}}),System.register("[email protected]/src/runtime/polyfills/Array",[],function(){"use strict";function t(t){var e=void 0!==arguments[1]?arguments[1]:0,r=arguments[2],n=u(this),i=s(n.length),a=o(e),c=void 0!==r?o(r):i;for(a=0>a?Math.max(i+a,0):Math.min(a,i),c=0>c?Math.max(i+c,0):Math.min(c,i);c>a;)n[a]=t,a++;return n}function e(t){var e=arguments[1];return n(this,t,e)}function r(t){var e=arguments[1];return n(this,t,e,!0)}function n(t,e){var r=arguments[2],n=void 0!==arguments[3]?arguments[3]:!1,i=u(t),o=s(i.length);if(!a(e))throw TypeError();for(var c=0;o>c;c++)if(c in i){var l=i[c];if(e.call(r,l,c,i))return n?c:l}return n?-1:void 0}var i=$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/utils")),o=i.toInteger,s=i.toLength,u=i.toObject,a=i.isCallable;return{get fill(){return t},get find(){return e},get findIndex(){return r}}}),System.register("[email protected]/src/runtime/polyfills/ArrayIterator",[],function(){"use strict";function t(t,e){var r=u(t),n=new h;return n.iteratorObject_=r,n.arrayIteratorNextIndex_=0,n.arrayIterationKind_=e,n}function e(t,e){return{value:t,done:e}}function r(){return t(this,f)}function n(){return t(this,c)}function i(){return t(this,l)}var o,s=$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/utils")),u=s.toObject,a=s.toUint32,c=1,l=2,f=3,h=function(){};return $traceurRuntime.createClass(h,(o={},Object.defineProperty(o,"next",{value:function(){var t=u(this),r=t.iteratorObject_;if(!r)throw new TypeError("Object is not an ArrayIterator");var n=t.arrayIteratorNextIndex_,i=t.arrayIterationKind_,o=a(r.length);return n>=o?(t.arrayIteratorNextIndex_=1/0,e(void 0,!0)):(t.arrayIteratorNextIndex_=n+1,i==l?e(r[n],!1):i==f?e([n,r[n]],!1):e(n,!1))},configurable:!0,enumerable:!0,writable:!0}),Object.defineProperty(o,Symbol.iterator,{value:function(){return this},configurable:!0,enumerable:!0,writable:!0}),o),{}),{get entries(){return r},get keys(){return n},get values(){return i}}}),System.register("[email protected]/src/runtime/polyfills/Map",[],function(){"use strict";function t(t,e){if(r(e)){var i=n(e);return i&&t.objectIndex_[i.hash]}return"string"==typeof e?t.stringIndex_[e]:t.primitiveIndex_[e]}function e(t){t.entries_=[],t.objectIndex_=Object.create(null),t.stringIndex_=Object.create(null),t.primitiveIndex_=Object.create(null),t.deletedCount_=0}var r=$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/utils")).isObject,n=$traceurRuntime.getOwnHashObject,i=Object.prototype.hasOwnProperty,o={},s=function(){var t=arguments[0];if(!r(this))throw new TypeError("Constructor Map requires 'new'");if(i.call(this,"entries_"))throw new TypeError("Map can not be reentrantly initialised");if(e(this),null!==t&&void 0!==t){var n=t[Symbol.iterator];if(void 0!==n)for(var o,s=t[Symbol.iterator]();!(o=s.next()).done;){var u=$traceurRuntime.assertObject(o.value),a=u[0],c=u[1];this.set(a,c)}}};return $traceurRuntime.createClass(s,{get size(){return this.entries_.length/2-this.deletedCount_},get:function(e){var r=t(this,e);return void 0!==r?this.entries_[r+1]:void 0},set:function(e,i){var o=r(e),s="string"==typeof e,u=t(this,e);if(void 0!==u)this.entries_[u+1]=i;else if(u=this.entries_.length,this.entries_[u]=e,this.entries_[u+1]=i,o){var a=n(e),c=a.hash;this.objectIndex_[c]=u}else s?this.stringIndex_[e]=u:this.primitiveIndex_[e]=u;return this},has:function(e){return void 0!==t(this,e)},"delete":function(t){var e,i,s=r(t),u="string"==typeof t;if(s){var a=n(t);a&&(e=this.objectIndex_[i=a.hash],delete this.objectIndex_[i])}else u?(e=this.stringIndex_[t],delete this.stringIndex_[t]):(e=this.primitiveIndex_[t],delete this.primitiveIndex_[t]);void 0!==e&&(this.entries_[e]=o,this.entries_[e+1]=void 0,this.deletedCount_++)},clear:function(){e(this)},forEach:function(t){for(var e=arguments[1],r=0,n=this.entries_.length;n>r;r+=2){var i=this.entries_[r],s=this.entries_[r+1];i!==o&&t.call(e,s,i,this)}}},{}),{get Map(){return s}}}),System.register("[email protected]/src/runtime/polyfills/Object",[],function(){"use strict";function t(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function e(t){for(var e=1;e<arguments.length;e++){var r,n=arguments[e],i=u(n),o=i.length;for(r=0;o>r;r++){var s=i[r];a[s]||(t[s]=n[s])}}return t}function r(t,e){var r,n,u=s(e),c=u.length;for(r=0;c>r;r++){var l=u[r];a[l]||(n=o(e,u[r]),i(t,u[r],n))}return t}var n=$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/utils")),n=(n.toInteger,n.toLength,n.toObject,n.isCallable,$traceurRuntime.assertObject($traceurRuntime)),i=n.defineProperty,o=n.getOwnPropertyDescriptor,s=n.getOwnPropertyNames,u=n.keys,a=n.privateNames;return{get is(){return t},get assign(){return e},get mixin(){return r}}}),System.register("[email protected]/node_modules/rsvp/lib/rsvp/asap",[],function(){"use strict";function e(){return function(){t.nextTick(i)}}function r(){var t=0,e=new a(i),r=document.createTextNode("");return e.observe(r,{characterData:!0}),function(){r.data=t=++t%2}}function n(){return function(){setTimeout(i,1)}}function i(){for(var t=0;t<c.length;t++){var e=c[t],r=e[0],n=e[1];r(n)}c=[]}var o,s=function(t,e){var r=c.push([t,e]);1===r&&o()},u="undefined"!=typeof window?window:{},a=u.MutationObserver||u.WebKitMutationObserver,c=[];return o="undefined"!=typeof t&&"[object process]"==={}.toString.call(t)?e():a?r():n(),{get default(){return s}}}),System.register("[email protected]/src/runtime/polyfills/Promise",[],function(){"use strict";function t(t){return t&&"object"==typeof t&&void 0!==t.status_}function e(t){return t}function r(t){throw t}function n(t){var n=void 0!==arguments[1]?arguments[1]:e,o=void 0!==arguments[2]?arguments[2]:r,s=i(t.constructor);switch(t.status_){case void 0:throw TypeError;case 0:t.onResolve_.push(n,s),t.onReject_.push(o,s);break;case 1:l(t.value_,[n,s]);break;case-1:l(t.value_,[o,s])}return s.promise}function i(t){if(this===v){var e=s(new v(m));return{promise:e,resolve:function(t){u(e,t)},reject:function(t){a(e,t)}}}var r={};return r.promise=new t(function(t,e){r.resolve=t,r.reject=e}),r}function o(t,e,r,n,i){return t.status_=e,t.value_=r,t.onResolve_=n,t.onReject_=i,t}function s(t){return o(t,0,void 0,[],[])}function u(t,e){c(t,1,e,t.onResolve_)}function a(t,e){c(t,-1,e,t.onReject_)}function c(t,e,r,n){0===t.status_&&(l(r,n),o(t,e,r))}function l(t,e){d(function(){for(var r=0;r<e.length;r+=2)f(t,e[r],e[r+1])})}function f(e,r,i){try{var o=r(e);if(o===i.promise)throw new TypeError;t(o)?n(o,i.resolve,i.reject):i.resolve(o)}catch(s){try{i.reject(s)}catch(s){}}}function h(t){return t&&("object"==typeof t||"function"==typeof t)}function p(e,r){if(!t(r)&&h(r)){var n;try{n=r.then}catch(o){var s=b.call(e,o);return r[y]=s,s}if("function"==typeof n){var u=r[y];if(u)return u;var a=i(e);r[y]=a.promise;try{n.call(r,a.resolve,a.reject)}catch(o){a.reject(o)}return a.promise}}return r}var d=$traceurRuntime.assertObject(System.get("[email protected]/node_modules/rsvp/lib/rsvp/asap")).default,m={},g=function(t){if(t!==m){if("function"!=typeof t)throw new TypeError;var e=s(this);try{t(function(t){u(e,t)},function(t){a(e,t)})}catch(r){a(e,r)}}};$traceurRuntime.createClass(g,{"catch":function(t){return this.then(void 0,t)},then:function(i,o){"function"!=typeof i&&(i=e),"function"!=typeof o&&(o=r);var s=this,u=this.constructor;return n(this,function(e){return e=p(u,e),e===s?o(new TypeError):t(e)?e.then(i,o):i(e)},o)}},{resolve:function(t){return this===v?o(new v(m),1,t):new this(function(e){e(t)})},reject:function(t){return this===v?o(new v(m),-1,t):new this(function(e,r){r(t)})},cast:function(e){if(e instanceof this)return e;if(t(e)){var r=i(this);return n(e,r.resolve,r.reject),r.promise}return this.resolve(e)},all:function(t){var e=i(this),r=[];try{var n=t.length;if(0===n)e.resolve(r);else for(var o=0;o<t.length;o++)this.resolve(t[o]).then(function(t,i){r[t]=i,0===--n&&e.resolve(r)}.bind(void 0,o),function(t){e.reject(t)})}catch(s){e.reject(s)}return e.promise},race:function(t){var e=i(this);try{for(var r=0;r<t.length;r++)this.resolve(t[r]).then(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(n){e.reject(n)}return e.promise}});var v=g,b=v.reject,y="@@thenable";return{get Promise(){return g}}}),System.register("[email protected]/src/runtime/polyfills/String",[],function(){"use strict";function t(t){var e=String(this);if(null==this||"[object RegExp]"==u.call(t))throw TypeError();var r=e.length,n=String(t),i=(n.length,arguments.length>1?arguments[1]:void 0),o=i?Number(i):0;isNaN(o)&&(o=0);var s=Math.min(Math.max(o,0),r);return a.call(e,n,o)==s}function e(t){var e=String(this);if(null==this||"[object RegExp]"==u.call(t))throw TypeError();var r=e.length,n=String(t),i=n.length,o=r;if(arguments.length>1){var s=arguments[1];void 0!==s&&(o=s?Number(s):0,isNaN(o)&&(o=0))}var a=Math.min(Math.max(o,0),r),l=a-i;return 0>l?!1:c.call(e,n,l)==l}function r(t){if(null==this)throw TypeError();var e=String(this),r=e.length,n=String(t),i=(n.length,arguments.length>1?arguments[1]:void 0),o=i?Number(i):0;isNaN(o)&&(o=0);Math.min(Math.max(o,0),r);return-1!=a.call(e,n,o)}function n(t){if(null==this)throw TypeError();var e=String(this),r=t?Number(t):0;if(isNaN(r)&&(r=0),0>r||1/0==r)throw RangeError();if(0==r)return"";for(var n="";r--;)n+=e;return n}function i(t){if(null==this)throw TypeError();var e=String(this),r=e.length,n=t?Number(t):0;if(isNaN(n)&&(n=0),0>n||n>=r)return void 0;var i,o=e.charCodeAt(n);return o>=55296&&56319>=o&&r>n+1&&(i=e.charCodeAt(n+1),i>=56320&&57343>=i)?1024*(o-55296)+i-56320+65536:o}function o(t){var e=t.raw,r=e.length>>>0;if(0===r)return"";for(var n="",i=0;;){if(n+=e[i],i+1===r)return n;n+=arguments[++i]}}function s(){var t,e,r=[],n=Math.floor,i=-1,o=arguments.length;if(!o)return"";for(;++i<o;){var s=Number(arguments[i]);if(!isFinite(s)||0>s||s>1114111||n(s)!=s)throw RangeError("Invalid code point: "+s);65535>=s?r.push(s):(s-=65536,t=(s>>10)+55296,e=s%1024+56320,r.push(t,e))}return String.fromCharCode.apply(null,r)}var u=Object.prototype.toString,a=String.prototype.indexOf,c=String.prototype.lastIndexOf;return{get startsWith(){return t},get endsWith(){return e},get contains(){return r},get repeat(){return n},get codePointAt(){return i},get raw(){return o},get fromCodePoint(){return s}}}),System.register("[email protected]/src/runtime/polyfills/polyfills",[],function(){"use strict";function t(t,e,r){e in t||Object.defineProperty(t,e,{value:r,configurable:!0,enumerable:!1,writable:!0})}function e(e,r){for(var n=0;n<r.length;n+=2){var i=r[n],o=r[n+1];t(e,i,o)}}function r(t){t.Promise||(t.Promise=c)}function n(t){t.Map||(t.Map=a)}function i(t){e(t.prototype,["codePointAt",f,"contains",h,"endsWith",p,"startsWith",v,"repeat",m]),e(t,["fromCodePoint",d,"raw",g])}function o(t,r){e(t.prototype,["entries",w,"keys",O,"values",x,"fill",b,"find",y,"findIndex",j]),r&&r.iterator&&Object.defineProperty(t.prototype,r.iterator,{value:x,configurable:!0,enumerable:!1,writable:!0})}function s(t){e(t,["assign",S,"is",_,"mixin",R])}function u(t){r(t),n(t),i(t.String),o(t.Array,t.Symbol),s(t.Object)}var a=$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/Map")).Map,c=$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/Promise")).Promise,l=$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/String")),f=l.codePointAt,h=l.contains,p=l.endsWith,d=l.fromCodePoint,m=l.repeat,g=l.raw,v=l.startsWith,l=$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/Array")),b=l.fill,y=l.find,j=l.findIndex,l=$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/ArrayIterator")),w=l.entries,O=l.keys,x=l.values,l=$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/Object")),S=l.assign,_=l.is,R=l.mixin;u(this);var E=$traceurRuntime.setupGlobals;return $traceurRuntime.setupGlobals=function(t){E(t),u(t)},{}}),System.register("[email protected]/src/runtime/polyfill-import",[],function(){"use strict";$traceurRuntime.assertObject(System.get("[email protected]/src/runtime/polyfills/polyfills"));return{}}),System.get("[email protected]/src/runtime/polyfill-import")}).call(this,t("/Users/glen/src/projects/x-gif/node_modules/gulp-browserify/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"/Users/glen/src/projects/x-gif/node_modules/gulp-browserify/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":2}],2:[function(t,e){function r(){}var n=e.exports={};n.nextTick=function(){var t="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(t)return function(t){return window.setImmediate(t)};if(e){var r=[];return window.addEventListener("message",function(t){var e=t.source;if((e===window||null===e)&&"process-tick"===t.data&&(t.stopPropagation(),r.length>0)){var n=r.shift();n()}},!0),function(t){r.push(t),window.postMessage("process-tick","*")}}return function(t){setTimeout(t,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=r,n.once=r,n.off=r,n.emit=r,n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}},{}],3:[function(t,e,r){"use strict";Object.defineProperties(r,{"default":{get:function(){return a}},__esModule:{value:!0}});var n=$traceurRuntime.assertObject(t("./gif.js")).default,i=$traceurRuntime.assertObject(t("./stream_reader.js")).default,o=$traceurRuntime.assertObject(t("./utils.js")).Promises,s=URL&&URL.createObjectURL?URL:webkitURL,u=new Map,a=function(){var t=function(t){this.file=t};return $traceurRuntime.createClass(t,{load:function(){var t=this,e=u.get(this.file);if(e)return e;var r=o.xhrGet(this.file,"*/*","arraybuffer").then(function(e){return t.explode(e)});return u.set(this.file,r),r},explode:function(t){return console.debug("EXPLODING "+this.file),new Promise(function(e,r){var o=[],u=new i(t);if("GIF89a"!=u.readAscii(6))return void r(Error("Not a GIF!"));if(u.skipBytes(4),u.peekBit(1)){u.log("GLOBAL COLOR TABLE");var a=7&u.readByte();u.log("GLOBAL COLOR TABLE IS "+3*Math.pow(2,a+1)+" BYTES"),u.skipBytes(2),u.skipBytes(3*Math.pow(2,a+1))}else u.log("NO GLOBAL COLOR TABLE");for(var c=t.slice(0,u.index),l=!0,f=!1;l;)if(u.isNext([33,255])){u.log("APPLICATION EXTENSION"),u.skipBytes(2);var h=u.readByte();if(u.log(u.readAscii(h)),u.isNext([3,1]))u.skipBytes(5);else{for(u.log("A weird application extension. Skip until we have 2 NULL bytes");0!==u.readByte()||0!==u.peekByte(););u.log("OK moving on"),u.skipBytes(1)}}else if(u.isNext([33,254])){for(u.log("COMMENT EXTENSION"),u.skipBytes(2);!u.isNext([0]);){var h=u.readByte();u.log(u.readAscii(h))}u.skipBytes(1)}else if(u.isNext([44])){if(u.log("IMAGE DESCRIPTOR!"),f||o.push({index:u.index,delay:0}),f=!1,u.skipBytes(9),u.peekBit(1)){u.log("LOCAL COLOR TABLE");var a=7&u.readByte();u.log("LOCAL COLOR TABLE IS "+3*Math.pow(2,a+1)+" BYTES"),u.skipBytes(3*Math.pow(2,a+1))}else u.log("NO LOCAL TABLE PHEW"),u.skipBytes(1);for(u.log("MIN CODE SIZE "+u.readByte()),u.log("DATA START");!u.isNext([0]);){var h=u.readByte();u.skipBytes(h)}u.log("DATA END"),u.skipBytes(1)}else if(u.isNext([33,249,4])){u.log("GRAPHICS CONTROL EXTENSION!");var p=u.index;u.skipBytes(3);var d=u.readByte()>>2;u.log("DISPOSAL "+d);var m=u.readByte()+256*u.readByte();o.push({index:p,delay:m,disposal:d}),u.log("FRAME DELAY "+m),u.skipBytes(2),f=!0}else{for(var g=u.index;!u.finished()&&!u.isNext([33,249,4]);)u.readByte();u.finished()?(u.index=g,u.log("WE END"),l=!1):u.log("UNKNOWN DATA FROM "+g)}for(var v=u.index,b=t.slice(-1),y=0;y<o.length;y++){var j=o[y],w=y<o.length-1?o[y+1].index:v;j.blob=new Blob([c,t.slice(j.index,w),b],{type:"image/gif"}),j.url=s.createObjectURL(j.blob)}e(new n(o))})}},{})}()},{"./gif.js":5,"./stream_reader.js":8,"./utils.js":9}],4:[function(t){"use strict";var e=$traceurRuntime.assertObject(t("./playback.js")).default,r=($traceurRuntime.assertObject(t("./strategies.js")).default,(document._currentScript||document.currentScript).ownerDocument),n=function(t){this.xgif=t,this.setupComponent(),this.srcChanged(this.xgif.getAttribute("src"))};$traceurRuntime.createClass(n,{setupComponent:function(){this.shadow=this.xgif.createShadowRoot();var t=r.querySelector("#template").content.cloneNode(!0);this.shadow.appendChild(t)},srcChanged:function(t){var r=this;t&&(console.log("Loading "+t),this.playback=new e(this,this.shadow.querySelector("#frames"),t,this.xgif.options),this.playback.ready.then(function(){"speed"==r.xgif.playbackMode?r.playback.startSpeed(r.xgif.speed):"bpm"==r.xgif.playbackMode&&r.playback.startBpm(r.xgif.bpm)}))},speedChanged:function(t){this.playback&&(this.playback.speed=t)},bpmChanged:function(t){this.playback&&this.playback.changeBpm(t)},snapChanged:function(t){this.playback&&(this.playback.snap=t)},nTimesChanged:function(t){this.playback&&(this.playback.nTimes=t)},stoppedChanged:function(t){this.playback&&(t&&!this.playback.stopped?this.playback.stop():!t&&this.playback.stopped&&this.playback.start())},pingPongChanged:function(t){this.playback&&(this.playback.pingPong=t)},clock:function(t,e,r){this.playback&&this.playback.gif&&this.playback.fromClock(t,e,r)},relayout:function(){this.playback&&this.xgif.options.fill&&this.playback.scaleToFill()}},{});var i=function(){$traceurRuntime.defaultSuperCall(this,o.prototype,arguments)},o=i;$traceurRuntime.createClass(i,{createdCallback:function(){this.determinePlaybackMode(),this.determinePlaybackOptions(),this.addStoppedOnNTimesFinishing(),this.controller=new n(this)},determinePlaybackMode:function(){if(this.hasAttribute("exploded")||this.hasAttribute("sync"))return void(this.playbackMode=void 0);var t=parseFloat(this.getAttribute("bpm"));if(!isNaN(t))return this.playbackMode="bpm",void(this.bpm=t);var e=parseFloat(this.getAttribute("speed"));this.speed=isNaN(e)?1:e,this.playbackMode="speed"},determinePlaybackOptions:function(){var t=parseFloat(this.getAttribute("n-times"));this.options={stopped:this.hasAttribute("stopped"),fill:this.hasAttribute("fill"),nTimes:isNaN(t)?null:t,snap:this.hasAttribute("snap"),pingPong:this.hasAttribute("ping-pong")}},attributeChangedCallback:function(t,e,r){"src"==t?this.controller.srcChanged(r):"speed"==t?(this.determinePlaybackMode(),this.controller.speedChanged(this.speed)):"bpm"==t?(this.determinePlaybackMode(),this.controller.bpmChanged(this.bpm)):"stopped"==t?(this.determinePlaybackOptions(),this.controller.stoppedChanged(this.options.stopped)):"ping-pong"==t?(this.determinePlaybackOptions(),this.controller.pingPongChanged(this.options.pingPong)):"snap"==t?(this.determinePlaybackOptions(),this.controller.snapChanged(this.options.snap)):"n-times"==t&&(this.determinePlaybackOptions(),this.controller.nTimesChanged(this.options.nTimes))},clock:function(t,e,r){this.controller.clock(t,e,r)},relayout:function(){this.controller.relayout()
},addStoppedOnNTimesFinishing:function(){var t=this;this.addEventListener("x-gif-finished",function(){t.setAttribute("stopped","")})}},{},HTMLElement),document.registerElement("x-gif",i)},{"./playback.js":6,"./strategies.js":7}],5:[function(t,e,r){"use strict";Object.defineProperties(r,{"default":{get:function(){return i}},__esModule:{value:!0}});var n=10,i=function(){var t=function(t){var e=this;this.frames=t,this.length=0,this.offsets=[],t.forEach(function(t){e.offsets.push(e.length),e.length+=t.delay||n})};return $traceurRuntime.createClass(t,{frameAt:function(t){for(var e=t*this.length,r=1,n=this.offsets.length;n>r&&!(this.offsets[r]>e);r++);return r-1}},{})}()},{}],6:[function(t,e,r){"use strict";function n(t,e){t.classList.add("frame"),2==e.disposal&&t.classList.add("disposal-restore")}Object.defineProperties(r,{"default":{get:function(){return s}},__esModule:{value:!0}});var i=$traceurRuntime.assertObject(t("./exploder.js")).default,o=function(t){var e=new Image;return e.src=t.url,n(e,t),e},s=function(){var t=function(t,e,r,n){var s=this;this.xgif=t,this.element=e,this.onReady=n.onReady,this.pingPong=n.pingPong,this.fill=n.fill,this.stopped=n.stopped,this.snap=n.snap,this.nTimes=n.nTimes,this.ready=new Promise(function(t){var e=new i(r);e.load().then(function(e){console.debug("Received "+e.frames.length+" frames of gif "+r),s.gif=e,s.element.innerHTML="";var n=o;e.frames.map(n).forEach(s.element.appendChild,s.element),s.fill&&requestAnimationFrame(s.scaleToFill.bind(s)),t()})})};return $traceurRuntime.createClass(t,{scaleToFill:function(){if(this.element.offsetWidth&&this.element.offsetHeight){var t=this.element.parentElement.offsetWidth/this.element.offsetWidth,e=this.element.parentElement.offsetHeight/this.element.offsetHeight;this.element.style.webkitTransform="scale("+1.1*Math.max(t,e)+")"}else requestAnimationFrame(this.scaleToFill.bind(this))},setFrame:function(t,e){var r=this.gif.frameAt(this.pingPong&&e%2>=1?1-t:t);this.element.dataset.frame=r},start:function(){this.stopped=!1,this.startTime=performance.now(),this.animationLoop&&this.animationLoop()},stop:function(){this.stopped=!0},startSpeed:function(t){var e=this;this.speed=t,this.animationLoop=function(){var t=10*e.gif.length/e.speed,r=performance.now()-e.startTime,n=r/t,i=n%1;e.nTimes&&n>=e.nTimes?(e.setFrame(e.nTimes%1||1,n),e.element.dispatchEvent(new CustomEvent("x-gif-finished"),!0)):(e.setFrame(i,n),e.stopped||requestAnimationFrame(e.animationLoop))},this.stopped||this.start()},fromClock:function(t,e,r){var n=1.5,i=this.snap?1:Math.max(1,Math.round(1/n*10*this.gif.length/e)),o=t%i,s=t/i,u=r/i+o/i;this.setFrame(u,s)},changeBpm:function(t){this.beatLength=6e4/t},startBpm:function(t){var e=this;this.changeBpm(t),this.animationLoop=function(){var t=performance.now()-e.startTime,r=Math.floor(t/e.beatLength),n=t%e.beatLength/e.beatLength;e.fromClock(r,e.beatLength,n),e.stopped||requestAnimationFrame(e.animationLoop)},this.stopped||this.start()}},{})}()},{"./exploder.js":3}],7:[function(t,e,r){"use strict";Object.defineProperties(r,{"default":{get:function(){return i}},__esModule:{value:!0}});var n={speed:function(){this.playback.startSpeed(this.speed,this.context.getAttribute("n-times"))},hardBpm:function(){this.playback.startHardBpm(parseFloat(this.context.getAttribute("hard-bpm")))},bpm:function(){this.playback.startBpm(parseFloat(this.context.getAttribute("bpm")))},noop:function(){}},i=n},{}],8:[function(t,e,r){"use strict";Object.defineProperties(r,{"default":{get:function(){return n}},__esModule:{value:!0}});var n=function(){var t=function(t){this.data=new Uint8Array(t),this.index=0,this.log("TOTAL LENGTH: "+this.data.length)};return $traceurRuntime.createClass(t,{finished:function(){return this.index>=this.data.length},readByte:function(){return this.data[this.index++]},peekByte:function(){return this.data[this.index]},skipBytes:function(t){this.index+=t},peekBit:function(t){return!!(this.peekByte()&1<<8-t)},readAscii:function(t){for(var e="",r=0;t>r;r++)e+=String.fromCharCode(this.readByte());return e},isNext:function(t){for(var e=0;e<t.length;e++)if(t[e]!==this.data[this.index+e])return!1;return!0},log:function(){},error:function(t){console.error(this.index+": "+t)}},{})}()},{}],9:[function(t,e,r){"use strict";Object.defineProperties(r,{Promises:{get:function(){return n}},__esModule:{value:!0}});var n={xhrGet:function(t,e,r){return new Promise(function(n,i){var o=new XMLHttpRequest;o.open("GET",t,!0),o.setRequestHeader("Accept",e),o.responseType=r,o.onload=function(){200==this.status?n(this.response):i(Error(this.statusText))},o.onerror=function(){i(Error("Network Error"))},o.send()})}}},{}]},{},[1,4]);</script></div>