diff --git a/asset-manifest.json b/asset-manifest.json index 65910b86..26f9c54d 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "https://eyra.github.io/port/static/css/main.e5f05c63.css", - "main.js": "https://eyra.github.io/port/static/js/main.27639b17.js", + "main.js": "https://eyra.github.io/port/static/js/main.9eb38dbd.js", "static/media/Finador-BlackOblique.woff": "https://eyra.github.io/port/static/media/Finador-BlackOblique.8e3feb4617564028ac09.woff", "static/media/Finador-RegularOblique.woff": "https://eyra.github.io/port/static/media/Finador-RegularOblique.66b1b40866f3f75015d6.woff", "static/media/Finador-LightOblique.woff": "https://eyra.github.io/port/static/media/Finador-LightOblique.3e4bf52dd453804f5c5a.woff", @@ -32,7 +32,7 @@ "static/media/Finador-Thin.woff2": "https://eyra.github.io/port/static/media/Finador-Thin.d11fc530809dc729346c.woff2", "static/media/logo.svg": "https://eyra.github.io/port/static/media/logo.f5694ed87add75005981866a3dbb8b5f.svg", "static/media/instagram.svg": "https://eyra.github.io/port/static/media/instagram.011663f0d0bf7a4aea11d8ea60939fa6.svg", - "static/media/py_worker.js": "https://eyra.github.io/port/static/media/py_worker.1d5d6091f36c42ee8392.js", + "static/media/py_worker.js": "https://eyra.github.io/port/static/media/py_worker.80c77f8e737c6c77dc71.js", "static/media/twitter.svg": "https://eyra.github.io/port/static/media/twitter.836115e83dbb6389a4448ed88803c0f0.svg", "index.html": "https://eyra.github.io/port/index.html", "static/media/youtube.svg": "https://eyra.github.io/port/static/media/youtube.2c15ef81d996bab57f5b365b6080750b.svg", @@ -46,10 +46,10 @@ "static/media/check.svg": "https://eyra.github.io/port/static/media/check.62d1e3846cf9f4002c37c986555f222e.svg", "static/media/radio.svg": "https://eyra.github.io/port/static/media/radio.a8976f7cd2094465a9e60270572060bb.svg", "main.e5f05c63.css.map": "https://eyra.github.io/port/static/css/main.e5f05c63.css.map", - "main.27639b17.js.map": "https://eyra.github.io/port/static/js/main.27639b17.js.map" + "main.9eb38dbd.js.map": "https://eyra.github.io/port/static/js/main.9eb38dbd.js.map" }, "entrypoints": [ "static/css/main.e5f05c63.css", - "static/js/main.27639b17.js" + "static/js/main.9eb38dbd.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index dc10dc04..2ca9be19 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)n(e[t].ks.k);else for(a=e[t].ks.k.length,i=0;ir[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var a=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function r(e){var r,n=e.length;for(r=0;r p?f>d?f-p-d:d-p-f:d>p?d-p-f:p-f-d)>-1e-4&&h<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function r(e,t){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,s,o,l,u,c,h,f,p,d=t.lastIndex,m=d,g=this.keyframes.length-1,y=!0;y;){if(a=this.keyframes[m],s=this.keyframes[m+1],m===g-1&&e>=s.t-i){a.h&&(a=s),d=0;break}if(s.t-i>e){d=m;break}m =0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)n(e[t].ks.k);else for(a=e[t].ks.k.length,i=0;ir[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var a=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function r(e){var r,n=e.length;for(r=0;r p?f>d?f-p-d:d-p-f:d>p?d-p-f:p-f-d)>-1e-4&&h<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function r(e,t){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,s,o,l,u,c,h,f,p,d=t.lastIndex,m=d,g=this.keyframes.length-1,y=!0;y;){if(a=this.keyframes[m],s=this.keyframes[m+1],m===g-1&&e>=s.t-i){a.h&&(a=s),d=0;break}if(s.t-i>e){d=m;break}mthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r=1?v=.99:v<=-1&&(v=-.99);var b=o*v,x=Math.cos(y+t.a.v)*b+c[0],_=Math.sin(y+t.a.v)*b+c[1];l.setAttribute("fx",x),l.setAttribute("fy",_),u&&!t.g._collapsable&&(t.of.setAttribute("fx",x),t.of.setAttribute("fy",_))}}function l(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return a;case"gf":return o;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;case"no":return n;default:return null}}}}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function LetterProps(e,t,r,n,i,a){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=i,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,r,n,i=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,s,o).get,u=0,c=this.finalS,h=this.finalE,f=this.data.sh;if(2===f)u=l(u=h===c?n>=h?1:0:e(0,t(.5/(h-c)+(n-c)/(h-c),1)));else if(3===f)u=l(u=h===c?n>=h?0:1:1-e(0,t(.5/(h-c)+(n-c)/(h-c),1)));else if(4===f)h===c?u=0:(u=e(0,t(.5/(h-c)+(n-c)/(h-c),1)))<.5?u*=2:u=1-2*(u-.5),u=l(u);else if(5===f){if(h===c)u=0;else{var p=h-c,d=-p/2+(n=t(e(0,n+.5-c),h-c)),m=p/2;u=Math.sqrt(1-d*d/(m*m))}u=l(u)}else 6===f?(h===c?u=0:(n=t(e(0,n+.5-c),h-c),u=(1+Math.cos(Math.PI+2*Math.PI*n/(h-c)))/2),u=l(u)):(n>=r(c)&&(u=e(0,t(n-c<0?t(h,1)-(c-n):h-n,1))),u=l(u));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;u=c)return this.pv;if(r?i=c+(n=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-c)):((!t||t>u.length-1)&&(t=u.length-1),n=(i=u[t].t)-c),"pingpong"===e){if(Math.floor((c-l)/n)%2===0)return this.getValueAtTime(((c-l)%n+c)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var h=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime((n-(c-l)%n+c)/this.comp.globalData.frameRate,0),d=Math.floor((c-l)/n)+1;if(this.pv.length){for(s=(o=new Array(h.length)).length,a=0;a1?(i+e-a)/(t-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;oa(l,r))ua(c,l)?(e[n]=c,e[u]=r,n=u):(e[n]=l,e[o]=r,n=o);else{if(!(ua(c,r)))break e;e[n]=c,e[u]=r,n=u}}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();t.unstable_now=function(){return o.now()-l}}var u=[],c=[],h=1,f=null,p=3,d=!1,m=!1,g=!1,y="function"===typeof setTimeout?setTimeout:null,v="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=n(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,r(u,t)}t=n(c)}}function _(e){if(g=!1,x(e),!m)if(null!==n(u))m=!0,I(w);else{var t=n(c);null!==t&&R(_,t.startTime-e)}}function w(e,r){m=!1,g&&(g=!1,v(P),P=-1),d=!0;var a=p;try{for(x(r),f=n(u);null!==f&&(!(f.expirationTime>r)||e&&!T());){var s=f.callback;if("function"===typeof s){f.callback=null,p=f.priorityLevel;var o=s(f.expirationTime<=r);r=t.unstable_now(),"function"===typeof o?f.callback=o:f===n(u)&&i(u),x(r)}else i(u);f=n(u)}if(null!==f)var l=!0;else{var h=n(c);null!==h&&R(_,h.startTime-r),l=!1}return l}finally{f=null,p=a,d=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,k=!1,E=null,P=-1,C=5,A=-1;function T(){return!(t.unstable_now()-A=o?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function qn(e,t,r){for(var n=-1,i=t.length,a={};++n-1;)o!==e&&Ke.call(o,l,1),Ke.call(e,l,1);return e}function Yn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==a){var a=i;ba(i)?Ke.call(e,i,1):fi(e,i)}}return e}function Kn(e,t){return e+mt(wr()*(t-e+1))}function Qn(e,t){var r="";if(!e||t<1||t>d)return r;do{t%2&&(r+=e),(t=mt(t/2))&&(e+=e)}while(t);return r}function Xn(e,t){return Ia(Ca(e,t,al),e+"")}function Jn(e){return Xr(Go(e))}function Zn(e,t){var r=Go(e);return La(r,ln(t,0,r.length))}function ei(e,t,r,n){if(!to(e))return e;for(var a=-1,s=(t=xi(t,e)).length,o=s-1,l=e;null!=l&&++aa?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var s=r(a);++i>>1,s=e[a];null!==s&&!uo(s)&&(r?s<=t:sthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r=1?v=.99:v<=-1&&(v=-.99);var b=o*v,x=Math.cos(y+t.a.v)*b+c[0],_=Math.sin(y+t.a.v)*b+c[1];l.setAttribute("fx",x),l.setAttribute("fy",_),u&&!t.g._collapsable&&(t.of.setAttribute("fx",x),t.of.setAttribute("fy",_))}}function l(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return a;case"gf":return o;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;case"no":return n;default:return null}}}}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function LetterProps(e,t,r,n,i,a){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=i,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,r,n,i=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,s,o).get,u=0,c=this.finalS,h=this.finalE,f=this.data.sh;if(2===f)u=l(u=h===c?n>=h?1:0:e(0,t(.5/(h-c)+(n-c)/(h-c),1)));else if(3===f)u=l(u=h===c?n>=h?0:1:1-e(0,t(.5/(h-c)+(n-c)/(h-c),1)));else if(4===f)h===c?u=0:(u=e(0,t(.5/(h-c)+(n-c)/(h-c),1)))<.5?u*=2:u=1-2*(u-.5),u=l(u);else if(5===f){if(h===c)u=0;else{var p=h-c,d=-p/2+(n=t(e(0,n+.5-c),h-c)),m=p/2;u=Math.sqrt(1-d*d/(m*m))}u=l(u)}else 6===f?(h===c?u=0:(n=t(e(0,n+.5-c),h-c),u=(1+Math.cos(Math.PI+2*Math.PI*n/(h-c)))/2),u=l(u)):(n>=r(c)&&(u=e(0,t(n-c<0?t(h,1)-(c-n):h-n,1))),u=l(u));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;u