Alice Tech

Light Logo<![CDATA[!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):((t="undefined"!=typeof globalThis?globalThis:t||self).__SVGATOR_PLAYER__=t.__SVGATOR_PLAYER__||{},t.__SVGATOR_PLAYER__["91c80d77"]=e())}(this,(function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:6;if(Number.isInteger(t))return t;var n=Math.pow(10,e);return Math.round((+t+Number.EPSILON)*n)/n}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;return Math.abs(t-e)0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return t1||n1?null:p(t,e)&&p(n,r)?b:function(i){if(i0?i*e/t:0===e&&n>0?i*r/n:0;if(i>=1)return n<1?1+(i-1)*(r-1)/(n-1):1===n&&t<1?1+(i-1)*(e-1)/(t-1):1;for(var o,u=0,a=1;u<a;){var l=w(t,n,o=(u+a)/2);if(p(i,l))break;l0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(1===t){if(0===e)return A;if(1===e)return x}var n=1/t;return function(t){return t>=1?1:(t+=e*n)-t%n}}var O=Math.sin,S=Math.cos,E=Math.acos,P=Math.asin,j=Math.tan,M=Math.atan2,B=Math.PI/180,T=180/Math.PI,I=Math.sqrt,R=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;r(this,t),this.m=[e,n,i,o,u,a],this.i=null,this.w=null,this.s=null}return o(t,[{key:"determinant",get:function(){var t=this.m;return t[0]*t[3]-t[1]*t[2]}},{key:"isIdentity",get:function(){if(null===this.i){var t=this.m;this.i=1===t[0]&&0===t[1]&&0===t[2]&&1===t[3]&&0===t[4]&&0===t[5]}return this.i}},{key:"point",value:function(t,e){var n=this.m;return{x:n[0]*t+n[2]*e+n[4],y:n[1]*t+n[3]*e+n[5]}}},{key:"translateSelf",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!t&&!e)return this;var n=this.m;return n[4]+=n[0]*t+n[2]*e,n[5]+=n[1]*t+n[3]*e,this.w=this.s=this.i=null,this}},{key:"rotateSelf",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(t%=360){var e=O(t*=B),n=S(t),r=this.m,i=r[0],o=r[1];r[0]=i*n+r[2]*e,r[1]=o*n+r[3]*e,r[2]=r[2]*n-i*e,r[3]=r[3]*n-o*e,this.w=this.s=this.i=null}return this}},{key:"scaleSelf",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(1!==t||1!==e){var n=this.m;n[0]*=t,n[1]*=t,n[2]*=e,n[3]*=e,this.w=this.s=this.i=null}return this}},{key:"skewSelf",value:function(t,e){if(e%=360,(t%=360)||e){var n=this.m,r=n[0],i=n[1],o=n[2],u=n[3];t&&(t=j(t*B),n[2]+=r*t,n[3]+=i*t),e&&(e=j(e*B),n[0]+=o*e,n[1]+=u*e),this.w=this.s=this.i=null}return this}},{key:"resetSelf",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,u=this.m;return u[0]=t,u[1]=e,u[2]=n,u[3]=r,u[4]=i,u[5]=o,this.w=this.s=this.i=null,this}},{key:"recomposeSelf",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;return this.isIdentity||this.resetSelf(),t&&(t.x||t.y)&&this.translateSelf(t.x,t.y),e&&this.rotateSelf(e),n&&(n.x&&this.skewSelf(n.x,0),n.y&&this.skewSelf(0,n.y)),!r||1===r.x&&1===r.y||this.scaleSelf(r.x,r.y),i&&(i.x||i.y)&&this.translateSelf(i.x,i.y),this}},{key:"decompose",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.m,r=n[0]*n[0]+n[1]*n[1],i=[[n[0],n[1]],[n[2],n[3]]],o=I(r);if(0===o)return{origin:{x:g(n[4]),y:g(n[5])},translate:{x:g(t),y:g(e)},scale:{x:0,y:0},skew:{x:0,y:0},rotate:0};i[0][0]/=o,i[0][1]/=o;var u=n[0]*n[3]-n[1]*n[2]<0;u&&(o=-o);var a=i[0][0]*i[1][0]+i[0][1]*i[1][1];i[1][0]-=i[0][0]*a,i[1][1]-=i[0][1]*a;var l=I(i[1][0]*i[1][0]+i[1][1]*i[1][1]);if(0===l)return{origin:{x:g(n[4]),y:g(n[5])},translate:{x:g(t),y:g(e)},scale:{x:g(o),y:0},skew:{x:0,y:0},rotate:0};i[1][0]/=l,i[1][1]/=l,a/=l;var s=0;return i[1][1]<0?(s=E(i[1][1])*T,i[0][1]0&&void 0!==arguments[0]?arguments[0]:" ";if(null===this.s){var e=this.m.map((function(t){return g(t)}));1===e[0]&&0===e[1]&&0===e[2]&&1===e[3]?this.s="translate("+e[4]+t+e[5]+")":this.s="matrix("+e.join(t)+")"}return this.s}}],[{key:"create",value:function(t){return t?Array.isArray(t)?f(this,v(t)):t instanceof this?t.clone():(new this).recomposeSelf(t.origin,t.rotate,t.skew,t.scale,t.translate):new this}}]),t}();function N(t,e,n){return t>=.5?n:e}function F(t,e,n){return 0===t||e===n?e:t*(n-e)+e}function C(t,e,n){var r=F(t,e,n);return r<=0?0:r}function L(t,e,n){var r=F(t,e,n);return r=1?1:r}function D(t,e,n){return 0===t?e:1===t?n:{x:F(t,e.x,n.x),y:F(t,e.y,n.y)}}function V(t,e,n){return 0===t?e:1===t?n:{x:C(t,e.x,n.x),y:C(t,e.y,n.y)}}function q(t,e,n){var r=function(t,e,n){return Math.round(F(t,e,n))}(t,e,n);return r=255?255:r}function z(t,e,n){return 0===t?e:1===t?n:{r:q(t,e.r,n.r),g:q(t,e.g,n.g),b:q(t,e.b,n.b),a:F(t,null==e.a?1:e.a,null==n.a?1:n.a)}}function Y(t,e,n){var r=e.length;if(r!==n.length)return N(t,e,n);for(var i=new Array(r),o=0;o<r;o++)i[o]=F(t,e[o],n[o]);return i}function G(t,e){for(var n=[],r=0;r<t;r++)n.push(e);return n}function U(t,e){if(--e<=0)return t;var n=(t=Object.assign([],t)).length;do{for(var r=0;r0);return t}var $,W=function(){function t(e){r(this,t),this.list=e,this.length=e.length}return o(t,[{key:"setAttribute",value:function(t,e){for(var n=this.list,r=0;r<this.length;r++)n[r].setAttribute(t,e)}},{key:"removeAttribute",value:function(t){for(var e=this.list,n=0;n<this.length;n++)e[n].removeAttribute(t)}},{key:"style",value:function(t,e){for(var n=this.list,r=0;r1&&void 0!==arguments[1]?arguments[1]:b;if(!Array.isArray(t))return e;switch(t.length){case 1:return _(t[0])||e;case 2:return _(t[0],t[1])||e;case 4:return k(t[0],t[1],t[2],t[3])||e}return e}(t,null):function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;switch(t){case"linear":return b;case"steps":return _(e.steps||1,e.jump||0)||n;case"bezier":case"cubic-bezier":return k(e.x1||0,e.y1||0,e.x2||0,e.y2||0)||n}return n}(t.type,t.value,null):null}function K(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.length-1;if(t=e[i].t)return r?[i,1,e[i].v]:e[i].v;var o,u=e[0],a=null;for(o=1;oe[o].t)){a=e[o];break}u=e[o]}return null==a?r?[i,1,e[i].v]:e[i].v:u.t===a.t?r?[o,1,a.v]:a.v:(t=(t-u.t)/(a.t-u.t),u.e&&(t=u.e(t)),r?[o,t,n(t,u.v,a.v)]:n(t,u.v,a.v))}function Z(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t&&t.length?"function"!=typeof e?null:("function"!=typeof n&&(n=null),function(r){var i=K(r,t,e);return null!=i&&n&&(i=n(i)),i}):null}function tt(t,e){return t.t-e.t}function et(t,e,r,i,o){var u,a="@"===r[0],l="#"===r[0],s=$[r],f=N;switch(a?(u=r.substr(1),r=u.replace(H,Q)):l&&(r=r.substr(1)),n(s)){case"function":if(f=s(i,o,K,J,r,a,e,t),l)return f;break;case"string":f=Z(i,X(s));break;case"object":if((f=Z(i,X(s.i),s.f))&&"function"==typeof s.u)return s.u(e,f,r,a,t)}return f?function(t,e,n){if(arguments.length>3&&void 0!==arguments[3]&&arguments[3])return t instanceof W?function(r){return t.style(e,n(r))}:function(r){return t.style[e]=n(r)};if(Array.isArray(e)){var r=e.length;return function(i){var o=n(i);if(null==o)for(var u=0;u<r;u++)t[u].removeAttribute(e);else for(var a=0;a<r;a++)t[a].setAttribute(e,o)}}return function(r){var i=n(r);null==i?t.removeAttribute(e):t.setAttribute(e,i)}}(e,r,f,a):null}function nt(t,e,r,i){if(!i||"object"!==n(i))return null;var o=null,u=null;return Array.isArray(i)?u=function(t){if(!t||!t.length)return null;for(var e=0;e<t.length;e++)t[e].e&&(t[e].e=J(t[e].e));return t.sort(tt)}(i):(u=i.keys,o=i.data||null),u?et(t,e,r,u,o):null}function rt(t,e,n){if(!n)return null;var r=[];for(var i in n)if(n.hasOwnProperty(i)){var o=nt(t,e,i,n[i]);o&&r.push(o)}return r.length?r:null}function it(t,e){if(!e.duration||e.duration<0)return null;var n=function(t,e){if(!e)return null;var n=[];if(Array.isArray(e))for(var r=e.length,i=0;i<r;i++){var o=e[i];if(2===o.length){var u=null;if("string"==typeof o[0])u=t.getElementById(o[0]);else if(Array.isArray(o[0])){u=[];for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,u=t.length,a=r>0?e:0;i&&n%2==0&&(a=e-a);var l=null;return function(s,f){var c=s%e,h=1+(s-c)/e;f*=r,i&&h%2==0&&(f=-f);var v=!1;if(h>n)c=a,v=!0,-1===o&&(c=r>0?0:e);else if(f<0&&(c=e-c),c===l)return!1;l=c;for(var y=0;yt.length?t:t.substring(0,e)+ut(t.substring(e+1),n,n)}function at(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:27;return!t||t%e?t%e:at(t/e,e)}function lt(t,e,n){if(t&&t.length){var r=ot(n),i=ot(e),o=at(r)+5,u=ut(t,at(r,5),o);return u=u.replace(/\x7c$/g,"==").replace(/\x2f$/g,"="),u=function(t,e,n){var r=+("0x"+t.substring(0,4));t=t.substring(4);for(var i=e%r+n%27,o=[],u=0;u2&&void 0!==arguments[2]?arguments[2]:{};r(this,t),this._id=0,this._running=!1,this._rollingBack=!1,this._animations=e,this.duration=n.duration,this.alternate=n.alternate,this.fill=n.fill,this.iterations=n.iterations,this.direction=i.direction||1,this.speed=i.speed||1,this.fps=i.fps||100,this.offset=i.offset||0,this.rollbackStartOffset=0}return o(t,[{key:"maxFiniteDuration",get:function(){return this.iterations>0?this.iterations*this.duration:this.duration}},{key:"_apply",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this._animations,r=n.length,i=0,o=0;ot.duration&&e!==1/0){var l=!!t.alternate&&a/t.duration%2>1,s=a%t.duration;a=(s+=l?t.duration:0)||t.duration}var f=t.fps?1e3/t.fps:0,c=Math.max(0,a);c0&&-1===t.fill&&a>=t.maxFiniteDuration;(a<=0||t.offset0&&void 0!==arguments[0]?arguments[0]:0,n=-1/0,r=null,i={};this._running=!0;var o=function o(u){null==r&&(r=u);var a=Math.round((u-r+e)*t.speed),l=t.fps?1e3/t.fps:0;if(a>n+l&&!t._rollingBack&&(t.offset=a,n=a,t._apply(a,i)===t._animations.length))return void t.pause(!0);t._id=window.requestAnimationFrame(o)};this._id=window.requestAnimationFrame(o)}},{key:"_pause",value:function(){this._id&&window.cancelAnimationFrame(this._id),this._running=!1}},{key:"play",value:function(){if(!this._running)return this._rollingBack?this._rollback():this._start(this.offset)}},{key:"stop",value:function(){this._pause(),this.offset=0,this.rollbackStartOffset=0,this._rollingBack=!1,this._apply(0)}},{key:"reachedToEnd",value:function(){return this.iterations>0&&this.offset>=this.iterations*this.duration}},{key:"restart",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.stop(t),this.play(t)}},{key:"pause",value:function(){this._pause()}},{key:"reverse",value:function(){this.direction=-this.direction}}],[{key:"build",value:function(t,n){return delete t.animationSettings,t.options=lt(t.options,t.root,"91c80d77"),t.animations.map((function(n){var r=lt(n.s,t.root,"91c80d77");for(var i in delete n.s,t.animationSettings||(t.animationSettings=e({},r)),r)r.hasOwnProperty(i)&&(n[i]=r[i])})),(t=function(t,e){if($=e,!t||!t.root||!Array.isArray(t.animations))return null;for(var n=document.getElementsByTagName("svg"),r=!1,i=0;i<n.length;i++)if(n[i].id===t.root&&!n[i].svgatorAnimation){(r=n[i]).svgatorAnimation=!0;break}if(!r)return null;var o=t.animations.map((function(t){return it(r,t)})).filter((function(t){return!!t}));return o.length?{element:r,animations:o,animationSettings:t.animationSettings,options:t.options||void 0}:null}(t,n))?{el:t.element,options:t.options||{},player:new this(t.animations,t.animationSettings,t.options)}:null}},{key:"push",value:function(t){return this.build(t)}},{key:"init",value:function(){var t=this,e=window.__SVGATOR_PLAYER__&&window.__SVGATOR_PLAYER__["91c80d77"];Array.isArray(e)&&e.splice(0).forEach((function(e){return t.build(e)}))}}]),t}();!function(){for(var t=0,e=["ms","moz","webkit","o"],n=0;n=this.thresholdPercent,n=t>=this.thresholdPercent;if(null===this.currentVisibility||e!==n)return this.currentVisibility=t,void this.onThresholdChange(n);this.currentVisibility=t}},{key:"destruct",value:function(){this._handlers.forEach((function(t){t.element.removeEventListener(t.event,t.handler)}))}}]),t}();function ht(t){return g(t)+""}function vt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return t&&t.length?t.map(ht).join(e):""}function yt(t){return ht(t.x)+","+ht(t.y)}function dt(t){if(!t)return"transparent";if(null==t.a||t.a>=1){var e=function(t){return 1===(t=parseInt(t).toString(16)).length?"0"+t:t},n=function(t){return t.charAt(0)===t.charAt(1)},r=e(t.r),i=e(t.g),o=e(t.b);return n(r)&&n(i)&&n(o)&&(r=r.charAt(0),i=i.charAt(0),o=o.charAt(0)),"#"+r+i+o}return"rgba("+t.r+","+t.g+","+t.b+","+t.a+")"}function gt(t){return t?"url(#"+t+")":"none"}var pt={f:null,i:V,u:function(t,e){return function(n){var r=e(n);t.setAttribute("rx",ht(r.x)),t.setAttribute("ry",ht(r.y))}}},mt={f:null,i:function(t,e,n){return 0===t?e:1===t?n:{width:C(t,e.width,n.width),height:C(t,e.height,n.height)}},u:function(t,e){return function(n){var r=e(n);t.setAttribute("width",ht(r.width)),t.setAttribute("height",ht(r.height))}}};Object.freeze({M:2,L:2,Z:0,H:1,V:1,C:6,Q:4,T:2,S:4,A:7});var bt={},wt=null;function kt(t){var e=function(){if(wt)return wt;if("object"!==("undefined"==typeof document?"undefined":n(document))||!document.createElementNS)return{};var t=document.createElementNS("http://www.w3.org/2000/svg","svg");return t&&t.style?(t.style.position="absolute",t.style.opacity="0.01",t.style.zIndex="-9999",t.style.left="-9999px",t.style.width="1px",t.style.height="1px",wt={svg:t}):{}}().svg;if(!e)return function(t){return null};var r=document.createElementNS(e.namespaceURI,"path");r.setAttributeNS(null,"d",t),r.setAttributeNS(null,"fill","none"),r.setAttributeNS(null,"stroke","none"),e.appendChild(r);var i=r.getTotalLength();return function(t){var e=r.getPointAtLength(i*t);return{x:e.x,y:e.y}}}function xt(t){return bt[t]?bt[t]:bt[t]=kt(t)}function At(t,e,n,r){if(!t||!r)return!1;var i=["M",t.x,t.y];if(e&&n&&(i.push("C"),i.push(e.x),i.push(e.y),i.push(n.x),i.push(n.y)),e?!n:n){var o=e||n;i.push("Q"),i.push(o.x),i.push(o.y)}return e||n||i.push("L"),i.push(r.x),i.push(r.y),i.join(" ")}function _t(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=At(t,e,n,r),u=xt(o);try{return u(i)}catch(t){return null}}function Ot(t,e,n){return t+(e-t)*n}function St(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i={x:Ot(t.x,e.x,n),y:Ot(t.y,e.y,n)};return r&&(i.a=Et(t,e)),i}function Et(t,e){return Math.atan2(e.y-t.y,e.x-t.x)}function Pt(t,e,n,r){var i=1-r;return i*i*t+2*i*r*e+r*r*n}function jt(t,e,n,r){return 2*(1-r)*(e-t)+2*r*(n-e)}function Mt(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=_t(t,e,null,n,r);return o||(o={x:Pt(t.x,e.x,n.x,r),y:Pt(t.y,e.y,n.y,r)}),i&&(o.a=Bt(t,e,n,r)),o}function Bt(t,e,n,r){return Math.atan2(jt(t.y,e.y,n.y,r),jt(t.x,e.x,n.x,r))}function Tt(t,e,n,r,i){var o=i*i;return i*o*(r-t+3*(e-n))+3*o*(t+n-2*e)+3*i*(e-t)+t}function It(t,e,n,r,i){var o=1-i;return 3*(o*o*(e-t)+2*o*i*(n-e)+i*i*(r-n))}function Rt(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=_t(t,e,n,r,i);return u||(u={x:Tt(t.x,e.x,n.x,r.x,i),y:Tt(t.y,e.y,n.y,r.y,i)}),o&&(u.a=Nt(t,e,n,r,i)),u}function Nt(t,e,n,r,i){return Math.atan2(It(t.y,e.y,n.y,r.y,i),It(t.x,e.x,n.x,r.x,i))}function Ft(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Lt(e)){if(Dt(n))return Mt(e,n.start,n,t,r)}else if(Lt(n)){if(e.end)return Mt(e,e.end,n,t,r)}else{if(e.end)return n.start?Rt(e,e.end,n.start,n,t,r):Mt(e,e.end,n,t,r);if(n.start)return Mt(e,n.start,n,t,r)}return St(e,n,t,r)}function Ct(t,e,n){var r=Ft(t,e,n,!0);return r.a=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t+Math.PI:t}(r.a)/m,r}function Lt(t){return!t.type||"corner"===t.type}function Dt(t){return null!=t.start&&!Lt(t)}var Vt=new R;var qt={f:function(t){return t?t.join(" "):""},i:function(t,e,r){if(0===t)return e;if(1===t)return r;var i=e.length;if(i!==r.length)return N(t,e,r);for(var o,u=new Array(i),a=0;a1&&void 0!==arguments[1]?arguments[1]:" ";return t&&t.length>0&&(t=t.map((function(t){return g(t,4)}))),vt(t,e)},i:function(t,e,n){var r,i,o,u=e.length,a=n.length;if(u!==a)if(0===u)e=G(u=a,0);else if(0===a)a=u,n=G(u,0);else{var l=(o=(r=u)*(i=a)/function(t,e){for(var n;e;)n=e,e=t%e,t=n;return t||1}(r,i))<0?-o:o;e=U(e,Math.floor(l/u)),n=U(n,Math.floor(l/a)),u=a=l}for(var s=[],f=0;f<u;f++)s.push(g(C(t,e[f],n[f])));return s}};function $t(t,e,n){return t.map((function(t){return function(t,e,n){var r=t.v;if(!r||"g"!==r.t||r.s||!r.v||!r.r)return t;var i=n.getElementById(r.r),o=i&&i.querySelectorAll("stop")||[];return r.s=r.v.map((function(t,e){var n=o[e]&&o[e].getAttribute("offset");return{c:t,o:n=g(parseInt(n)/100)}})),delete r.v,t}(t,0,n)}))}var Wt={gt:"gradientTransform",c:{x:"cx",y:"cy"},rd:"r",f:{x:"x1",y:"y1"},to:{x:"x2",y:"y2"}};function Ht(t,e,r,i,o,u,a,l){return $t(t,0,l),e=function(t,e,n){for(var r,i,o,u=t.length-1,a={},l=0;l<=u;l++)(r=t[l]).e&&(r.e=e(r.e)),r.v&&"g"===(i=r.v).t&&i.r&&(o=n.getElementById(i.r))&&(a[i.r]={e:o,s:o.querySelectorAll("stop")});return a}(t,i,l),function(i){var o=r(i,t,Qt);if(!o)return"none";if("c"===o.t)return dt(o.v);if("g"===o.t){if(!e[o.r])return gt(o.r);var u=e[o.r];return function(t,e){for(var n=t.s,r=n.length;r<e.length;r++){var i=n[n.length-1].cloneNode();i.id=Kt(i.id),t.e.appendChild(i),n=t.s=t.e.querySelectorAll("stop")}for(var o=0,u=n.length,a=e.length-1;o<u;o++)n[o].setAttribute("stop-color",dt(e[Math.min(o,a)].c)),n[o].setAttribute("offset",e[Math.min(o,a)].o)}(u,o.s),Object.keys(Wt).forEach((function(t){if(void 0!==o[t])if("object"!==n(Wt[t])){var e,r="gt"===t?(e=o[t],Array.isArray(e)?"matrix("+e.join(" ")+")":""):o[t],i=Wt[t];u.e.setAttribute(i,r)}else Object.keys(Wt[t]).forEach((function(e){if(void 0!==o[t][e]){var n=o[t][e],r=Wt[t][e];u.e.setAttribute(r,n)}}))})),gt(o.r)}return"none"}}function Qt(t,n,r){if(0===t)return n;if(1===t)return r;if(n&&r){var i=n.t;if(i===r.t)switch(n.t){case"c":return{t:i,v:z(t,n.v,r.v)};case"g":if(n.r===r.r){var o={t:i,s:Xt(t,n.s,r.s),r:n.r};return n.gt&&r.gt&&(o.gt=Y(t,n.gt,r.gt)),n.c?(o.c=D(t,n.c,r.c),o.rd=C(t,n.rd,r.rd)):n.f&&(o.f=D(t,n.f,r.f),o.to=D(t,n.to,r.to)),o}}if("c"===n.t&&"g"===r.t||"c"===r.t&&"g"===n.t){var u="c"===n.t?n:r,a="g"===n.t?e({},n):e({},r),l=a.s.map((function(t){return{c:u.v,o:t.o}}));return a.s="c"===n.t?Xt(t,l,a.s):Xt(t,a.s,l),a}}return N(t,n,r)}function Xt(t,e,n){if(e.length===n.length)return e.map((function(e,r){return Jt(t,e,n[r])}));for(var r=Math.max(e.length,n.length),i=[],o=0;o<r;o++){var u=Jt(t,e[Math.min(o,e.length-1)],n[Math.min(o,n.length-1)]);i.push(u)}return i}function Jt(t,e,n){return{o:L(t,e.o,n.o||0),c:z(t,e.c,n.c||{})}}function Kt(t){return t.replace(/-fill-([0-9]+)$/,(function(t,e){return"-fill-"+(+e+1)}))}var Zt={blur:V,brightness:C,contrast:C,"drop-shadow":function(t,e,n){return 0===t?e:1===t?n:{blur:V(t,e.blur,n.blur),offset:D(t,e.offset,n.offset),color:z(t,e.color,n.color)}},grayscale:C,"hue-rotate":F,invert:C,opacity:C,saturate:C,sepia:C};function te(t,e,n){if(0===t)return e;if(1===t)return n;var r=e.length;if(r!==n.length)return N(t,e,n);for(var i,o=[],u=0;u3&&void 0!==arguments[3]?arguments[3]:null;return t[n]?r(i,t[n],o):e&&e[n]?e[n]:u};return e&&e.a&&t.o?function(e){var n=r(e,t.o,Ct);return Vt.recomposeSelf(n,o("r",e,F,0)+n.a,o("k",e,D),o("s",e,D),o("t",e,D)).toString()}:function(t){return Vt.recomposeSelf(o("o",t,Ft,null),o("r",t,F,0),o("k",t,D),o("s",t,D),o("t",t,D)).toString()}},"#filter":function(t,e,n,r,i,o,u,a){if(!e.items||!t||!t.length)return null;var l=function(t,e){var n=(t=t.map((function(t){return t&&ee[t[0]]?(e.getElementById(t[1]),ee[t[0]](e.getElementById(t[1]),t[1],e)):null}))).length;return function(e){for(var r=0;r<n;r++)t[r]&&t[r](e[r].value)}}(e.items,a);return l?(t=function(t,e){return t.map((function(t){return t.e=e(t.e),t}))}(t,r),function(e){l(n(e,t,te))}):null},"#line":zt,points:{f:vt,i:Y},d:qt,r:Yt,"#size":mt,"#radius":pt,_:function(t,e){if(Array.isArray(t))for(var n=0;n3&&void 0!==arguments[3]?arguments[3]:[];return function(){var i,o=Array.prototype.slice.call(arguments);return o.unshift.apply(o,v(r)),(i=t[e]).call.apply(i,[t].concat(v(o))),n}}var le=function t(e){r(this,t);var n={},i=["on","off"],o={get:function(t,e,r){return oe[e]?"function"==typeof oe[e]?oe[e].call(t,t,r):t[oe[e]]:ue[e]?"function"==typeof ue[e]?ue[e].call(t,t,r):ae(t,ue[e],r):-1!==i.indexOf(e)?n[e]:"ready"===e?function(t){return t&&t.call(r,r),r}:void 0},set:function(t,e,r){return-1!==i.indexOf(e)&&(n[e]=r)},ownKeys:function(t){return Object.keys(oe)},has:function(t,e){return void 0!==oe[e]}};if("function"==typeof Proxy)return new Proxy(e,o);var u=Object.keys(oe).concat(Object.keys(ue)).concat(i),a={};return u.forEach((function(t){var n={enumerable:!1,configurable:!1,get:function(){return o.get(e,t,a)}};-1!==i.indexOf(t)&&(n.set=function(n){return o.set(e,t,n)}),Object.defineProperty(a,t,n)})),a};function se(t){t||(t=this);var e={};this.on=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return"function"==typeof n&&(t.split(/[, ]+/g).forEach((function(t){return e[t]=e[t]||[],r?e[t].unshift(n):e[t].push(n)})),!0)},this.off=function(t,n){for(var r in e)if(e.hasOwnProperty(r)&&r.substr(0,t.length)===t)if(n)for(var i=0;i<e[r].length;i++)e[r][i]===n&&(e[r][i]=null);else e[r]=null},this.trigger=function(){var n,r=Array.prototype.slice.call(arguments),i=r[0],o=r.slice(1);t:for(var u in e)if(e.hasOwnProperty(u)&&e[u]&&(u===i||u.substr(0,i.length+1)===i+"."))for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{};return r(this,u),(n=i.call(this,t,e,o))._handlers=[],n}return o(u,[{key:"_adjustOffset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.alternate?2*this.duration:this.duration;if(t){if(!this._rollingBack&&0===this.offset)return void(this.offset=e);this._rollingBack&&(this.offset,this.maxFiniteDuration)}!this._rollingBack||this.rollbackStartOffset0&&void 0!==arguments[0]&&arguments[0];if(!this._running)return this._adjustOffset(t),this._rollingBack=!this._rollingBack,t&&this.play(!1),void this.trigger("reverse",this.offset);this.pause(!1,!1),this._adjustOffset(),this._rollingBack=!this._rollingBack,this.play(!1),this.trigger("reverse",this.offset)}},{key:"play",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,e=h(a(u.prototype),"play",this).call(this);return t===fe&&this.trigger("play",this.offset),e}},{key:"pause",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fe,n=h(a(u.prototype),"pause",this).call(this);return e===fe&&this.trigger(t?"end":"pause",this.offset),n}},{key:"restart",value:function(){var t=h(a(u.prototype),"restart",this).call(this,!1);return this.trigger("restart",this.offset),t}},{key:"stop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,e=h(a(u.prototype),"stop",this).call(this);return t===fe&&this.trigger("stop",this.offset),e}},{key:"_apply",value:function(t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fe,n=h(a(u.prototype),"_apply",this).call(this,t);return e===fe&&this.trigger("keyframe",t),n}},{key:"seekTo",value:function(t){var e,n,r,i=this._running;i&&this.pause(!1,!1),this.offset=(e=t,n=0,r=this.maxFiniteDuration,er?r:e),this._apply(this.offset),i&&this.play(!1)}},{key:"seek",value:function(t){return this.seekTo(Math.round(t/100*this.maxFiniteDuration))}},{key:"seekBy",value:function(t){return this.seekTo(this.offset+t)}},{key:"toggle",value:function(){return this._running?this.pause():this.play()}},{key:"destruct",value:function(){var t=this;this.stop(),this._handlers.forEach((function(t){t.element?t.element.removeEventListener(t.event,t.handler):t.callback&&t.callback.call&&t.callback.call()}));var e=function(){},n=Object.getOwnPropertyNames(Object.getPrototypeOf(this));n.push.apply(n,v(Object.getOwnPropertyNames(this))),n.forEach((function(n){"function"==typeof t[n]?t[n]=e:delete t[n]}))}}],[{key:"build",value:function(t){var e=h(a(u),"build",this).call(this,t,ie);if(!e)return null;var n=e.el,r=e.options,i=e.player,o=new le(i),l=new se(o);o.on=l.on,o.off=l.off,i.trigger=l.trigger;var s=n.svgatorPlayer&&n.svgatorPlayer.ready&&n.svgatorPlayer.ready.call&&n.svgatorPlayer.ready.call();n.svgatorPlayer=o,function(t,e,n){if("click"===n.start){var r=function(){switch(n.click){case"freeze":return!t._running&&t.reachedToEnd()?t.restart():t.toggle();case"restart":return t.offset>0?t.restart():t.play();case"reverse":return t._running?t.reverse():t.reachedToEnd()?1===t.fill?t.reverse(!0):t.restart():t.play();case"none":default:if(t._running)return;return t.reachedToEnd()?t.restart():t.play()}};return t._handlers.push({element:e,event:"click",handler:r}),void e.addEventListener("click",r)}if("hover"===n.start){var i=function(){return t.reachedToEnd()?t.restart():t._rollingBack?t.reverse():t.play()};t._handlers.push({element:e,event:"mouseenter",handler:i}),e.addEventListener("mouseenter",i);var o=function(){switch(n.hover){case"freeze":return t.pause();case"reset":return t.stop();case"reverse":if(t.reverse(),t._running)return;return t.play();case"none":default:return}};return t._handlers.push({element:e,event:"mouseleave",handler:o}),void e.addEventListener("mouseleave",o)}if("scroll"===n.start){var u=new ct(e,n.scroll||25,(function(e){e?t.reachedToEnd()?t.restart():t.play():t.pause()}));return void t._handlers.push({callback:function(){return u.destruct()}})}if("programmatic"===n.start)return;t.play()}(i,n,r),function(t,e,n){var r;"function"==typeof Event?r=new Event("ready"):(r=document.createEvent("Event")).initEvent("ready",!0,!0);if(t.dispatchEvent(r),!n||!n.length)return;n.forEach((function(t){return e.ready(t)}))}(n,n.svgatorPlayer,s)}}]),u}(st);return ce.init(),ce})); (function(s,i,o,w,a,b){(a=document.getElementById(i.root)).svgatorPlayer={ready:(function(a){b=[];return function(c){return c?(b.push(c),a.svgatorPlayer):b}})(a)};w[o]=w[o]||{};w[o][s]=w[o][s]||[];w[o][s].push(i);})('91c80d77',{"root":"eGKDZAJXPck1","animations":[{"elements":{"eGKDZAJXPck4":{"opacity":[{"t":0,"v":0,"e":[0,0,0.58,1]},{"t":1500,"v":1}],"#filter":{"keys":[{"t":0,"v":[{"type":"blur","value":{"x":10,"y":10}}],"e":[0,0,0.58,1]},{"t":4000,"v":[{"type":"blur","value":{"x":0,"y":0}}]}],"data":{"items":[["blur","eGKDZAJXPck4-filter-blur-0"]]}}},"eGKDZAJXPck8":{"transform":{"data":{"o":{"x":0.004974,"y":1.44526,"type":"corner"},"t":{"x":549.995026,"y":203.564004}},"keys":{"s":[{"t":0,"v":{"x":0,"y":1},"e":[0.42,0,1,1]},{"t":4500,"v":{"x":1,"y":1}}]}}},"eGKDZAJXPck9":{"transform":{"data":{"o":{"x":1198.673894,"y":2.80144,"type":"corner"},"t":{"x":-647.200307,"y":200.69856}},"keys":{"s":[{"t":4500,"v":{"x":1,"y":0}},{"t":6500,"v":{"x":1,"y":1}}]}}},"eGKDZAJXPck10":{"transform":{"data":{"t":{"x":-640.259259,"y":-286.5}},"keys":{"o":[{"t":4500,"v":{"x":8.873915,"y":510,"type":"corner"}},{"t":6500,"v":{"x":8.873915,"y":502,"type":"corner"}}],"s":[{"t":4500,"v":{"x":1,"y":0}},{"t":6500,"v":{"x":1,"y":1}},{"t":7000,"v":{"x":1.013683,"y":1}}]}}},"eGKDZAJXPck11":{"transform":{"data":{"o":{"x":1200,"y":511.540141,"type":"corner"},"t":{"x":-643.910538,"y":189.439554}},"keys":{"s":[{"t":0,"v":{"x":0,"y":1},"e":[0.42,0,1,1]},{"t":4500,"v":{"x":1.005005,"y":1}}]}}},"eGKDZAJXPck12":{"transform":{"data":{"o":{"x":600,"y":256.5,"type":"corner"},"t":{"x":-92.279993,"y":-44.14}},"keys":{"s":[{"t":540,"v":{"x":6.89,"y":6.89}},{"t":6440,"v":{"x":6.259129,"y":6.259129}}]}},"opacity":[{"t":0,"v":0},{"t":6500,"v":1}],"#filter":{"keys":[{"t":0,"v":[{"type":"blur","value":{"x":2,"y":2}}],"e":[0.42,0,1,1]},{"t":1600,"v":[{"type":"blur","value":{"x":1,"y":1}}],"e":[0.39,0.575,0.565,1]},{"t":6500,"v":[{"type":"blur","value":{"x":0,"y":0}}]}],"data":{"items":[["blur","eGKDZAJXPck12-filter-blur-0"]]}}}},"s":"MDNA1M2QyNzlPYRmJjY2M5YjhjSYmMwYzZjNTcN5OTE4ZTg3ODKc4NzgzNzliYUmMwYzliY2JhBY2JjMGM2UWMP1Nzk5MTg4ODSM3OWMwY2JiYD2M5YjhjYmMwDYzZCYzVjYUkY3OTkxODg4M0Ok3OWJkQmMwYGzNjMzc5OTE4AODgzNzlOYjhGjM2NiYmNjOWOM1YjhjYmJjNNzk5MWJkYjhjNM2NhU2JjODMB3OUVjYUtjN0AJiY2JjRGJiNUzk5MTg4ZDQ/T"}],"options":"MDRAxMDgyMjk3YFTdiNjg3OTdiBMjk0MTI5NzMU3NjY4NmIyOTTg0"},'__SVGATOR_PLAYER__',window)]]>
Dark Logo
Logo Mark

Hey! Let's talk about your project.

Schedule a call by completing our questionnaire, or if you must send us an email.

Tennessee

613 Ewing Ave Nashville, TN 37203

Texas

14555 Dallas Pkwy Suite 100, Dallas, TX 75254