diff --git a/ascii.html b/ascii.html index dffc6d6..55852d9 100644 --- a/ascii.html +++ b/ascii.html @@ -46,7 +46,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= - + diff --git a/assets/js/gsap.min.js b/assets/js/gsap.min.js new file mode 100644 index 0000000..a9f0ba0 --- /dev/null +++ b/assets/js/gsap.min.js @@ -0,0 +1,9 @@ +/*! + * GSAP 3.10.4 + * https://greensock.com + * + * @license Copyright 2022, GreenSock. All rights reserved. + * Subject to the terms at https://greensock.com/standard-license or for Club GreenSock members, the agreement issued with that membership. + * @author: Jack Doyle, jack@greensock.com + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,(function(t){"use strict";function e(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t){return"string"==typeof t}function n(t){return"function"==typeof t}function s(t){return"number"==typeof t}function a(t){return void 0===t}function o(t){return"object"==typeof t}function u(t){return!1!==t}function h(){return"undefined"!=typeof window}function f(t){return n(t)||i(t)}function l(t){return(Tt=de(t,ae))&&gr}function p(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function _(t,e){return!e&&console.warn(t)}function c(t,e){return t&&(ae[t]=e)&&Tt&&(Tt[t]=e)||ae}function d(){return 0}function m(t){var e,r,i=t[0];if(o(i)||n(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=_e.length;r--&&!_e[r].targetTest(i););e=_e[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Ye(t[r],e)))||t.splice(r,1);return t}function g(t){return t._gsap||m(we(t))[0]._gsap}function v(t,e,r){return(r=t[e])&&n(r)?t[e]():a(r)&&t.getAttribute&&t.getAttribute(e)||r}function y(t,e){return(t=t.split(",")).forEach(e)||t}function T(t){return Math.round(1e5*t)/1e5||0}function x(t){return Math.round(1e7*t)/1e7||0}function w(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i}function b(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++is;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=a,e.parent=e._dp=t,e}function R(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function E(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0}function F(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function B(t){return t._repeat?me(t._tTime,t=t.duration()+t._rDelay)*t:0}function I(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function L(t){return t._end=x(t._start+(t._tDur/Math.abs(t._ts||t._rts||Vt)||0))}function Y(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=x(r._time-(0Vt)&&e.render(r,!0)),F(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur(n=Math.abs(n))&&(s=i,o=n);return s}function nt(t){return E(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&Me(t,"onInterrupt"),t}function st(t,e,r){return(6*(t+=t<0?1:1>16,t>>8&Oe,t&Oe]:0:ke.black;if(!c){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ke[t])c=ke[t];else if("#"===t.charAt(0)){if(t.length<6&&(t="#"+(i=t.charAt(1))+i+(n=t.charAt(2))+n+(a=t.charAt(3))+a+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(c=parseInt(t.substr(1,6),16))>>16,c>>8&Oe,c&Oe,parseInt(t.substr(7),16)/255];c=[(t=parseInt(t.substr(1),16))>>16,t>>8&Oe,t&Oe]}else if("hsl"===t.substr(0,3))if(c=_=t.match(Kt),e){if(~t.indexOf("="))return c=t.match(te),r&&c.length<4&&(c[3]=1),c}else o=+c[0]%360/360,u=c[1]/100,i=2*(h=c[2]/100)-(n=h<=.5?h*(u+1):h+u-h*u),3=qt?h.endTime(!1):e._dur;return i(r)&&(isNaN(r)||r in u)?(a=r.charAt(0),o="%"===r.substr(-1),s=r.indexOf("="),"<"===a||">"===a?(0<=s&&(r=r.replace(/=/,"")),("<"===a?h._start:h.endTime(0<=h._repeat))+(parseFloat(r.substr(1))||0)*(o?(s<0?h:n).totalDuration()/100:1)):s<0?(r in u||(u[r]=f),u[r]):(a=parseFloat(r.charAt(s-1)+r.substr(s+1)),o&&n&&(a=a/100*(Jt(n)?n[0]:n).totalDuration()),1=r&&te)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0=this.totalDuration()||!v&&d)&&(l!==this._start&&Math.abs(f)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0=i&&(s instanceof Je?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},o.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},o.remove=function(t){return i(t)?this.removeLabel(t):n(t)?this.killTweensOf(t):(R(this,t),t===this._recent&&(this._recent=this._last),F(this))},o.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=x(De.time-(0e:!e||a.isActive())&&i.push(a):(r=a.getTweensOf(n,e)).length&&i.push.apply(i,r),a=a._next;return i},o.tweenTo=function(t,e){e=e||{};var r,i=this,n=ye(i,t),s=e.startAt,a=e.onStart,o=e.onStartParams,u=e.immediateRender,h=Je.to(i,C({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale())||Vt,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale());h._dur!==t&&V(h,t,0,1).render(h._time,!0,!0),r=1}a&&a.apply(h,o||[])}},e));return u?h.render(0):h},o.tweenFromTo=function(t,e,r){return this.tweenTo(e,C({startAt:{time:ye(this,t)}},r))},o.recent=function(){return this._recent},o.nextLabel=function(t){return void 0===t&&(t=this._time),it(this,ye(this,t))},o.previousLabel=function(t){return void 0===t&&(t=this._time),it(this,ye(this,t),1)},o.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Vt)},o.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,s=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return F(this)},o.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},o.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),F(this)},o.totalDuration=function(t){var e,r,i,n=0,s=this,a=s._last,o=qt;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(i=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),o<(r=a._start)&&s._sort&&a._ts&&!s._lock?(s._lock=1,X(s,a,r-a._delay,1)._lock=0):o=r,r<0&&a._ts&&(n-=r,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-1/0),o=0),a._end>n&&a._ts&&(n=a._end),a=e;V(s,s===mt&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},a.updateRoot=function(t){if(mt._ts&&(O(mt,I(t,mt)),wt=De.frame),De.frame>=pe){pe+=Xt.autoSleep||120;var e=mt._first;if((!e||!e._ts)&&Xt.autoSleep&&De._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||De.sleep()}}},a}(Ue);function qe(t,e,r,s,a,u){var h,f,l,p;if(fe[t]&&!1!==(h=new fe[t]).init(a,h.rawVars?e[t]:function(t,e,r,s,a){if(n(t)&&(t=He(t,a,e,r,s)),!o(t)||t.style&&t.nodeType||Jt(t)||$t(t))return i(t)?He(t,a,e,r,s):t;var u,h={};for(u in t)h[u]=He(t[u],a,e,r,s);return h}(e[t],s,a,u,r),r,s,u)&&(r._pt=f=new pr(r._pt,a,t,0,1,h.render,h,0,h.priority),r!==bt))for(l=r._ptLookup[r._targets.indexOf(a)],p=h._props.length;p--;)l[h._props[p]]=f;return h}function Ve(t,e,r,i){var n,s,a=e.ease||i||"power1.inOut";if(Jt(e))s=r[t]||(r[t]=[]),e.forEach((function(t,r){return s.push({t:r/(e.length-1)*100,v:t,e:a})}));else for(n in e)s=r[n]||(r[n]=[]),"ease"===n||s.push({t:parseFloat(t),v:e[n],e:a})}C(Ne.prototype,{_lock:0,_hasPause:0,_forcing:0});var je,Qe,Ge=function(t,e,r,s,a,o,u,h,f){n(s)&&(s=s(a||0,t,o));var l,_=t[e],c="get"!==r?r:n(_)?f?t[e.indexOf("set")||!n(t["get"+e.substr(3)])?e:"get"+e.substr(3)](f):t[e]():_,d=n(_)?f?ir:rr:er;if(i(s)&&(~s.indexOf("random(")&&(s=rt(s)),"="===s.charAt(1)&&(!(l=w(c,s)+(W(c)||0))&&0!==l||(s=l))),c!==s||Qe)return isNaN(c*s)||""===s?(_||e in t||p(e,s),function(t,e,r,i,n,s,a){var o,u,h,f,l,p,_,c,d=new pr(this._pt,t,e,0,1,or,null,n),m=0,g=0;for(d.b=r,d.e=i,r+="",(_=~(i+="").indexOf("random("))&&(i=rt(i)),s&&(s(c=[r,i],t,e),r=c[0],i=c[1]),u=r.match(re)||[];o=re.exec(i);)f=o[0],l=i.substring(m,o.index),h?h=(h+1)%5:"rgba("===l.substr(-5)&&(h=1),f!==u[g++]&&(p=parseFloat(u[g-1])||0,d._pt={_next:d._pt,p:l||1===g?l:",",s:p,c:"="===f.charAt(1)?w(p,f)-p:parseFloat(f)-p,m:h&&h<4?Math.round:0},m=re.lastIndex);return d.c=m")}));else{for(g in c={},D)"ease"===g||"easeEach"===g||Ve(g,D[g],c,D.easeEach);for(g in c)for(I=c[g].sort((function(t,e){return t.t-e.t})),p=U=0;p=t._tDur||e<0)&&t.ratio===u&&(u&&E(t,1),r||(Me(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},a.targets=function(){return this._targets},a.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},a.resetTo=function(t,e,r,i){Mt||De.wake(),this._ts||this.play();var n=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||We(this,n),function(t,e,r,i,n,s,a){var o,u,h,f=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!f)for(f=t._ptCache[e]=[],u=t._ptLookup,h=t._targets.length;h--;){if((o=u[h][e])&&o.d&&o.d._pt)for(o=o.d._pt;o&&o.p!==e;)o=o._next;if(!o)return Qe=1,t.vars[e]="+=0",We(t,a),Qe=0,1;f.push(o)}for(h=f.length;h--;)(o=f[h]).s=!i&&0!==i||n?o.s+(i||0)+s*o.c:i,o.c=r-o.s,o.e&&(o.e=T(r)+W(o.e)),o.b&&(o.b=o.s+W(o.b))}(this,t,e,r,i,this._ease(n/this._dur),n)?this.resetTo(t,e,r,i):(Y(this,0),this.parent||z(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},a.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?nt(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,je&&!0!==je.vars.overwrite)._first||nt(this),this.parent&&r!==this.timeline.totalDuration()&&V(this,this._dur*this.timeline._tDur/r,0,1),this}var n,s,a,o,u,h,f,l=this._targets,p=t?we(t):l,_=this._ptLookup,c=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(l,p))return"all"===e&&(this._pt=0),nt(this);for(n=this._op=this._op||[],"all"!==e&&(i(e)&&(u={},y(e,(function(t){return u[t]=1})),e=u),e=function(t,e){var r,i,n,s,a=t[0]?g(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(i in r=de({},e),o)if(i in r)for(n=(s=o[i].split(",")).length;n--;)r[s[n]]=r[i];return r}(l,e)),f=l.length;f--;)if(~p.indexOf(l[f]))for(u in s=_[f],"all"===e?(n[f]=e,o=s,a={}):(a=n[f]=n[f]||{},o=e),o)(h=s&&s[u])&&("kill"in h.d&&!0!==h.d.kill(u)||R(this,h,"_pt"),delete s[u]),"all"!==a&&(a[u]=1);return this._initted&&!this._pt&&c&&nt(this),this},n.to=function(t,e,r){return new n(t,e,r)},n.from=function(t,e){return Q(1,arguments)},n.delayedCall=function(t,e,r,i){return new n(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},n.fromTo=function(t,e,r){return Q(2,arguments)},n.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new n(t,e)},n.killTweensOf=function(t,e,r){return mt.killTweensOf(t,e,r)},n}(Ue);function Ke(t,e,r){return t.setAttribute(e,r)}function tr(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}C(Je.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),y("staggerTo,staggerFrom,staggerFromTo",(function(t){Je[t]=function(){var e=new Ne,r=xe.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var er=function(t,e,r){return t[e]=r},rr=function(t,e,r){return t[e](r)},ir=function(t,e,r,i){return t[e](i.fp,r)},nr=function(t,e){return n(t[e])?rr:a(t[e])&&t.setAttribute?Ke:er},sr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},ar=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},or=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ur=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},hr=function(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n},fr=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?R(this,i,"_pt"):i.dep||(e=1),i=r;return!e},lr=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},pr=(_r.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=tr,this.m=t,this.mt=r,this.tween=e},_r);function _r(t,e,r,i,n,s,a,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||sr,this.d=a||this,this.set=o||er,this.pr=u||0,(this._next=t)&&(t._prev=this)}y(ce+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return oe[t]=1})),ae.TweenMax=ae.TweenLite=Je,ae.TimelineLite=ae.TimelineMax=Ne,mt=new Ne({sortChildren:!1,defaults:Nt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Xt.stringFilter=ht;var cr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r - + + - +