-?[0-9]*\\.?[0-9]+)","\\s*",",?","\\s*","(?-?[0-9]*\\.?[0-9]+)","\\s*",",?","\\s*","(?-?[0-9]*\\.?[0-9]+)","\\s*",",?","\\s*","(?-?[0-9]*\\.?[0-9]+)","\\s*",",?","\\s*","(?-?[0-9]*\\.?[0-9]+)","\\)"].join(""),n=t.match(new RegExp(e,"i"));if(n)return[u(n.groups.a),u(n.groups.b),u(n.groups.c),u(n.groups.d),u(n.groups.e),u(n.groups.f)]}function d(t,e="inline"){return t&&t!==e?(t=a(t))===e?f(e):t:f(e)}function g(t,e="1px"){if(!t||t===e)return f(e);if(t.endsWith("px")||t.endsWith("%"))return t;const n=c(t=`${u(t)}`);return n===e?f(e):n}function p(t,e="none"){return t&&t!==e?(t=a(t))===e?f(e):t.startsWith("url(#")?t:function(t){const e=["^","\\s*","url\\(","#","(?[a-zA-Z0-9\\-_]+)","\\)"].join(""),n=t.match(new RegExp(e,"i"));if(n)return`url(#${n.groups.maskId})`}(t):f(e)}function y(t,e="rgb(0, 0, 0)"){if(!t||t===e)return f(e);if((t=a(t))===e)return f(e);if(t.startsWith("rgb"))return t;const n=function(t){const e=["^","\\s*","#","(?[0-9A-Z]{1,2})","(?[0-9A-Z]{1,2})","(?[0-9A-Z]{1,2})"].join(""),n=t.match(new RegExp(e,"i"));if(!n)return t;const r=t=>parseInt(t.length>1?t:`${t}${t}`,16);return`rgb(${r(n.groups.red)}, ${r(n.groups.green)}, ${r(n.groups.blue)})`}(t);return n===e?f(e):n}function m(t,e="1"){return t&&t!==e?(t=`${n(u(t),3)}`)===e?f(e):t:f(e)}let b={};const v={fill:"none",stroke:"none",opacity:"0.01",transform:"matrix(0.001 0 0 0.001 -10000 -10000)"};function w({element:t,tagType:e="path",property:n="d",attributeValue:r}){return b[r]||(b[r]=function({element:t,tagType:e="path",property:n="d",attributeValue:r}){const i=t.ownerSVGElement,s=document.createElementNS(i.namespaceURI,e);s.setAttributeNS(null,n,r);for(const t in v)s.setAttributeNS(null,t,v[t]);i.appendChild(s);const o=getComputedStyle(s)[n];return s.remove(),o}({element:t,tagType:e,property:n,attributeValue:r})),b[r]}const x=()=>{b={}};"object"==typeof window&&(window.removeEventListener("resize",x),window.addEventListener("resize",x));const A={include:(t,e)=>["path"].includes(e),formatter:t=>function(t,e=""){return t&&t!==e?(t=a(t))===e?f(e):t.startsWith("path(")?t:`path('${t}')`:f(e)}(t)},_={include:(t,e)=>["rect","mask"].includes(e),formatter:(t,e,n)=>g(t,function(t,e){var n;return(null===(n={mask:{x:"-150%",y:"-150%",width:"400%",height:"400%"}}[e])||void 0===n?void 0:n[t])||(["x","y"].includes(t)?"0px":"100%")}(e,n))},S=Object.freeze({d:A,display:t=>d(t),height:_,fill:t=>y(t),"fill-opacity":t=>m(t),filter:t=>d(t,"none"),mask:t=>p(t),opacity:t=>m(t),stroke:t=>y(t,"none"),"stroke-opacity":t=>m(t),"stroke-width":t=>g(t),transform:t=>function(t,e="none"){if(!t||t===e)return f(e);const n=h(t);return n?`matrix(${n.join(", ")})`:t}(t),"transform-origin":t=>function(t,e="0px 0px"){if(!t||t===e)return f(e);const n=["^","\\s*","(?[0-9]+)","(px)?","\\s*",",","\\s*","(?[0-9]+)","(px)?"].join(""),r=t.match(new RegExp(n,"i"));if(!r)return t;let i=`${u(r.groups.x)}`;i=c(i);let s=`${u(r.groups.y)}`;s=c(s);const o=`${i} ${s}`;return o===e?f(e):o}(t),visibility:t=>d(t,"visible"),width:_,x:_,y:_}),k=Object.keys(S),E=e;function M(t,e,n,i,s=window){var o,u;const l=t.getAttribute(e),a="transform"===e?"none":"",c=s.safari&&!s.chrome&&(null===(o=i.getPropertyValue)||void 0===o?void 0:o.call(i,e))===a||"mask"===n?l:null===(u=i.getPropertyValue)||void 0===u?void 0:u.call(i,e);if(l&&c){if(l===c)return l;switch(e){case"transform":return function(t,e){const n=h(t),i=h(e);if((null==n?void 0:n.length)===(null==i?void 0:i.length)){for(let t=0,e=n.length;t`${r}${t}`))}function B(t){const e=new j(t),n=t.svg,r=e.wIs,i=t.originalAnimations[0].elements,s=e.h;function o(t,e,s){var u;if(e[t])return;const l=n.querySelector("#"+t),a=null==l||null===(u=l.parentElement)||void 0===u?void 0:u.id;if(l&&a){if(r.includes(a))return e[a]||o(a,e,s),e[a].children??=[],e[t]=N(l,i),void e[a].children.push(e[t]);e[t]=N(l,i),s.push(e[t])}}async function u(){const t=function(){let t=[],e={};for(let n=0,i=r.length;nt.toString(16).padStart(2,"0"))).join("")||s}(t)}this.vH=async function(){await u()!==s&&requestAnimationFrame((()=>t.stop()))}}function O(t){let e=0,n=0;const r=new B(t);this.cF=function(i,s){return t.wD?(e++,function(t){return!(t-n<300)&&(t-n>=500||e>=3)}(i)?(e=0,n=i,window.requestAnimationFrame((()=>r.vH())),s()):s()):s()}}function T(t){return t}function F(t,e,n){const r=1-n;return 3*n*r*(t*r+e*n)+n*n*n}function V(t=0,e=0,n=1,i=1){return t<0||t>1||n<0||n>1?null:r(t,e)&&r(n,i)?T:s=>{if(s<=0)return t>0?s*e/t:0===e&&n>0?s*i/n:0;if(s>=1)return n<1?1+(s-1)*(i-1)/(n-1):1===n&&t<1?1+(s-1)*(e-1)/(t-1):1;let o,u=0,l=1;for(;ut>=1?1:(t+=e*n)-t%n}Number.isInteger||(Number.isInteger=function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}),Number.EPSILON||(Number.EPSILON=2220446049250313e-31);const $=Math.sin,D=Math.cos,L=Math.acos,q=Math.asin,z=Math.tan,G=Math.atan2,W=Math.sqrt;function Y(t,e){return{a:t[0]*e[0]+t[2]*e[1],b:t[1]*e[0]+t[3]*e[1],c:t[0]*e[2]+t[2]*e[3],d:t[1]*e[2]+t[3]*e[3],tx:t[0]*e[4]+t[2]*e[5]+t[4],ty:t[1]*e[4]+t[3]*e[5]+t[5]}}function U(t,e,n){return t>=.5?n:e}function H(t,e,n){return 0===t||e===n?e:t*(n-e)+e}function Z(t,e,n){const r=H(t,e,n);return r<=0?0:r}function J(t,e,n){const r=H(t,e,n);return r<=0?0:r>=1?1:r}function Q(t,e,n){return 0===t?e:1===t?n:{x:H(t,e.x,n.x),y:H(t,e.y,n.y)}}function X(t,e,n){return 0===t?e:1===t?n:{x:Z(t,e.x,n.x),y:Z(t,e.y,n.y)}}function K(t,e,n){const r=function(t,e,n){return Math.round(H(t,e,n))}(t,e,n);return r<=0?0:r>=255?255:r}function tt(t,e,n){return 0===t?e:1===t?n:{r:K(t,e.r,n.r),g:K(t,e.g,n.g),b:K(t,e.b,n.b),a:H(t,null==e.a?1:e.a,null==n.a?1:n.a)}}function et(t,e,n){let r=e.length;if(r!==n.length)return U(t,e,n);let i=new Array(r);for(let s=0;s0);return t}class it{constructor(t){this.list=t,this.length=t.length}setAttribute(t,e){const n=this.list;for(let r=0;re.toUpperCase();let ut;function lt(t){return"function"==typeof t?t:U}function at(t){return t?"function"==typeof t?t:Array.isArray(t)?function(t,e=T){if(!Array.isArray(t))return e;switch(t.length){case 1:return P(t[0])||e;case 2:return P(t[0],t[1])||e;case 4:return V(t[0],t[1],t[2],t[3])||e}return e}(t,null):function(t,e,n=T){switch(t){case"linear":return T;case"steps":return P(e.steps||1,e.jump||0)||n;case"bezier":case"cubic-bezier":return V(e.x1||0,e.y1||0,e.x2||0,e.y2||0)||n}return n}(t.type,t.value,null):null}function ct(t,e,n,r=!1){const i=e.length-1;if(t<=e[0].t)return r?[0,0,e[0].v]:e[0].v;if(t>=e[i].t)return r?[i,1,e[i].v]:e[i].v;let s,o=e[0],u=null;for(s=1;s<=i;s++){if(!(t>e[s].t)){u=e[s];break}o=e[s]}return null==u?r?[i,1,e[i].v]:e[i].v:o.t===u.t?r?[s,1,u.v]:u.v:(t=(t-o.t)/(u.t-o.t),o.e&&(t=o.e(t)),r?[s,t,n(t,o.v,u.v)]:n(t,o.v,u.v))}function ft(t,e,n=null){return t&&t.length?"function"!=typeof e?null:("function"!=typeof n&&(n=null),r=>{let i=ct(r,t,e);return null!=i&&n&&(i=n(i)),i}):null}function ht(t,e){return t.t-e.t}function dt(t,e,n,r,i){const s="@"===n[0],o="#"===n[0];let u=ut[n],l=U;var a;switch(s?(a=n.substr(1),n=a.replace(st,ot)):o&&(n=n.substr(1)),typeof u){case"function":if(l=u(r,i,ct,at,n,s,e,t),o)return l;break;case"string":l=ft(r,lt(u));break;case"object":if(l=ft(r,lt(u.i),u.f),l&&"function"==typeof u.u)return u.u(e,l,n,s,t)}return l?function(t,e,n,r=!1){if(r)return t instanceof it?r=>t.style(e,n(r)):r=>t.style[e]=n(r);if(Array.isArray(e)){const r=e.length;return i=>{const s=n(i);if(null==s)for(let n=0;n{const i=n(r);null==i?t.removeAttribute(e):t.setAttribute(e,i)}}(e,n,l,s):null}function gt(t,e,n,r){if(!r||"object"!=typeof r)return null;let i=null,s=null;return Array.isArray(r)?s=function(t){if(!t||!t.length)return null;for(let e=0;e{const u=e.iterations||1/0,l=(e.alternate&&u%2==0)^e.direction>0?n:0;let a=s%n,c=1+(s-a)/n;o*=e.direction,e.alternate&&c%2==0&&(o=-o);let f=!1;if(c>u)a=l,f=!0,-1===e.fill&&(a=e.direction>0?0:n);else if(o<0&&(a=n-a),a===i)return!1;i=a;for(let e=0;e=20)return null;const i=function(t){const e=t=>t.shadowRoot;return document?Array.from(t.querySelectorAll(":not("+["a","area","audio","br","canvas","circle","datalist","embed","g","head","hr","iframe","img","input","link","object","path","polygon","rect","script","source","style","svg","title","track","video"].join()+")")).filter(e).map(e):[]}(e);for(let e=0;e=1?function(t){if(!t)return"transparent";const e=t=>parseInt(t).toString(16).padStart(2,"0");return function(t){const e=[];let n="#"===t[0]?e.push("#"):0;for(;n=1?"":e(255*t.a)))}(t):"rgba("+t.r+","+t.g+","+t.b+","+t.a+")":"transparent"}function Et(t){return t?"url(#"+t+")":"none"}!function(){for(var t=0,e=["ms","moz","webkit","o"],n=0;nn=>{const r=e(n);t.setAttribute("rx",At(r.x)),t.setAttribute("ry",At(r.y))}},It={f:null,i:function(t,e,n){return 0===t?e:1===t?n:{width:Z(t,e.width,n.width),height:Z(t,e.height,n.height)}},u:(t,e)=>n=>{const r=e(n);t.setAttribute("width",At(r.width)),t.setAttribute("height",At(r.height))}};Object.freeze({M:2,L:2,Z:0,H:1,V:1,C:6,Q:4,T:2,S:4,A:7});let Nt={},jt=null;function Bt(t){let e=function(){if(jt)return jt;if("object"!=typeof document||!document.createElementNS)return{};let 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",jt={svg:t},jt):{}}().svg;if(!e)return function(t){return null};let n=document.createElementNS(e.namespaceURI,"path");n.setAttributeNS(null,"d",t),n.setAttributeNS(null,"fill","none"),n.setAttributeNS(null,"stroke","none"),e.appendChild(n);let r=n.getTotalLength();return function(t){let e=n.getPointAtLength(r*t);return{x:e.x,y:e.y}}}function Ot(t,e,n,r,i=1){let s=function(t){return Nt[t]?Nt[t]:Nt[t]=Bt(t)}(function(t,e,n,r){if(!t||!r)return!1;let 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){let t=e||n;i.push("Q"),i.push(t.x),i.push(t.y)}return e||n||i.push("L"),i.push(r.x),i.push(r.y),i.join(" ")}(t,e,n,r));try{return s(i)}catch(t){return null}}function Tt(t,e,n){return t+(e-t)*n}function Ft(t,e,n,r=!1){const i={x:Tt(t.x,e.x,n),y:Tt(t.y,e.y,n)};return r&&(i.a=function(t,e){return Math.atan2(e.y-t.y,e.x-t.x)}(t,e)),i}function Vt(t,e,n,r){const i=1-r;return i*i*t+2*i*r*e+r*r*n}function Rt(t,e,n,r){return 2*(1-r)*(e-t)+2*r*(n-e)}function Ct(t,e,n,r,i=!1){let s=Ot(t,e,null,n,r);return s||(s={x:Vt(t.x,e.x,n.x,r),y:Vt(t.y,e.y,n.y,r)}),i&&(s.a=function(t,e,n,r){return Math.atan2(Rt(t.y,e.y,n.y,r),Rt(t.x,e.x,n.x,r))}(t,e,n,r)),s}function Pt(t,e,n,r,i){const s=i*i;return i*s*(r-t+3*(e-n))+3*s*(t+n-2*e)+3*i*(e-t)+t}function $t(t,e,n,r,i){const s=1-i;return 3*(s*s*(e-t)+2*s*i*(n-e)+i*i*(r-n))}function Dt(t,e,n,r,i,s=!1){let o=Ot(t,e,n,r,i);return o||(o={x:Pt(t.x,e.x,n.x,r.x,i),y:Pt(t.y,e.y,n.y,r.y,i)}),s&&(o.a=function(t,e,n,r,i){return Math.atan2($t(t.y,e.y,n.y,r.y,i),$t(t.x,e.x,n.x,r.x,i))}(t,e,n,r,i)),o}function Lt(t,e,n,r=!1){if(zt(e)){if(Gt(n))return Ct(e,n.start,n,t,r)}else if(zt(n)){if(Wt(e))return Ct(e,e.end,n,t,r)}else{if(Wt(e))return Gt(n)?Dt(e,e.end,n.start,n,t,r):Ct(e,e.end,n,t,r);if(Gt(n))return Ct(e,n.start,n,t,r)}return Ft(e,n,t,r)}function qt(t,e,n){const r=Lt(t,e,n,!0);return r.a=o(function(t,e=!1){return e?t+Math.PI:t}(r.a)),r}function zt(t){return!t.type||"corner"===t.type}function Gt(t){return null!=t.start&&!zt(t)}function Wt(t){return null!=t.end&&!zt(t)}const Yt=new class{constructor(t=1,e=0,n=0,r=1,i=0,s=0){this.m=[t,e,n,r,i,s],this.i=null,this.w=null,this.s=null}get determinant(){const t=this.m;return t[0]*t[3]-t[1]*t[2]}get isIdentity(){if(null===this.i){const 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}point(t,e){const n=this.m;return{x:n[0]*t+n[2]*e+n[4],y:n[1]*t+n[3]*e+n[5]}}translateSelf(t=0,e=0){if(!t&&!e)return this;const 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}rotateSelf(t=0){if(t%=360){t=s(t);const e=$(t),n=D(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}scaleSelf(t=1,e=1){if(1!==t||1!==e){const n=this.m;n[0]*=t,n[1]*=t,n[2]*=e,n[3]*=e,this.w=this.s=this.i=null}return this}skewSelf(t,e){if(e%=360,(t%=360)||e){const n=this.m,r=n[0],i=n[1],o=n[2],u=n[3];t&&(t=z(s(t)),n[2]+=r*t,n[3]+=i*t),e&&(e=z(s(e)),n[0]+=o*e,n[1]+=u*e),this.w=this.s=this.i=null}return this}resetSelf(t=1,e=0,n=0,r=1,i=0,s=0){const o=this.m;return o[0]=t,o[1]=e,o[2]=n,o[3]=r,o[4]=i,o[5]=s,this.w=this.s=this.i=null,this}recomposeSelf(t=null,e=null,n=null,r=null,i=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}decompose(t=0,e=0){const r=this.m,i=r[0]*r[0]+r[1]*r[1],s=[[r[0],r[1]],[r[2],r[3]]];let u=W(i);if(0===u)return{origin:{x:n(r[4]),y:n(r[5])},translate:{x:n(t),y:n(e)},scale:{x:0,y:0},skew:{x:0,y:0},rotate:0};s[0][0]/=u,s[0][1]/=u;const l=r[0]*r[3]-r[1]*r[2]<0;l&&(u=-u);let a=s[0][0]*s[1][0]+s[0][1]*s[1][1];s[1][0]-=s[0][0]*a,s[1][1]-=s[0][1]*a;let c,f=W(s[1][0]*s[1][0]+s[1][1]*s[1][1]);return 0===f?{origin:{x:n(r[4]),y:n(r[5])},translate:{x:n(t),y:n(e)},scale:{x:n(u),y:0},skew:{x:0,y:0},rotate:0}:(s[1][0]/=f,s[1][1]/=f,a/=f,s[1][1]<0?(c=o(L(s[1][1])),s[0][1]<0&&(c=360-c)):c=o(q(s[0][1])),l&&(c=-c),a=o(G(a,W(s[0][0]*s[0][0]+s[0][1]*s[0][1]))),l&&(a=-a),{origin:{x:n(r[4]),y:n(r[5])},translate:{x:n(t),y:n(e)},scale:{x:n(u),y:n(f)},skew:{x:n(a),y:0},rotate:n(c)})}multiply(t){return this.clone().multiplySelf(t)}preMultiply(t){return t.multiply(this)}multiplySelf(t){const{a:e,b:n,c:r,d:i,tx:s,ty:o}=Y(this.m,t.m);return this.resetSelf(e,n,r,i,s,o),this}preMultiplySelf(t){const{a:e,b:n,c:r,d:i,tx:s,ty:o}=Y(t.m,this.m);return this.resetSelf(e,n,r,i,s,o),this}clone(){const t=this.m;return new this.constructor(t[0],t[1],t[2],t[3],t[4],t[5])}static create(t){return t?Array.isArray(t)?new this(...t):t instanceof this?t.clone():(new this).recomposeSelf(t.origin,t.rotate,t.skew,t.scale,t.translate):new this}toString(t=" ",e=!1){if(null===this.s){let r=this.m.map((t=>n(t)));e||1!==r[0]||0!==r[1]||0!==r[2]||1!==r[3]?this.s="matrix("+r.join(t)+")":this.s="translate("+r[4]+t+r[5]+")"}return this.s}};var Ut={f:function(t){return t?t.join(" "):""},i:function(t,e,n){if(0===t)return e;if(1===t)return n;let r=e.length;if(r!==n.length)return U(t,e,n);let i,s=new Array(r);for(let o=0;on=>{const r=e(n);t.setAttribute("x1",At(r[0])),t.setAttribute("y1",At(r[1])),t.setAttribute("x2",At(r[2])),t.setAttribute("y2",At(r[3]))}},Zt={f:At,i:H},Jt={f:At,i:J},Qt={f:function(t,e=" "){return t&&t.length>0&&(t=t.map((t=>n(t,4)))),_t(t,e)},i:function(t,e,r){let i=e.length,s=r.length;if(i!==s)if(0===i)i=s,e=nt(i,0);else if(0===s)s=i,r=nt(i,0);else{const t=function(t,e){const n=t*e/function(t,e){let n;for(;e;)n=e,e=t%e,t=n;return t||1}(t,e);return n<0?-n:n}(i,s);e=rt(e,Math.floor(t/i)),r=rt(r,Math.floor(t/s)),i=s=t}let o=[];for(let s=0;sfunction(t,e,r){let i=t.v;if(!i||"g"!==i.t||i.s||!i.v||!i.r)return t;const s=r.getElementById(i.r),o=s&&s.querySelectorAll("stop")||[];return i.s=i.v.map(((t,e)=>{let r=o[e]&&o[e].getAttribute("offset");return r=n(parseInt(r)/100),{c:t,o:r}})),delete i.v,t}(t,0,r)))}const Kt={gt:"gradientTransform",c:{x:"cx",y:"cy"},rd:"r",f:{x:"x1",y:"y1"},to:{x:"x2",y:"y2"}};function te(t,e,n,r,i,s,o,u){return Xt(t,0,u),e=function(t,e,n){let r,i,s;const o=t.length-1,u={};for(let l=0;l<=o;l++)r=t[l],r.e&&(r.e=e(r.e)),r.v&&(i=r.v,"g"===i.t&&i.r&&(s=n.getElementById(i.r),s&&(u[i.r]={e:s,s:s.querySelectorAll("stop")})));return u}(t,r,u),r=>{const i=n(r,t,ee);if(!i)return"none";if("c"===i.t)return kt(i.v);if("g"===i.t){if(!e[i.r])return Et(i.r);const t=e[i.r];return function(t,e){let n=t.s;for(let r=n.length;r{if(void 0===i[e])return;if("object"==typeof Kt[e])return void Object.keys(Kt[e]).forEach((n=>{if(void 0===i[e][n])return;const r=i[e][n],s=Kt[e][n];t.e.setAttribute(s,r)}));const n="gt"===e?(r=i[e],Array.isArray(r)?"matrix("+r.join(" ")+")":""):i[e];var r;const s=Kt[e];t.e.setAttribute(s,n)})),Et(i.r)}return"none"}}function ee(t,e,n){if(0===t)return e;if(1===t)return n;if(e&&n){const r=e.t;if(r===n.t)switch(e.t){case"c":return{t:r,v:tt(t,e.v,n.v)};case"g":if(e.r===n.r){const i={t:r,s:ne(t,e.s,n.s),r:e.r};return e.gt&&n.gt&&(i.gt=et(t,e.gt,n.gt)),e.c?(i.c=Q(t,e.c,n.c),i.rd=Z(t,e.rd,n.rd)):e.f&&(i.f=Q(t,e.f,n.f),i.to=Q(t,e.to,n.to)),i}}if("c"===e.t&&"g"===n.t||"c"===n.t&&"g"===e.t){const r="c"===e.t?e:n,i="g"===e.t?{...e}:{...n},s=i.s.map((t=>({c:r.v,o:t.o})));return i.s="c"===e.t?ne(t,s,i.s):ne(t,i.s,s),i}}return U(t,e,n)}function ne(t,e,n){if(e.length===n.length)return e.map(((e,r)=>re(t,e,n[r])));const r=Math.max(e.length,n.length),i=[];for(let s=0;s"-fill-"+(+e+1)))}function se(t,e,n){return 0===t?e:1===t?n:{blur:X(t,e.blur,n.blur),offset:Q(t,e.offset,n.offset),color:tt(t,e.color,n.color)}}const oe={blur:X,brightness:Z,contrast:Z,"drop-shadow":se,"inner-shadow":se,grayscale:Z,"hue-rotate":H,invert:Z,opacity:Z,saturate:Z,sepia:Z};function ue(t,e,n){if(0===t)return e;if(1===t)return n;const r=e.length;if(r!==n.length)return U(t,e,n);const i=[];let s;for(let o=0;ot?e=>{t.setAttribute("stdDeviation",St(e))}:null,brightness:(t,e,n)=>(t=ce(n,e))?e=>{e=At(e),t.map((t=>t.setAttribute("slope",e)))}:null,contrast:(t,e,n)=>(t=ce(n,e))?e=>{const n=At((1-e)/2);e=At(e),t.map((t=>{t.setAttribute("slope",e),t.setAttribute("intercept",n)}))}:null,"drop-shadow"(t,e,n){const r=n.getElementById(e+"-blur");if(!r)return null;const i=n.getElementById(e+"-offset");if(!i)return null;const s=n.getElementById(e+"-flood");return s?t=>{r.setAttribute("stdDeviation",St(t.blur)),i.setAttribute("dx",At(t.offset.x)),i.setAttribute("dy",At(t.offset.y)),s.setAttribute("flood-color",kt(t.color))}:null},"inner-shadow"(t,e,n){const r=n.getElementById(e+"-blur");if(!r)return null;const i=n.getElementById(e+"-offset");if(!i)return null;const s=n.getElementById(e+"-color-matrix");return s?t=>{r.setAttribute("stdDeviation",St(t.blur)),i.setAttribute("dx",At(t.offset.x)),i.setAttribute("dy",At(t.offset.y));const e=[0,0,0,0,t.color.r/255,0,0,0,0,t.color.g/255,0,0,0,0,t.color.b/255,0,0,0,t.color.a,0];s.setAttribute("values",_t(e))}:null},grayscale:t=>t?e=>{t.setAttribute("values",_t(function(t){return[.2126+.7874*(t=1-t),.7152-.7152*t,.0722-.0722*t,0,0,.2126-.2126*t,.7152+.2848*t,.0722-.0722*t,0,0,.2126-.2126*t,.7152-.7152*t,.0722+.9278*t,0,0,0,0,0,1,0]}(e)))}:null,"hue-rotate":t=>t?e=>t.setAttribute("values",At(e)):null,invert:(t,e,n)=>(t=ce(n,e))?e=>{e=At(e)+" "+At(1-e),t.map((t=>t.setAttribute("tableValues",e)))}:null,opacity:(t,e,n)=>(t=n.getElementById(e+"-A"))?e=>t.setAttribute("tableValues","0 "+At(e)):null,saturate:t=>t?e=>t.setAttribute("values",At(e)):null,sepia:t=>t?e=>t.setAttribute("values",_t(function(t){return[.393+.607*(t=1-t),.769-.769*t,.189-.189*t,0,0,.349-.349*t,.686+.314*t,.168-.168*t,0,0,.272-.272*t,.534-.534*t,.131+.869*t,0,0,0,0,0,1,0]}(e))):null};const ae=["R","G","B"];function ce(t,e){const n=ae.map((n=>t.getElementById(e+"-"+n)||null));return-1!==n.indexOf(null)?null:n}var fe={fill:te,"fill-opacity":Jt,stroke:te,"stroke-opacity":Jt,"stroke-width":Zt,"stroke-dashoffset":{f:At,i:H},"stroke-dasharray":Qt,opacity:Jt,transform:function(t,e,n,r){if(!(t=function(t,e){if(!t||"object"!=typeof t)return null;let n=!1;for(const r in t)t.hasOwnProperty(r)&&(t[r]&&t[r].length?(t[r].forEach((t=>{t.e&&(t.e=e(t.e))})),n=!0):delete t[r]);return n?t:null}(t,r)))return null;const i=(r,i,s,o=null)=>t[r]?n(i,t[r],s):e&&e[r]?e[r]:o;return e&&e.a&&t.o?e=>{const r=n(e,t.o,qt);return Yt.recomposeSelf(r,i("r",e,H,0)+r.a,i("k",e,Q),i("s",e,Q),i("t",e,Q)).toString()}:t=>Yt.recomposeSelf(i("o",t,Lt,null),i("r",t,H,0),i("k",t,Q),i("s",t,Q),i("t",t,Q)).toString()},"#filter":function(t,e,n,r,i,s,o,u){if(!e.items||!t||!t.length)return null;const l=function(t,e){const n=(t=t.map((t=>t&&le[t[0]]?(e.getElementById(t[1]),le[t[0]](e.getElementById(t[1]),t[1],e)):null))).length;return e=>{for(let r=0;r(t.e=e(t.e),t)))}(t,r),e=>{l(n(e,t,ue))}):null},"#line":Ht,points:{f:_t,i:et},d:Ut,r:Zt,"#size":It,"#radius":Mt,_(t,e){if(Array.isArray(t))for(let n=0;nfunction(){let s=0,o=n.innerHeight,u=0,l=n.innerWidth,a=t.parentNode;for(;a instanceof Element;){let t=n.getComputedStyle(a);if("visible"!==t.overflowY||"visible"!==t.overflowX){let e=a.getBoundingClientRect();"visible"!==t.overflowY&&(s=Math.max(s,e.top),o=Math.min(o,e.bottom)),"visible"!==t.overflowX&&(u=Math.max(u,e.left),l=Math.min(l,e.right))}if(a===a.parentNode)break;a=a.parentNode}r=!1;let c=t.getBoundingClientRect(),f=Math.min(c.height,Math.max(0,s-c.top)),h=Math.min(c.height,Math.max(0,c.bottom-o)),d=Math.min(c.width,Math.max(0,u-c.left)),g=Math.min(c.width,Math.max(0,c.right-l)),p=(c.height-f-h)/c.height,y=(c.width-d-g)/c.width,m=Math.round(p*y*100);null!==i&&i===m||(i=m,e(m))}()),100)}};class de{constructor(t,e,n){const r=function(t){var e,n;const r=t&&1===(null===(e=t.ownerDocument)||void 0===e||null===(n=e.childNodes)||void 0===n?void 0:n.length)&&window.parent!==window,i={el:t,window:window};if(!r)return i;let s;try{s=window.parent.document}catch(t){return i}return i.window=window.parent,i.el=Array.from(s.querySelectorAll("iframe,object")).filter((t=>t.contentWindow===window))[0]||i.el,i}(t);e=Math.max(1,e||1),e=Math.min(e,100),this.el=r.el,this._handlers=[],this.onThresholdChange=n&&n.call?n:()=>{},this.thresholdPercent=e||1,this.currentVisibility=null,this.visibilityCalculator=he(this.el,this.onVisibilityUpdate.bind(this),r.window),this.bindScrollWatchers(),this.visibilityCalculator()}bindScrollWatchers(){let t=this.el.parentNode;for(;t&&(this._handlers.push({element:t,event:"scroll",handler:this.visibilityCalculator}),t.addEventListener("scroll",this.visibilityCalculator),t!==t.parentNode&&t!==document);)t=t.parentNode}onVisibilityUpdate(t){let e=this.currentVisibility>=this.thresholdPercent,n=t>=this.thresholdPercent;if(null===this.currentVisibility||e!==n)return this.currentVisibility=t,void this.onThresholdChange(n);this.currentVisibility=t}destruct(){this._handlers.forEach((t=>{t.element.removeEventListener(t.event,t.handler)}))}}class ge{static adjustLink(t){var e,n;const r=t&&1===(null===(e=t.ownerDocument)||void 0===e||null===(n=e.childNodes)||void 0===n?void 0:n.length)&&window.parent!==window,i=null==t?void 0:t.firstElementChild;r&&i&&"a"===i.tagName&&!i.getAttribute("target")&&i.setAttributeNS(null,"target","_parent")}static autoPlay(t,e,n,r=[]){if("click"===n.start){const i=()=>{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 r.push({element:e,event:"click",handler:i}),void e.addEventListener("click",i)}if("hover"===n.start){const i=()=>t.reachedToEnd()?t.restart():t._rollingBack?t.reverse():t.play();r.push({element:e,event:"mouseenter",handler:i}),e.addEventListener("mouseenter",i);const s=()=>{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 r.push({element:e,event:"mouseleave",handler:s}),void e.addEventListener("mouseleave",s)}if("scroll"!==n.start)"programmatic"!==n.start&&t.play();else{const i=new de(e,n.scroll||25,(function(e){e?t.reachedToEnd()?t.restart():t.play():t.pause()}));r.push({callback:()=>i.destruct()})}}}class pe extends class{_svg;_rootId;constructor(t){this._id=0,this._running=!1,this._rollingBack=!1,this._animations=t.animations,this._settings=t.animationSettings,t.version<"2022-05-02"&&delete this._settings.speed,xt.forEach((t=>{this._settings[t.key]=this._settings[t.key]||t.def})),this.duration=t.animationSettings.duration,this.offset=t.animationSettings.offset||0,this.rollbackStartOffset=0,this._rootId=t.root,this._svg=t.svg,this._originalAnimations=t.originalAnimations,this._fTC=new O(this)}get svg(){return this._svg}get rootId(){return this._rootId}get alternate(){return this._settings.alternate}get fill(){return this._settings.fill}get iterations(){return this._settings.iterations}get direction(){return this._settings.direction}get speed(){return this._settings.speed}get fps(){return this._settings.fps}get wD(){return this._settings.w}get originalAnimations(){return this._originalAnimations}get maxFiniteDuration(){return this.iterations>0?this.iterations*this.duration:this.duration}static build(t,e){if(delete t.animationSettings,t.options=wt(t.options,t.root,"5c7f360c"),t.animations.map((e=>{e.settings=wt(e.s,t.root,"5c7f360c"),delete e.s,t.animationSettings||(t.animationSettings=e.settings)})),Object.assign(t,{originalAnimations:t.animations},function(t,e){if(ut=e,!t||!t.root||!Array.isArray(t.animations))return null;const n=mt(t);if(!n)return null;const r=t.animations.map((t=>yt(n,t))).filter((t=>!!t));return r.length?{svg:n,animations:r}:null}(t,e)),!t)return null;const n=t.options||{},r=new this(t);return{el:t.svg,options:n,player:r}}static push(t){return this.build(t)}static init(){const t=window.__SVGATOR_PLAYER__&&window.__SVGATOR_PLAYER__["5c7f360c"];Array.isArray(t)&&t.splice(0).forEach((t=>this.build(t)))}_apply(t,e={}){const n=this._animations,r=n.length;let i=0;for(let s=0;s{if(!this._rollingBack)return;null==n&&(n=i);let s=Math.round(t-(i-n)*this.speed);if(s>this.duration&&e!==1/0){const t=!!this.alternate&&s/this.duration%2>1;let e=s%this.duration;e+=t?this.duration:0,s=e||this.duration}const o=(this.fps?1e3/this.fps:0)*this.speed,u=Math.max(0,s);u<=e-o&&(this.offset=u,e=u,this._apply(u));const l=this.iterations>0&&-1===this.fill&&s>=this.maxFiniteDuration;(s<=0||this.offset{e??=s;const o=Math.round((s-e)*this.speed+t),u=(this.fps?1e3/this.fps:0)*this.speed;o>=n+u&&!this._rollingBack&&this._fTC.cF(s,(()=>{this.offset=o,n=o;if(this._apply(o,r)===this._animations.length)return this.pause(!0),!0}))||(this._id=window.requestAnimationFrame(i))};this._id=window.requestAnimationFrame(i)}_pause(){this._id&&window.cancelAnimationFrame(this._id),this._running=!1}play(){if(!this._running)return this._rollingBack?this._rollback(this.offset):this._start(this.offset)}stop(){this._pause(),this.offset=0,this.rollbackStartOffset=0,this._rollingBack=!1,this._apply(0)}reachedToEnd(){return this.iterations>0&&this.offset>=this.iterations*this.duration}restart(t=!1){this.stop(t),this.play(t)}pause(){this._pause()}toggle(){return this._running?this.pause():this.reachedToEnd()?this.restart():this.play()}trigger(t,e){}_adjustOffset(t=!1){const 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.rollbackStartOffset<=this.duration?0!==this.iterations&&(this.offset=Math.min(this.offset,this.maxFiniteDuration)):(this.offset=this.rollbackStartOffset-(this.rollbackStartOffset-this.offset)%e,this.rollbackStartOffset=0)}reverse(t=!1){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)}}{static build(t){let e=super.build(t,fe);if(!e)return null;let{el:n,options:r,player:i}=e;ge.adjustLink(n),ge.autoPlay(i,n,r)}}return pe.init(),pe}));(function(s,i,o,w,d,a,b){w[o]=w[o]||{};w[o][s]=w[o][s]||[];w[o][s].push(i)})('5c7f360c',{"root":"eGTebht0YwZ1","version":"2025-04-07","animations":[{"elements":{"eGTebht0YwZ2":{"transform":{"data":{"s":{"x":0.613035,"y":0.616083},"t":{"x":-557,"y":-557}},"keys":{"o":[{"t":0,"v":{"x":889.963116,"y":299.000123,"type":"corner"}},{"t":3000,"v":{"x":565.834101,"y":494.291245,"type":"corner"}},{"t":6000,"v":{"x":891.98076,"y":299.614557,"type":"corner"}}]}}},"eGTebht0YwZ11":{"transform":{"data":{"o":{"x":135.33781,"y":207.03926,"type":"corner"},"t":{"x":-135.33781,"y":-207.03926}},"keys":{"r":[{"t":0,"v":720,"e":[0.415,0.08,0.115,0.955]},{"t":7700,"v":0,"e":[1,0]}]}},"fill":[{"t":0,"v":{"t":"c","v":{"r":210,"g":219,"b":237,"a":1}}},{"t":7700,"v":{"t":"c","v":{"r":210,"g":219,"b":236,"a":1}}}]},"eGTebht0YwZ12":{"transform":{"data":{"o":{"x":11.12,"y":29.9,"type":"corner"},"s":{"x":0.3,"y":0.3},"t":{"x":-95.902813,"y":-108.465}},"keys":{"r":[{"t":0,"v":-720,"e":[0.415,0.08,0.115,0.955]},{"t":7700,"v":0,"e":[1,0]}]}}}},"s":"MLDBjOTg4SjJmNzE4MlEA3ZjZlQTgxNzY3YzdCiMmY0NzQzUDNkM2QzFZFEzOTJmNzE3NjdmNUzI3MDgxNzY3YzdiTTDJmNDdGM2UzOTJmWTcG2ODE3MjdmNmU4MU03CNjdjN2I4MDJmNDczZTTM5MmY3Mzc2Nzk3OTXJmNDczZTM5MmY2ZVAX3OTgxNzI3ZjdiNmVIXODE3MjJmNDc3MzZlNNzk4MDcyMzkyZjgwN2EQ3MjcyNzEyZjQ3VDNQlMzkyZjczN2Q4MDJmINDczZTNkM2RIMzkyZKjg0MmY0NzY4MmY3MzGcxM2Q0MzQ1NzIzZEoA0NTcyNmU2ZTcyNzA3EMDQwRTQ1QzcxM2YzZIjNkM2U3MTNlNDMzZTXQ0VTQ0NDNVNzI3MFkN3MzQxNDI3MjZlNDIzAZTNkNDY0MDcxNDU3MKDNkNzIzZjcyTTQyNDMQ3MTQyNDAzZDQyM2ZUPNDA2ZVE3MjQzNDQ3DMDQ1NDMzZkIyZlkzOGTJmNDIyZjM5MmY0M1BMyZjM5MmY0NDJmMzkEyZjQ1MmZBMzkyZjQ2RQTJmMzkyZjNlM2QyZEjM5MmZZM2UzZTJmMzNkyZjNlM2YyZlc2YThUh"}],"options":"MBDAxMDg4MmY4MEk4MTTZlN2Y4MTJmNDcyZjcJ5N2M2ZUo3MTJmOGE/L"},'__SVGATOR_PLAYER__',window,document)]]>