import { a as _t } from "./chunk-56WK7I2J.mjs"; import "./chunk-QLHIDQGL.mjs"; import { $ as tt, A as qt, B as Gt, C as Nt, D as Ht, E as Wt, J as et, L as qe, M as ve, N as Ct, P as H, S as Te, U as Ge, V as St, X as jt, Y as Ne, Z as He, aa as Yt, b as Ke, ba as Ut, c as D, ca as oe, d as gt, ea as K, f as vt, g as Xe, i as Ce, j as Bt, k as te, ka as Zt, l as $e, la as Qt, m as zt, n as Me, na as Jt, o as X, oa as Et, p as Pe, pa as ke, qa as Y, r as S, s as j, sa as Ee, t as yt, ta as rt, u as xt, ua as We, v as bt, va as it, w as wt, x as $, y as Ie, z as Dt, } from "./chunk-N72Y5DVH.mjs"; import { c as navigator, d as window, e as global, f as G, } from "./chunk-ENK4YSX5.mjs"; G(); G(); G(); G(); G(); var je = (t) => t; var at = { ms: (t) => 1e3 * t, s: (t) => t / 1e3 }; function At(t, r) { return r ? t * (1e3 / r) : 0; } G(); G(); var Kt = (t, r, i) => (((1 - 3 * i + 3 * r) * t + (3 * i - 6 * r)) * t + 3 * r) * t, Pr = 1e-7, Tr = 12; function kr(t, r, i, a, n) { let s, l, v = 0; do (l = r + (i - r) / 2), (s = Kt(l, a, n) - t), s > 0 ? (i = l) : (r = l); while (Math.abs(s) > Pr && ++v < Tr); return l; } function Ye(t, r, i, a) { if (t === r && i === a) return je; let n = (s) => kr(s, 0, 1, t, i); return (s) => (s === 0 || s === 1 ? s : Kt(n(s), r, a)); } var na = { ease: Ye(0.25, 0.1, 0.25, 1), "ease-in": Ye(0.42, 0, 1, 1), "ease-in-out": Ye(0.42, 0, 0.58, 1), "ease-out": Ye(0, 0, 0.58, 1), }; G(); function Xt(t, r) { var i = {}; for (var a in t) Object.prototype.hasOwnProperty.call(t, a) && r.indexOf(a) < 0 && (i[a] = t[a]); if (t != null && typeof Object.getOwnPropertySymbols == "function") { var n = 0; for (a = Object.getOwnPropertySymbols(t); n < a.length; n++) r.indexOf(a[n]) < 0 && Object.prototype.propertyIsEnumerable.call(t, a[n]) && (i[a[n]] = t[a[n]]); } return i; } G(); var Ve = {}; Object.defineProperty(Ve, "__esModule", { value: !0 }); Ve.warning = function () {}; Ve.invariant = function () {}; var ha = Ve.__esModule, ca = Ve.warning, Rr = Ve.invariant; G(); var Or = 5; function nt(t, r, i) { let a = Math.max(r - Or, 0); return At(i - t(a), r - a); } var Be = { stiffness: 100, damping: 10, mass: 1 }, Vr = (t = Be.stiffness, r = Be.damping, i = Be.mass) => r / (2 * Math.sqrt(t * i)); function Br(t, r, i) { return (t < r && i >= r) || (t > r && i <= r); } var Tt = ({ stiffness: t = Be.stiffness, damping: r = Be.damping, mass: i = Be.mass, from: a = 0, to: n = 1, velocity: s = 0, restSpeed: l = 2, restDistance: v = 0.5, } = {}) => { s = s ? at.s(s) : 0; let y = { done: !1, hasReachedTarget: !1, current: a, target: n }, g = n - a, w = Math.sqrt(t / i) / 1e3, x = Vr(t, r, i), p; if (x < 1) { let u = w * Math.sqrt(1 - x * x); p = (C) => n - Math.exp(-x * w * C) * (((x * w * g - s) / u) * Math.sin(u * C) + g * Math.cos(u * C)); } else p = (u) => n - Math.exp(-w * u) * (g + (w * g - s) * u); return (u) => { y.current = p(u); let C = u === 0 ? s : nt(p, u, y.current), c = Math.abs(C) <= l, h = Math.abs(n - y.current) <= v; return (y.done = c && h), (y.hasReachedTarget = Br(a, n, y.current)), y; }; }, $t = ({ from: t = 0, velocity: r = 0, power: i = 0.8, decay: a = 0.325, bounceDamping: n, bounceStiffness: s, changeTarget: l, min: v, max: y, restDistance: g = 0.5, restSpeed: w, }) => { a = at.ms(a); let x = { hasReachedTarget: !1, done: !1, current: t, target: t }, p = (E) => (v !== void 0 && E < v) || (y !== void 0 && E > y), u = (E) => v === void 0 ? y : y === void 0 || Math.abs(v - E) < Math.abs(y - E) ? v : y, C = i * r, c = t + C, h = l === void 0 ? c : l(c); (x.target = h), h !== c && (C = h - t); let m = (E) => -C * Math.exp(-E / a), o = (E) => h + m(E), f = (E) => { let P = m(E), F = o(E); (x.done = Math.abs(P) <= g), (x.current = x.done ? h : F); }, d, b, A = (E) => { p(x.current) && ((d = E), (b = Tt({ from: x.current, to: u(x.current), velocity: nt(o, E, x.current), damping: n, stiffness: s, restDistance: g, restSpeed: w, }))); }; return ( A(0), (E) => { let P = !1; return ( !b && d === void 0 && ((P = !0), f(E), A(E)), d !== void 0 && E > d ? ((x.hasReachedTarget = !0), b(E - d)) : ((x.hasReachedTarget = !1), !P && f(E), x) ); } ); }, Pt = 10, zr = 1e4; function er(t) { let r, i = Pt, a = t(0), n = [a.current]; for (; !a.done && i < zr; ) (a = t(i)), n.push(a.done ? a.target : a.current), r === void 0 && a.hasReachedTarget && (r = i), (i += Pt); let s = i - Pt; return ( n.length === 1 && n.push(a.current), { keyframes: n, duration: s / 1e3, overshootDuration: (r ?? s) / 1e3 } ); } var Dr = ["", "X", "Y", "Z"], qr = ["translate", "scale", "rotate", "skew"]; var tr = { syntax: "", initialValue: "0deg", toDefaultUnit: (t) => t + "deg", }, Gr = { translate: { syntax: "", initialValue: "0px", toDefaultUnit: (t) => t + "px", }, rotate: tr, scale: { syntax: "", initialValue: 1, toDefaultUnit: je }, skew: tr, }, Nr = new Map(), Hr = (t) => `--motion-${t}`, sr = ["x", "y", "z"]; qr.forEach((t) => { Dr.forEach((r) => { sr.push(t + r), Nr.set(Hr(t + r), Gr[t]); }); }); var Ba = new Set(sr); var rr = (t) => document.createElement("div").animate(t, { duration: 0.001 }), ir = { cssRegisterProperty: () => typeof CSS < "u" && Object.hasOwnProperty.call(CSS, "registerProperty"), waapi: () => Object.hasOwnProperty.call(Element.prototype, "animate"), partialKeyframes: () => { try { rr({ opacity: [1] }); } catch { return !1; } return !0; }, finished: () => !!rr({ opacity: [0, 1] }).finished, }, kt = {}, Wr = {}; for (let t in ir) Wr[t] = () => (kt[t] === void 0 && (kt[t] = ir[t]()), kt[t]); function or(t, r) { var i; return ( typeof t == "string" ? r ? (((i = r[t]) !== null && i !== void 0) || (r[t] = document.querySelectorAll(t)), (t = r[t])) : (t = document.querySelectorAll(t)) : t instanceof Element && (t = [t]), Array.from(t || []) ); } function lr(t) { let r = new WeakMap(); return (i = {}) => { let a = new Map(), n = (l = 0, v = 100, y = 0, g = !1) => { let w = `${l}-${v}-${y}-${g}`; return ( a.has(w) || a.set( w, t( Object.assign( { from: l, to: v, velocity: y, restSpeed: g ? 0.05 : 2, restDistance: g ? 0.01 : 0.5, }, i ) ) ), a.get(w) ); }, s = (l) => (r.has(l) || r.set(l, er(l)), r.get(l)); return { createAnimation: (l, v, y, g, w) => { var x, p; let u, C = l.length; if (y && C <= 2 && l.every(jr)) { let h = l[C - 1], m = C === 1 ? null : l[0], o = 0, f = 0, d = w?.generator; if (d) { let { animation: E, generatorStartTime: P } = w, F = E?.startTime || P || 0, I = E?.currentTime || performance.now() - F, R = d(I).current; (f = (x = m) !== null && x !== void 0 ? x : R), (C === 1 || (C === 2 && l[0] === null)) && (o = nt((O) => d(O).current, I, R)); } else f = (p = m) !== null && p !== void 0 ? p : parseFloat(v()); let b = n(f, h, o, g?.includes("scale")), A = s(b); (u = Object.assign(Object.assign({}, A), { easing: "linear" })), w && ((w.generator = b), (w.generatorStartTime = performance.now())); } else u = { easing: "ease", duration: s(n(0, 100)).overshootDuration }; return u; }, }; }; } var jr = (t) => typeof t != "string", za = lr(Tt), Da = lr($t), Yr = { any: 0, all: 1 }; function Ur(t, r, { root: i, margin: a, amount: n = "any" } = {}) { if (typeof IntersectionObserver > "u") return () => {}; let s = or(t), l = new WeakMap(), v = (g) => { g.forEach((w) => { let x = l.get(w.target); if (w.isIntersecting !== !!x) if (w.isIntersecting) { let p = r(w); typeof p == "function" ? l.set(w.target, p) : y.unobserve(w.target); } else x && (x(w), l.delete(w.target)); }); }, y = new IntersectionObserver(v, { root: i, rootMargin: a, threshold: typeof n == "number" ? n : Yr[n], }); return s.forEach((g) => y.observe(g)), () => y.disconnect(); } var st = new WeakMap(), Fe; function Zr(t, r) { if (r) { let { inlineSize: i, blockSize: a } = r[0]; return { width: i, height: a }; } return t instanceof SVGElement && "getBBox" in t ? t.getBBox() : { width: t.offsetWidth, height: t.offsetHeight }; } function Qr({ target: t, contentRect: r, borderBoxSize: i }) { var a; (a = st.get(t)) === null || a === void 0 || a.forEach((n) => { n({ target: t, contentSize: r, get size() { return Zr(t, i); }, }); }); } function Jr(t) { t.forEach(Qr); } function Kr() { typeof ResizeObserver < "u" && (Fe = new ResizeObserver(Jr)); } function Xr(t, r) { Fe || Kr(); let i = or(t); return ( i.forEach((a) => { let n = st.get(a); n || ((n = new Set()), st.set(a, n)), n.add(r), Fe?.observe(a); }), () => { i.forEach((a) => { let n = st.get(a); n?.delete(r), n?.size || Fe?.unobserve(a); }); } ); } var ot = new Set(), Ue; function $r() { (Ue = () => { let t = { width: window.innerWidth, height: window.innerHeight }, r = { target: window, size: t, contentSize: t }; ot.forEach((i) => i(r)); }), window.addEventListener("resize", Ue); } function ei(t) { return ( ot.add(t), Ue || $r(), () => { ot.delete(t), !ot.size && Ue && (Ue = void 0); } ); } function fr(t, r) { return typeof t == "function" ? ei(t) : Xr(t, r); } function Ft(t, r, i) { t.dispatchEvent(new CustomEvent(r, { detail: { originalEvent: i } })); } function ar(t, r, i) { t.dispatchEvent(new CustomEvent(r, { detail: { originalEntry: i } })); } var ti = { isActive: (t) => !!t.inView, subscribe: (t, { enable: r, disable: i }, { inViewOptions: a = {} }) => { let { once: n } = a, s = Xt(a, ["once"]); return Ur( t, (l) => { if ((r(), ar(t, "viewenter", l), !n)) return (v) => { i(), ar(t, "viewleave", v); }; }, s ); }, }, nr = (t, r, i) => (a) => { (!a.pointerType || a.pointerType === "mouse") && (i(), Ft(t, r, a)); }, ri = { isActive: (t) => !!t.hover, subscribe: (t, { enable: r, disable: i }) => { let a = nr(t, "hoverstart", r), n = nr(t, "hoverend", i); return ( t.addEventListener("pointerenter", a), t.addEventListener("pointerleave", n), () => { t.removeEventListener("pointerenter", a), t.removeEventListener("pointerleave", n); } ); }, }, ii = { isActive: (t) => !!t.press, subscribe: (t, { enable: r, disable: i }) => { let a = (s) => { i(), Ft(t, "pressend", s), window.removeEventListener("pointerup", a); }, n = (s) => { r(), Ft(t, "pressstart", s), window.addEventListener("pointerup", a); }; return ( t.addEventListener("pointerdown", n), () => { t.removeEventListener("pointerdown", n), window.removeEventListener("pointerup", a); } ); }, }, ai = { inView: ti, hover: ri, press: ii }, qa = ["initial", "animate", ...Object.keys(ai), "exit"]; var ni = 100, si = { left: (t) => `translateX(-${t}px)`, right: (t) => `translateX(${t}px)`, top: (t) => `translateY(-${t}px)`, bottom: (t) => `translateY(${t}px)`, }, Mt = typeof Animation < "u" && typeof Animation.prototype.updatePlaybackRate == "function"; function ze(t) { let { slots: r, gap: i, padding: a, paddingPerSide: n, paddingTop: s, paddingRight: l, paddingBottom: v, paddingLeft: y, speed: g, hoverFactor: w, direction: x, alignment: p, sizingOptions: u, fadeOptions: C, style: c, } = t, { fadeContent: h, overflow: m, fadeWidth: o, fadeInset: f, fadeAlpha: d, } = C, { widthType: b, heightType: A } = u, E = n ? `${s}px ${l}px ${v}px ${y}px` : `${a}px`, P = ve.current() === ve.canvas, F = r.filter(Boolean), I = Ke.count(F), R = I > 0; x === !0 && (x = "left"); let O = x === "left" || x === "right", z = Dt(0), V = si[x], N = qt(z, V), k = X(null), T = Me(() => [vt(), vt()], []), [_, M] = Pe({ parent: null, children: null }), B = [], L = [], U = 0, W = 0; P && ((U = I ? Math.floor(10 / I) : 0), (W = 1)), !P && R && _.parent && ((U = Math.round((_.parent / _.children) * 2) + 1), (U = Math.min(U, ni)), (W = 1)); let J = Ce(() => { if (R && k.current) { let Q = O ? k.current.offsetWidth : k.current.offsetHeight, Z = T[0].current ? O ? T[0].current.offsetLeft : T[0].current.offsetTop : 0, ne = (T[1].current ? O ? T[1].current.offsetLeft + T[1].current.offsetWidth : T[1].current.offsetTop + T[1].current.offsetHeight : 0) - Z + i; M({ parent: Q, children: ne }); } }, []), ie = P ? { contentVisibility: "auto" } : {}; if (R) { if (!P) { let Q = X(!0); te( () => ( xt.read(J), fr(k.current, ({ contentSize: Z }) => { !Q.current && (Z.width || Z.height) && xt.read(J), (Q.current = !1); }) ), [] ); } B = Ke.map(F, (Q, Z) => { var ce, ne, fe, ue; let he; Z === 0 && (he = T[0]), Z === F.length - 1 && (he = T[1]); let ge = { width: b ? (ce = Q.props) === null || ce === void 0 ? void 0 : ce.width : "100%", height: A ? (ne = Q.props) === null || ne === void 0 ? void 0 : ne.height : "100%", }; return S(Ie, { inherit: "id", children: S("li", { ref: he, style: ge, children: gt( Q, { style: { ...((fe = Q.props) === null || fe === void 0 ? void 0 : fe.style), ...ge, flexShrink: 0, ...ie, }, layoutId: Q.props.layoutId ? Q.props.layoutId + "-original-" + Z : void 0, }, (ue = Q.props) === null || ue === void 0 ? void 0 : ue.children ), }), }); }); } if (!P) for (let Q = 0; Q < U; Q++) L = [ ...L, ...Ke.map(F, (Z, ce) => { var ne, fe, ue, he, ge, Ae; let Oe = { width: b ? (ne = Z.props) === null || ne === void 0 ? void 0 : ne.width : "100%", height: A ? (fe = Z.props) === null || fe === void 0 ? void 0 : fe.height : "100%", willChange: "transform", }; return S( Ie, { inherit: "id", children: S( "li", { style: Oe, "aria-hidden": !0, children: gt( Z, { key: Q + " " + ce, style: { ...((ue = Z.props) === null || ue === void 0 ? void 0 : ue.style), width: b ? (he = Z.props) === null || he === void 0 ? void 0 : he.width : "100%", height: A ? (ge = Z.props) === null || ge === void 0 ? void 0 : ge.height : "100%", flexShrink: 0, ...ie, }, layoutId: Z.props.layoutId ? Z.props.layoutId + "-dupe-" + Q : void 0, }, (Ae = Z.props) === null || Ae === void 0 ? void 0 : Ae.children ), }, Q + "li" + ce ), }, Q + "lg" + ce ); }), ]; let ee = _.children + _.children * Math.round(_.parent / _.children), le = X(null), me = X(null), pe = X(0), se = X(!1), ae = Nt(), de = X(null), q = X(null); if (!P) { let Q = Wt(k); Mt ? (te(() => { if (!(ae || !ee || !g)) return ( (q.current = de.current.animate( { transform: [V(0), V(ee)] }, { duration: (Math.abs(ee) / g) * 1e3, iterations: 1 / 0, easing: "linear", } )), () => q.current.cancel() ); }, [w, ee, g]), te(() => { q.current && (Q && q.current.playState === "paused" ? q.current.play() : !Q && q.current.playState === "running" && q.current.pause()); }, [Q])) : Gt((Z) => { if (!ee || ae || Mt) return; le.current === null && (le.current = Z), (Z = Z - le.current); let ne = (me.current === null ? 0 : Z - me.current) * (g / 1e3); se.current && (ne *= w), (pe.current += ne), (pe.current = Ht(0, ee, pe.current)), (me.current = Z), Q && z.set(pe.current); }); } let re = O ? "to right" : "to bottom", xe = o / 2, Se = 100 - o / 2, we = ci(f, 0, xe), be = 100 - f, ye = `linear-gradient(${re}, rgba(0, 0, 0, ${d}) ${we}%, rgba(0, 0, 0, 1) ${xe}%, rgba(0, 0, 0, 1) ${Se}%, rgba(0, 0, 0, ${d}) ${be}%)`; return R ? S("section", { style: { ...hr, opacity: W, WebkitMaskImage: h ? ye : void 0, MozMaskImage: h ? ye : void 0, maskImage: h ? ye : void 0, overflow: m ? "visible" : "hidden", padding: E, }, ref: k, children: j($.ul, { ref: de, style: { ...hr, gap: i, top: x === "bottom" && cr(ee) ? -ee : void 0, left: x === "right" && cr(ee) ? -ee : void 0, placeItems: p, position: "relative", flexDirection: O ? "row" : "column", ...c, willChange: P ? "auto" : "transform", transform: Mt ? V(0) : N, }, onMouseEnter: () => { (se.current = !0), q.current && (q.current.playbackRate = w); }, onMouseLeave: () => { (se.current = !1), q.current && (q.current.playbackRate = 1); }, children: [B, L], }), }) : j("section", { style: oi, children: [ S("div", { style: li, children: "\u2728" }), S("p", { style: fi, children: "Connect to Content" }), S("p", { style: hi, children: "Add layers or components to infinitely loop on your page.", }), ], }); } ze.defaultProps = { gap: 10, padding: 10, sizingOptions: { widthType: !0, heightType: !0 }, fadeOptions: { fadeContent: !0, overflow: !1, fadeWidth: 25, fadeAlpha: 0, fadeInset: 0, }, direction: !0, }; Te(ze, { slots: { type: H.Array, title: "Children", control: { type: H.ComponentInstance }, }, speed: { type: H.Number, title: "Speed", min: 0, max: 1e3, defaultValue: 100, unit: "%", displayStepper: !0, step: 5, }, direction: { type: H.Enum, title: "Direction", options: ["left", "right", "top", "bottom"], optionIcons: [ "direction-left", "direction-right", "direction-up", "direction-down", ], optionTitles: ["Left", "Right", "Top", "Bottom"], defaultValue: "left", displaySegmentedControl: !0, }, alignment: { type: H.Enum, title: "Align", options: ["flex-start", "center", "flex-end"], optionIcons: { direction: { right: ["align-top", "align-middle", "align-bottom"], left: ["align-top", "align-middle", "align-bottom"], top: ["align-left", "align-center", "align-right"], bottom: ["align-left", "align-center", "align-right"], }, }, defaultValue: "center", displaySegmentedControl: !0, }, gap: { type: H.Number, title: "Gap" }, padding: { title: "Padding", type: H.FusedNumber, toggleKey: "paddingPerSide", toggleTitles: ["Padding", "Padding per side"], valueKeys: ["paddingTop", "paddingRight", "paddingBottom", "paddingLeft"], valueLabels: ["T", "R", "B", "L"], min: 0, }, sizingOptions: { type: H.Object, title: "Sizing", controls: { widthType: { type: H.Boolean, title: "Width", enabledTitle: "Auto", disabledTitle: "Stretch", defaultValue: !0, }, heightType: { type: H.Boolean, title: "Height", enabledTitle: "Auto", disabledTitle: "Stretch", defaultValue: !0, }, }, }, fadeOptions: { type: H.Object, title: "Clipping", controls: { fadeContent: { type: H.Boolean, title: "Fade", defaultValue: !0 }, overflow: { type: H.Boolean, title: "Overflow", enabledTitle: "Show", disabledTitle: "Hide", defaultValue: !1, hidden(t) { return t.fadeContent === !0; }, }, fadeWidth: { type: H.Number, title: "Width", defaultValue: 25, min: 0, max: 100, unit: "%", hidden(t) { return t.fadeContent === !1; }, }, fadeInset: { type: H.Number, title: "Inset", defaultValue: 0, min: 0, max: 100, unit: "%", hidden(t) { return t.fadeContent === !1; }, }, fadeAlpha: { type: H.Number, title: "Opacity", defaultValue: 0, min: 0, max: 1, step: 0.05, hidden(t) { return t.fadeContent === !1; }, }, }, }, hoverFactor: { type: H.Number, title: "Hover", min: 0, max: 1, unit: "x", defaultValue: 1, step: 0.1, displayStepper: !0, description: "Slows down the speed while you are hovering.", }, }); var hr = { display: "flex", width: "100%", height: "100%", maxWidth: "100%", maxHeight: "100%", placeItems: "center", margin: 0, padding: 0, listStyleType: "none", textIndent: "none", }, oi = { display: "flex", width: "100%", height: "100%", placeContent: "center", placeItems: "center", flexDirection: "column", color: "#96F", background: "rgba(136, 85, 255, 0.1)", fontSize: 11, overflow: "hidden", padding: "20px 20px 30px 20px", }, li = { fontSize: 32, marginBottom: 10 }, fi = { margin: 0, marginBottom: 10, fontWeight: 600, textAlign: "center" }, hi = { margin: 0, opacity: 0.7, maxWidth: 150, lineHeight: 1.5, textAlign: "center", }, ci = (t, r, i) => Math.min(Math.max(t, r), i), cr = (t) => typeof t == "number" && !isNaN(t); G(); var mr = "https://lottie.host/d826e0a7-b7e8-4072-8afe-c943ed2dd2ca/DpX3m5yT5Z.lottie"; function Le(t) { return S(pi, { loading: S("div", {}), loaded: S(mi, { ...t }) }); } function mi(t) { let r = ve.current() === ve.canvas, i = X(null), a = r || t.hover === !0 || t.autoplay === !1 ? null : !0, n; switch (t.srcType) { case "url": n = t.srcUrl; break; case "file": n = t.srcFile; break; default: n = mr; break; } let [s, l] = Pe(!1); te(() => { i.current && i.current.addEventListener("ready", () => l(!0)); }, []), te(() => { i.current && i.current.seek(`${t.progress}%`); }, [s, t.progress]); let v = X(); return ( te(() => { if (!r) { if (v.current !== t.autoplay) { if (!i.current) return; t.autoplay === !0 && i.current.play(), t.autoplay === !1 && i.current.pause(); } v.current = t.autoplay; } }, [t.autoplay]), S( "dotlottie-player", { src: n, ref: i, autoplay: a, loop: t.loop ? !0 : null, hover: t.hover ? !0 : null, controls: t.controls ? !0 : null, background: t.background ? t.background : null, speed: t.speed, direction: t.direction, style: { ...t.style, width: "100%", height: "100%" }, }, n ) ); } Le.defaultProps = { srcUrl: mr, autoplay: !0, background: "#05F", controls: !1, direction: 1, hover: !1, loop: !0, speed: 1, }; Le.displayName = "Dot Lottie"; Te(Le, { srcType: { type: H.Enum, displaySegmentedControl: !0, title: "Source", options: ["url", "file"], optionTitles: ["URL", "File"], }, srcUrl: { type: H.String, title: "Link", placeholder: "../example.lottie", hidden: (t) => t.srcType === "file", }, srcFile: { type: H.File, title: "File", allowedFileTypes: ["lottie", "json"], hidden: (t) => t.srcType === "url", }, autoplay: { type: H.Boolean, title: "Autoplay", defaultValue: !0 }, background: { type: H.Color, title: "Backdrop", defaultValue: "#05F" }, controls: { type: H.Boolean, title: "Controls" }, direction: { type: H.Enum, title: "Direction", defaultValue: "1", displaySegmentedControl: !0, segmentedControlDirection: "horizontal", options: ["1", "-1"], optionTitles: ["Normal", "Reverse"], }, hover: { type: H.Boolean, title: "Hover Play" }, loop: { type: H.Boolean, title: "Loop" }, speed: { type: H.Number, title: "Speed", defaultValue: 1, min: 1, max: 10, unit: "x", step: 0.5, displayStepper: !0, }, progress: { type: H.Number, title: "Progress", defaultValue: 0, min: 0, max: 100, step: 1, description: "This component is made for Lottie files. [Learn more here](https://dotlottie.io/).", }, }); function pi({ loading: t, loaded: r }) { let [i, a] = Pe(!0); return ( te(() => { import("./dotlottie-player-FSGNXSZJ.js").then(() => { a(!1); }); }, []), i ? t : r ); } G(); G(); G(); var pr = { position: "relative", width: "100%", height: "100%", display: "flex", justifyContent: "center", alignItems: "center", }, di = { ...pr, borderRadius: 6, background: "rgba(136, 85, 255, 0.3)", color: "#85F", border: "1px dashed #85F", flexDirection: "column", }, It = { onClick: { type: H.EventHandler }, onMouseEnter: { type: H.EventHandler }, onMouseLeave: { type: H.EventHandler }, }, ui = { type: H.Number, title: "Font Size", min: 2, max: 200, step: 1, displayStepper: !0, }, gi = { font: { type: H.Boolean, title: "Font", defaultValue: !1, disabledTitle: "Default", enabledTitle: "Custom", }, fontFamily: { type: H.String, title: "Family", placeholder: "Inter", hidden: ({ font: t }) => !t, }, fontWeight: { type: H.Enum, title: "Weight", options: [100, 200, 300, 400, 500, 600, 700, 800, 900], optionTitles: [ "Thin", "Extra-light", "Light", "Regular", "Medium", "Semi-bold", "Bold", "Extra-bold", "Black", ], hidden: ({ font: t }) => !t, }, }; G(); G(); function ft(t) { let r = X(null); return r.current === null && (r.current = t()), r.current; } G(); G(); G(); G(); G(); G(); G(); G(); G(); G(); G(); G(); var yi = { borderRadius: { title: "Radius", type: H.FusedNumber, toggleKey: "isMixedBorderRadius", toggleTitles: ["Radius", "Radius per corner"], valueKeys: [ "topLeftRadius", "topRightRadius", "bottomRightRadius", "bottomLeftRadius", ], valueLabels: ["TL", "TR", "BR", "BL"], min: 0, }, }; var xi = { padding: { type: H.FusedNumber, toggleKey: "paddingPerSide", toggleTitles: ["Padding", "Padding per side"], valueKeys: ["paddingTop", "paddingRight", "paddingBottom", "paddingLeft"], valueLabels: ["T", "R", "B", "L"], min: 0, title: "Padding", }, }; G(); G(); G(); var Lt = (t) => t instanceof bt; function ur(t, r) { let i = X(r), a = X(), n = X(!1), s = ve.current() === ve.canvas, l = r?.onChangeDeps ? r.onChangeDeps : [], v = Ce(r?.onChange, [...l]), y = Ce((w) => { var x; return !((x = i.current) === null || x === void 0) && x.transform ? i.current.transform(w) : w; }, []), g = ft(() => (Lt(t) ? t : wt(y(t)))); return ( te(() => { if (!Lt(t) && n.current) { var w, x; let u = y(t); if ( ((w = a.current) === null || w === void 0 || w.stop(), v && v(u, g), !((x = i.current) === null || x === void 0) && x.animate && !s) ) { var p; a.current = Ct( g, u, (p = i.current) === null || p === void 0 ? void 0 : p.transition ); } else g.set(u); } n.current = !0; }, [t, ...l]), g ); } G(); G(); var e = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : global, Rt = {}; typeof navigator < "u" && (function (t, r) { Rt ? (Rt = r(t)) : ((t.lottie = r(t)), (t.bodymovin = t.lottie)); })(window || {}, function (window) { "use strict"; var svgNS = "http://www.w3.org/2000/svg", locationHref = "", initialDefaultFrame = -999999, subframeEnabled = !0, expressionsPlugin, isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), cachedColors = {}, bmRnd, bmPow = Math.pow, bmSqrt = Math.sqrt, bmFloor = Math.floor, bmMax = Math.max, bmMin = Math.min, BMMath = {}; (function () { var t = [ "abs", "acos", "acosh", "asin", "asinh", "atan", "atanh", "atan2", "ceil", "cbrt", "expm1", "clz32", "cos", "cosh", "exp", "floor", "fround", "hypot", "imul", "log", "log1p", "log2", "log10", "max", "min", "pow", "random", "round", "sign", "sin", "sinh", "sqrt", "tan", "tanh", "trunc", "E", "LN10", "LN2", "LOG10E", "LOG2E", "PI", "SQRT1_2", "SQRT2", ], r, i = t.length; for (r = 0; r < i; r += 1) BMMath[t[r]] = Math[t[r]]; })(); function ProjectInterface() { return {}; } (BMMath.random = Math.random), (BMMath.abs = function (t) { var r = typeof t; if (r === "object" && t.length) { var i = createSizedArray(t.length), a, n = t.length; for (a = 0; a < n; a += 1) i[a] = Math.abs(t[a]); return i; } return Math.abs(t); }); var defaultCurveSegments = 150, degToRads = Math.PI / 180, roundCorner = 0.5519; function roundValues(t) { t ? (bmRnd = Math.round) : (bmRnd = function (r) { return r; }); } roundValues(!1); function styleDiv(t) { (t.style.position = "absolute"), (t.style.top = 0), (t.style.left = 0), (t.style.display = "block"), (t.style.transformOrigin = "0 0"), (t.style.webkitTransformOrigin = "0 0"), (t.style.backfaceVisibility = "visible"), (t.style.webkitBackfaceVisibility = "visible"), (t.style.transformStyle = "preserve-3d"), (t.style.webkitTransformStyle = "preserve-3d"), (t.style.mozTransformStyle = "preserve-3d"); } function BMEnterFrameEvent(t, r, i, a) { ((this || e).type = t), ((this || e).currentTime = r), ((this || e).totalTime = i), ((this || e).direction = a < 0 ? -1 : 1); } function BMCompleteEvent(t, r) { ((this || e).type = t), ((this || e).direction = r < 0 ? -1 : 1); } function BMCompleteLoopEvent(t, r, i, a) { ((this || e).type = t), ((this || e).currentLoop = i), ((this || e).totalLoops = r), ((this || e).direction = a < 0 ? -1 : 1); } function BMSegmentStartEvent(t, r, i) { ((this || e).type = t), ((this || e).firstFrame = r), ((this || e).totalFrames = i); } function BMDestroyEvent(t, r) { ((this || e).type = t), ((this || e).target = r); } function BMRenderFrameErrorEvent(t, r) { ((this || e).type = "renderFrameError"), ((this || e).nativeError = t), ((this || e).currentTime = r); } function BMConfigErrorEvent(t) { ((this || e).type = "configError"), ((this || e).nativeError = t); } function BMAnimationConfigErrorEvent(t, r) { ((this || e).type = t), ((this || e).nativeError = r); } var createElementID = (function () { var t = 0; return function () { return (t += 1), "__lottie_element_" + t; }; })(); function HSVtoRGB(t, r, i) { var a, n, s, l, v, y, g, w; switch ( ((l = Math.floor(t * 6)), (v = t * 6 - l), (y = i * (1 - r)), (g = i * (1 - v * r)), (w = i * (1 - (1 - v) * r)), l % 6) ) { case 0: (a = i), (n = w), (s = y); break; case 1: (a = g), (n = i), (s = y); break; case 2: (a = y), (n = i), (s = w); break; case 3: (a = y), (n = g), (s = i); break; case 4: (a = w), (n = y), (s = i); break; case 5: (a = i), (n = y), (s = g); break; default: break; } return [a, n, s]; } function RGBtoHSV(t, r, i) { var a = Math.max(t, r, i), n = Math.min(t, r, i), s = a - n, l, v = a === 0 ? 0 : s / a, y = a / 255; switch (a) { case n: l = 0; break; case t: (l = r - i + s * (r < i ? 6 : 0)), (l /= 6 * s); break; case r: (l = i - t + s * 2), (l /= 6 * s); break; case i: (l = t - r + s * 4), (l /= 6 * s); break; default: break; } return [l, v, y]; } function addSaturationToRGB(t, r) { var i = RGBtoHSV(t[0] * 255, t[1] * 255, t[2] * 255); return ( (i[1] += r), i[1] > 1 ? (i[1] = 1) : i[1] <= 0 && (i[1] = 0), HSVtoRGB(i[0], i[1], i[2]) ); } function addBrightnessToRGB(t, r) { var i = RGBtoHSV(t[0] * 255, t[1] * 255, t[2] * 255); return ( (i[2] += r), i[2] > 1 ? (i[2] = 1) : i[2] < 0 && (i[2] = 0), HSVtoRGB(i[0], i[1], i[2]) ); } function addHueToRGB(t, r) { var i = RGBtoHSV(t[0] * 255, t[1] * 255, t[2] * 255); return ( (i[0] += r / 360), i[0] > 1 ? (i[0] -= 1) : i[0] < 0 && (i[0] += 1), HSVtoRGB(i[0], i[1], i[2]) ); } var rgbToHex = (function () { var t = [], r, i; for (r = 0; r < 256; r += 1) (i = r.toString(16)), (t[r] = i.length === 1 ? "0" + i : i); return function (a, n, s) { return ( a < 0 && (a = 0), n < 0 && (n = 0), s < 0 && (s = 0), "#" + t[a] + t[n] + t[s] ); }; })(); function BaseEvent() {} BaseEvent.prototype = { triggerEvent: function (t, r) { if ((this || e)._cbs[t]) for (var i = (this || e)._cbs[t].length, a = 0; a < i; a += 1) (this || e)._cbs[t][a](r); }, addEventListener: function (t, r) { return ( (this || e)._cbs[t] || ((this || e)._cbs[t] = []), (this || e)._cbs[t].push(r), function () { this.removeEventListener(t, r); }.bind(this || e) ); }, removeEventListener: function (t, r) { if (!r) (this || e)._cbs[t] = null; else if ((this || e)._cbs[t]) { for (var i = 0, a = (this || e)._cbs[t].length; i < a; ) (this || e)._cbs[t][i] === r && ((this || e)._cbs[t].splice(i, 1), (i -= 1), (a -= 1)), (i += 1); (this || e)._cbs[t].length || ((this || e)._cbs[t] = null); } }, }; var createTypedArray = (function () { function t(i, a) { var n = 0, s = [], l; switch (i) { case "int16": case "uint8c": l = 1; break; default: l = 1.1; break; } for (n = 0; n < a; n += 1) s.push(l); return s; } function r(i, a) { return i === "float32" ? new Float32Array(a) : i === "int16" ? new Int16Array(a) : i === "uint8c" ? new Uint8ClampedArray(a) : t(i, a); } return typeof Uint8ClampedArray == "function" && typeof Float32Array == "function" ? r : t; })(); function createSizedArray(t) { return Array.apply(null, { length: t }); } function createNS(t) { return document.createElementNS(svgNS, t); } function createTag(t) { return document.createElement(t); } function DynamicPropertyContainer() {} DynamicPropertyContainer.prototype = { addDynamicProperty: function (t) { (this || e).dynamicProperties.indexOf(t) === -1 && ((this || e).dynamicProperties.push(t), (this || e).container.addDynamicProperty(this || e), ((this || e)._isAnimated = !0)); }, iterateDynamicProperties: function () { (this || e)._mdf = !1; var t, r = (this || e).dynamicProperties.length; for (t = 0; t < r; t += 1) (this || e).dynamicProperties[t].getValue(), (this || e).dynamicProperties[t]._mdf && ((this || e)._mdf = !0); }, initDynamicPropertyContainer: function (t) { ((this || e).container = t), ((this || e).dynamicProperties = []), ((this || e)._mdf = !1), ((this || e)._isAnimated = !1); }, }; var getBlendMode = (function () { var t = { 0: "source-over", 1: "multiply", 2: "screen", 3: "overlay", 4: "darken", 5: "lighten", 6: "color-dodge", 7: "color-burn", 8: "hard-light", 9: "soft-light", 10: "difference", 11: "exclusion", 12: "hue", 13: "saturation", 14: "color", 15: "luminosity", }; return function (r) { return t[r] || ""; }; })(); /*! Transformation Matrix v2.0 (c) Epistemex 2014-2015 www.epistemex.com By Ken Fyrstenberg Contributions by leeoniya. License: MIT, header required. */ var Matrix = (function () { var t = Math.cos, r = Math.sin, i = Math.tan, a = Math.round; function n() { return ( ((this || e).props[0] = 1), ((this || e).props[1] = 0), ((this || e).props[2] = 0), ((this || e).props[3] = 0), ((this || e).props[4] = 0), ((this || e).props[5] = 1), ((this || e).props[6] = 0), ((this || e).props[7] = 0), ((this || e).props[8] = 0), ((this || e).props[9] = 0), ((this || e).props[10] = 1), ((this || e).props[11] = 0), ((this || e).props[12] = 0), ((this || e).props[13] = 0), ((this || e).props[14] = 0), ((this || e).props[15] = 1), this || e ); } function s(T) { if (T === 0) return this || e; var _ = t(T), M = r(T); return this._t(_, -M, 0, 0, M, _, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } function l(T) { if (T === 0) return this || e; var _ = t(T), M = r(T); return this._t(1, 0, 0, 0, 0, _, -M, 0, 0, M, _, 0, 0, 0, 0, 1); } function v(T) { if (T === 0) return this || e; var _ = t(T), M = r(T); return this._t(_, 0, M, 0, 0, 1, 0, 0, -M, 0, _, 0, 0, 0, 0, 1); } function y(T) { if (T === 0) return this || e; var _ = t(T), M = r(T); return this._t(_, -M, 0, 0, M, _, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } function g(T, _) { return this._t(1, _, T, 1, 0, 0); } function w(T, _) { return this.shear(i(T), i(_)); } function x(T, _) { var M = t(_), B = r(_); return this._t(M, B, 0, 0, -B, M, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) ._t(1, 0, 0, 0, i(T), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) ._t(M, -B, 0, 0, B, M, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } function p(T, _, M) { return ( !M && M !== 0 && (M = 1), T === 1 && _ === 1 && M === 1 ? this || e : this._t(T, 0, 0, 0, 0, _, 0, 0, 0, 0, M, 0, 0, 0, 0, 1) ); } function u(T, _, M, B, L, U, W, J, ie, ee, le, me, pe, se, ae, de) { return ( ((this || e).props[0] = T), ((this || e).props[1] = _), ((this || e).props[2] = M), ((this || e).props[3] = B), ((this || e).props[4] = L), ((this || e).props[5] = U), ((this || e).props[6] = W), ((this || e).props[7] = J), ((this || e).props[8] = ie), ((this || e).props[9] = ee), ((this || e).props[10] = le), ((this || e).props[11] = me), ((this || e).props[12] = pe), ((this || e).props[13] = se), ((this || e).props[14] = ae), ((this || e).props[15] = de), this || e ); } function C(T, _, M) { return ( (M = M || 0), T !== 0 || _ !== 0 || M !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, T, _, M, 1) : this || e ); } function c(T, _, M, B, L, U, W, J, ie, ee, le, me, pe, se, ae, de) { var q = (this || e).props; if ( T === 1 && _ === 0 && M === 0 && B === 0 && L === 0 && U === 1 && W === 0 && J === 0 && ie === 0 && ee === 0 && le === 1 && me === 0 ) return ( (q[12] = q[12] * T + q[15] * pe), (q[13] = q[13] * U + q[15] * se), (q[14] = q[14] * le + q[15] * ae), (q[15] *= de), ((this || e)._identityCalculated = !1), this || e ); var re = q[0], xe = q[1], Se = q[2], we = q[3], be = q[4], ye = q[5], Q = q[6], Z = q[7], ce = q[8], ne = q[9], fe = q[10], ue = q[11], he = q[12], ge = q[13], Ae = q[14], Oe = q[15]; return ( (q[0] = re * T + xe * L + Se * ie + we * pe), (q[1] = re * _ + xe * U + Se * ee + we * se), (q[2] = re * M + xe * W + Se * le + we * ae), (q[3] = re * B + xe * J + Se * me + we * de), (q[4] = be * T + ye * L + Q * ie + Z * pe), (q[5] = be * _ + ye * U + Q * ee + Z * se), (q[6] = be * M + ye * W + Q * le + Z * ae), (q[7] = be * B + ye * J + Q * me + Z * de), (q[8] = ce * T + ne * L + fe * ie + ue * pe), (q[9] = ce * _ + ne * U + fe * ee + ue * se), (q[10] = ce * M + ne * W + fe * le + ue * ae), (q[11] = ce * B + ne * J + fe * me + ue * de), (q[12] = he * T + ge * L + Ae * ie + Oe * pe), (q[13] = he * _ + ge * U + Ae * ee + Oe * se), (q[14] = he * M + ge * W + Ae * le + Oe * ae), (q[15] = he * B + ge * J + Ae * me + Oe * de), ((this || e)._identityCalculated = !1), this || e ); } function h() { return ( (this || e)._identityCalculated || (((this || e)._identity = !( (this || e).props[0] !== 1 || (this || e).props[1] !== 0 || (this || e).props[2] !== 0 || (this || e).props[3] !== 0 || (this || e).props[4] !== 0 || (this || e).props[5] !== 1 || (this || e).props[6] !== 0 || (this || e).props[7] !== 0 || (this || e).props[8] !== 0 || (this || e).props[9] !== 0 || (this || e).props[10] !== 1 || (this || e).props[11] !== 0 || (this || e).props[12] !== 0 || (this || e).props[13] !== 0 || (this || e).props[14] !== 0 || (this || e).props[15] !== 1 )), ((this || e)._identityCalculated = !0)), (this || e)._identity ); } function m(T) { for (var _ = 0; _ < 16; ) { if (T.props[_] !== (this || e).props[_]) return !1; _ += 1; } return !0; } function o(T) { var _; for (_ = 0; _ < 16; _ += 1) T.props[_] = (this || e).props[_]; return T; } function f(T) { var _; for (_ = 0; _ < 16; _ += 1) (this || e).props[_] = T[_]; } function d(T, _, M) { return { x: T * (this || e).props[0] + _ * (this || e).props[4] + M * (this || e).props[8] + (this || e).props[12], y: T * (this || e).props[1] + _ * (this || e).props[5] + M * (this || e).props[9] + (this || e).props[13], z: T * (this || e).props[2] + _ * (this || e).props[6] + M * (this || e).props[10] + (this || e).props[14], }; } function b(T, _, M) { return ( T * (this || e).props[0] + _ * (this || e).props[4] + M * (this || e).props[8] + (this || e).props[12] ); } function A(T, _, M) { return ( T * (this || e).props[1] + _ * (this || e).props[5] + M * (this || e).props[9] + (this || e).props[13] ); } function E(T, _, M) { return ( T * (this || e).props[2] + _ * (this || e).props[6] + M * (this || e).props[10] + (this || e).props[14] ); } function P() { var T = (this || e).props[0] * (this || e).props[5] - (this || e).props[1] * (this || e).props[4], _ = (this || e).props[5] / T, M = -(this || e).props[1] / T, B = -(this || e).props[4] / T, L = (this || e).props[0] / T, U = ((this || e).props[4] * (this || e).props[13] - (this || e).props[5] * (this || e).props[12]) / T, W = -( (this || e).props[0] * (this || e).props[13] - (this || e).props[1] * (this || e).props[12] ) / T, J = new Matrix(); return ( (J.props[0] = _), (J.props[1] = M), (J.props[4] = B), (J.props[5] = L), (J.props[12] = U), (J.props[13] = W), J ); } function F(T) { var _ = this.getInverseMatrix(); return _.applyToPointArray(T[0], T[1], T[2] || 0); } function I(T) { var _, M = T.length, B = []; for (_ = 0; _ < M; _ += 1) B[_] = F(T[_]); return B; } function R(T, _, M) { var B = createTypedArray("float32", 6); if (this.isIdentity()) (B[0] = T[0]), (B[1] = T[1]), (B[2] = _[0]), (B[3] = _[1]), (B[4] = M[0]), (B[5] = M[1]); else { var L = (this || e).props[0], U = (this || e).props[1], W = (this || e).props[4], J = (this || e).props[5], ie = (this || e).props[12], ee = (this || e).props[13]; (B[0] = T[0] * L + T[1] * W + ie), (B[1] = T[0] * U + T[1] * J + ee), (B[2] = _[0] * L + _[1] * W + ie), (B[3] = _[0] * U + _[1] * J + ee), (B[4] = M[0] * L + M[1] * W + ie), (B[5] = M[0] * U + M[1] * J + ee); } return B; } function O(T, _, M) { var B; return ( this.isIdentity() ? (B = [T, _, M]) : (B = [ T * (this || e).props[0] + _ * (this || e).props[4] + M * (this || e).props[8] + (this || e).props[12], T * (this || e).props[1] + _ * (this || e).props[5] + M * (this || e).props[9] + (this || e).props[13], T * (this || e).props[2] + _ * (this || e).props[6] + M * (this || e).props[10] + (this || e).props[14], ]), B ); } function z(T, _) { if (this.isIdentity()) return T + "," + _; var M = (this || e).props; return ( Math.round((T * M[0] + _ * M[4] + M[12]) * 100) / 100 + "," + Math.round((T * M[1] + _ * M[5] + M[13]) * 100) / 100 ); } function V() { for ( var T = 0, _ = (this || e).props, M = "matrix3d(", B = 1e4; T < 16; ) (M += a(_[T] * B) / B), (M += T === 15 ? ")" : ","), (T += 1); return M; } function N(T) { var _ = 1e4; return (T < 1e-6 && T > 0) || (T > -1e-6 && T < 0) ? a(T * _) / _ : T; } function k() { var T = (this || e).props, _ = N(T[0]), M = N(T[1]), B = N(T[4]), L = N(T[5]), U = N(T[12]), W = N(T[13]); return ( "matrix(" + _ + "," + M + "," + B + "," + L + "," + U + "," + W + ")" ); } return function () { ((this || e).reset = n), ((this || e).rotate = s), ((this || e).rotateX = l), ((this || e).rotateY = v), ((this || e).rotateZ = y), ((this || e).skew = w), ((this || e).skewFromAxis = x), ((this || e).shear = g), ((this || e).scale = p), ((this || e).setTransform = u), ((this || e).translate = C), ((this || e).transform = c), ((this || e).applyToPoint = d), ((this || e).applyToX = b), ((this || e).applyToY = A), ((this || e).applyToZ = E), ((this || e).applyToPointArray = O), ((this || e).applyToTriplePoints = R), ((this || e).applyToPointStringified = z), ((this || e).toCSS = V), ((this || e).to2dCSS = k), ((this || e).clone = o), ((this || e).cloneFromProps = f), ((this || e).equals = m), ((this || e).inversePoints = I), ((this || e).inversePoint = F), ((this || e).getInverseMatrix = P), ((this || e)._t = (this || e).transform), ((this || e).isIdentity = h), ((this || e)._identity = !0), ((this || e)._identityCalculated = !1), ((this || e).props = createTypedArray("float32", 16)), this.reset(); }; })(); (function (t, r) { var i = this || e, a = 256, n = 6, s = 52, l = "random", v = r.pow(a, n), y = r.pow(2, s), g = y * 2, w = a - 1, x; function p(f, d, b) { var A = []; d = d === !0 ? { entropy: !0 } : d || {}; var E = h(c(d.entropy ? [f, o(t)] : f === null ? m() : f, 3), A), P = new u(A), F = function () { for (var I = P.g(n), R = v, O = 0; I < y; ) (I = (I + O) * a), (R *= a), (O = P.g(1)); for (; I >= g; ) (I /= 2), (R /= 2), (O >>>= 1); return (I + O) / R; }; return ( (F.int32 = function () { return P.g(4) | 0; }), (F.quick = function () { return P.g(4) / 4294967296; }), (F.double = F), h(o(P.S), t), ( d.pass || b || function (I, R, O, z) { return ( z && (z.S && C(z, P), (I.state = function () { return C(P, {}); })), O ? ((r[l] = I), R) : I ); } )(F, E, "global" in d ? d.global : (this || e) == r, d.state) ); } r["seed" + l] = p; function u(f) { var d, b = f.length, A = this || e, E = 0, P = (A.i = A.j = 0), F = (A.S = []); for (b || (f = [b++]); E < a; ) F[E] = E++; for (E = 0; E < a; E++) (F[E] = F[(P = w & (P + f[E % b] + (d = F[E])))]), (F[P] = d); A.g = function (I) { for (var R, O = 0, z = A.i, V = A.j, N = A.S; I--; ) (R = N[(z = w & (z + 1))]), (O = O * a + N[w & ((N[z] = N[(V = w & (V + R))]) + (N[V] = R))]); return (A.i = z), (A.j = V), O; }; } function C(f, d) { return (d.i = f.i), (d.j = f.j), (d.S = f.S.slice()), d; } function c(f, d) { var b = [], A = typeof f, E; if (d && A == "object") for (E in f) try { b.push(c(f[E], d - 1)); } catch {} return b.length ? b : A == "string" ? f : f + "\0"; } function h(f, d) { for (var b = f + "", A, E = 0; E < b.length; ) d[w & E] = w & ((A ^= d[w & E] * 19) + b.charCodeAt(E++)); return o(d); } function m() { try { if (x) return o(x.randomBytes(a)); var f = new Uint8Array(a); return (i.crypto || i.msCrypto).getRandomValues(f), o(f); } catch { var d = i.navigator, b = d && d.plugins; return [+new Date(), i, b, i.screen, o(t)]; } } function o(f) { return String.fromCharCode.apply(0, f); } h(r.random(), t); })([], BMMath); var BezierFactory = (function () { var t = {}; t.getBezierEasing = i; var r = {}; function i(o, f, d, b, A) { var E = A || ("bez_" + o + "_" + f + "_" + d + "_" + b).replace(/\./g, "p"); if (r[E]) return r[E]; var P = new m([o, f, d, b]); return (r[E] = P), P; } var a = 4, n = 0.001, s = 1e-7, l = 10, v = 11, y = 1 / (v - 1), g = typeof Float32Array == "function"; function w(o, f) { return 1 - 3 * f + 3 * o; } function x(o, f) { return 3 * f - 6 * o; } function p(o) { return 3 * o; } function u(o, f, d) { return ((w(f, d) * o + x(f, d)) * o + p(f)) * o; } function C(o, f, d) { return 3 * w(f, d) * o * o + 2 * x(f, d) * o + p(f); } function c(o, f, d, b, A) { var E, P, F = 0; do (P = f + (d - f) / 2), (E = u(P, b, A) - o), E > 0 ? (d = P) : (f = P); while (Math.abs(E) > s && ++F < l); return P; } function h(o, f, d, b) { for (var A = 0; A < a; ++A) { var E = C(f, d, b); if (E === 0) return f; var P = u(f, d, b) - o; f -= P / E; } return f; } function m(o) { ((this || e)._p = o), ((this || e)._mSampleValues = g ? new Float32Array(v) : new Array(v)), ((this || e)._precomputed = !1), ((this || e).get = (this || e).get.bind(this || e)); } return ( (m.prototype = { get: function (o) { var f = (this || e)._p[0], d = (this || e)._p[1], b = (this || e)._p[2], A = (this || e)._p[3]; return ( (this || e)._precomputed || this._precompute(), f === d && b === A ? o : o === 0 ? 0 : o === 1 ? 1 : u(this._getTForX(o), d, A) ); }, _precompute: function () { var o = (this || e)._p[0], f = (this || e)._p[1], d = (this || e)._p[2], b = (this || e)._p[3]; ((this || e)._precomputed = !0), (o !== f || d !== b) && this._calcSampleValues(); }, _calcSampleValues: function () { for ( var o = (this || e)._p[0], f = (this || e)._p[2], d = 0; d < v; ++d ) (this || e)._mSampleValues[d] = u(d * y, o, f); }, _getTForX: function (o) { for ( var f = (this || e)._p[0], d = (this || e)._p[2], b = (this || e)._mSampleValues, A = 0, E = 1, P = v - 1; E !== P && b[E] <= o; ++E ) A += y; --E; var F = (o - b[E]) / (b[E + 1] - b[E]), I = A + F * y, R = C(I, f, d); return R >= n ? h(o, I, f, d) : R === 0 ? I : c(o, A, A + y, f, d); }, }), t ); })(); (function () { for ( var t = 0, r = ["ms", "moz", "webkit", "o"], i = 0; i < r.length && !window.requestAnimationFrame; ++i ) (window.requestAnimationFrame = window[r[i] + "RequestAnimationFrame"]), (window.cancelAnimationFrame = window[r[i] + "CancelAnimationFrame"] || window[r[i] + "CancelRequestAnimationFrame"]); window.requestAnimationFrame || (window.requestAnimationFrame = function (a) { var n = new Date().getTime(), s = Math.max(0, 16 - (n - t)), l = setTimeout(function () { a(n + s); }, s); return (t = n + s), l; }), window.cancelAnimationFrame || (window.cancelAnimationFrame = function (a) { clearTimeout(a); }); })(); function extendPrototype(t, r) { var i, a = t.length, n; for (i = 0; i < a; i += 1) { n = t[i].prototype; for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (r.prototype[s] = n[s]); } } function getDescriptor(t, r) { return Object.getOwnPropertyDescriptor(t, r); } function createProxyFunction(t) { function r() {} return (r.prototype = t), r; } function bezFunction() { var t = Math; function r(p, u, C, c, h, m) { var o = p * c + u * h + C * m - h * c - m * p - C * u; return o > -0.001 && o < 0.001; } function i(p, u, C, c, h, m, o, f, d) { if (C === 0 && m === 0 && d === 0) return r(p, u, c, h, o, f); var b = t.sqrt(t.pow(c - p, 2) + t.pow(h - u, 2) + t.pow(m - C, 2)), A = t.sqrt(t.pow(o - p, 2) + t.pow(f - u, 2) + t.pow(d - C, 2)), E = t.sqrt(t.pow(o - c, 2) + t.pow(f - h, 2) + t.pow(d - m, 2)), P; return ( b > A ? b > E ? (P = b - A - E) : (P = E - A - b) : E > A ? (P = E - A - b) : (P = A - b - E), P > -1e-4 && P < 1e-4 ); } var a = (function () { return function (p, u, C, c) { var h = defaultCurveSegments, m, o, f, d, b, A = 0, E, P = [], F = [], I = bezierLengthPool.newElement(); for (f = C.length, m = 0; m < h; m += 1) { for (b = m / (h - 1), E = 0, o = 0; o < f; o += 1) (d = bmPow(1 - b, 3) * p[o] + 3 * bmPow(1 - b, 2) * b * C[o] + 3 * (1 - b) * bmPow(b, 2) * c[o] + bmPow(b, 3) * u[o]), (P[o] = d), F[o] !== null && (E += bmPow(P[o] - F[o], 2)), (F[o] = P[o]); E && ((E = bmSqrt(E)), (A += E)), (I.percents[m] = b), (I.lengths[m] = A); } return (I.addedLength = A), I; }; })(); function n(p) { var u = segmentsLengthPool.newElement(), C = p.c, c = p.v, h = p.o, m = p.i, o, f = p._length, d = u.lengths, b = 0; for (o = 0; o < f - 1; o += 1) (d[o] = a(c[o], c[o + 1], h[o], m[o + 1])), (b += d[o].addedLength); return ( C && f && ((d[o] = a(c[o], c[0], h[o], m[0])), (b += d[o].addedLength)), (u.totalLength = b), u ); } function s(p) { ((this || e).segmentLength = 0), ((this || e).points = new Array(p)); } function l(p, u) { ((this || e).partialLength = p), ((this || e).point = u); } var v = (function () { var p = {}; return function (u, C, c, h) { var m = ( u[0] + "_" + u[1] + "_" + C[0] + "_" + C[1] + "_" + c[0] + "_" + c[1] + "_" + h[0] + "_" + h[1] ).replace(/\./g, "p"); if (!p[m]) { var o = defaultCurveSegments, f, d, b, A, E, P = 0, F, I, R = null; u.length === 2 && (u[0] !== C[0] || u[1] !== C[1]) && r(u[0], u[1], C[0], C[1], u[0] + c[0], u[1] + c[1]) && r(u[0], u[1], C[0], C[1], C[0] + h[0], C[1] + h[1]) && (o = 2); var O = new s(o); for (b = c.length, f = 0; f < o; f += 1) { for ( I = createSizedArray(b), E = f / (o - 1), F = 0, d = 0; d < b; d += 1 ) (A = bmPow(1 - E, 3) * u[d] + 3 * bmPow(1 - E, 2) * E * (u[d] + c[d]) + 3 * (1 - E) * bmPow(E, 2) * (C[d] + h[d]) + bmPow(E, 3) * C[d]), (I[d] = A), R !== null && (F += bmPow(I[d] - R[d], 2)); (F = bmSqrt(F)), (P += F), (O.points[f] = new l(F, I)), (R = I); } (O.segmentLength = P), (p[m] = O); } return p[m]; }; })(); function y(p, u) { var C = u.percents, c = u.lengths, h = C.length, m = bmFloor((h - 1) * p), o = p * u.addedLength, f = 0; if (m === h - 1 || m === 0 || o === c[m]) return C[m]; for (var d = c[m] > o ? -1 : 1, b = !0; b; ) if ( (c[m] <= o && c[m + 1] > o ? ((f = (o - c[m]) / (c[m + 1] - c[m])), (b = !1)) : (m += d), m < 0 || m >= h - 1) ) { if (m === h - 1) return C[m]; b = !1; } return C[m] + (C[m + 1] - C[m]) * f; } function g(p, u, C, c, h, m) { var o = y(h, m), f = 1 - o, d = t.round( (f * f * f * p[0] + (o * f * f + f * o * f + f * f * o) * C[0] + (o * o * f + f * o * o + o * f * o) * c[0] + o * o * o * u[0]) * 1e3 ) / 1e3, b = t.round( (f * f * f * p[1] + (o * f * f + f * o * f + f * f * o) * C[1] + (o * o * f + f * o * o + o * f * o) * c[1] + o * o * o * u[1]) * 1e3 ) / 1e3; return [d, b]; } var w = createTypedArray("float32", 8); function x(p, u, C, c, h, m, o) { h < 0 ? (h = 0) : h > 1 && (h = 1); var f = y(h, o); m = m > 1 ? 1 : m; var d = y(m, o), b, A = p.length, E = 1 - f, P = 1 - d, F = E * E * E, I = f * E * E * 3, R = f * f * E * 3, O = f * f * f, z = E * E * P, V = f * E * P + E * f * P + E * E * d, N = f * f * P + E * f * d + f * E * d, k = f * f * d, T = E * P * P, _ = f * P * P + E * d * P + E * P * d, M = f * d * P + E * d * d + f * P * d, B = f * d * d, L = P * P * P, U = d * P * P + P * d * P + P * P * d, W = d * d * P + P * d * d + d * P * d, J = d * d * d; for (b = 0; b < A; b += 1) (w[b * 4] = t.round((F * p[b] + I * C[b] + R * c[b] + O * u[b]) * 1e3) / 1e3), (w[b * 4 + 1] = t.round((z * p[b] + V * C[b] + N * c[b] + k * u[b]) * 1e3) / 1e3), (w[b * 4 + 2] = t.round((T * p[b] + _ * C[b] + M * c[b] + B * u[b]) * 1e3) / 1e3), (w[b * 4 + 3] = t.round((L * p[b] + U * C[b] + W * c[b] + J * u[b]) * 1e3) / 1e3); return w; } return { getSegmentsLength: n, getNewSegment: x, getPointInSegment: g, buildBezierData: v, pointOnLine2D: r, pointOnLine3D: i, }; } var bez = bezFunction(); function dataFunctionManager() { function t(p, u, C) { var c, h, m = p.length, o, f, d, b; for (h = 0; h < m; h += 1) if (((c = p[h]), "ks" in c && !c.completed)) { if (((c.completed = !0), c.tt && (p[h - 1].td = c.tt), c.hasMask)) { var A = c.masksProperties; for (f = A.length, o = 0; o < f; o += 1) if (A[o].pt.k.i) a(A[o].pt.k); else for (b = A[o].pt.k.length, d = 0; d < b; d += 1) A[o].pt.k[d].s && a(A[o].pt.k[d].s[0]), A[o].pt.k[d].e && a(A[o].pt.k[d].e[0]); } c.ty === 0 ? ((c.layers = r(c.refId, u)), t(c.layers, u, C)) : c.ty === 4 ? i(c.shapes) : c.ty === 5 && w(c, C); } } function r(p, u) { for (var C = 0, c = u.length; C < c; ) { if (u[C].id === p) return u[C].layers.__used ? JSON.parse(JSON.stringify(u[C].layers)) : ((u[C].layers.__used = !0), u[C].layers); C += 1; } return null; } function i(p) { var u, C = p.length, c, h; for (u = C - 1; u >= 0; u -= 1) if (p[u].ty === "sh") if (p[u].ks.k.i) a(p[u].ks.k); else for (h = p[u].ks.k.length, c = 0; c < h; c += 1) p[u].ks.k[c].s && a(p[u].ks.k[c].s[0]), p[u].ks.k[c].e && a(p[u].ks.k[c].e[0]); else p[u].ty === "gr" && i(p[u].it); } function a(p) { var u, C = p.i.length; for (u = 0; u < C; u += 1) (p.i[u][0] += p.v[u][0]), (p.i[u][1] += p.v[u][1]), (p.o[u][0] += p.v[u][0]), (p.o[u][1] += p.v[u][1]); } function n(p, u) { var C = u ? u.split(".") : [100, 100, 100]; return p[0] > C[0] ? !0 : C[0] > p[0] ? !1 : p[1] > C[1] ? !0 : C[1] > p[1] ? !1 : p[2] > C[2] ? !0 : C[2] > p[2] ? !1 : null; } var s = (function () { var p = [4, 4, 14]; function u(c) { var h = c.t.d; c.t.d = { k: [{ s: h, t: 0 }] }; } function C(c) { var h, m = c.length; for (h = 0; h < m; h += 1) c[h].ty === 5 && u(c[h]); } return function (c) { if (n(p, c.v) && (C(c.layers), c.assets)) { var h, m = c.assets.length; for (h = 0; h < m; h += 1) c.assets[h].layers && C(c.assets[h].layers); } }; })(), l = (function () { var p = [4, 7, 99]; return function (u) { if (u.chars && !n(p, u.v)) { var C, c = u.chars.length, h, m, o, f; for (C = 0; C < c; C += 1) if (u.chars[C].data && u.chars[C].data.shapes) for ( f = u.chars[C].data.shapes[0].it, m = f.length, h = 0; h < m; h += 1 ) (o = f[h].ks.k), o.__converted || (a(f[h].ks.k), (o.__converted = !0)); } }; })(), v = (function () { var p = [4, 1, 9]; function u(c) { var h, m = c.length, o, f; for (h = 0; h < m; h += 1) if (c[h].ty === "gr") u(c[h].it); else if (c[h].ty === "fl" || c[h].ty === "st") if (c[h].c.k && c[h].c.k[0].i) for (f = c[h].c.k.length, o = 0; o < f; o += 1) c[h].c.k[o].s && ((c[h].c.k[o].s[0] /= 255), (c[h].c.k[o].s[1] /= 255), (c[h].c.k[o].s[2] /= 255), (c[h].c.k[o].s[3] /= 255)), c[h].c.k[o].e && ((c[h].c.k[o].e[0] /= 255), (c[h].c.k[o].e[1] /= 255), (c[h].c.k[o].e[2] /= 255), (c[h].c.k[o].e[3] /= 255)); else (c[h].c.k[0] /= 255), (c[h].c.k[1] /= 255), (c[h].c.k[2] /= 255), (c[h].c.k[3] /= 255); } function C(c) { var h, m = c.length; for (h = 0; h < m; h += 1) c[h].ty === 4 && u(c[h].shapes); } return function (c) { if (n(p, c.v) && (C(c.layers), c.assets)) { var h, m = c.assets.length; for (h = 0; h < m; h += 1) c.assets[h].layers && C(c.assets[h].layers); } }; })(), y = (function () { var p = [4, 4, 18]; function u(c) { var h, m = c.length, o, f; for (h = m - 1; h >= 0; h -= 1) if (c[h].ty === "sh") if (c[h].ks.k.i) c[h].ks.k.c = c[h].closed; else for (f = c[h].ks.k.length, o = 0; o < f; o += 1) c[h].ks.k[o].s && (c[h].ks.k[o].s[0].c = c[h].closed), c[h].ks.k[o].e && (c[h].ks.k[o].e[0].c = c[h].closed); else c[h].ty === "gr" && u(c[h].it); } function C(c) { var h, m, o = c.length, f, d, b, A; for (m = 0; m < o; m += 1) { if (((h = c[m]), h.hasMask)) { var E = h.masksProperties; for (d = E.length, f = 0; f < d; f += 1) if (E[f].pt.k.i) E[f].pt.k.c = E[f].cl; else for (A = E[f].pt.k.length, b = 0; b < A; b += 1) E[f].pt.k[b].s && (E[f].pt.k[b].s[0].c = E[f].cl), E[f].pt.k[b].e && (E[f].pt.k[b].e[0].c = E[f].cl); } h.ty === 4 && u(h.shapes); } } return function (c) { if (n(p, c.v) && (C(c.layers), c.assets)) { var h, m = c.assets.length; for (h = 0; h < m; h += 1) c.assets[h].layers && C(c.assets[h].layers); } }; })(); function g(p, u) { p.__complete || (v(p), s(p), l(p), y(p), t(p.layers, p.assets, u), (p.__complete = !0)); } function w(p) { p.t.a.length === 0 && !("m" in p.t.p) && (p.singleShape = !0); } var x = {}; return ( (x.completeData = g), (x.checkColors = v), (x.checkChars = l), (x.checkShapes = y), (x.completeLayers = t), x ); } var dataManager = dataFunctionManager(); function getFontProperties(t) { for ( var r = t.fStyle ? t.fStyle.split(" ") : [], i = "normal", a = "normal", n = r.length, s, l = 0; l < n; l += 1 ) switch (((s = r[l].toLowerCase()), s)) { case "italic": a = "italic"; break; case "bold": i = "700"; break; case "black": i = "900"; break; case "medium": i = "500"; break; case "regular": case "normal": i = "400"; break; case "light": case "thin": i = "200"; break; default: break; } return { style: a, weight: t.fWeight || i }; } var FontManager = (function () { var t = 5e3, r = { w: 0, size: 0, shapes: [] }, i = []; i = i.concat([ 2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2387, 2388, 2389, 2390, 2391, 2402, 2403, ]); function a(h) { var m = h.split(","), o, f = m.length, d = []; for (o = 0; o < f; o += 1) m[o] !== "sans-serif" && m[o] !== "monospace" && d.push(m[o]); return d.join(","); } function n(h, m) { var o = createTag("span"); o.setAttribute("aria-hidden", !0), (o.style.fontFamily = m); var f = createTag("span"); (f.innerText = "giItT1WQy@!-/#"), (o.style.position = "absolute"), (o.style.left = "-10000px"), (o.style.top = "-10000px"), (o.style.fontSize = "300px"), (o.style.fontVariant = "normal"), (o.style.fontStyle = "normal"), (o.style.fontWeight = "normal"), (o.style.letterSpacing = "0"), o.appendChild(f), document.body.appendChild(o); var d = f.offsetWidth; return ( (f.style.fontFamily = a(h) + ", " + m), { node: f, w: d, parent: o } ); } function s() { var h, m = (this || e).fonts.length, o, f, d = m; for (h = 0; h < m; h += 1) (this || e).fonts[h].loaded ? (d -= 1) : (this || e).fonts[h].fOrigin === "n" || (this || e).fonts[h].origin === 0 ? ((this || e).fonts[h].loaded = !0) : ((o = (this || e).fonts[h].monoCase.node), (f = (this || e).fonts[h].monoCase.w), o.offsetWidth !== f ? ((d -= 1), ((this || e).fonts[h].loaded = !0)) : ((o = (this || e).fonts[h].sansCase.node), (f = (this || e).fonts[h].sansCase.w), o.offsetWidth !== f && ((d -= 1), ((this || e).fonts[h].loaded = !0))), (this || e).fonts[h].loaded && ((this || e).fonts[h].sansCase.parent.parentNode.removeChild( (this || e).fonts[h].sansCase.parent ), (this || e).fonts[h].monoCase.parent.parentNode.removeChild( (this || e).fonts[h].monoCase.parent ))); d !== 0 && Date.now() - (this || e).initTime < t ? setTimeout((this || e).checkLoadedFontsBinded, 20) : setTimeout((this || e).setIsLoadedBinded, 10); } function l(h, m) { var o = createNS("text"); o.style.fontSize = "100px"; var f = getFontProperties(m); o.setAttribute("font-family", m.fFamily), o.setAttribute("font-style", f.style), o.setAttribute("font-weight", f.weight), (o.textContent = "1"), m.fClass ? ((o.style.fontFamily = "inherit"), o.setAttribute("class", m.fClass)) : (o.style.fontFamily = m.fFamily), h.appendChild(o); var d = createTag("canvas").getContext("2d"); return ( (d.font = m.fWeight + " " + m.fStyle + " 100px " + m.fFamily), o ); } function v(h, m) { if (!h) { (this || e).isLoaded = !0; return; } if ((this || e).chars) { ((this || e).isLoaded = !0), ((this || e).fonts = h.list); return; } var o = h.list, f, d = o.length, b = d; for (f = 0; f < d; f += 1) { var A = !0, E, P; if ( ((o[f].loaded = !1), (o[f].monoCase = n(o[f].fFamily, "monospace")), (o[f].sansCase = n(o[f].fFamily, "sans-serif")), !o[f].fPath) ) (o[f].loaded = !0), (b -= 1); else if (o[f].fOrigin === "p" || o[f].origin === 3) { if ( ((E = document.querySelectorAll( 'style[f-forigin="p"][f-family="' + o[f].fFamily + '"], style[f-origin="3"][f-family="' + o[f].fFamily + '"]' )), E.length > 0 && (A = !1), A) ) { var F = createTag("style"); F.setAttribute("f-forigin", o[f].fOrigin), F.setAttribute("f-origin", o[f].origin), F.setAttribute("f-family", o[f].fFamily), (F.type = "text/css"), (F.innerText = "@font-face {font-family: " + o[f].fFamily + "; font-style: normal; src: url('" + o[f].fPath + "');}"), m.appendChild(F); } } else if (o[f].fOrigin === "g" || o[f].origin === 1) { for ( E = document.querySelectorAll( 'link[f-forigin="g"], link[f-origin="1"]' ), P = 0; P < E.length; P += 1 ) E[P].href.indexOf(o[f].fPath) !== -1 && (A = !1); if (A) { var I = createTag("link"); I.setAttribute("f-forigin", o[f].fOrigin), I.setAttribute("f-origin", o[f].origin), (I.type = "text/css"), (I.rel = "stylesheet"), (I.href = o[f].fPath), document.body.appendChild(I); } } else if (o[f].fOrigin === "t" || o[f].origin === 2) { for ( E = document.querySelectorAll( 'script[f-forigin="t"], script[f-origin="2"]' ), P = 0; P < E.length; P += 1 ) o[f].fPath === E[P].src && (A = !1); if (A) { var R = createTag("link"); R.setAttribute("f-forigin", o[f].fOrigin), R.setAttribute("f-origin", o[f].origin), R.setAttribute("rel", "stylesheet"), R.setAttribute("href", o[f].fPath), m.appendChild(R); } } (o[f].helper = l(m, o[f])), (o[f].cache = {}), (this || e).fonts.push(o[f]); } b === 0 ? ((this || e).isLoaded = !0) : setTimeout((this || e).checkLoadedFonts.bind(this || e), 100); } function y(h) { if (h) { (this || e).chars || ((this || e).chars = []); var m, o = h.length, f, d = (this || e).chars.length, b; for (m = 0; m < o; m += 1) { for (f = 0, b = !1; f < d; ) (this || e).chars[f].style === h[m].style && (this || e).chars[f].fFamily === h[m].fFamily && (this || e).chars[f].ch === h[m].ch && (b = !0), (f += 1); b || ((this || e).chars.push(h[m]), (d += 1)); } } } function g(h, m, o) { for (var f = 0, d = (this || e).chars.length; f < d; ) { if ( (this || e).chars[f].ch === h && (this || e).chars[f].style === m && (this || e).chars[f].fFamily === o ) return (this || e).chars[f]; f += 1; } return ( ((typeof h == "string" && h.charCodeAt(0) !== 13) || !h) && console && console.warn && !(this || e)._warned && (((this || e)._warned = !0), console.warn( "Missing character from exported characters list: ", h, m, o )), r ); } function w(h, m, o) { var f = this.getFontByName(m), d = h.charCodeAt(0); if (!f.cache[d + 1]) { var b = f.helper; if (h === " ") { b.textContent = "|" + h + "|"; var A = b.getComputedTextLength(); b.textContent = "||"; var E = b.getComputedTextLength(); f.cache[d + 1] = (A - E) / 100; } else (b.textContent = h), (f.cache[d + 1] = b.getComputedTextLength() / 100); } return f.cache[d + 1] * o; } function x(h) { for (var m = 0, o = (this || e).fonts.length; m < o; ) { if ((this || e).fonts[m].fName === h) return (this || e).fonts[m]; m += 1; } return (this || e).fonts[0]; } function p() { return i; } function u() { (this || e).isLoaded = !0; } var C = function () { ((this || e).fonts = []), ((this || e).chars = null), ((this || e).typekitLoaded = 0), ((this || e).isLoaded = !1), ((this || e)._warned = !1), ((this || e).initTime = Date.now()), ((this || e).setIsLoadedBinded = (this || e).setIsLoaded.bind( this || e )), ((this || e).checkLoadedFontsBinded = ( this || e ).checkLoadedFonts.bind(this || e)); }; C.getCombinedCharacterCodes = p; var c = { addChars: y, addFonts: v, getCharData: g, getFontByName: x, measureText: w, checkLoadedFonts: s, setIsLoaded: u, }; return (C.prototype = c), C; })(), PropertyFactory = (function () { var t = initialDefaultFrame, r = Math.abs; function i(h, m) { var o = (this || e).offsetTime, f; (this || e).propType === "multidimensional" && (f = createTypedArray("float32", (this || e).pv.length)); for ( var d = m.lastIndex, b = d, A = (this || e).keyframes.length - 1, E = !0, P, F; E; ) { if ( ((P = (this || e).keyframes[b]), (F = (this || e).keyframes[b + 1]), b === A - 1 && h >= F.t - o) ) { P.h && (P = F), (d = 0); break; } if (F.t - o > h) { d = b; break; } b < A - 1 ? (b += 1) : ((d = 0), (E = !1)); } var I, R, O, z, V, N, k = F.t - o, T = P.t - o, _; if (P.to) { P.bezierData || (P.bezierData = bez.buildBezierData(P.s, F.s || P.e, P.to, P.ti)); var M = P.bezierData; if (h >= k || h < T) { var B = h >= k ? M.points.length - 1 : 0; for (R = M.points[B].point.length, I = 0; I < R; I += 1) f[I] = M.points[B].point[I]; } else { P.__fnct ? (N = P.__fnct) : ((N = BezierFactory.getBezierEasing( P.o.x, P.o.y, P.i.x, P.i.y, P.n ).get), (P.__fnct = N)), (O = N((h - T) / (k - T))); var L = M.segmentLength * O, U, W = m.lastFrame < h && m._lastKeyframeIndex === b ? m._lastAddedLength : 0; for ( V = m.lastFrame < h && m._lastKeyframeIndex === b ? m._lastPoint : 0, E = !0, z = M.points.length; E; ) { if ( ((W += M.points[V].partialLength), L === 0 || O === 0 || V === M.points.length - 1) ) { for (R = M.points[V].point.length, I = 0; I < R; I += 1) f[I] = M.points[V].point[I]; break; } else if (L >= W && L < W + M.points[V + 1].partialLength) { for ( U = (L - W) / M.points[V + 1].partialLength, R = M.points[V].point.length, I = 0; I < R; I += 1 ) f[I] = M.points[V].point[I] + (M.points[V + 1].point[I] - M.points[V].point[I]) * U; break; } V < z - 1 ? (V += 1) : (E = !1); } (m._lastPoint = V), (m._lastAddedLength = W - M.points[V].partialLength), (m._lastKeyframeIndex = b); } } else { var J, ie, ee, le, me; if ( ((A = P.s.length), (_ = F.s || P.e), (this || e).sh && P.h !== 1) ) if (h >= k) (f[0] = _[0]), (f[1] = _[1]), (f[2] = _[2]); else if (h <= T) (f[0] = P.s[0]), (f[1] = P.s[1]), (f[2] = P.s[2]); else { var pe = s(P.s), se = s(_), ae = (h - T) / (k - T); n(f, a(pe, se, ae)); } else for (b = 0; b < A; b += 1) P.h !== 1 && (h >= k ? (O = 1) : h < T ? (O = 0) : (P.o.x.constructor === Array ? (P.__fnct || (P.__fnct = []), P.__fnct[b] ? (N = P.__fnct[b]) : ((J = typeof P.o.x[b] > "u" ? P.o.x[0] : P.o.x[b]), (ie = typeof P.o.y[b] > "u" ? P.o.y[0] : P.o.y[b]), (ee = typeof P.i.x[b] > "u" ? P.i.x[0] : P.i.x[b]), (le = typeof P.i.y[b] > "u" ? P.i.y[0] : P.i.y[b]), (N = BezierFactory.getBezierEasing( J, ie, ee, le ).get), (P.__fnct[b] = N))) : P.__fnct ? (N = P.__fnct) : ((J = P.o.x), (ie = P.o.y), (ee = P.i.x), (le = P.i.y), (N = BezierFactory.getBezierEasing( J, ie, ee, le ).get), (P.__fnct = N)), (O = N((h - T) / (k - T))))), (_ = F.s || P.e), (me = P.h === 1 ? P.s[b] : P.s[b] + (_[b] - P.s[b]) * O), (this || e).propType === "multidimensional" ? (f[b] = me) : (f = me); } return (m.lastIndex = d), f; } function a(h, m, o) { var f = [], d = h[0], b = h[1], A = h[2], E = h[3], P = m[0], F = m[1], I = m[2], R = m[3], O, z, V, N, k; return ( (z = d * P + b * F + A * I + E * R), z < 0 && ((z = -z), (P = -P), (F = -F), (I = -I), (R = -R)), 1 - z > 1e-6 ? ((O = Math.acos(z)), (V = Math.sin(O)), (N = Math.sin((1 - o) * O) / V), (k = Math.sin(o * O) / V)) : ((N = 1 - o), (k = o)), (f[0] = N * d + k * P), (f[1] = N * b + k * F), (f[2] = N * A + k * I), (f[3] = N * E + k * R), f ); } function n(h, m) { var o = m[0], f = m[1], d = m[2], b = m[3], A = Math.atan2(2 * f * b - 2 * o * d, 1 - 2 * f * f - 2 * d * d), E = Math.asin(2 * o * f + 2 * d * b), P = Math.atan2(2 * o * b - 2 * f * d, 1 - 2 * o * o - 2 * d * d); (h[0] = A / degToRads), (h[1] = E / degToRads), (h[2] = P / degToRads); } function s(h) { var m = h[0] * degToRads, o = h[1] * degToRads, f = h[2] * degToRads, d = Math.cos(m / 2), b = Math.cos(o / 2), A = Math.cos(f / 2), E = Math.sin(m / 2), P = Math.sin(o / 2), F = Math.sin(f / 2), I = d * b * A - E * P * F, R = E * P * A + d * b * F, O = E * b * A + d * P * F, z = d * P * A - E * b * F; return [R, O, z, I]; } function l() { var h = (this || e).comp.renderedFrame - (this || e).offsetTime, m = (this || e).keyframes[0].t - (this || e).offsetTime, o = (this || e).keyframes[(this || e).keyframes.length - 1].t - (this || e).offsetTime; if ( !( h === (this || e)._caching.lastFrame || ((this || e)._caching.lastFrame !== t && (((this || e)._caching.lastFrame >= o && h >= o) || ((this || e)._caching.lastFrame < m && h < m))) ) ) { (this || e)._caching.lastFrame >= h && (((this || e)._caching._lastKeyframeIndex = -1), ((this || e)._caching.lastIndex = 0)); var f = this.interpolateValue(h, (this || e)._caching); (this || e).pv = f; } return ((this || e)._caching.lastFrame = h), (this || e).pv; } function v(h) { var m; if ((this || e).propType === "unidimensional") (m = h * (this || e).mult), r((this || e).v - m) > 1e-5 && (((this || e).v = m), ((this || e)._mdf = !0)); else for (var o = 0, f = (this || e).v.length; o < f; ) (m = h[o] * (this || e).mult), r((this || e).v[o] - m) > 1e-5 && (((this || e).v[o] = m), ((this || e)._mdf = !0)), (o += 1); } function y() { if ( !( (this || e).elem.globalData.frameId === (this || e).frameId || !(this || e).effectsSequence.length ) ) { if ((this || e).lock) { this.setVValue((this || e).pv); return; } ((this || e).lock = !0), ((this || e)._mdf = (this || e)._isFirstFrame); var h, m = (this || e).effectsSequence.length, o = (this || e).kf ? (this || e).pv : (this || e).data.k; for (h = 0; h < m; h += 1) o = (this || e).effectsSequence[h](o); this.setVValue(o), ((this || e)._isFirstFrame = !1), ((this || e).lock = !1), ((this || e).frameId = (this || e).elem.globalData.frameId); } } function g(h) { (this || e).effectsSequence.push(h), (this || e).container.addDynamicProperty(this || e); } function w(h, m, o, f) { ((this || e).propType = "unidimensional"), ((this || e).mult = o || 1), ((this || e).data = m), ((this || e).v = o ? m.k * o : m.k), ((this || e).pv = m.k), ((this || e)._mdf = !1), ((this || e).elem = h), ((this || e).container = f), ((this || e).comp = h.comp), ((this || e).k = !1), ((this || e).kf = !1), ((this || e).vel = 0), ((this || e).effectsSequence = []), ((this || e)._isFirstFrame = !0), ((this || e).getValue = y), ((this || e).setVValue = v), ((this || e).addEffect = g); } function x(h, m, o, f) { ((this || e).propType = "multidimensional"), ((this || e).mult = o || 1), ((this || e).data = m), ((this || e)._mdf = !1), ((this || e).elem = h), ((this || e).container = f), ((this || e).comp = h.comp), ((this || e).k = !1), ((this || e).kf = !1), ((this || e).frameId = -1); var d, b = m.k.length; for ( (this || e).v = createTypedArray("float32", b), (this || e).pv = createTypedArray("float32", b), (this || e).vel = createTypedArray("float32", b), d = 0; d < b; d += 1 ) ((this || e).v[d] = m.k[d] * (this || e).mult), ((this || e).pv[d] = m.k[d]); ((this || e)._isFirstFrame = !0), ((this || e).effectsSequence = []), ((this || e).getValue = y), ((this || e).setVValue = v), ((this || e).addEffect = g); } function p(h, m, o, f) { ((this || e).propType = "unidimensional"), ((this || e).keyframes = m.k), ((this || e).offsetTime = h.data.st), ((this || e).frameId = -1), ((this || e)._caching = { lastFrame: t, lastIndex: 0, value: 0, _lastKeyframeIndex: -1, }), ((this || e).k = !0), ((this || e).kf = !0), ((this || e).data = m), ((this || e).mult = o || 1), ((this || e).elem = h), ((this || e).container = f), ((this || e).comp = h.comp), ((this || e).v = t), ((this || e).pv = t), ((this || e)._isFirstFrame = !0), ((this || e).getValue = y), ((this || e).setVValue = v), ((this || e).interpolateValue = i), ((this || e).effectsSequence = [l.bind(this || e)]), ((this || e).addEffect = g); } function u(h, m, o, f) { (this || e).propType = "multidimensional"; var d, b = m.k.length, A, E, P, F; for (d = 0; d < b - 1; d += 1) m.k[d].to && m.k[d].s && m.k[d + 1] && m.k[d + 1].s && ((A = m.k[d].s), (E = m.k[d + 1].s), (P = m.k[d].to), (F = m.k[d].ti), ((A.length === 2 && !(A[0] === E[0] && A[1] === E[1]) && bez.pointOnLine2D( A[0], A[1], E[0], E[1], A[0] + P[0], A[1] + P[1] ) && bez.pointOnLine2D( A[0], A[1], E[0], E[1], E[0] + F[0], E[1] + F[1] )) || (A.length === 3 && !(A[0] === E[0] && A[1] === E[1] && A[2] === E[2]) && bez.pointOnLine3D( A[0], A[1], A[2], E[0], E[1], E[2], A[0] + P[0], A[1] + P[1], A[2] + P[2] ) && bez.pointOnLine3D( A[0], A[1], A[2], E[0], E[1], E[2], E[0] + F[0], E[1] + F[1], E[2] + F[2] ))) && ((m.k[d].to = null), (m.k[d].ti = null)), A[0] === E[0] && A[1] === E[1] && P[0] === 0 && P[1] === 0 && F[0] === 0 && F[1] === 0 && (A.length === 2 || (A[2] === E[2] && P[2] === 0 && F[2] === 0)) && ((m.k[d].to = null), (m.k[d].ti = null))); ((this || e).effectsSequence = [l.bind(this || e)]), ((this || e).data = m), ((this || e).keyframes = m.k), ((this || e).offsetTime = h.data.st), ((this || e).k = !0), ((this || e).kf = !0), ((this || e)._isFirstFrame = !0), ((this || e).mult = o || 1), ((this || e).elem = h), ((this || e).container = f), ((this || e).comp = h.comp), ((this || e).getValue = y), ((this || e).setVValue = v), ((this || e).interpolateValue = i), ((this || e).frameId = -1); var I = m.k[0].s.length; for ( (this || e).v = createTypedArray("float32", I), (this || e).pv = createTypedArray("float32", I), d = 0; d < I; d += 1 ) ((this || e).v[d] = t), ((this || e).pv[d] = t); ((this || e)._caching = { lastFrame: t, lastIndex: 0, value: createTypedArray("float32", I), }), ((this || e).addEffect = g); } function C(h, m, o, f, d) { var b; if (!m.k.length) b = new w(h, m, f, d); else if (typeof m.k[0] == "number") b = new x(h, m, f, d); else switch (o) { case 0: b = new p(h, m, f, d); break; case 1: b = new u(h, m, f, d); break; default: break; } return b.effectsSequence.length && d.addDynamicProperty(b), b; } var c = { getProp: C }; return c; })(), TransformPropertyFactory = (function () { var t = [0, 0]; function r(y) { var g = (this || e)._mdf; this.iterateDynamicProperties(), ((this || e)._mdf = (this || e)._mdf || g), (this || e).a && y.translate( -(this || e).a.v[0], -(this || e).a.v[1], (this || e).a.v[2] ), (this || e).s && y.scale( (this || e).s.v[0], (this || e).s.v[1], (this || e).s.v[2] ), (this || e).sk && y.skewFromAxis(-(this || e).sk.v, (this || e).sa.v), (this || e).r ? y.rotate(-(this || e).r.v) : y .rotateZ(-(this || e).rz.v) .rotateY((this || e).ry.v) .rotateX((this || e).rx.v) .rotateZ(-(this || e).or.v[2]) .rotateY((this || e).or.v[1]) .rotateX((this || e).or.v[0]), (this || e).data.p.s ? (this || e).data.p.z ? y.translate( (this || e).px.v, (this || e).py.v, -(this || e).pz.v ) : y.translate((this || e).px.v, (this || e).py.v, 0) : y.translate( (this || e).p.v[0], (this || e).p.v[1], -(this || e).p.v[2] ); } function i(y) { if ((this || e).elem.globalData.frameId !== (this || e).frameId) { if ( ((this || e)._isDirty && (this.precalculateMatrix(), ((this || e)._isDirty = !1)), this.iterateDynamicProperties(), (this || e)._mdf || y) ) { var g; if ( ((this || e).v.cloneFromProps((this || e).pre.props), (this || e).appliedTransformations < 1 && (this || e).v.translate( -(this || e).a.v[0], -(this || e).a.v[1], (this || e).a.v[2] ), (this || e).appliedTransformations < 2 && (this || e).v.scale( (this || e).s.v[0], (this || e).s.v[1], (this || e).s.v[2] ), (this || e).sk && (this || e).appliedTransformations < 3 && (this || e).v.skewFromAxis( -(this || e).sk.v, (this || e).sa.v ), (this || e).r && (this || e).appliedTransformations < 4 ? (this || e).v.rotate(-(this || e).r.v) : !(this || e).r && (this || e).appliedTransformations < 4 && (this || e).v .rotateZ(-(this || e).rz.v) .rotateY((this || e).ry.v) .rotateX((this || e).rx.v) .rotateZ(-(this || e).or.v[2]) .rotateY((this || e).or.v[1]) .rotateX((this || e).or.v[0]), (this || e).autoOriented) ) { var w, x; if ( ((g = (this || e).elem.globalData.frameRate), (this || e).p && (this || e).p.keyframes && (this || e).p.getValueAtTime) ) (this || e).p._caching.lastFrame + (this || e).p.offsetTime <= (this || e).p.keyframes[0].t ? ((w = (this || e).p.getValueAtTime( ((this || e).p.keyframes[0].t + 0.01) / g, 0 )), (x = (this || e).p.getValueAtTime( (this || e).p.keyframes[0].t / g, 0 ))) : (this || e).p._caching.lastFrame + (this || e).p.offsetTime >= (this || e).p.keyframes[ (this || e).p.keyframes.length - 1 ].t ? ((w = (this || e).p.getValueAtTime( (this || e).p.keyframes[ (this || e).p.keyframes.length - 1 ].t / g, 0 )), (x = (this || e).p.getValueAtTime( ((this || e).p.keyframes[ (this || e).p.keyframes.length - 1 ].t - 0.05) / g, 0 ))) : ((w = (this || e).p.pv), (x = (this || e).p.getValueAtTime( ((this || e).p._caching.lastFrame + (this || e).p.offsetTime - 0.01) / g, (this || e).p.offsetTime ))); else if ( (this || e).px && (this || e).px.keyframes && (this || e).py.keyframes && (this || e).px.getValueAtTime && (this || e).py.getValueAtTime ) { (w = []), (x = []); var p = (this || e).px, u = (this || e).py; p._caching.lastFrame + p.offsetTime <= p.keyframes[0].t ? ((w[0] = p.getValueAtTime( (p.keyframes[0].t + 0.01) / g, 0 )), (w[1] = u.getValueAtTime( (u.keyframes[0].t + 0.01) / g, 0 )), (x[0] = p.getValueAtTime(p.keyframes[0].t / g, 0)), (x[1] = u.getValueAtTime(u.keyframes[0].t / g, 0))) : p._caching.lastFrame + p.offsetTime >= p.keyframes[p.keyframes.length - 1].t ? ((w[0] = p.getValueAtTime( p.keyframes[p.keyframes.length - 1].t / g, 0 )), (w[1] = u.getValueAtTime( u.keyframes[u.keyframes.length - 1].t / g, 0 )), (x[0] = p.getValueAtTime( (p.keyframes[p.keyframes.length - 1].t - 0.01) / g, 0 )), (x[1] = u.getValueAtTime( (u.keyframes[u.keyframes.length - 1].t - 0.01) / g, 0 ))) : ((w = [p.pv, u.pv]), (x[0] = p.getValueAtTime( (p._caching.lastFrame + p.offsetTime - 0.01) / g, p.offsetTime )), (x[1] = u.getValueAtTime( (u._caching.lastFrame + u.offsetTime - 0.01) / g, u.offsetTime ))); } else (x = t), (w = x); (this || e).v.rotate(-Math.atan2(w[1] - x[1], w[0] - x[0])); } (this || e).data.p && (this || e).data.p.s ? (this || e).data.p.z ? (this || e).v.translate( (this || e).px.v, (this || e).py.v, -(this || e).pz.v ) : (this || e).v.translate( (this || e).px.v, (this || e).py.v, 0 ) : (this || e).v.translate( (this || e).p.v[0], (this || e).p.v[1], -(this || e).p.v[2] ); } (this || e).frameId = (this || e).elem.globalData.frameId; } } function a() { if (!(this || e).a.k) (this || e).pre.translate( -(this || e).a.v[0], -(this || e).a.v[1], (this || e).a.v[2] ), ((this || e).appliedTransformations = 1); else return; if (!(this || e).s.effectsSequence.length) (this || e).pre.scale( (this || e).s.v[0], (this || e).s.v[1], (this || e).s.v[2] ), ((this || e).appliedTransformations = 2); else return; if ((this || e).sk) if ( !(this || e).sk.effectsSequence.length && !(this || e).sa.effectsSequence.length ) (this || e).pre.skewFromAxis(-(this || e).sk.v, (this || e).sa.v), ((this || e).appliedTransformations = 3); else return; (this || e).r ? (this || e).r.effectsSequence.length || ((this || e).pre.rotate(-(this || e).r.v), ((this || e).appliedTransformations = 4)) : !(this || e).rz.effectsSequence.length && !(this || e).ry.effectsSequence.length && !(this || e).rx.effectsSequence.length && !(this || e).or.effectsSequence.length && ((this || e).pre .rotateZ(-(this || e).rz.v) .rotateY((this || e).ry.v) .rotateX((this || e).rx.v) .rotateZ(-(this || e).or.v[2]) .rotateY((this || e).or.v[1]) .rotateX((this || e).or.v[0]), ((this || e).appliedTransformations = 4)); } function n() {} function s(y) { this._addDynamicProperty(y), (this || e).elem.addDynamicProperty(y), ((this || e)._isDirty = !0); } function l(y, g, w) { if ( (((this || e).elem = y), ((this || e).frameId = -1), ((this || e).propType = "transform"), ((this || e).data = g), ((this || e).v = new Matrix()), ((this || e).pre = new Matrix()), ((this || e).appliedTransformations = 0), this.initDynamicPropertyContainer(w || y), g.p && g.p.s ? (((this || e).px = PropertyFactory.getProp( y, g.p.x, 0, 0, this || e )), ((this || e).py = PropertyFactory.getProp( y, g.p.y, 0, 0, this || e )), g.p.z && ((this || e).pz = PropertyFactory.getProp( y, g.p.z, 0, 0, this || e ))) : ((this || e).p = PropertyFactory.getProp( y, g.p || { k: [0, 0, 0] }, 1, 0, this || e )), g.rx) ) { if ( (((this || e).rx = PropertyFactory.getProp( y, g.rx, 0, degToRads, this || e )), ((this || e).ry = PropertyFactory.getProp( y, g.ry, 0, degToRads, this || e )), ((this || e).rz = PropertyFactory.getProp( y, g.rz, 0, degToRads, this || e )), g.or.k[0].ti) ) { var x, p = g.or.k.length; for (x = 0; x < p; x += 1) (g.or.k[x].to = null), (g.or.k[x].ti = null); } ((this || e).or = PropertyFactory.getProp( y, g.or, 1, degToRads, this || e )), ((this || e).or.sh = !0); } else (this || e).r = PropertyFactory.getProp( y, g.r || { k: 0 }, 0, degToRads, this || e ); g.sk && (((this || e).sk = PropertyFactory.getProp( y, g.sk, 0, degToRads, this || e )), ((this || e).sa = PropertyFactory.getProp( y, g.sa, 0, degToRads, this || e ))), ((this || e).a = PropertyFactory.getProp( y, g.a || { k: [0, 0, 0] }, 1, 0, this || e )), ((this || e).s = PropertyFactory.getProp( y, g.s || { k: [100, 100, 100] }, 1, 0.01, this || e )), g.o ? ((this || e).o = PropertyFactory.getProp(y, g.o, 0, 0.01, y)) : ((this || e).o = { _mdf: !1, v: 1 }), ((this || e)._isDirty = !0), (this || e).dynamicProperties.length || this.getValue(!0); } (l.prototype = { applyToMatrix: r, getValue: i, precalculateMatrix: a, autoOrient: n, }), extendPrototype([DynamicPropertyContainer], l), (l.prototype.addDynamicProperty = s), (l.prototype._addDynamicProperty = DynamicPropertyContainer.prototype.addDynamicProperty); function v(y, g, w) { return new l(y, g, w); } return { getTransformProperty: v }; })(); function ShapePath() { ((this || e).c = !1), ((this || e)._length = 0), ((this || e)._maxLength = 8), ((this || e).v = createSizedArray((this || e)._maxLength)), ((this || e).o = createSizedArray((this || e)._maxLength)), ((this || e).i = createSizedArray((this || e)._maxLength)); } (ShapePath.prototype.setPathData = function (t, r) { ((this || e).c = t), this.setLength(r); for (var i = 0; i < r; ) ((this || e).v[i] = pointPool.newElement()), ((this || e).o[i] = pointPool.newElement()), ((this || e).i[i] = pointPool.newElement()), (i += 1); }), (ShapePath.prototype.setLength = function (t) { for (; (this || e)._maxLength < t; ) this.doubleArrayLength(); (this || e)._length = t; }), (ShapePath.prototype.doubleArrayLength = function () { ((this || e).v = (this || e).v.concat( createSizedArray((this || e)._maxLength) )), ((this || e).i = (this || e).i.concat( createSizedArray((this || e)._maxLength) )), ((this || e).o = (this || e).o.concat( createSizedArray((this || e)._maxLength) )), ((this || e)._maxLength *= 2); }), (ShapePath.prototype.setXYAt = function (t, r, i, a, n) { var s; switch ( (((this || e)._length = Math.max((this || e)._length, a + 1)), (this || e)._length >= (this || e)._maxLength && this.doubleArrayLength(), i) ) { case "v": s = (this || e).v; break; case "i": s = (this || e).i; break; case "o": s = (this || e).o; break; default: s = []; break; } (!s[a] || (s[a] && !n)) && (s[a] = pointPool.newElement()), (s[a][0] = t), (s[a][1] = r); }), (ShapePath.prototype.setTripleAt = function (t, r, i, a, n, s, l, v) { this.setXYAt(t, r, "v", l, v), this.setXYAt(i, a, "o", l, v), this.setXYAt(n, s, "i", l, v); }), (ShapePath.prototype.reverse = function () { var t = new ShapePath(); t.setPathData((this || e).c, (this || e)._length); var r = (this || e).v, i = (this || e).o, a = (this || e).i, n = 0; (this || e).c && (t.setTripleAt( r[0][0], r[0][1], a[0][0], a[0][1], i[0][0], i[0][1], 0, !1 ), (n = 1)); var s = (this || e)._length - 1, l = (this || e)._length, v; for (v = n; v < l; v += 1) t.setTripleAt( r[s][0], r[s][1], a[s][0], a[s][1], i[s][0], i[s][1], v, !1 ), (s -= 1); return t; }); var ShapePropertyFactory = (function () { var t = -999999; function r(m, o, f) { var d = f.lastIndex, b, A, E, P, F, I, R, O, z, V = (this || e).keyframes; if (m < V[0].t - (this || e).offsetTime) (b = V[0].s[0]), (E = !0), (d = 0); else if (m >= V[V.length - 1].t - (this || e).offsetTime) (b = V[V.length - 1].s ? V[V.length - 1].s[0] : V[V.length - 2].e[0]), (E = !0); else { for ( var N = d, k = V.length - 1, T = !0, _, M; T && ((_ = V[N]), (M = V[N + 1]), !(M.t - (this || e).offsetTime > m)); ) N < k - 1 ? (N += 1) : (T = !1); if (((E = _.h === 1), (d = N), !E)) { if (m >= M.t - (this || e).offsetTime) O = 1; else if (m < _.t - (this || e).offsetTime) O = 0; else { var B; _.__fnct ? (B = _.__fnct) : ((B = BezierFactory.getBezierEasing( _.o.x, _.o.y, _.i.x, _.i.y ).get), (_.__fnct = B)), (O = B( (m - (_.t - (this || e).offsetTime)) / (M.t - (this || e).offsetTime - (_.t - (this || e).offsetTime)) )); } A = M.s ? M.s[0] : _.e[0]; } b = _.s[0]; } for ( I = o._length, R = b.i[0].length, f.lastIndex = d, P = 0; P < I; P += 1 ) for (F = 0; F < R; F += 1) (z = E ? b.i[P][F] : b.i[P][F] + (A.i[P][F] - b.i[P][F]) * O), (o.i[P][F] = z), (z = E ? b.o[P][F] : b.o[P][F] + (A.o[P][F] - b.o[P][F]) * O), (o.o[P][F] = z), (z = E ? b.v[P][F] : b.v[P][F] + (A.v[P][F] - b.v[P][F]) * O), (o.v[P][F] = z); } function i() { var m = (this || e).comp.renderedFrame - (this || e).offsetTime, o = (this || e).keyframes[0].t - (this || e).offsetTime, f = (this || e).keyframes[(this || e).keyframes.length - 1].t - (this || e).offsetTime, d = (this || e)._caching.lastFrame; return ( (d !== t && ((d < o && m < o) || (d > f && m > f))) || (((this || e)._caching.lastIndex = d < m ? (this || e)._caching.lastIndex : 0), this.interpolateShape(m, (this || e).pv, (this || e)._caching)), ((this || e)._caching.lastFrame = m), (this || e).pv ); } function a() { (this || e).paths = (this || e).localShapeCollection; } function n(m, o) { if (m._length !== o._length || m.c !== o.c) return !1; var f, d = m._length; for (f = 0; f < d; f += 1) if ( m.v[f][0] !== o.v[f][0] || m.v[f][1] !== o.v[f][1] || m.o[f][0] !== o.o[f][0] || m.o[f][1] !== o.o[f][1] || m.i[f][0] !== o.i[f][0] || m.i[f][1] !== o.i[f][1] ) return !1; return !0; } function s(m) { n((this || e).v, m) || (((this || e).v = shapePool.clone(m)), (this || e).localShapeCollection.releaseShapes(), (this || e).localShapeCollection.addShape((this || e).v), ((this || e)._mdf = !0), ((this || e).paths = (this || e).localShapeCollection)); } function l() { if ((this || e).elem.globalData.frameId !== (this || e).frameId) { if (!(this || e).effectsSequence.length) { (this || e)._mdf = !1; return; } if ((this || e).lock) { this.setVValue((this || e).pv); return; } ((this || e).lock = !0), ((this || e)._mdf = !1); var m; (this || e).kf ? (m = (this || e).pv) : (this || e).data.ks ? (m = (this || e).data.ks.k) : (m = (this || e).data.pt.k); var o, f = (this || e).effectsSequence.length; for (o = 0; o < f; o += 1) m = (this || e).effectsSequence[o](m); this.setVValue(m), ((this || e).lock = !1), ((this || e).frameId = (this || e).elem.globalData.frameId); } } function v(m, o, f) { ((this || e).propType = "shape"), ((this || e).comp = m.comp), ((this || e).container = m), ((this || e).elem = m), ((this || e).data = o), ((this || e).k = !1), ((this || e).kf = !1), ((this || e)._mdf = !1); var d = f === 3 ? o.pt.k : o.ks.k; ((this || e).v = shapePool.clone(d)), ((this || e).pv = shapePool.clone((this || e).v)), ((this || e).localShapeCollection = shapeCollectionPool.newShapeCollection()), ((this || e).paths = (this || e).localShapeCollection), (this || e).paths.addShape((this || e).v), ((this || e).reset = a), ((this || e).effectsSequence = []); } function y(m) { (this || e).effectsSequence.push(m), (this || e).container.addDynamicProperty(this || e); } (v.prototype.interpolateShape = r), (v.prototype.getValue = l), (v.prototype.setVValue = s), (v.prototype.addEffect = y); function g(m, o, f) { ((this || e).propType = "shape"), ((this || e).comp = m.comp), ((this || e).elem = m), ((this || e).container = m), ((this || e).offsetTime = m.data.st), ((this || e).keyframes = f === 3 ? o.pt.k : o.ks.k), ((this || e).k = !0), ((this || e).kf = !0); var d = (this || e).keyframes[0].s[0].i.length; ((this || e).v = shapePool.newElement()), (this || e).v.setPathData((this || e).keyframes[0].s[0].c, d), ((this || e).pv = shapePool.clone((this || e).v)), ((this || e).localShapeCollection = shapeCollectionPool.newShapeCollection()), ((this || e).paths = (this || e).localShapeCollection), (this || e).paths.addShape((this || e).v), ((this || e).lastFrame = t), ((this || e).reset = a), ((this || e)._caching = { lastFrame: t, lastIndex: 0 }), ((this || e).effectsSequence = [i.bind(this || e)]); } (g.prototype.getValue = l), (g.prototype.interpolateShape = r), (g.prototype.setVValue = s), (g.prototype.addEffect = y); var w = (function () { var m = roundCorner; function o(f, d) { ((this || e).v = shapePool.newElement()), (this || e).v.setPathData(!0, 4), ((this || e).localShapeCollection = shapeCollectionPool.newShapeCollection()), ((this || e).paths = (this || e).localShapeCollection), (this || e).localShapeCollection.addShape((this || e).v), ((this || e).d = d.d), ((this || e).elem = f), ((this || e).comp = f.comp), ((this || e).frameId = -1), this.initDynamicPropertyContainer(f), ((this || e).p = PropertyFactory.getProp( f, d.p, 1, 0, this || e )), ((this || e).s = PropertyFactory.getProp( f, d.s, 1, 0, this || e )), (this || e).dynamicProperties.length ? ((this || e).k = !0) : (((this || e).k = !1), this.convertEllToPath()); } return ( (o.prototype = { reset: a, getValue: function () { (this || e).elem.globalData.frameId !== (this || e).frameId && (((this || e).frameId = ( this || e ).elem.globalData.frameId), this.iterateDynamicProperties(), (this || e)._mdf && this.convertEllToPath()); }, convertEllToPath: function () { var f = (this || e).p.v[0], d = (this || e).p.v[1], b = (this || e).s.v[0] / 2, A = (this || e).s.v[1] / 2, E = (this || e).d !== 3, P = (this || e).v; (P.v[0][0] = f), (P.v[0][1] = d - A), (P.v[1][0] = E ? f + b : f - b), (P.v[1][1] = d), (P.v[2][0] = f), (P.v[2][1] = d + A), (P.v[3][0] = E ? f - b : f + b), (P.v[3][1] = d), (P.i[0][0] = E ? f - b * m : f + b * m), (P.i[0][1] = d - A), (P.i[1][0] = E ? f + b : f - b), (P.i[1][1] = d - A * m), (P.i[2][0] = E ? f + b * m : f - b * m), (P.i[2][1] = d + A), (P.i[3][0] = E ? f - b : f + b), (P.i[3][1] = d + A * m), (P.o[0][0] = E ? f + b * m : f - b * m), (P.o[0][1] = d - A), (P.o[1][0] = E ? f + b : f - b), (P.o[1][1] = d + A * m), (P.o[2][0] = E ? f - b * m : f + b * m), (P.o[2][1] = d + A), (P.o[3][0] = E ? f - b : f + b), (P.o[3][1] = d - A * m); }, }), extendPrototype([DynamicPropertyContainer], o), o ); })(), x = (function () { function m(o, f) { ((this || e).v = shapePool.newElement()), (this || e).v.setPathData(!0, 0), ((this || e).elem = o), ((this || e).comp = o.comp), ((this || e).data = f), ((this || e).frameId = -1), ((this || e).d = f.d), this.initDynamicPropertyContainer(o), f.sy === 1 ? (((this || e).ir = PropertyFactory.getProp( o, f.ir, 0, 0, this || e )), ((this || e).is = PropertyFactory.getProp( o, f.is, 0, 0.01, this || e )), ((this || e).convertToPath = (this || e).convertStarToPath)) : ((this || e).convertToPath = ( this || e ).convertPolygonToPath), ((this || e).pt = PropertyFactory.getProp( o, f.pt, 0, 0, this || e )), ((this || e).p = PropertyFactory.getProp( o, f.p, 1, 0, this || e )), ((this || e).r = PropertyFactory.getProp( o, f.r, 0, degToRads, this || e )), ((this || e).or = PropertyFactory.getProp( o, f.or, 0, 0, this || e )), ((this || e).os = PropertyFactory.getProp( o, f.os, 0, 0.01, this || e )), ((this || e).localShapeCollection = shapeCollectionPool.newShapeCollection()), (this || e).localShapeCollection.addShape((this || e).v), ((this || e).paths = (this || e).localShapeCollection), (this || e).dynamicProperties.length ? ((this || e).k = !0) : (((this || e).k = !1), this.convertToPath()); } return ( (m.prototype = { reset: a, getValue: function () { (this || e).elem.globalData.frameId !== (this || e).frameId && (((this || e).frameId = ( this || e ).elem.globalData.frameId), this.iterateDynamicProperties(), (this || e)._mdf && this.convertToPath()); }, convertStarToPath: function () { var o = Math.floor((this || e).pt.v) * 2, f = (Math.PI * 2) / o, d = !0, b = (this || e).or.v, A = (this || e).ir.v, E = (this || e).os.v, P = (this || e).is.v, F = (2 * Math.PI * b) / (o * 2), I = (2 * Math.PI * A) / (o * 2), R, O, z, V, N = -Math.PI / 2; N += (this || e).r.v; var k = (this || e).data.d === 3 ? -1 : 1; for ((this || e).v._length = 0, R = 0; R < o; R += 1) { (O = d ? b : A), (z = d ? E : P), (V = d ? F : I); var T = O * Math.cos(N), _ = O * Math.sin(N), M = T === 0 && _ === 0 ? 0 : _ / Math.sqrt(T * T + _ * _), B = T === 0 && _ === 0 ? 0 : -T / Math.sqrt(T * T + _ * _); (T += +(this || e).p.v[0]), (_ += +(this || e).p.v[1]), (this || e).v.setTripleAt( T, _, T - M * V * z * k, _ - B * V * z * k, T + M * V * z * k, _ + B * V * z * k, R, !0 ), (d = !d), (N += f * k); } }, convertPolygonToPath: function () { var o = Math.floor((this || e).pt.v), f = (Math.PI * 2) / o, d = (this || e).or.v, b = (this || e).os.v, A = (2 * Math.PI * d) / (o * 4), E, P = -Math.PI * 0.5, F = (this || e).data.d === 3 ? -1 : 1; for ( P += (this || e).r.v, (this || e).v._length = 0, E = 0; E < o; E += 1 ) { var I = d * Math.cos(P), R = d * Math.sin(P), O = I === 0 && R === 0 ? 0 : R / Math.sqrt(I * I + R * R), z = I === 0 && R === 0 ? 0 : -I / Math.sqrt(I * I + R * R); (I += +(this || e).p.v[0]), (R += +(this || e).p.v[1]), (this || e).v.setTripleAt( I, R, I - O * A * b * F, R - z * A * b * F, I + O * A * b * F, R + z * A * b * F, E, !0 ), (P += f * F); } ((this || e).paths.length = 0), ((this || e).paths[0] = (this || e).v); }, }), extendPrototype([DynamicPropertyContainer], m), m ); })(), p = (function () { function m(o, f) { ((this || e).v = shapePool.newElement()), ((this || e).v.c = !0), ((this || e).localShapeCollection = shapeCollectionPool.newShapeCollection()), (this || e).localShapeCollection.addShape((this || e).v), ((this || e).paths = (this || e).localShapeCollection), ((this || e).elem = o), ((this || e).comp = o.comp), ((this || e).frameId = -1), ((this || e).d = f.d), this.initDynamicPropertyContainer(o), ((this || e).p = PropertyFactory.getProp( o, f.p, 1, 0, this || e )), ((this || e).s = PropertyFactory.getProp( o, f.s, 1, 0, this || e )), ((this || e).r = PropertyFactory.getProp( o, f.r, 0, 0, this || e )), (this || e).dynamicProperties.length ? ((this || e).k = !0) : (((this || e).k = !1), this.convertRectToPath()); } return ( (m.prototype = { convertRectToPath: function () { var o = (this || e).p.v[0], f = (this || e).p.v[1], d = (this || e).s.v[0] / 2, b = (this || e).s.v[1] / 2, A = bmMin(d, b, (this || e).r.v), E = A * (1 - roundCorner); ((this || e).v._length = 0), (this || e).d === 2 || (this || e).d === 1 ? ((this || e).v.setTripleAt( o + d, f - b + A, o + d, f - b + A, o + d, f - b + E, 0, !0 ), (this || e).v.setTripleAt( o + d, f + b - A, o + d, f + b - E, o + d, f + b - A, 1, !0 ), A !== 0 ? ((this || e).v.setTripleAt( o + d - A, f + b, o + d - A, f + b, o + d - E, f + b, 2, !0 ), (this || e).v.setTripleAt( o - d + A, f + b, o - d + E, f + b, o - d + A, f + b, 3, !0 ), (this || e).v.setTripleAt( o - d, f + b - A, o - d, f + b - A, o - d, f + b - E, 4, !0 ), (this || e).v.setTripleAt( o - d, f - b + A, o - d, f - b + E, o - d, f - b + A, 5, !0 ), (this || e).v.setTripleAt( o - d + A, f - b, o - d + A, f - b, o - d + E, f - b, 6, !0 ), (this || e).v.setTripleAt( o + d - A, f - b, o + d - E, f - b, o + d - A, f - b, 7, !0 )) : ((this || e).v.setTripleAt( o - d, f + b, o - d + E, f + b, o - d, f + b, 2 ), (this || e).v.setTripleAt( o - d, f - b, o - d, f - b + E, o - d, f - b, 3 ))) : ((this || e).v.setTripleAt( o + d, f - b + A, o + d, f - b + E, o + d, f - b + A, 0, !0 ), A !== 0 ? ((this || e).v.setTripleAt( o + d - A, f - b, o + d - A, f - b, o + d - E, f - b, 1, !0 ), (this || e).v.setTripleAt( o - d + A, f - b, o - d + E, f - b, o - d + A, f - b, 2, !0 ), (this || e).v.setTripleAt( o - d, f - b + A, o - d, f - b + A, o - d, f - b + E, 3, !0 ), (this || e).v.setTripleAt( o - d, f + b - A, o - d, f + b - E, o - d, f + b - A, 4, !0 ), (this || e).v.setTripleAt( o - d + A, f + b, o - d + A, f + b, o - d + E, f + b, 5, !0 ), (this || e).v.setTripleAt( o + d - A, f + b, o + d - E, f + b, o + d - A, f + b, 6, !0 ), (this || e).v.setTripleAt( o + d, f + b - A, o + d, f + b - A, o + d, f + b - E, 7, !0 )) : ((this || e).v.setTripleAt( o - d, f - b, o - d + E, f - b, o - d, f - b, 1, !0 ), (this || e).v.setTripleAt( o - d, f + b, o - d, f + b - E, o - d, f + b, 2, !0 ), (this || e).v.setTripleAt( o + d, f + b, o + d - E, f + b, o + d, f + b, 3, !0 ))); }, getValue: function () { (this || e).elem.globalData.frameId !== (this || e).frameId && (((this || e).frameId = ( this || e ).elem.globalData.frameId), this.iterateDynamicProperties(), (this || e)._mdf && this.convertRectToPath()); }, reset: a, }), extendPrototype([DynamicPropertyContainer], m), m ); })(); function u(m, o, f) { var d; if (f === 3 || f === 4) { var b = f === 3 ? o.pt : o.ks, A = b.k; A.length ? (d = new g(m, o, f)) : (d = new v(m, o, f)); } else f === 5 ? (d = new p(m, o)) : f === 6 ? (d = new w(m, o)) : f === 7 && (d = new x(m, o)); return d.k && m.addDynamicProperty(d), d; } function C() { return v; } function c() { return g; } var h = {}; return ( (h.getShapeProp = u), (h.getConstructorFunction = C), (h.getKeyframedConstructorFunction = c), h ); })(), ShapeModifiers = (function () { var t = {}, r = {}; (t.registerModifier = i), (t.getModifier = a); function i(n, s) { r[n] || (r[n] = s); } function a(n, s, l) { return new r[n](s, l); } return t; })(); function ShapeModifier() {} (ShapeModifier.prototype.initModifierProperties = function () {}), (ShapeModifier.prototype.addShapeToModifier = function () {}), (ShapeModifier.prototype.addShape = function (t) { if (!(this || e).closed) { t.sh.container.addDynamicProperty(t.sh); var r = { shape: t.sh, data: t, localShapeCollection: shapeCollectionPool.newShapeCollection(), }; (this || e).shapes.push(r), this.addShapeToModifier(r), (this || e)._isAnimated && t.setAsAnimated(); } }), (ShapeModifier.prototype.init = function (t, r) { ((this || e).shapes = []), ((this || e).elem = t), this.initDynamicPropertyContainer(t), this.initModifierProperties(t, r), ((this || e).frameId = initialDefaultFrame), ((this || e).closed = !1), ((this || e).k = !1), (this || e).dynamicProperties.length ? ((this || e).k = !0) : this.getValue(!0); }), (ShapeModifier.prototype.processKeys = function () { (this || e).elem.globalData.frameId !== (this || e).frameId && (((this || e).frameId = (this || e).elem.globalData.frameId), this.iterateDynamicProperties()); }), extendPrototype([DynamicPropertyContainer], ShapeModifier); function TrimModifier() {} extendPrototype([ShapeModifier], TrimModifier), (TrimModifier.prototype.initModifierProperties = function (t, r) { ((this || e).s = PropertyFactory.getProp(t, r.s, 0, 0.01, this || e)), ((this || e).e = PropertyFactory.getProp(t, r.e, 0, 0.01, this || e)), ((this || e).o = PropertyFactory.getProp(t, r.o, 0, 0, this || e)), ((this || e).sValue = 0), ((this || e).eValue = 0), ((this || e).getValue = (this || e).processKeys), ((this || e).m = r.m), ((this || e)._isAnimated = !!(this || e).s.effectsSequence.length || !!(this || e).e.effectsSequence.length || !!(this || e).o.effectsSequence.length); }), (TrimModifier.prototype.addShapeToModifier = function (t) { t.pathsData = []; }), (TrimModifier.prototype.calculateShapeEdges = function (t, r, i, a, n) { var s = []; r <= 1 ? s.push({ s: t, e: r }) : t >= 1 ? s.push({ s: t - 1, e: r - 1 }) : (s.push({ s: t, e: 1 }), s.push({ s: 0, e: r - 1 })); var l = [], v, y = s.length, g; for (v = 0; v < y; v += 1) if (((g = s[v]), !(g.e * n < a || g.s * n > a + i))) { var w, x; g.s * n <= a ? (w = 0) : (w = (g.s * n - a) / i), g.e * n >= a + i ? (x = 1) : (x = (g.e * n - a) / i), l.push([w, x]); } return l.length || l.push([0, 0]), l; }), (TrimModifier.prototype.releasePathsData = function (t) { var r, i = t.length; for (r = 0; r < i; r += 1) segmentsLengthPool.release(t[r]); return (t.length = 0), t; }), (TrimModifier.prototype.processShapes = function (t) { var r, i; if ((this || e)._mdf || t) { var a = ((this || e).o.v % 360) / 360; if ( (a < 0 && (a += 1), (this || e).s.v > 1 ? (r = 1 + a) : (this || e).s.v < 0 ? (r = 0 + a) : (r = (this || e).s.v + a), (this || e).e.v > 1 ? (i = 1 + a) : (this || e).e.v < 0 ? (i = 0 + a) : (i = (this || e).e.v + a), r > i) ) { var n = r; (r = i), (i = n); } (r = Math.round(r * 1e4) * 1e-4), (i = Math.round(i * 1e4) * 1e-4), ((this || e).sValue = r), ((this || e).eValue = i); } else (r = (this || e).sValue), (i = (this || e).eValue); var s, l, v = (this || e).shapes.length, y, g, w, x, p, u = 0; if (i === r) for (l = 0; l < v; l += 1) (this || e).shapes[l].localShapeCollection.releaseShapes(), ((this || e).shapes[l].shape._mdf = !0), ((this || e).shapes[l].shape.paths = (this || e).shapes[ l ].localShapeCollection), (this || e)._mdf && ((this || e).shapes[l].pathsData.length = 0); else if ((i === 1 && r === 0) || (i === 0 && r === 1)) { if ((this || e)._mdf) for (l = 0; l < v; l += 1) ((this || e).shapes[l].pathsData.length = 0), ((this || e).shapes[l].shape._mdf = !0); } else { var C = [], c, h; for (l = 0; l < v; l += 1) if ( ((c = (this || e).shapes[l]), !c.shape._mdf && !(this || e)._mdf && !t && (this || e).m !== 2) ) c.shape.paths = c.localShapeCollection; else { if ( ((s = c.shape.paths), (g = s._length), (p = 0), !c.shape._mdf && c.pathsData.length) ) p = c.totalShapeLength; else { for ( w = this.releasePathsData(c.pathsData), y = 0; y < g; y += 1 ) (x = bez.getSegmentsLength(s.shapes[y])), w.push(x), (p += x.totalLength); (c.totalShapeLength = p), (c.pathsData = w); } (u += p), (c.shape._mdf = !0); } var m = r, o = i, f = 0, d; for (l = v - 1; l >= 0; l -= 1) if (((c = (this || e).shapes[l]), c.shape._mdf)) { for ( h = c.localShapeCollection, h.releaseShapes(), (this || e).m === 2 && v > 1 ? ((d = this.calculateShapeEdges( r, i, c.totalShapeLength, f, u )), (f += c.totalShapeLength)) : (d = [[m, o]]), g = d.length, y = 0; y < g; y += 1 ) { (m = d[y][0]), (o = d[y][1]), (C.length = 0), o <= 1 ? C.push({ s: c.totalShapeLength * m, e: c.totalShapeLength * o, }) : m >= 1 ? C.push({ s: c.totalShapeLength * (m - 1), e: c.totalShapeLength * (o - 1), }) : (C.push({ s: c.totalShapeLength * m, e: c.totalShapeLength, }), C.push({ s: 0, e: c.totalShapeLength * (o - 1) })); var b = this.addShapes(c, C[0]); if (C[0].s !== C[0].e) { if (C.length > 1) { var A = c.shape.paths.shapes[c.shape.paths._length - 1]; if (A.c) { var E = b.pop(); this.addPaths(b, h), (b = this.addShapes(c, C[1], E)); } else this.addPaths(b, h), (b = this.addShapes(c, C[1])); } this.addPaths(b, h); } } c.shape.paths = h; } } }), (TrimModifier.prototype.addPaths = function (t, r) { var i, a = t.length; for (i = 0; i < a; i += 1) r.addShape(t[i]); }), (TrimModifier.prototype.addSegment = function (t, r, i, a, n, s, l) { n.setXYAt(r[0], r[1], "o", s), n.setXYAt(i[0], i[1], "i", s + 1), l && n.setXYAt(t[0], t[1], "v", s), n.setXYAt(a[0], a[1], "v", s + 1); }), (TrimModifier.prototype.addSegmentFromArray = function (t, r, i, a) { r.setXYAt(t[1], t[5], "o", i), r.setXYAt(t[2], t[6], "i", i + 1), a && r.setXYAt(t[0], t[4], "v", i), r.setXYAt(t[3], t[7], "v", i + 1); }), (TrimModifier.prototype.addShapes = function (t, r, i) { var a = t.pathsData, n = t.shape.paths.shapes, s, l = t.shape.paths._length, v, y, g = 0, w, x, p, u, C = [], c, h = !0; for ( i ? ((x = i._length), (c = i._length)) : ((i = shapePool.newElement()), (x = 0), (c = 0)), C.push(i), s = 0; s < l; s += 1 ) { for ( p = a[s].lengths, i.c = n[s].c, y = n[s].c ? p.length : p.length + 1, v = 1; v < y; v += 1 ) if (((w = p[v - 1]), g + w.addedLength < r.s)) (g += w.addedLength), (i.c = !1); else if (g > r.e) { i.c = !1; break; } else r.s <= g && r.e >= g + w.addedLength ? (this.addSegment( n[s].v[v - 1], n[s].o[v - 1], n[s].i[v], n[s].v[v], i, x, h ), (h = !1)) : ((u = bez.getNewSegment( n[s].v[v - 1], n[s].v[v], n[s].o[v - 1], n[s].i[v], (r.s - g) / w.addedLength, (r.e - g) / w.addedLength, p[v - 1] )), this.addSegmentFromArray(u, i, x, h), (h = !1), (i.c = !1)), (g += w.addedLength), (x += 1); if (n[s].c && p.length) { if (((w = p[v - 1]), g <= r.e)) { var m = p[v - 1].addedLength; r.s <= g && r.e >= g + m ? (this.addSegment( n[s].v[v - 1], n[s].o[v - 1], n[s].i[0], n[s].v[0], i, x, h ), (h = !1)) : ((u = bez.getNewSegment( n[s].v[v - 1], n[s].v[0], n[s].o[v - 1], n[s].i[0], (r.s - g) / m, (r.e - g) / m, p[v - 1] )), this.addSegmentFromArray(u, i, x, h), (h = !1), (i.c = !1)); } else i.c = !1; (g += w.addedLength), (x += 1); } if ( (i._length && (i.setXYAt(i.v[c][0], i.v[c][1], "i", c), i.setXYAt( i.v[i._length - 1][0], i.v[i._length - 1][1], "o", i._length - 1 )), g > r.e) ) break; s < l - 1 && ((i = shapePool.newElement()), (h = !0), C.push(i), (x = 0)); } return C; }), ShapeModifiers.registerModifier("tm", TrimModifier); function RoundCornersModifier() {} extendPrototype([ShapeModifier], RoundCornersModifier), (RoundCornersModifier.prototype.initModifierProperties = function (t, r) { ((this || e).getValue = (this || e).processKeys), ((this || e).rd = PropertyFactory.getProp( t, r.r, 0, null, this || e )), ((this || e)._isAnimated = !!(this || e).rd.effectsSequence.length); }), (RoundCornersModifier.prototype.processPath = function (t, r) { var i = shapePool.newElement(); i.c = t.c; var a, n = t._length, s, l, v, y, g, w, x = 0, p, u, C, c, h, m; for (a = 0; a < n; a += 1) (s = t.v[a]), (v = t.o[a]), (l = t.i[a]), s[0] === v[0] && s[1] === v[1] && s[0] === l[0] && s[1] === l[1] ? (a === 0 || a === n - 1) && !t.c ? (i.setTripleAt(s[0], s[1], v[0], v[1], l[0], l[1], x), (x += 1)) : (a === 0 ? (y = t.v[n - 1]) : (y = t.v[a - 1]), (g = Math.sqrt( Math.pow(s[0] - y[0], 2) + Math.pow(s[1] - y[1], 2) )), (w = g ? Math.min(g / 2, r) / g : 0), (h = s[0] + (y[0] - s[0]) * w), (p = h), (m = s[1] - (s[1] - y[1]) * w), (u = m), (C = p - (p - s[0]) * roundCorner), (c = u - (u - s[1]) * roundCorner), i.setTripleAt(p, u, C, c, h, m, x), (x += 1), a === n - 1 ? (y = t.v[0]) : (y = t.v[a + 1]), (g = Math.sqrt( Math.pow(s[0] - y[0], 2) + Math.pow(s[1] - y[1], 2) )), (w = g ? Math.min(g / 2, r) / g : 0), (C = s[0] + (y[0] - s[0]) * w), (p = C), (c = s[1] + (y[1] - s[1]) * w), (u = c), (h = p - (p - s[0]) * roundCorner), (m = u - (u - s[1]) * roundCorner), i.setTripleAt(p, u, C, c, h, m, x), (x += 1)) : (i.setTripleAt( t.v[a][0], t.v[a][1], t.o[a][0], t.o[a][1], t.i[a][0], t.i[a][1], x ), (x += 1)); return i; }), (RoundCornersModifier.prototype.processShapes = function (t) { var r, i, a = (this || e).shapes.length, n, s, l = (this || e).rd.v; if (l !== 0) { var v, y; for (i = 0; i < a; i += 1) { if ( ((v = (this || e).shapes[i]), (y = v.localShapeCollection), !(!v.shape._mdf && !(this || e)._mdf && !t)) ) for ( y.releaseShapes(), v.shape._mdf = !0, r = v.shape.paths.shapes, s = v.shape.paths._length, n = 0; n < s; n += 1 ) y.addShape(this.processPath(r[n], l)); v.shape.paths = v.localShapeCollection; } } (this || e).dynamicProperties.length || ((this || e)._mdf = !1); }), ShapeModifiers.registerModifier("rd", RoundCornersModifier); function PuckerAndBloatModifier() {} extendPrototype([ShapeModifier], PuckerAndBloatModifier), (PuckerAndBloatModifier.prototype.initModifierProperties = function ( t, r ) { ((this || e).getValue = (this || e).processKeys), ((this || e).amount = PropertyFactory.getProp( t, r.a, 0, null, this || e )), ((this || e)._isAnimated = !!(this || e).amount.effectsSequence .length); }), (PuckerAndBloatModifier.prototype.processPath = function (t, r) { var i = r / 100, a = [0, 0], n = t._length, s = 0; for (s = 0; s < n; s += 1) (a[0] += t.v[s][0]), (a[1] += t.v[s][1]); (a[0] /= n), (a[1] /= n); var l = shapePool.newElement(); l.c = t.c; var v, y, g, w, x, p; for (s = 0; s < n; s += 1) (v = t.v[s][0] + (a[0] - t.v[s][0]) * i), (y = t.v[s][1] + (a[1] - t.v[s][1]) * i), (g = t.o[s][0] + (a[0] - t.o[s][0]) * -i), (w = t.o[s][1] + (a[1] - t.o[s][1]) * -i), (x = t.i[s][0] + (a[0] - t.i[s][0]) * -i), (p = t.i[s][1] + (a[1] - t.i[s][1]) * -i), l.setTripleAt(v, y, g, w, x, p, s); return l; }), (PuckerAndBloatModifier.prototype.processShapes = function (t) { var r, i, a = (this || e).shapes.length, n, s, l = (this || e).amount.v; if (l !== 0) { var v, y; for (i = 0; i < a; i += 1) { if ( ((v = (this || e).shapes[i]), (y = v.localShapeCollection), !(!v.shape._mdf && !(this || e)._mdf && !t)) ) for ( y.releaseShapes(), v.shape._mdf = !0, r = v.shape.paths.shapes, s = v.shape.paths._length, n = 0; n < s; n += 1 ) y.addShape(this.processPath(r[n], l)); v.shape.paths = v.localShapeCollection; } } (this || e).dynamicProperties.length || ((this || e)._mdf = !1); }), ShapeModifiers.registerModifier("pb", PuckerAndBloatModifier); function RepeaterModifier() {} extendPrototype([ShapeModifier], RepeaterModifier), (RepeaterModifier.prototype.initModifierProperties = function (t, r) { ((this || e).getValue = (this || e).processKeys), ((this || e).c = PropertyFactory.getProp(t, r.c, 0, null, this || e)), ((this || e).o = PropertyFactory.getProp(t, r.o, 0, null, this || e)), ((this || e).tr = TransformPropertyFactory.getTransformProperty( t, r.tr, this || e )), ((this || e).so = PropertyFactory.getProp( t, r.tr.so, 0, 0.01, this || e )), ((this || e).eo = PropertyFactory.getProp( t, r.tr.eo, 0, 0.01, this || e )), ((this || e).data = r), (this || e).dynamicProperties.length || this.getValue(!0), ((this || e)._isAnimated = !!(this || e).dynamicProperties.length), ((this || e).pMatrix = new Matrix()), ((this || e).rMatrix = new Matrix()), ((this || e).sMatrix = new Matrix()), ((this || e).tMatrix = new Matrix()), ((this || e).matrix = new Matrix()); }), (RepeaterModifier.prototype.applyTransforms = function ( t, r, i, a, n, s ) { var l = s ? -1 : 1, v = a.s.v[0] + (1 - a.s.v[0]) * (1 - n), y = a.s.v[1] + (1 - a.s.v[1]) * (1 - n); t.translate(a.p.v[0] * l * n, a.p.v[1] * l * n, a.p.v[2]), r.translate(-a.a.v[0], -a.a.v[1], a.a.v[2]), r.rotate(-a.r.v * l * n), r.translate(a.a.v[0], a.a.v[1], a.a.v[2]), i.translate(-a.a.v[0], -a.a.v[1], a.a.v[2]), i.scale(s ? 1 / v : v, s ? 1 / y : y), i.translate(a.a.v[0], a.a.v[1], a.a.v[2]); }), (RepeaterModifier.prototype.init = function (t, r, i, a) { for ( (this || e).elem = t, (this || e).arr = r, (this || e).pos = i, (this || e).elemsData = a, (this || e)._currentCopies = 0, (this || e)._elements = [], (this || e)._groups = [], (this || e).frameId = -1, this.initDynamicPropertyContainer(t), this.initModifierProperties(t, r[i]); i > 0; ) (i -= 1), (this || e)._elements.unshift(r[i]); (this || e).dynamicProperties.length ? ((this || e).k = !0) : this.getValue(!0); }), (RepeaterModifier.prototype.resetElements = function (t) { var r, i = t.length; for (r = 0; r < i; r += 1) (t[r]._processed = !1), t[r].ty === "gr" && this.resetElements(t[r].it); }), (RepeaterModifier.prototype.cloneElements = function (t) { var r = JSON.parse(JSON.stringify(t)); return this.resetElements(r), r; }), (RepeaterModifier.prototype.changeGroupRender = function (t, r) { var i, a = t.length; for (i = 0; i < a; i += 1) (t[i]._render = r), t[i].ty === "gr" && this.changeGroupRender(t[i].it, r); }), (RepeaterModifier.prototype.processShapes = function (t) { var r, i, a, n, s, l = !1; if ((this || e)._mdf || t) { var v = Math.ceil((this || e).c.v); if ((this || e)._groups.length < v) { for (; (this || e)._groups.length < v; ) { var y = { it: this.cloneElements((this || e)._elements), ty: "gr", }; y.it.push({ a: { a: 0, ix: 1, k: [0, 0] }, nm: "Transform", o: { a: 0, ix: 7, k: 100 }, p: { a: 0, ix: 2, k: [0, 0] }, r: { a: 1, ix: 6, k: [ { s: 0, e: 0, t: 0 }, { s: 0, e: 0, t: 1 }, ], }, s: { a: 0, ix: 3, k: [100, 100] }, sa: { a: 0, ix: 5, k: 0 }, sk: { a: 0, ix: 4, k: 0 }, ty: "tr", }), (this || e).arr.splice(0, 0, y), (this || e)._groups.splice(0, 0, y), ((this || e)._currentCopies += 1); } (this || e).elem.reloadShapes(), (l = !0); } s = 0; var g; for (a = 0; a <= (this || e)._groups.length - 1; a += 1) { if ( ((g = s < v), ((this || e)._groups[a]._render = g), this.changeGroupRender((this || e)._groups[a].it, g), !g) ) { var w = (this || e).elemsData[a].it, x = w[w.length - 1]; x.transform.op.v !== 0 ? ((x.transform.op._mdf = !0), (x.transform.op.v = 0)) : (x.transform.op._mdf = !1); } s += 1; } (this || e)._currentCopies = v; var p = (this || e).o.v, u = p % 1, C = p > 0 ? Math.floor(p) : Math.ceil(p), c = (this || e).pMatrix.props, h = (this || e).rMatrix.props, m = (this || e).sMatrix.props; (this || e).pMatrix.reset(), (this || e).rMatrix.reset(), (this || e).sMatrix.reset(), (this || e).tMatrix.reset(), (this || e).matrix.reset(); var o = 0; if (p > 0) { for (; o < C; ) this.applyTransforms( (this || e).pMatrix, (this || e).rMatrix, (this || e).sMatrix, (this || e).tr, 1, !1 ), (o += 1); u && (this.applyTransforms( (this || e).pMatrix, (this || e).rMatrix, (this || e).sMatrix, (this || e).tr, u, !1 ), (o += u)); } else if (p < 0) { for (; o > C; ) this.applyTransforms( (this || e).pMatrix, (this || e).rMatrix, (this || e).sMatrix, (this || e).tr, 1, !0 ), (o -= 1); u && (this.applyTransforms( (this || e).pMatrix, (this || e).rMatrix, (this || e).sMatrix, (this || e).tr, -u, !0 ), (o -= u)); } (a = (this || e).data.m === 1 ? 0 : (this || e)._currentCopies - 1), (n = (this || e).data.m === 1 ? 1 : -1), (s = (this || e)._currentCopies); for (var f, d; s; ) { if ( ((r = (this || e).elemsData[a].it), (i = r[r.length - 1].transform.mProps.v.props), (d = i.length), (r[r.length - 1].transform.mProps._mdf = !0), (r[r.length - 1].transform.op._mdf = !0), (r[r.length - 1].transform.op.v = (this || e)._currentCopies === 1 ? (this || e).so.v : (this || e).so.v + ((this || e).eo.v - (this || e).so.v) * (a / ((this || e)._currentCopies - 1))), o !== 0) ) { for ( ((a !== 0 && n === 1) || (a !== (this || e)._currentCopies - 1 && n === -1)) && this.applyTransforms( (this || e).pMatrix, (this || e).rMatrix, (this || e).sMatrix, (this || e).tr, 1, !1 ), (this || e).matrix.transform( h[0], h[1], h[2], h[3], h[4], h[5], h[6], h[7], h[8], h[9], h[10], h[11], h[12], h[13], h[14], h[15] ), (this || e).matrix.transform( m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m[8], m[9], m[10], m[11], m[12], m[13], m[14], m[15] ), (this || e).matrix.transform( c[0], c[1], c[2], c[3], c[4], c[5], c[6], c[7], c[8], c[9], c[10], c[11], c[12], c[13], c[14], c[15] ), f = 0; f < d; f += 1 ) i[f] = (this || e).matrix.props[f]; (this || e).matrix.reset(); } else for ((this || e).matrix.reset(), f = 0; f < d; f += 1) i[f] = (this || e).matrix.props[f]; (o += 1), (s -= 1), (a += n); } } else for (s = (this || e)._currentCopies, a = 0, n = 1; s; ) (r = (this || e).elemsData[a].it), (i = r[r.length - 1].transform.mProps.v.props), (r[r.length - 1].transform.mProps._mdf = !1), (r[r.length - 1].transform.op._mdf = !1), (s -= 1), (a += n); return l; }), (RepeaterModifier.prototype.addShape = function () {}), ShapeModifiers.registerModifier("rp", RepeaterModifier); function ShapeCollection() { ((this || e)._length = 0), ((this || e)._maxLength = 4), ((this || e).shapes = createSizedArray((this || e)._maxLength)); } (ShapeCollection.prototype.addShape = function (t) { (this || e)._length === (this || e)._maxLength && (((this || e).shapes = (this || e).shapes.concat( createSizedArray((this || e)._maxLength) )), ((this || e)._maxLength *= 2)), ((this || e).shapes[(this || e)._length] = t), ((this || e)._length += 1); }), (ShapeCollection.prototype.releaseShapes = function () { var t; for (t = 0; t < (this || e)._length; t += 1) shapePool.release((this || e).shapes[t]); (this || e)._length = 0; }); function DashProperty(t, r, i, a) { ((this || e).elem = t), ((this || e).frameId = -1), ((this || e).dataProps = createSizedArray(r.length)), ((this || e).renderer = i), ((this || e).k = !1), ((this || e).dashStr = ""), ((this || e).dashArray = createTypedArray( "float32", r.length ? r.length - 1 : 0 )), ((this || e).dashoffset = createTypedArray("float32", 1)), this.initDynamicPropertyContainer(a); var n, s = r.length || 0, l; for (n = 0; n < s; n += 1) (l = PropertyFactory.getProp(t, r[n].v, 0, 0, this || e)), ((this || e).k = l.k || (this || e).k), ((this || e).dataProps[n] = { n: r[n].n, p: l }); (this || e).k || this.getValue(!0), ((this || e)._isAnimated = (this || e).k); } (DashProperty.prototype.getValue = function (t) { if ( !((this || e).elem.globalData.frameId === (this || e).frameId && !t) && (((this || e).frameId = (this || e).elem.globalData.frameId), this.iterateDynamicProperties(), ((this || e)._mdf = (this || e)._mdf || t), (this || e)._mdf) ) { var r = 0, i = (this || e).dataProps.length; for ( (this || e).renderer === "svg" && ((this || e).dashStr = ""), r = 0; r < i; r += 1 ) (this || e).dataProps[r].n !== "o" ? (this || e).renderer === "svg" ? ((this || e).dashStr += " " + (this || e).dataProps[r].p.v) : ((this || e).dashArray[r] = (this || e).dataProps[r].p.v) : ((this || e).dashoffset[0] = (this || e).dataProps[r].p.v); } }), extendPrototype([DynamicPropertyContainer], DashProperty); function GradientProperty(t, r, i) { ((this || e).data = r), ((this || e).c = createTypedArray("uint8c", r.p * 4)); var a = r.k.k[0].s ? r.k.k[0].s.length - r.p * 4 : r.k.k.length - r.p * 4; ((this || e).o = createTypedArray("float32", a)), ((this || e)._cmdf = !1), ((this || e)._omdf = !1), ((this || e)._collapsable = this.checkCollapsable()), ((this || e)._hasOpacity = a), this.initDynamicPropertyContainer(i), ((this || e).prop = PropertyFactory.getProp( t, r.k, 1, null, this || e )), ((this || e).k = (this || e).prop.k), this.getValue(!0); } (GradientProperty.prototype.comparePoints = function (t, r) { for (var i = 0, a = (this || e).o.length / 2, n; i < a; ) { if (((n = Math.abs(t[i * 4] - t[r * 4 + i * 2])), n > 0.01)) return !1; i += 1; } return !0; }), (GradientProperty.prototype.checkCollapsable = function () { if ((this || e).o.length / 2 !== (this || e).c.length / 4) return !1; if ((this || e).data.k.k[0].s) for (var t = 0, r = (this || e).data.k.k.length; t < r; ) { if ( !this.comparePoints((this || e).data.k.k[t].s, (this || e).data.p) ) return !1; t += 1; } else if (!this.comparePoints((this || e).data.k.k, (this || e).data.p)) return !1; return !0; }), (GradientProperty.prototype.getValue = function (t) { if ( ((this || e).prop.getValue(), ((this || e)._mdf = !1), ((this || e)._cmdf = !1), ((this || e)._omdf = !1), (this || e).prop._mdf || t) ) { var r, i = (this || e).data.p * 4, a, n; for (r = 0; r < i; r += 1) (a = r % 4 === 0 ? 100 : 255), (n = Math.round((this || e).prop.v[r] * a)), (this || e).c[r] !== n && (((this || e).c[r] = n), ((this || e)._cmdf = !t)); if ((this || e).o.length) for ( i = (this || e).prop.v.length, r = (this || e).data.p * 4; r < i; r += 1 ) (a = r % 2 === 0 ? 100 : 1), (n = r % 2 === 0 ? Math.round((this || e).prop.v[r] * 100) : (this || e).prop.v[r]), (this || e).o[r - (this || e).data.p * 4] !== n && (((this || e).o[r - (this || e).data.p * 4] = n), ((this || e)._omdf = !t)); (this || e)._mdf = !t; } }), extendPrototype([DynamicPropertyContainer], GradientProperty); var buildShapeString = function (t, r, i, a) { if (r === 0) return ""; var n = t.o, s = t.i, l = t.v, v, y = " M" + a.applyToPointStringified(l[0][0], l[0][1]); for (v = 1; v < r; v += 1) y += " C" + a.applyToPointStringified(n[v - 1][0], n[v - 1][1]) + " " + a.applyToPointStringified(s[v][0], s[v][1]) + " " + a.applyToPointStringified(l[v][0], l[v][1]); return ( i && r && ((y += " C" + a.applyToPointStringified(n[v - 1][0], n[v - 1][1]) + " " + a.applyToPointStringified(s[0][0], s[0][1]) + " " + a.applyToPointStringified(l[0][0], l[0][1])), (y += "z")), y ); }, audioControllerFactory = (function () { function t(r) { ((this || e).audios = []), ((this || e).audioFactory = r), ((this || e)._volume = 1), ((this || e)._isMuted = !1); } return ( (t.prototype = { addAudio: function (r) { (this || e).audios.push(r); }, pause: function () { var r, i = (this || e).audios.length; for (r = 0; r < i; r += 1) (this || e).audios[r].pause(); }, resume: function () { var r, i = (this || e).audios.length; for (r = 0; r < i; r += 1) (this || e).audios[r].resume(); }, setRate: function (r) { var i, a = (this || e).audios.length; for (i = 0; i < a; i += 1) (this || e).audios[i].setRate(r); }, createAudio: function (r) { return (this || e).audioFactory ? this.audioFactory(r) : Howl ? new Howl({ src: [r] }) : { isPlaying: !1, play: function () { (this || e).isPlaying = !0; }, seek: function () { (this || e).isPlaying = !1; }, playing: function () {}, rate: function () {}, setVolume: function () {}, }; }, setAudioFactory: function (r) { (this || e).audioFactory = r; }, setVolume: function (r) { ((this || e)._volume = r), this._updateVolume(); }, mute: function () { ((this || e)._isMuted = !0), this._updateVolume(); }, unmute: function () { ((this || e)._isMuted = !1), this._updateVolume(); }, getVolume: function () { return (this || e)._volume; }, _updateVolume: function () { var r, i = (this || e).audios.length; for (r = 0; r < i; r += 1) (this || e).audios[r].volume( (this || e)._volume * ((this || e)._isMuted ? 0 : 1) ); }, }), function () { return new t(); } ); })(), ImagePreloader = (function () { var t = (function () { var m = createTag("canvas"); (m.width = 1), (m.height = 1); var o = m.getContext("2d"); return (o.fillStyle = "rgba(0,0,0,0)"), o.fillRect(0, 0, 1, 1), m; })(); function r() { ((this || e).loadedAssets += 1), (this || e).loadedAssets === (this || e).totalImages && (this || e).loadedFootagesCount === (this || e).totalFootages && (this || e).imagesLoadedCb && this.imagesLoadedCb(null); } function i() { ((this || e).loadedFootagesCount += 1), (this || e).loadedAssets === (this || e).totalImages && (this || e).loadedFootagesCount === (this || e).totalFootages && (this || e).imagesLoadedCb && this.imagesLoadedCb(null); } function a(m, o, f) { var d = ""; if (m.e) d = m.p; else if (o) { var b = m.p; b.indexOf("images/") !== -1 && (b = b.split("/")[1]), (d = o + b); } else (d = f), (d += m.u ? m.u : ""), (d += m.p); return d; } function n(m) { var o = 0, f = setInterval( function () { var d = m.getBBox(); (d.width || o > 500) && (this._imageLoaded(), clearInterval(f)), (o += 1); }.bind(this || e), 50 ); } function s(m) { var o = a(m, (this || e).assetsPath, (this || e).path), f = createNS("image"); isSafari ? this.testImageLoaded(f) : f.addEventListener("load", (this || e)._imageLoaded, !1), f.addEventListener( "error", function () { (d.img = t), this._imageLoaded(); }.bind(this || e), !1 ), f.setAttributeNS("http://www.w3.org/1999/xlink", "href", o), (this || e)._elementHelper.append ? (this || e)._elementHelper.append(f) : (this || e)._elementHelper.appendChild(f); var d = { img: f, assetData: m }; return d; } function l(m) { var o = a(m, (this || e).assetsPath, (this || e).path), f = createTag("img"); (f.crossOrigin = "anonymous"), f.addEventListener("load", (this || e)._imageLoaded, !1), f.addEventListener( "error", function () { (d.img = t), this._imageLoaded(); }.bind(this || e), !1 ), (f.src = o); var d = { img: f, assetData: m }; return d; } function v(m) { var o = { assetData: m }, f = a(m, (this || e).assetsPath, (this || e).path); return ( assetLoader.load( f, function (d) { (o.img = d), this._footageLoaded(); }.bind(this || e), function () { (o.img = {}), this._footageLoaded(); }.bind(this || e) ), o ); } function y(m, o) { (this || e).imagesLoadedCb = o; var f, d = m.length; for (f = 0; f < d; f += 1) m[f].layers || (m[f].t ? m[f].t === 3 && (((this || e).totalFootages += 1), (this || e).images.push(this.createFootageData(m[f]))) : (((this || e).totalImages += 1), (this || e).images.push(this._createImageData(m[f])))); } function g(m) { (this || e).path = m || ""; } function w(m) { (this || e).assetsPath = m || ""; } function x(m) { for (var o = 0, f = (this || e).images.length; o < f; ) { if ((this || e).images[o].assetData === m) return (this || e).images[o].img; o += 1; } return null; } function p() { ((this || e).imagesLoadedCb = null), ((this || e).images.length = 0); } function u() { return (this || e).totalImages === (this || e).loadedAssets; } function C() { return (this || e).totalFootages === (this || e).loadedFootagesCount; } function c(m, o) { m === "svg" ? (((this || e)._elementHelper = o), ((this || e)._createImageData = (this || e).createImageData.bind( this || e ))) : ((this || e)._createImageData = (this || e).createImgData.bind( this || e )); } function h() { ((this || e)._imageLoaded = r.bind(this || e)), ((this || e)._footageLoaded = i.bind(this || e)), ((this || e).testImageLoaded = n.bind(this || e)), ((this || e).createFootageData = v.bind(this || e)), ((this || e).assetsPath = ""), ((this || e).path = ""), ((this || e).totalImages = 0), ((this || e).totalFootages = 0), ((this || e).loadedAssets = 0), ((this || e).loadedFootagesCount = 0), ((this || e).imagesLoadedCb = null), ((this || e).images = []); } return ( (h.prototype = { loadAssets: y, setAssetsPath: w, setPath: g, loadedImages: u, loadedFootages: C, destroy: p, getAsset: x, createImgData: l, createImageData: s, imageLoaded: r, footageLoaded: i, setCacheType: c, }), h ); })(), featureSupport = (function () { var t = { maskType: !0 }; return ( (/MSIE 10/i.test(navigator.userAgent) || /MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent) || /Edge\/\d./i.test(navigator.userAgent)) && (t.maskType = !1), t ); })(), filtersFactory = (function () { var t = {}; (t.createFilter = r), (t.createAlphaToLuminanceFilter = i); function r(a, n) { var s = createNS("filter"); return ( s.setAttribute("id", a), n !== !0 && (s.setAttribute("filterUnits", "objectBoundingBox"), s.setAttribute("x", "0%"), s.setAttribute("y", "0%"), s.setAttribute("width", "100%"), s.setAttribute("height", "100%")), s ); } function i() { var a = createNS("feColorMatrix"); return ( a.setAttribute("type", "matrix"), a.setAttribute("color-interpolation-filters", "sRGB"), a.setAttribute( "values", "0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1" ), a ); } return t; })(), assetLoader = (function () { function t(i) { return i.response && typeof i.response == "object" ? i.response : i.response && typeof i.response == "string" ? JSON.parse(i.response) : i.responseText ? JSON.parse(i.responseText) : null; } function r(i, a, n) { var s, l = new XMLHttpRequest(); try { l.responseType = "json"; } catch {} (l.onreadystatechange = function () { if (l.readyState === 4) if (l.status === 200) (s = t(l)), a(s); else try { (s = t(l)), a(s); } catch (v) { n && n(v); } }), l.open("GET", i, !0), l.send(); } return { load: r }; })(); function TextAnimatorProperty(t, r, i) { ((this || e)._isFirstFrame = !0), ((this || e)._hasMaskedPath = !1), ((this || e)._frameId = -1), ((this || e)._textData = t), ((this || e)._renderType = r), ((this || e)._elem = i), ((this || e)._animatorsData = createSizedArray( (this || e)._textData.a.length )), ((this || e)._pathData = {}), ((this || e)._moreOptions = { alignment: {} }), ((this || e).renderedLetters = []), ((this || e).lettersChangedFlag = !1), this.initDynamicPropertyContainer(i); } (TextAnimatorProperty.prototype.searchProperties = function () { var t, r = (this || e)._textData.a.length, i, a = PropertyFactory.getProp; for (t = 0; t < r; t += 1) (i = (this || e)._textData.a[t]), ((this || e)._animatorsData[t] = new TextAnimatorDataProperty( (this || e)._elem, i, this || e )); (this || e)._textData.p && "m" in (this || e)._textData.p ? (((this || e)._pathData = { f: a((this || e)._elem, (this || e)._textData.p.f, 0, 0, this || e), l: a((this || e)._elem, (this || e)._textData.p.l, 0, 0, this || e), r: (this || e)._textData.p.r, m: (this || e)._elem.maskManager.getMaskProperty( (this || e)._textData.p.m ), }), ((this || e)._hasMaskedPath = !0)) : ((this || e)._hasMaskedPath = !1), ((this || e)._moreOptions.alignment = a( (this || e)._elem, (this || e)._textData.m.a, 1, 0, this || e )); }), (TextAnimatorProperty.prototype.getMeasures = function (t, r) { if ( (((this || e).lettersChangedFlag = r), !( !(this || e)._mdf && !(this || e)._isFirstFrame && !r && (!(this || e)._hasMaskedPath || !(this || e)._pathData.m._mdf) )) ) { (this || e)._isFirstFrame = !1; var i = (this || e)._moreOptions.alignment.v, a = (this || e)._animatorsData, n = (this || e)._textData, s = (this || e).mHelper, l = (this || e)._renderType, v = (this || e).renderedLetters.length, y, g, w, x, p = t.l, u, C, c, h, m, o, f, d, b, A, E, P, F, I, R; if ((this || e)._hasMaskedPath) { if ( ((R = (this || e)._pathData.m), !(this || e)._pathData.n || (this || e)._pathData._mdf) ) { var O = R.v; (this || e)._pathData.r && (O = O.reverse()), (u = { tLength: 0, segments: [] }), (x = O._length - 1); var z; for (P = 0, w = 0; w < x; w += 1) (z = bez.buildBezierData( O.v[w], O.v[w + 1], [O.o[w][0] - O.v[w][0], O.o[w][1] - O.v[w][1]], [O.i[w + 1][0] - O.v[w + 1][0], O.i[w + 1][1] - O.v[w + 1][1]] )), (u.tLength += z.segmentLength), u.segments.push(z), (P += z.segmentLength); (w = x), R.v.c && ((z = bez.buildBezierData( O.v[w], O.v[0], [O.o[w][0] - O.v[w][0], O.o[w][1] - O.v[w][1]], [O.i[0][0] - O.v[0][0], O.i[0][1] - O.v[0][1]] )), (u.tLength += z.segmentLength), u.segments.push(z), (P += z.segmentLength)), ((this || e)._pathData.pi = u); } if ( ((u = (this || e)._pathData.pi), (C = (this || e)._pathData.f.v), (f = 0), (o = 1), (h = 0), (m = !0), (A = u.segments), C < 0 && R.v.c) ) for ( u.tLength < Math.abs(C) && (C = -Math.abs(C) % u.tLength), f = A.length - 1, b = A[f].points, o = b.length - 1; C < 0; ) (C += b[o].partialLength), (o -= 1), o < 0 && ((f -= 1), (b = A[f].points), (o = b.length - 1)); (b = A[f].points), (d = b[o - 1]), (c = b[o]), (E = c.partialLength); } (x = p.length), (y = 0), (g = 0); var V = t.finalSize * 1.2 * 0.714, N = !0, k, T, _, M, B; M = a.length; var L, U = -1, W, J, ie, ee = C, le = f, me = o, pe = -1, se, ae, de, q, re, xe, Se, we, be = "", ye = (this || e).defaultPropsArray, Q; if (t.j === 2 || t.j === 1) { var Z = 0, ce = 0, ne = t.j === 2 ? -0.5 : -1, fe = 0, ue = !0; for (w = 0; w < x; w += 1) if (p[w].n) { for (Z && (Z += ce); fe < w; ) (p[fe].animatorJustifyOffset = Z), (fe += 1); (Z = 0), (ue = !0); } else { for (_ = 0; _ < M; _ += 1) (k = a[_].a), k.t.propType && (ue && t.j === 2 && (ce += k.t.v * ne), (T = a[_].s), (L = T.getMult(p[w].anIndexes[_], n.a[_].s.totalChars)), L.length ? (Z += k.t.v * L[0] * ne) : (Z += k.t.v * L * ne)); ue = !1; } for (Z && (Z += ce); fe < w; ) (p[fe].animatorJustifyOffset = Z), (fe += 1); } for (w = 0; w < x; w += 1) { if ((s.reset(), (se = 1), p[w].n)) (y = 0), (g += t.yOffset), (g += N ? 1 : 0), (C = ee), (N = !1), (this || e)._hasMaskedPath && ((f = le), (o = me), (b = A[f].points), (d = b[o - 1]), (c = b[o]), (E = c.partialLength), (h = 0)), (be = ""), (we = ""), (xe = ""), (Q = ""), (ye = (this || e).defaultPropsArray); else { if ((this || e)._hasMaskedPath) { if (pe !== p[w].line) { switch (t.j) { case 1: C += P - t.lineWidths[p[w].line]; break; case 2: C += (P - t.lineWidths[p[w].line]) / 2; break; default: break; } pe = p[w].line; } U !== p[w].ind && (p[U] && (C += p[U].extra), (C += p[w].an / 2), (U = p[w].ind)), (C += i[0] * p[w].an * 0.005); var he = 0; for (_ = 0; _ < M; _ += 1) (k = a[_].a), k.p.propType && ((T = a[_].s), (L = T.getMult(p[w].anIndexes[_], n.a[_].s.totalChars)), L.length ? (he += k.p.v[0] * L[0]) : (he += k.p.v[0] * L)), k.a.propType && ((T = a[_].s), (L = T.getMult(p[w].anIndexes[_], n.a[_].s.totalChars)), L.length ? (he += k.a.v[0] * L[0]) : (he += k.a.v[0] * L)); for (m = !0; m; ) h + E >= C + he || !b ? ((F = (C + he - h) / c.partialLength), (J = d.point[0] + (c.point[0] - d.point[0]) * F), (ie = d.point[1] + (c.point[1] - d.point[1]) * F), s.translate(-i[0] * p[w].an * 0.005, -(i[1] * V) * 0.01), (m = !1)) : b && ((h += c.partialLength), (o += 1), o >= b.length && ((o = 0), (f += 1), A[f] ? (b = A[f].points) : R.v.c ? ((o = 0), (f = 0), (b = A[f].points)) : ((h -= c.partialLength), (b = null))), b && ((d = c), (c = b[o]), (E = c.partialLength))); (W = p[w].an / 2 - p[w].add), s.translate(-W, 0, 0); } else (W = p[w].an / 2 - p[w].add), s.translate(-W, 0, 0), s.translate(-i[0] * p[w].an * 0.005, -i[1] * V * 0.01, 0); for (_ = 0; _ < M; _ += 1) (k = a[_].a), k.t.propType && ((T = a[_].s), (L = T.getMult(p[w].anIndexes[_], n.a[_].s.totalChars)), (y !== 0 || t.j !== 0) && ((this || e)._hasMaskedPath ? L.length ? (C += k.t.v * L[0]) : (C += k.t.v * L) : L.length ? (y += k.t.v * L[0]) : (y += k.t.v * L))); for ( t.strokeWidthAnim && (de = t.sw || 0), t.strokeColorAnim && (t.sc ? (ae = [t.sc[0], t.sc[1], t.sc[2]]) : (ae = [0, 0, 0])), t.fillColorAnim && t.fc && (q = [t.fc[0], t.fc[1], t.fc[2]]), _ = 0; _ < M; _ += 1 ) (k = a[_].a), k.a.propType && ((T = a[_].s), (L = T.getMult(p[w].anIndexes[_], n.a[_].s.totalChars)), L.length ? s.translate( -k.a.v[0] * L[0], -k.a.v[1] * L[1], k.a.v[2] * L[2] ) : s.translate( -k.a.v[0] * L, -k.a.v[1] * L, k.a.v[2] * L )); for (_ = 0; _ < M; _ += 1) (k = a[_].a), k.s.propType && ((T = a[_].s), (L = T.getMult(p[w].anIndexes[_], n.a[_].s.totalChars)), L.length ? s.scale( 1 + (k.s.v[0] - 1) * L[0], 1 + (k.s.v[1] - 1) * L[1], 1 ) : s.scale( 1 + (k.s.v[0] - 1) * L, 1 + (k.s.v[1] - 1) * L, 1 )); for (_ = 0; _ < M; _ += 1) { if ( ((k = a[_].a), (T = a[_].s), (L = T.getMult(p[w].anIndexes[_], n.a[_].s.totalChars)), k.sk.propType && (L.length ? s.skewFromAxis(-k.sk.v * L[0], k.sa.v * L[1]) : s.skewFromAxis(-k.sk.v * L, k.sa.v * L)), k.r.propType && (L.length ? s.rotateZ(-k.r.v * L[2]) : s.rotateZ(-k.r.v * L)), k.ry.propType && (L.length ? s.rotateY(k.ry.v * L[1]) : s.rotateY(k.ry.v * L)), k.rx.propType && (L.length ? s.rotateX(k.rx.v * L[0]) : s.rotateX(k.rx.v * L)), k.o.propType && (L.length ? (se += (k.o.v * L[0] - se) * L[0]) : (se += (k.o.v * L - se) * L)), t.strokeWidthAnim && k.sw.propType && (L.length ? (de += k.sw.v * L[0]) : (de += k.sw.v * L)), t.strokeColorAnim && k.sc.propType) ) for (re = 0; re < 3; re += 1) L.length ? (ae[re] += (k.sc.v[re] - ae[re]) * L[0]) : (ae[re] += (k.sc.v[re] - ae[re]) * L); if (t.fillColorAnim && t.fc) { if (k.fc.propType) for (re = 0; re < 3; re += 1) L.length ? (q[re] += (k.fc.v[re] - q[re]) * L[0]) : (q[re] += (k.fc.v[re] - q[re]) * L); k.fh.propType && (L.length ? (q = addHueToRGB(q, k.fh.v * L[0])) : (q = addHueToRGB(q, k.fh.v * L))), k.fs.propType && (L.length ? (q = addSaturationToRGB(q, k.fs.v * L[0])) : (q = addSaturationToRGB(q, k.fs.v * L))), k.fb.propType && (L.length ? (q = addBrightnessToRGB(q, k.fb.v * L[0])) : (q = addBrightnessToRGB(q, k.fb.v * L))); } } for (_ = 0; _ < M; _ += 1) (k = a[_].a), k.p.propType && ((T = a[_].s), (L = T.getMult(p[w].anIndexes[_], n.a[_].s.totalChars)), (this || e)._hasMaskedPath ? L.length ? s.translate(0, k.p.v[1] * L[0], -k.p.v[2] * L[1]) : s.translate(0, k.p.v[1] * L, -k.p.v[2] * L) : L.length ? s.translate( k.p.v[0] * L[0], k.p.v[1] * L[1], -k.p.v[2] * L[2] ) : s.translate(k.p.v[0] * L, k.p.v[1] * L, -k.p.v[2] * L)); if ( (t.strokeWidthAnim && (xe = de < 0 ? 0 : de), t.strokeColorAnim && (Se = "rgb(" + Math.round(ae[0] * 255) + "," + Math.round(ae[1] * 255) + "," + Math.round(ae[2] * 255) + ")"), t.fillColorAnim && t.fc && (we = "rgb(" + Math.round(q[0] * 255) + "," + Math.round(q[1] * 255) + "," + Math.round(q[2] * 255) + ")"), (this || e)._hasMaskedPath) ) { if ( (s.translate(0, -t.ls), s.translate(0, i[1] * V * 0.01 + g, 0), n.p.p) ) { I = (c.point[1] - d.point[1]) / (c.point[0] - d.point[0]); var ge = (Math.atan(I) * 180) / Math.PI; c.point[0] < d.point[0] && (ge += 180), s.rotate((-ge * Math.PI) / 180); } s.translate(J, ie, 0), (C -= i[0] * p[w].an * 0.005), p[w + 1] && U !== p[w + 1].ind && ((C += p[w].an / 2), (C += t.tr * 0.001 * t.finalSize)); } else { switch ( (s.translate(y, g, 0), t.ps && s.translate(t.ps[0], t.ps[1] + t.ascent, 0), t.j) ) { case 1: s.translate( p[w].animatorJustifyOffset + t.justifyOffset + (t.boxWidth - t.lineWidths[p[w].line]), 0, 0 ); break; case 2: s.translate( p[w].animatorJustifyOffset + t.justifyOffset + (t.boxWidth - t.lineWidths[p[w].line]) / 2, 0, 0 ); break; default: break; } s.translate(0, -t.ls), s.translate(W, 0, 0), s.translate(i[0] * p[w].an * 0.005, i[1] * V * 0.01, 0), (y += p[w].l + t.tr * 0.001 * t.finalSize); } l === "html" ? (be = s.toCSS()) : l === "svg" ? (be = s.to2dCSS()) : (ye = [ s.props[0], s.props[1], s.props[2], s.props[3], s.props[4], s.props[5], s.props[6], s.props[7], s.props[8], s.props[9], s.props[10], s.props[11], s.props[12], s.props[13], s.props[14], s.props[15], ]), (Q = se); } v <= w ? ((B = new LetterProps(Q, xe, Se, we, be, ye)), (this || e).renderedLetters.push(B), (v += 1), ((this || e).lettersChangedFlag = !0)) : ((B = (this || e).renderedLetters[w]), ((this || e).lettersChangedFlag = B.update(Q, xe, Se, we, be, ye) || (this || e).lettersChangedFlag)); } } }), (TextAnimatorProperty.prototype.getValue = function () { (this || e)._elem.globalData.frameId !== (this || e)._frameId && (((this || e)._frameId = (this || e)._elem.globalData.frameId), this.iterateDynamicProperties()); }), (TextAnimatorProperty.prototype.mHelper = new Matrix()), (TextAnimatorProperty.prototype.defaultPropsArray = []), extendPrototype([DynamicPropertyContainer], TextAnimatorProperty); function TextAnimatorDataProperty(t, r, i) { var a = { propType: !1 }, n = PropertyFactory.getProp, s = r.a; ((this || e).a = { r: s.r ? n(t, s.r, 0, degToRads, i) : a, rx: s.rx ? n(t, s.rx, 0, degToRads, i) : a, ry: s.ry ? n(t, s.ry, 0, degToRads, i) : a, sk: s.sk ? n(t, s.sk, 0, degToRads, i) : a, sa: s.sa ? n(t, s.sa, 0, degToRads, i) : a, s: s.s ? n(t, s.s, 1, 0.01, i) : a, a: s.a ? n(t, s.a, 1, 0, i) : a, o: s.o ? n(t, s.o, 0, 0.01, i) : a, p: s.p ? n(t, s.p, 1, 0, i) : a, sw: s.sw ? n(t, s.sw, 0, 0, i) : a, sc: s.sc ? n(t, s.sc, 1, 0, i) : a, fc: s.fc ? n(t, s.fc, 1, 0, i) : a, fh: s.fh ? n(t, s.fh, 0, 0, i) : a, fs: s.fs ? n(t, s.fs, 0, 0.01, i) : a, fb: s.fb ? n(t, s.fb, 0, 0.01, i) : a, t: s.t ? n(t, s.t, 0, 0, i) : a, }), ((this || e).s = TextSelectorProp.getTextSelectorProp(t, r.s, i)), ((this || e).s.t = r.s.t); } function LetterProps(t, r, i, a, n, s) { ((this || e).o = t), ((this || e).sw = r), ((this || e).sc = i), ((this || e).fc = a), ((this || e).m = n), ((this || e).p = s), ((this || e)._mdf = { o: !0, sw: !!r, sc: !!i, fc: !!a, m: !0, p: !0 }); } LetterProps.prototype.update = function (t, r, i, a, n, s) { ((this || e)._mdf.o = !1), ((this || e)._mdf.sw = !1), ((this || e)._mdf.sc = !1), ((this || e)._mdf.fc = !1), ((this || e)._mdf.m = !1), ((this || e)._mdf.p = !1); var l = !1; return ( (this || e).o !== t && (((this || e).o = t), ((this || e)._mdf.o = !0), (l = !0)), (this || e).sw !== r && (((this || e).sw = r), ((this || e)._mdf.sw = !0), (l = !0)), (this || e).sc !== i && (((this || e).sc = i), ((this || e)._mdf.sc = !0), (l = !0)), (this || e).fc !== a && (((this || e).fc = a), ((this || e)._mdf.fc = !0), (l = !0)), (this || e).m !== n && (((this || e).m = n), ((this || e)._mdf.m = !0), (l = !0)), s.length && ((this || e).p[0] !== s[0] || (this || e).p[1] !== s[1] || (this || e).p[4] !== s[4] || (this || e).p[5] !== s[5] || (this || e).p[12] !== s[12] || (this || e).p[13] !== s[13]) && (((this || e).p = s), ((this || e)._mdf.p = !0), (l = !0)), l ); }; function TextProperty(t, r) { ((this || e)._frameId = initialDefaultFrame), ((this || e).pv = ""), ((this || e).v = ""), ((this || e).kf = !1), ((this || e)._isFirstFrame = !0), ((this || e)._mdf = !1), ((this || e).data = r), ((this || e).elem = t), ((this || e).comp = (this || e).elem.comp), ((this || e).keysIndex = 0), ((this || e).canResize = !1), ((this || e).minimumFontSize = 1), ((this || e).effectsSequence = []), ((this || e).currentData = { ascent: 0, boxWidth: (this || e).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 || e).currentData, (this || e).data.d.k[0].s), this.searchProperty() || this.completeTextData((this || e).currentData); } (TextProperty.prototype.defaultBoxWidth = [0, 0]), (TextProperty.prototype.copyData = function (t, r) { for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]); return t; }), (TextProperty.prototype.setCurrentData = function (t) { t.__complete || this.completeTextData(t), ((this || e).currentData = t), ((this || e).currentData.boxWidth = (this || e).currentData.boxWidth || (this || e).defaultBoxWidth), ((this || e)._mdf = !0); }), (TextProperty.prototype.searchProperty = function () { return this.searchKeyframes(); }), (TextProperty.prototype.searchKeyframes = function () { return ( ((this || e).kf = (this || e).data.d.k.length > 1), (this || e).kf && this.addEffect((this || e).getKeyframeValue.bind(this || e)), (this || e).kf ); }), (TextProperty.prototype.addEffect = function (t) { (this || e).effectsSequence.push(t), (this || e).elem.addDynamicProperty(this || e); }), (TextProperty.prototype.getValue = function (t) { if ( !( ((this || e).elem.globalData.frameId === (this || e).frameId || !(this || e).effectsSequence.length) && !t ) ) { (this || e).currentData.t = (this || e).data.d.k[ (this || e).keysIndex ].s.t; var r = (this || e).currentData, i = (this || e).keysIndex; if ((this || e).lock) { this.setCurrentData((this || e).currentData); return; } ((this || e).lock = !0), ((this || e)._mdf = !1); var a, n = (this || e).effectsSequence.length, s = t || (this || e).data.d.k[(this || e).keysIndex].s; for (a = 0; a < n; a += 1) i !== (this || e).keysIndex ? (s = (this || e).effectsSequence[a](s, s.t)) : (s = (this || e).effectsSequence[a]( (this || e).currentData, s.t )); r !== s && this.setCurrentData(s), ((this || e).v = (this || e).currentData), ((this || e).pv = (this || e).v), ((this || e).lock = !1), ((this || e).frameId = (this || e).elem.globalData.frameId); } }), (TextProperty.prototype.getKeyframeValue = function () { for ( var t = (this || e).data.d.k, r = (this || e).elem.comp.renderedFrame, i = 0, a = t.length; i <= a - 1 && !(i === a - 1 || t[i + 1].t > r); ) i += 1; return ( (this || e).keysIndex !== i && ((this || e).keysIndex = i), (this || e).data.d.k[(this || e).keysIndex].s ); }), (TextProperty.prototype.buildFinalText = function (t) { for ( var r = FontManager.getCombinedCharacterCodes(), i = [], a = 0, n = t.length, s; a < n; ) (s = t.charCodeAt(a)), r.indexOf(s) !== -1 ? (i[i.length - 1] += t.charAt(a)) : s >= 55296 && s <= 56319 ? ((s = t.charCodeAt(a + 1)), s >= 56320 && s <= 57343 ? (i.push(t.substr(a, 2)), (a += 1)) : i.push(t.charAt(a))) : i.push(t.charAt(a)), (a += 1); return i; }), (TextProperty.prototype.completeTextData = function (t) { t.__complete = !0; var r = (this || e).elem.globalData.fontManager, i = (this || e).data, a = [], n, s, l, v = 0, y, g = i.m.g, w = 0, x = 0, p = 0, u = [], C = 0, c = 0, h, m, o = r.getFontByName(t.f), f, d = 0, b = getFontProperties(o); (t.fWeight = b.weight), (t.fStyle = b.style), (t.finalSize = t.s), (t.finalText = this.buildFinalText(t.t)), (s = t.finalText.length), (t.finalLineHeight = t.lh); var A = (t.tr / 1e3) * t.finalSize, E; if (t.sz) for (var P = !0, F = t.sz[0], I = t.sz[1], R, O; P; ) { (O = this.buildFinalText(t.t)), (R = 0), (C = 0), (s = O.length), (A = (t.tr / 1e3) * t.finalSize); var z = -1; for (n = 0; n < s; n += 1) (E = O[n].charCodeAt(0)), (l = !1), O[n] === " " ? (z = n) : (E === 13 || E === 3) && ((C = 0), (l = !0), (R += t.finalLineHeight || t.finalSize * 1.2)), r.chars ? ((f = r.getCharData(O[n], o.fStyle, o.fFamily)), (d = l ? 0 : (f.w * t.finalSize) / 100)) : (d = r.measureText(O[n], t.f, t.finalSize)), C + d > F && O[n] !== " " ? (z === -1 ? (s += 1) : (n = z), (R += t.finalLineHeight || t.finalSize * 1.2), O.splice(n, z === n ? 1 : 0, "\r"), (z = -1), (C = 0)) : ((C += d), (C += A)); (R += (o.ascent * t.finalSize) / 100), (this || e).canResize && t.finalSize > (this || e).minimumFontSize && I < R ? ((t.finalSize -= 1), (t.finalLineHeight = (t.finalSize * t.lh) / t.s)) : ((t.finalText = O), (s = t.finalText.length), (P = !1)); } (C = -A), (d = 0); var V = 0, N; for (n = 0; n < s; n += 1) if ( ((l = !1), (N = t.finalText[n]), (E = N.charCodeAt(0)), E === 13 || E === 3 ? ((V = 0), u.push(C), (c = C > c ? C : c), (C = -2 * A), (y = ""), (l = !0), (p += 1)) : (y = N), r.chars ? ((f = r.getCharData(N, o.fStyle, r.getFontByName(t.f).fFamily)), (d = l ? 0 : (f.w * t.finalSize) / 100)) : (d = r.measureText(y, t.f, t.finalSize)), N === " " ? (V += d + A) : ((C += d + A + V), (V = 0)), a.push({ l: d, an: d, add: w, n: l, anIndexes: [], val: y, line: p, animatorJustifyOffset: 0, }), g == 2) ) { if (((w += d), y === "" || y === " " || n === s - 1)) { for ((y === "" || y === " ") && (w -= d); x <= n; ) (a[x].an = w), (a[x].ind = v), (a[x].extra = d), (x += 1); (v += 1), (w = 0); } } else if (g == 3) { if (((w += d), y === "" || n === s - 1)) { for (y === "" && (w -= d); x <= n; ) (a[x].an = w), (a[x].ind = v), (a[x].extra = d), (x += 1); (w = 0), (v += 1); } } else (a[v].ind = v), (a[v].extra = 0), (v += 1); if (((t.l = a), (c = C > c ? C : c), u.push(C), t.sz)) (t.boxWidth = t.sz[0]), (t.justifyOffset = 0); else switch (((t.boxWidth = c), t.j)) { case 1: t.justifyOffset = -t.boxWidth; break; case 2: t.justifyOffset = -t.boxWidth / 2; break; default: t.justifyOffset = 0; } t.lineWidths = u; var k = i.a, T, _; m = k.length; var M, B, L = []; for (h = 0; h < m; h += 1) { for ( T = k[h], T.a.sc && (t.strokeColorAnim = !0), T.a.sw && (t.strokeWidthAnim = !0), (T.a.fc || T.a.fh || T.a.fs || T.a.fb) && (t.fillColorAnim = !0), B = 0, M = T.s.b, n = 0; n < s; n += 1 ) (_ = a[n]), (_.anIndexes[h] = B), ((M == 1 && _.val !== "") || (M == 2 && _.val !== "" && _.val !== " ") || (M == 3 && (_.n || _.val == " " || n == s - 1)) || (M == 4 && (_.n || n == s - 1))) && (T.s.rn === 1 && L.push(B), (B += 1)); i.a[h].s.totalChars = B; var U = -1, W; if (T.s.rn === 1) for (n = 0; n < s; n += 1) (_ = a[n]), U != _.anIndexes[h] && ((U = _.anIndexes[h]), (W = L.splice(Math.floor(Math.random() * L.length), 1)[0])), (_.anIndexes[h] = W); } (t.yOffset = t.finalLineHeight || t.finalSize * 1.2), (t.ls = t.ls || 0), (t.ascent = (o.ascent * t.finalSize) / 100); }), (TextProperty.prototype.updateDocumentData = function (t, r) { r = r === void 0 ? (this || e).keysIndex : r; var i = this.copyData({}, (this || e).data.d.k[r].s); (i = this.copyData(i, t)), ((this || e).data.d.k[r].s = i), this.recalculate(r), (this || e).elem.addDynamicProperty(this || e); }), (TextProperty.prototype.recalculate = function (t) { var r = (this || e).data.d.k[t].s; (r.__complete = !1), ((this || e).keysIndex = 0), ((this || e)._isFirstFrame = !0), this.getValue(r); }), (TextProperty.prototype.canResizeFont = function (t) { ((this || e).canResize = t), this.recalculate((this || e).keysIndex), (this || e).elem.addDynamicProperty(this || e); }), (TextProperty.prototype.setMinimumFontSize = function (t) { ((this || e).minimumFontSize = Math.floor(t) || 1), this.recalculate((this || e).keysIndex), (this || e).elem.addDynamicProperty(this || e); }); var TextSelectorProp = (function () { var t = Math.max, r = Math.min, i = Math.floor; function a(s, l) { ((this || e)._currentTextLength = -1), ((this || e).k = !1), ((this || e).data = l), ((this || e).elem = s), ((this || e).comp = s.comp), ((this || e).finalS = 0), ((this || e).finalE = 0), this.initDynamicPropertyContainer(s), ((this || e).s = PropertyFactory.getProp( s, l.s || { k: 0 }, 0, 0, this || e )), "e" in l ? ((this || e).e = PropertyFactory.getProp( s, l.e, 0, 0, this || e )) : ((this || e).e = { v: 100 }), ((this || e).o = PropertyFactory.getProp( s, l.o || { k: 0 }, 0, 0, this || e )), ((this || e).xe = PropertyFactory.getProp( s, l.xe || { k: 0 }, 0, 0, this || e )), ((this || e).ne = PropertyFactory.getProp( s, l.ne || { k: 0 }, 0, 0, this || e )), ((this || e).a = PropertyFactory.getProp( s, l.a, 0, 0.01, this || e )), (this || e).dynamicProperties.length || this.getValue(); } (a.prototype = { getMult: function (s) { (this || e)._currentTextLength !== (this || e).elem.textProperty.currentData.l.length && this.getValue(); var l = 0, v = 0, y = 1, g = 1; (this || e).ne.v > 0 ? (l = (this || e).ne.v / 100) : (v = -(this || e).ne.v / 100), (this || e).xe.v > 0 ? (y = 1 - (this || e).xe.v / 100) : (g = 1 + (this || e).xe.v / 100); var w = BezierFactory.getBezierEasing(l, v, y, g).get, x = 0, p = (this || e).finalS, u = (this || e).finalE, C = (this || e).data.sh; if (C === 2) u === p ? (x = s >= u ? 1 : 0) : (x = t(0, r(0.5 / (u - p) + (s - p) / (u - p), 1))), (x = w(x)); else if (C === 3) u === p ? (x = s >= u ? 0 : 1) : (x = 1 - t(0, r(0.5 / (u - p) + (s - p) / (u - p), 1))), (x = w(x)); else if (C === 4) u === p ? (x = 0) : ((x = t(0, r(0.5 / (u - p) + (s - p) / (u - p), 1))), x < 0.5 ? (x *= 2) : (x = 1 - 2 * (x - 0.5))), (x = w(x)); else if (C === 5) { if (u === p) x = 0; else { var c = u - p; s = r(t(0, s + 0.5 - p), u - p); var h = -c / 2 + s, m = c / 2; x = Math.sqrt(1 - (h * h) / (m * m)); } x = w(x); } else C === 6 ? (u === p ? (x = 0) : ((s = r(t(0, s + 0.5 - p), u - p)), (x = (1 + Math.cos(Math.PI + (Math.PI * 2 * s) / (u - p))) / 2)), (x = w(x))) : (s >= i(p) && (s - p < 0 ? (x = t(0, r(r(u, 1) - (p - s), 1))) : (x = t(0, r(u - s, 1)))), (x = w(x))); return x * (this || e).a.v; }, getValue: function (s) { this.iterateDynamicProperties(), ((this || e)._mdf = s || (this || e)._mdf), ((this || e)._currentTextLength = (this || e).elem.textProperty.currentData.l.length || 0), s && (this || e).data.r === 2 && ((this || e).e.v = (this || e)._currentTextLength); var l = (this || e).data.r === 2 ? 1 : 100 / (this || e).data.totalChars, v = (this || e).o.v / l, y = (this || e).s.v / l + v, g = (this || e).e.v / l + v; if (y > g) { var w = y; (y = g), (g = w); } ((this || e).finalS = y), ((this || e).finalE = g); }, }), extendPrototype([DynamicPropertyContainer], a); function n(s, l, v) { return new a(s, l, v); } return { getTextSelectorProp: n }; })(), poolFactory = (function () { return function (t, r, i) { var a = 0, n = t, s = createSizedArray(n), l = { newElement: v, release: y }; function v() { var g; return a ? ((a -= 1), (g = s[a])) : (g = r()), g; } function y(g) { a === n && ((s = pooling.double(s)), (n *= 2)), i && i(g), (s[a] = g), (a += 1); } return l; }; })(), pooling = (function () { function t(r) { return r.concat(createSizedArray(r.length)); } return { double: t }; })(), pointPool = (function () { function t() { return createTypedArray("float32", 2); } return poolFactory(8, t); })(), shapePool = (function () { function t() { return new ShapePath(); } function r(n) { var s = n._length, l; for (l = 0; l < s; l += 1) pointPool.release(n.v[l]), pointPool.release(n.i[l]), pointPool.release(n.o[l]), (n.v[l] = null), (n.i[l] = null), (n.o[l] = null); (n._length = 0), (n.c = !1); } function i(n) { var s = a.newElement(), l, v = n._length === void 0 ? n.v.length : n._length; for (s.setLength(v), s.c = n.c, l = 0; l < v; l += 1) s.setTripleAt( n.v[l][0], n.v[l][1], n.o[l][0], n.o[l][1], n.i[l][0], n.i[l][1], l ); return s; } var a = poolFactory(4, t, r); return (a.clone = i), a; })(), shapeCollectionPool = (function () { var t = { newShapeCollection: n, release: s }, r = 0, i = 4, a = createSizedArray(i); function n() { var l; return r ? ((r -= 1), (l = a[r])) : (l = new ShapeCollection()), l; } function s(l) { var v, y = l._length; for (v = 0; v < y; v += 1) shapePool.release(l.shapes[v]); (l._length = 0), r === i && ((a = pooling.double(a)), (i *= 2)), (a[r] = l), (r += 1); } return t; })(), segmentsLengthPool = (function () { function t() { return { lengths: [], totalLength: 0 }; } function r(i) { var a, n = i.lengths.length; for (a = 0; a < n; a += 1) bezierLengthPool.release(i.lengths[a]); i.lengths.length = 0; } return poolFactory(8, t, r); })(), bezierLengthPool = (function () { function t() { return { addedLength: 0, percents: createTypedArray("float32", defaultCurveSegments), lengths: createTypedArray("float32", defaultCurveSegments), }; } return poolFactory(8, t); })(), markerParser = (function () { function t(r) { for ( var i = r.split(`\r `), a = {}, n, s = 0, l = 0; l < i.length; l += 1 ) (n = i[l].split(":")), n.length === 2 && ((a[n[0]] = n[1].trim()), (s += 1)); if (s === 0) throw new Error(); return a; } return function (r) { for (var i = [], a = 0; a < r.length; a += 1) { var n = r[a], s = { time: n.tm, duration: n.dr }; try { s.payload = JSON.parse(r[a].cm); } catch { try { s.payload = t(r[a].cm); } catch { s.payload = { name: r[a] }; } } i.push(s); } return i; }; })(); function BaseRenderer() {} (BaseRenderer.prototype.checkLayers = function (t) { var r, i = (this || e).layers.length, a; for ((this || e).completeLayers = !0, r = i - 1; r >= 0; r -= 1) (this || e).elements[r] || ((a = (this || e).layers[r]), a.ip - a.st <= t - (this || e).layers[r].st && a.op - a.st > t - (this || e).layers[r].st && this.buildItem(r)), ((this || e).completeLayers = (this || e).elements[r] ? (this || e).completeLayers : !1); this.checkPendingElements(); }), (BaseRenderer.prototype.createItem = function (t) { switch (t.ty) { case 2: return this.createImage(t); case 0: return this.createComp(t); case 1: return this.createSolid(t); case 3: return this.createNull(t); case 4: return this.createShape(t); case 5: return this.createText(t); case 6: return this.createAudio(t); case 13: return this.createCamera(t); case 15: return this.createFootage(t); default: return this.createNull(t); } }), (BaseRenderer.prototype.createCamera = function () { throw new Error("You're using a 3d camera. Try the html renderer."); }), (BaseRenderer.prototype.createAudio = function (t) { return new AudioElement(t, (this || e).globalData, this || e); }), (BaseRenderer.prototype.createFootage = function (t) { return new FootageElement(t, (this || e).globalData, this || e); }), (BaseRenderer.prototype.buildAllItems = function () { var t, r = (this || e).layers.length; for (t = 0; t < r; t += 1) this.buildItem(t); this.checkPendingElements(); }), (BaseRenderer.prototype.includeLayers = function (t) { (this || e).completeLayers = !1; var r, i = t.length, a, n = (this || e).layers.length; for (r = 0; r < i; r += 1) for (a = 0; a < n; ) { if ((this || e).layers[a].id === t[r].id) { (this || e).layers[a] = t[r]; break; } a += 1; } }), (BaseRenderer.prototype.setProjectInterface = function (t) { (this || e).globalData.projectInterface = t; }), (BaseRenderer.prototype.initItems = function () { (this || e).globalData.progressiveLoad || this.buildAllItems(); }), (BaseRenderer.prototype.buildElementParenting = function (t, r, i) { for ( var a = (this || e).elements, n = (this || e).layers, s = 0, l = n.length; s < l; ) n[s].ind == r && (!a[s] || a[s] === !0 ? (this.buildItem(s), this.addPendingElement(t)) : (i.push(a[s]), a[s].setAsParent(), n[s].parent !== void 0 ? this.buildElementParenting(t, n[s].parent, i) : t.setHierarchy(i))), (s += 1); }), (BaseRenderer.prototype.addPendingElement = function (t) { (this || e).pendingElements.push(t); }), (BaseRenderer.prototype.searchExtraCompositions = function (t) { var r, i = t.length; for (r = 0; r < i; r += 1) if (t[r].xt) { var a = this.createComp(t[r]); a.initExpressions(), (this || e).globalData.projectInterface.registerComposition(a); } }), (BaseRenderer.prototype.setupGlobalData = function (t, r) { ((this || e).globalData.fontManager = new FontManager()), (this || e).globalData.fontManager.addChars(t.chars), (this || e).globalData.fontManager.addFonts(t.fonts, r), ((this || e).globalData.getAssetData = ( this || e ).animationItem.getAssetData.bind((this || e).animationItem)), ((this || e).globalData.getAssetsPath = ( this || e ).animationItem.getAssetsPath.bind((this || e).animationItem)), ((this || e).globalData.imageLoader = ( this || e ).animationItem.imagePreloader), ((this || e).globalData.audioController = ( this || e ).animationItem.audioController), ((this || e).globalData.frameId = 0), ((this || e).globalData.frameRate = t.fr), ((this || e).globalData.nm = t.nm), ((this || e).globalData.compSize = { w: t.w, h: t.h }); }); function SVGRenderer(t, r) { ((this || e).animationItem = t), ((this || e).layers = null), ((this || e).renderedFrame = -1), ((this || e).svgElement = createNS("svg")); var i = ""; if (r && r.title) { var a = createNS("title"), n = createElementID(); a.setAttribute("id", n), (a.textContent = r.title), (this || e).svgElement.appendChild(a), (i += n); } if (r && r.description) { var s = createNS("desc"), l = createElementID(); s.setAttribute("id", l), (s.textContent = r.description), (this || e).svgElement.appendChild(s), (i += " " + l); } i && (this || e).svgElement.setAttribute("aria-labelledby", i); var v = createNS("defs"); (this || e).svgElement.appendChild(v); var y = createNS("g"); (this || e).svgElement.appendChild(y), ((this || e).layerElement = y), ((this || e).renderConfig = { preserveAspectRatio: (r && r.preserveAspectRatio) || "xMidYMid meet", imagePreserveAspectRatio: (r && r.imagePreserveAspectRatio) || "xMidYMid slice", progressiveLoad: (r && r.progressiveLoad) || !1, hideOnTransparent: !(r && r.hideOnTransparent === !1), viewBoxOnly: (r && r.viewBoxOnly) || !1, viewBoxSize: (r && r.viewBoxSize) || !1, className: (r && r.className) || "", id: (r && r.id) || "", focusable: r && r.focusable, filterSize: { width: (r && r.filterSize && r.filterSize.width) || "100%", height: (r && r.filterSize && r.filterSize.height) || "100%", x: (r && r.filterSize && r.filterSize.x) || "0%", y: (r && r.filterSize && r.filterSize.y) || "0%", }, }), ((this || e).globalData = { _mdf: !1, frameNum: -1, defs: v, renderConfig: (this || e).renderConfig, }), ((this || e).elements = []), ((this || e).pendingElements = []), ((this || e).destroyed = !1), ((this || e).rendererType = "svg"); } extendPrototype([BaseRenderer], SVGRenderer), (SVGRenderer.prototype.createNull = function (t) { return new NullElement(t, (this || e).globalData, this || e); }), (SVGRenderer.prototype.createShape = function (t) { return new SVGShapeElement(t, (this || e).globalData, this || e); }), (SVGRenderer.prototype.createText = function (t) { return new SVGTextLottieElement(t, (this || e).globalData, this || e); }), (SVGRenderer.prototype.createImage = function (t) { return new IImageElement(t, (this || e).globalData, this || e); }), (SVGRenderer.prototype.createComp = function (t) { return new SVGCompElement(t, (this || e).globalData, this || e); }), (SVGRenderer.prototype.createSolid = function (t) { return new ISolidElement(t, (this || e).globalData, this || e); }), (SVGRenderer.prototype.configAnimation = function (t) { (this || e).svgElement.setAttribute( "xmlns", "http://www.w3.org/2000/svg" ), (this || e).renderConfig.viewBoxSize ? (this || e).svgElement.setAttribute( "viewBox", (this || e).renderConfig.viewBoxSize ) : (this || e).svgElement.setAttribute( "viewBox", "0 0 " + t.w + " " + t.h ), (this || e).renderConfig.viewBoxOnly || ((this || e).svgElement.setAttribute("width", t.w), (this || e).svgElement.setAttribute("height", t.h), ((this || e).svgElement.style.width = "100%"), ((this || e).svgElement.style.height = "100%"), ((this || e).svgElement.style.transform = "translate3d(0,0,0)")), (this || e).renderConfig.className && (this || e).svgElement.setAttribute( "class", (this || e).renderConfig.className ), (this || e).renderConfig.id && (this || e).svgElement.setAttribute( "id", (this || e).renderConfig.id ), (this || e).renderConfig.focusable !== void 0 && (this || e).svgElement.setAttribute( "focusable", (this || e).renderConfig.focusable ), (this || e).svgElement.setAttribute( "preserveAspectRatio", (this || e).renderConfig.preserveAspectRatio ), (this || e).animationItem.wrapper.appendChild((this || e).svgElement); var r = (this || e).globalData.defs; this.setupGlobalData(t, r), ((this || e).globalData.progressiveLoad = ( this || e ).renderConfig.progressiveLoad), ((this || e).data = t); var i = createNS("clipPath"), a = createNS("rect"); a.setAttribute("width", t.w), a.setAttribute("height", t.h), a.setAttribute("x", 0), a.setAttribute("y", 0); var n = createElementID(); i.setAttribute("id", n), i.appendChild(a), (this || e).layerElement.setAttribute( "clip-path", "url(" + locationHref + "#" + n + ")" ), r.appendChild(i), ((this || e).layers = t.layers), ((this || e).elements = createSizedArray(t.layers.length)); }), (SVGRenderer.prototype.destroy = function () { (this || e).animationItem.wrapper && ((this || e).animationItem.wrapper.innerText = ""), ((this || e).layerElement = null), ((this || e).globalData.defs = null); var t, r = (this || e).layers ? (this || e).layers.length : 0; for (t = 0; t < r; t += 1) (this || e).elements[t] && (this || e).elements[t].destroy(); ((this || e).elements.length = 0), ((this || e).destroyed = !0), ((this || e).animationItem = null); }), (SVGRenderer.prototype.updateContainerSize = function () {}), (SVGRenderer.prototype.buildItem = function (t) { var r = (this || e).elements; if (!(r[t] || (this || e).layers[t].ty === 99)) { r[t] = !0; var i = this.createItem((this || e).layers[t]); (r[t] = i), expressionsPlugin && ((this || e).layers[t].ty === 0 && (this || e).globalData.projectInterface.registerComposition(i), i.initExpressions()), this.appendElementInPos(i, t), (this || e).layers[t].tt && (!(this || e).elements[t - 1] || (this || e).elements[t - 1] === !0 ? (this.buildItem(t - 1), this.addPendingElement(i)) : i.setMatte(r[t - 1].layerId)); } }), (SVGRenderer.prototype.checkPendingElements = function () { for (; (this || e).pendingElements.length; ) { var t = (this || e).pendingElements.pop(); if ((t.checkParenting(), t.data.tt)) for (var r = 0, i = (this || e).elements.length; r < i; ) { if ((this || e).elements[r] === t) { t.setMatte((this || e).elements[r - 1].layerId); break; } r += 1; } } }), (SVGRenderer.prototype.renderFrame = function (t) { if (!((this || e).renderedFrame === t || (this || e).destroyed)) { t === null ? (t = (this || e).renderedFrame) : ((this || e).renderedFrame = t), ((this || e).globalData.frameNum = t), ((this || e).globalData.frameId += 1), ((this || e).globalData.projectInterface.currentFrame = t), ((this || e).globalData._mdf = !1); var r, i = (this || e).layers.length; for ( (this || e).completeLayers || this.checkLayers(t), r = i - 1; r >= 0; r -= 1 ) ((this || e).completeLayers || (this || e).elements[r]) && (this || e).elements[r].prepareFrame( t - (this || e).layers[r].st ); if ((this || e).globalData._mdf) for (r = 0; r < i; r += 1) ((this || e).completeLayers || (this || e).elements[r]) && (this || e).elements[r].renderFrame(); } }), (SVGRenderer.prototype.appendElementInPos = function (t, r) { var i = t.getBaseElement(); if (i) { for (var a = 0, n; a < r; ) (this || e).elements[a] && (this || e).elements[a] !== !0 && (this || e).elements[a].getBaseElement() && (n = (this || e).elements[a].getBaseElement()), (a += 1); n ? (this || e).layerElement.insertBefore(i, n) : (this || e).layerElement.appendChild(i); } }), (SVGRenderer.prototype.hide = function () { (this || e).layerElement.style.display = "none"; }), (SVGRenderer.prototype.show = function () { (this || e).layerElement.style.display = "block"; }); function CanvasRenderer(t, r) { ((this || e).animationItem = t), ((this || e).renderConfig = { clearCanvas: r && r.clearCanvas !== void 0 ? r.clearCanvas : !0, context: (r && r.context) || null, progressiveLoad: (r && r.progressiveLoad) || !1, preserveAspectRatio: (r && r.preserveAspectRatio) || "xMidYMid meet", imagePreserveAspectRatio: (r && r.imagePreserveAspectRatio) || "xMidYMid slice", className: (r && r.className) || "", id: (r && r.id) || "", }), ((this || e).renderConfig.dpr = (r && r.dpr) || 1), (this || e).animationItem.wrapper && ((this || e).renderConfig.dpr = (r && r.dpr) || window.devicePixelRatio || 1), ((this || e).renderedFrame = -1), ((this || e).globalData = { frameNum: -1, _mdf: !1, renderConfig: (this || e).renderConfig, currentGlobalAlpha: -1, }), ((this || e).contextData = new CVContextData()), ((this || e).elements = []), ((this || e).pendingElements = []), ((this || e).transformMat = new Matrix()), ((this || e).completeLayers = !1), ((this || e).rendererType = "canvas"); } extendPrototype([BaseRenderer], CanvasRenderer), (CanvasRenderer.prototype.createShape = function (t) { return new CVShapeElement(t, (this || e).globalData, this || e); }), (CanvasRenderer.prototype.createText = function (t) { return new CVTextElement(t, (this || e).globalData, this || e); }), (CanvasRenderer.prototype.createImage = function (t) { return new CVImageElement(t, (this || e).globalData, this || e); }), (CanvasRenderer.prototype.createComp = function (t) { return new CVCompElement(t, (this || e).globalData, this || e); }), (CanvasRenderer.prototype.createSolid = function (t) { return new CVSolidElement(t, (this || e).globalData, this || e); }), (CanvasRenderer.prototype.createNull = SVGRenderer.prototype.createNull), (CanvasRenderer.prototype.ctxTransform = function (t) { if ( !( t[0] === 1 && t[1] === 0 && t[4] === 0 && t[5] === 1 && t[12] === 0 && t[13] === 0 ) ) { if (!(this || e).renderConfig.clearCanvas) { (this || e).canvasContext.transform( t[0], t[1], t[4], t[5], t[12], t[13] ); return; } (this || e).transformMat.cloneFromProps(t); var r = (this || e).contextData.cTr.props; (this || e).transformMat.transform( r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], r[8], r[9], r[10], r[11], r[12], r[13], r[14], r[15] ), (this || e).contextData.cTr.cloneFromProps( (this || e).transformMat.props ); var i = (this || e).contextData.cTr.props; (this || e).canvasContext.setTransform( i[0], i[1], i[4], i[5], i[12], i[13] ); } }), (CanvasRenderer.prototype.ctxOpacity = function (t) { if (!(this || e).renderConfig.clearCanvas) { ((this || e).canvasContext.globalAlpha *= t < 0 ? 0 : t), ((this || e).globalData.currentGlobalAlpha = ( this || e ).contextData.cO); return; } ((this || e).contextData.cO *= t < 0 ? 0 : t), (this || e).globalData.currentGlobalAlpha !== (this || e).contextData.cO && (((this || e).canvasContext.globalAlpha = ( this || e ).contextData.cO), ((this || e).globalData.currentGlobalAlpha = ( this || e ).contextData.cO)); }), (CanvasRenderer.prototype.reset = function () { if (!(this || e).renderConfig.clearCanvas) { (this || e).canvasContext.restore(); return; } (this || e).contextData.reset(); }), (CanvasRenderer.prototype.save = function (t) { if (!(this || e).renderConfig.clearCanvas) { (this || e).canvasContext.save(); return; } t && (this || e).canvasContext.save(); var r = (this || e).contextData.cTr.props; (this || e).contextData._length <= (this || e).contextData.cArrPos && (this || e).contextData.duplicate(); var i, a = (this || e).contextData.saved[(this || e).contextData.cArrPos]; for (i = 0; i < 16; i += 1) a[i] = r[i]; ((this || e).contextData.savedOp[(this || e).contextData.cArrPos] = ( this || e ).contextData.cO), ((this || e).contextData.cArrPos += 1); }), (CanvasRenderer.prototype.restore = function (t) { if (!(this || e).renderConfig.clearCanvas) { (this || e).canvasContext.restore(); return; } t && ((this || e).canvasContext.restore(), ((this || e).globalData.blendMode = "source-over")), ((this || e).contextData.cArrPos -= 1); var r = (this || e).contextData.saved[(this || e).contextData.cArrPos], i, a = (this || e).contextData.cTr.props; for (i = 0; i < 16; i += 1) a[i] = r[i]; (this || e).canvasContext.setTransform( r[0], r[1], r[4], r[5], r[12], r[13] ), (r = (this || e).contextData.savedOp[ (this || e).contextData.cArrPos ]), ((this || e).contextData.cO = r), (this || e).globalData.currentGlobalAlpha !== r && (((this || e).canvasContext.globalAlpha = r), ((this || e).globalData.currentGlobalAlpha = r)); }), (CanvasRenderer.prototype.configAnimation = function (t) { if ((this || e).animationItem.wrapper) { (this || e).animationItem.container = createTag("canvas"); var r = (this || e).animationItem.container.style; (r.width = "100%"), (r.height = "100%"); var i = "0px 0px 0px"; (r.transformOrigin = i), (r.mozTransformOrigin = i), (r.webkitTransformOrigin = i), (r["-webkit-transform"] = i), (this || e).animationItem.wrapper.appendChild( (this || e).animationItem.container ), ((this || e).canvasContext = ( this || e ).animationItem.container.getContext("2d")), (this || e).renderConfig.className && (this || e).animationItem.container.setAttribute( "class", (this || e).renderConfig.className ), (this || e).renderConfig.id && (this || e).animationItem.container.setAttribute( "id", (this || e).renderConfig.id ); } else (this || e).canvasContext = (this || e).renderConfig.context; ((this || e).data = t), ((this || e).layers = t.layers), ((this || e).transformCanvas = { w: t.w, h: t.h, sx: 0, sy: 0, tx: 0, ty: 0, }), this.setupGlobalData(t, document.body), ((this || e).globalData.canvasContext = (this || e).canvasContext), ((this || e).globalData.renderer = this || e), ((this || e).globalData.isDashed = !1), ((this || e).globalData.progressiveLoad = ( this || e ).renderConfig.progressiveLoad), ((this || e).globalData.transformCanvas = ( this || e ).transformCanvas), ((this || e).elements = createSizedArray(t.layers.length)), this.updateContainerSize(); }), (CanvasRenderer.prototype.updateContainerSize = function () { this.reset(); var t, r; (this || e).animationItem.wrapper && (this || e).animationItem.container ? ((t = (this || e).animationItem.wrapper.offsetWidth), (r = (this || e).animationItem.wrapper.offsetHeight), (this || e).animationItem.container.setAttribute( "width", t * (this || e).renderConfig.dpr ), (this || e).animationItem.container.setAttribute( "height", r * (this || e).renderConfig.dpr )) : ((t = (this || e).canvasContext.canvas.width * (this || e).renderConfig.dpr), (r = (this || e).canvasContext.canvas.height * (this || e).renderConfig.dpr)); var i, a; if ( (this || e).renderConfig.preserveAspectRatio.indexOf("meet") !== -1 || (this || e).renderConfig.preserveAspectRatio.indexOf("slice") !== -1 ) { var n = (this || e).renderConfig.preserveAspectRatio.split(" "), s = n[1] || "meet", l = n[0] || "xMidYMid", v = l.substr(0, 4), y = l.substr(4); (i = t / r), (a = (this || e).transformCanvas.w / (this || e).transformCanvas.h), (a > i && s === "meet") || (a < i && s === "slice") ? (((this || e).transformCanvas.sx = t / ((this || e).transformCanvas.w / (this || e).renderConfig.dpr)), ((this || e).transformCanvas.sy = t / ((this || e).transformCanvas.w / (this || e).renderConfig.dpr))) : (((this || e).transformCanvas.sx = r / ((this || e).transformCanvas.h / (this || e).renderConfig.dpr)), ((this || e).transformCanvas.sy = r / ((this || e).transformCanvas.h / (this || e).renderConfig.dpr))), v === "xMid" && ((a < i && s === "meet") || (a > i && s === "slice")) ? ((this || e).transformCanvas.tx = ((t - (this || e).transformCanvas.w * (r / (this || e).transformCanvas.h)) / 2) * (this || e).renderConfig.dpr) : v === "xMax" && ((a < i && s === "meet") || (a > i && s === "slice")) ? ((this || e).transformCanvas.tx = (t - (this || e).transformCanvas.w * (r / (this || e).transformCanvas.h)) * (this || e).renderConfig.dpr) : ((this || e).transformCanvas.tx = 0), y === "YMid" && ((a > i && s === "meet") || (a < i && s === "slice")) ? ((this || e).transformCanvas.ty = ((r - (this || e).transformCanvas.h * (t / (this || e).transformCanvas.w)) / 2) * (this || e).renderConfig.dpr) : y === "YMax" && ((a > i && s === "meet") || (a < i && s === "slice")) ? ((this || e).transformCanvas.ty = (r - (this || e).transformCanvas.h * (t / (this || e).transformCanvas.w)) * (this || e).renderConfig.dpr) : ((this || e).transformCanvas.ty = 0); } else (this || e).renderConfig.preserveAspectRatio === "none" ? (((this || e).transformCanvas.sx = t / ((this || e).transformCanvas.w / (this || e).renderConfig.dpr)), ((this || e).transformCanvas.sy = r / ((this || e).transformCanvas.h / (this || e).renderConfig.dpr)), ((this || e).transformCanvas.tx = 0), ((this || e).transformCanvas.ty = 0)) : (((this || e).transformCanvas.sx = (this || e).renderConfig.dpr), ((this || e).transformCanvas.sy = (this || e).renderConfig.dpr), ((this || e).transformCanvas.tx = 0), ((this || e).transformCanvas.ty = 0)); ((this || e).transformCanvas.props = [ (this || e).transformCanvas.sx, 0, 0, 0, 0, (this || e).transformCanvas.sy, 0, 0, 0, 0, 1, 0, (this || e).transformCanvas.tx, (this || e).transformCanvas.ty, 0, 1, ]), this.ctxTransform((this || e).transformCanvas.props), (this || e).canvasContext.beginPath(), (this || e).canvasContext.rect( 0, 0, (this || e).transformCanvas.w, (this || e).transformCanvas.h ), (this || e).canvasContext.closePath(), (this || e).canvasContext.clip(), this.renderFrame((this || e).renderedFrame, !0); }), (CanvasRenderer.prototype.destroy = function () { (this || e).renderConfig.clearCanvas && (this || e).animationItem.wrapper && ((this || e).animationItem.wrapper.innerText = ""); var t, r = (this || e).layers ? (this || e).layers.length : 0; for (t = r - 1; t >= 0; t -= 1) (this || e).elements[t] && (this || e).elements[t].destroy(); ((this || e).elements.length = 0), ((this || e).globalData.canvasContext = null), ((this || e).animationItem.container = null), ((this || e).destroyed = !0); }), (CanvasRenderer.prototype.renderFrame = function (t, r) { if ( !( ((this || e).renderedFrame === t && (this || e).renderConfig.clearCanvas === !0 && !r) || (this || e).destroyed || t === -1 ) ) { ((this || e).renderedFrame = t), ((this || e).globalData.frameNum = t - (this || e).animationItem._isFirstFrame), ((this || e).globalData.frameId += 1), ((this || e).globalData._mdf = !(this || e).renderConfig.clearCanvas || r), ((this || e).globalData.projectInterface.currentFrame = t); var i, a = (this || e).layers.length; for ( (this || e).completeLayers || this.checkLayers(t), i = 0; i < a; i += 1 ) ((this || e).completeLayers || (this || e).elements[i]) && (this || e).elements[i].prepareFrame( t - (this || e).layers[i].st ); if ((this || e).globalData._mdf) { for ( (this || e).renderConfig.clearCanvas === !0 ? (this || e).canvasContext.clearRect( 0, 0, (this || e).transformCanvas.w, (this || e).transformCanvas.h ) : this.save(), i = a - 1; i >= 0; i -= 1 ) ((this || e).completeLayers || (this || e).elements[i]) && (this || e).elements[i].renderFrame(); (this || e).renderConfig.clearCanvas !== !0 && this.restore(); } } }), (CanvasRenderer.prototype.buildItem = function (t) { var r = (this || e).elements; if (!(r[t] || (this || e).layers[t].ty === 99)) { var i = this.createItem( (this || e).layers[t], this || e, (this || e).globalData ); (r[t] = i), i.initExpressions(); } }), (CanvasRenderer.prototype.checkPendingElements = function () { for (; (this || e).pendingElements.length; ) { var t = (this || e).pendingElements.pop(); t.checkParenting(); } }), (CanvasRenderer.prototype.hide = function () { (this || e).animationItem.container.style.display = "none"; }), (CanvasRenderer.prototype.show = function () { (this || e).animationItem.container.style.display = "block"; }); function HybridRenderer(t, r) { ((this || e).animationItem = t), ((this || e).layers = null), ((this || e).renderedFrame = -1), ((this || e).renderConfig = { className: (r && r.className) || "", imagePreserveAspectRatio: (r && r.imagePreserveAspectRatio) || "xMidYMid slice", hideOnTransparent: !(r && r.hideOnTransparent === !1), filterSize: { width: (r && r.filterSize && r.filterSize.width) || "400%", height: (r && r.filterSize && r.filterSize.height) || "400%", x: (r && r.filterSize && r.filterSize.x) || "-100%", y: (r && r.filterSize && r.filterSize.y) || "-100%", }, }), ((this || e).globalData = { _mdf: !1, frameNum: -1, renderConfig: (this || e).renderConfig, }), ((this || e).pendingElements = []), ((this || e).elements = []), ((this || e).threeDElements = []), ((this || e).destroyed = !1), ((this || e).camera = null), ((this || e).supports3d = !0), ((this || e).rendererType = "html"); } extendPrototype([BaseRenderer], HybridRenderer), (HybridRenderer.prototype.buildItem = SVGRenderer.prototype.buildItem), (HybridRenderer.prototype.checkPendingElements = function () { for (; (this || e).pendingElements.length; ) { var t = (this || e).pendingElements.pop(); t.checkParenting(); } }), (HybridRenderer.prototype.appendElementInPos = function (t, r) { var i = t.getBaseElement(); if (i) { var a = (this || e).layers[r]; if (!a.ddd || !(this || e).supports3d) if ((this || e).threeDElements) this.addTo3dContainer(i, r); else { for (var n = 0, s, l, v; n < r; ) (this || e).elements[n] && (this || e).elements[n] !== !0 && (this || e).elements[n].getBaseElement && ((l = (this || e).elements[n]), (v = (this || e).layers[n].ddd ? this.getThreeDContainerByPos(n) : l.getBaseElement()), (s = v || s)), (n += 1); s ? (!a.ddd || !(this || e).supports3d) && (this || e).layerElement.insertBefore(i, s) : (!a.ddd || !(this || e).supports3d) && (this || e).layerElement.appendChild(i); } else this.addTo3dContainer(i, r); } }), (HybridRenderer.prototype.createShape = function (t) { return (this || e).supports3d ? new HShapeElement(t, (this || e).globalData, this || e) : new SVGShapeElement(t, (this || e).globalData, this || e); }), (HybridRenderer.prototype.createText = function (t) { return (this || e).supports3d ? new HTextElement(t, (this || e).globalData, this || e) : new SVGTextLottieElement(t, (this || e).globalData, this || e); }), (HybridRenderer.prototype.createCamera = function (t) { return ( ((this || e).camera = new HCameraElement( t, (this || e).globalData, this || e )), (this || e).camera ); }), (HybridRenderer.prototype.createImage = function (t) { return (this || e).supports3d ? new HImageElement(t, (this || e).globalData, this || e) : new IImageElement(t, (this || e).globalData, this || e); }), (HybridRenderer.prototype.createComp = function (t) { return (this || e).supports3d ? new HCompElement(t, (this || e).globalData, this || e) : new SVGCompElement(t, (this || e).globalData, this || e); }), (HybridRenderer.prototype.createSolid = function (t) { return (this || e).supports3d ? new HSolidElement(t, (this || e).globalData, this || e) : new ISolidElement(t, (this || e).globalData, this || e); }), (HybridRenderer.prototype.createNull = SVGRenderer.prototype.createNull), (HybridRenderer.prototype.getThreeDContainerByPos = function (t) { for (var r = 0, i = (this || e).threeDElements.length; r < i; ) { if ( (this || e).threeDElements[r].startPos <= t && (this || e).threeDElements[r].endPos >= t ) return (this || e).threeDElements[r].perspectiveElem; r += 1; } return null; }), (HybridRenderer.prototype.createThreeDContainer = function (t, r) { var i = createTag("div"), a, n; styleDiv(i); var s = createTag("div"); if ((styleDiv(s), r === "3d")) { (a = i.style), (a.width = (this || e).globalData.compSize.w + "px"), (a.height = (this || e).globalData.compSize.h + "px"); var l = "50% 50%"; (a.webkitTransformOrigin = l), (a.mozTransformOrigin = l), (a.transformOrigin = l), (n = s.style); var v = "matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"; (n.transform = v), (n.webkitTransform = v); } i.appendChild(s); var y = { container: s, perspectiveElem: i, startPos: t, endPos: t, type: r, }; return (this || e).threeDElements.push(y), y; }), (HybridRenderer.prototype.build3dContainers = function () { var t, r = (this || e).layers.length, i, a = ""; for (t = 0; t < r; t += 1) (this || e).layers[t].ddd && (this || e).layers[t].ty !== 3 ? (a !== "3d" && ((a = "3d"), (i = this.createThreeDContainer(t, "3d"))), (i.endPos = Math.max(i.endPos, t))) : (a !== "2d" && ((a = "2d"), (i = this.createThreeDContainer(t, "2d"))), (i.endPos = Math.max(i.endPos, t))); for (r = (this || e).threeDElements.length, t = r - 1; t >= 0; t -= 1) (this || e).resizerElem.appendChild( (this || e).threeDElements[t].perspectiveElem ); }), (HybridRenderer.prototype.addTo3dContainer = function (t, r) { for (var i = 0, a = (this || e).threeDElements.length; i < a; ) { if (r <= (this || e).threeDElements[i].endPos) { for (var n = (this || e).threeDElements[i].startPos, s; n < r; ) (this || e).elements[n] && (this || e).elements[n].getBaseElement && (s = (this || e).elements[n].getBaseElement()), (n += 1); s ? (this || e).threeDElements[i].container.insertBefore(t, s) : (this || e).threeDElements[i].container.appendChild(t); break; } i += 1; } }), (HybridRenderer.prototype.configAnimation = function (t) { var r = createTag("div"), i = (this || e).animationItem.wrapper, a = r.style; (a.width = t.w + "px"), (a.height = t.h + "px"), ((this || e).resizerElem = r), styleDiv(r), (a.transformStyle = "flat"), (a.mozTransformStyle = "flat"), (a.webkitTransformStyle = "flat"), (this || e).renderConfig.className && r.setAttribute("class", (this || e).renderConfig.className), i.appendChild(r), (a.overflow = "hidden"); var n = createNS("svg"); n.setAttribute("width", "1"), n.setAttribute("height", "1"), styleDiv(n), (this || e).resizerElem.appendChild(n); var s = createNS("defs"); n.appendChild(s), ((this || e).data = t), this.setupGlobalData(t, n), ((this || e).globalData.defs = s), ((this || e).layers = t.layers), ((this || e).layerElement = (this || e).resizerElem), this.build3dContainers(), this.updateContainerSize(); }), (HybridRenderer.prototype.destroy = function () { (this || e).animationItem.wrapper && ((this || e).animationItem.wrapper.innerText = ""), ((this || e).animationItem.container = null), ((this || e).globalData.defs = null); var t, r = (this || e).layers ? (this || e).layers.length : 0; for (t = 0; t < r; t += 1) (this || e).elements[t].destroy(); ((this || e).elements.length = 0), ((this || e).destroyed = !0), ((this || e).animationItem = null); }), (HybridRenderer.prototype.updateContainerSize = function () { var t = (this || e).animationItem.wrapper.offsetWidth, r = (this || e).animationItem.wrapper.offsetHeight, i = t / r, a = (this || e).globalData.compSize.w / (this || e).globalData.compSize.h, n, s, l, v; a > i ? ((n = t / (this || e).globalData.compSize.w), (s = t / (this || e).globalData.compSize.w), (l = 0), (v = (r - (this || e).globalData.compSize.h * (t / (this || e).globalData.compSize.w)) / 2)) : ((n = r / (this || e).globalData.compSize.h), (s = r / (this || e).globalData.compSize.h), (l = (t - (this || e).globalData.compSize.w * (r / (this || e).globalData.compSize.h)) / 2), (v = 0)); var y = (this || e).resizerElem.style; (y.webkitTransform = "matrix3d(" + n + ",0,0,0,0," + s + ",0,0,0,0,1,0," + l + "," + v + ",0,1)"), (y.transform = y.webkitTransform); }), (HybridRenderer.prototype.renderFrame = SVGRenderer.prototype.renderFrame), (HybridRenderer.prototype.hide = function () { (this || e).resizerElem.style.display = "none"; }), (HybridRenderer.prototype.show = function () { (this || e).resizerElem.style.display = "block"; }), (HybridRenderer.prototype.initItems = function () { if ((this.buildAllItems(), (this || e).camera)) (this || e).camera.setup(); else { var t = (this || e).globalData.compSize.w, r = (this || e).globalData.compSize.h, i, a = (this || e).threeDElements.length; for (i = 0; i < a; i += 1) { var n = (this || e).threeDElements[i].perspectiveElem.style; (n.webkitPerspective = Math.sqrt(Math.pow(t, 2) + Math.pow(r, 2)) + "px"), (n.perspective = n.webkitPerspective); } } }), (HybridRenderer.prototype.searchExtraCompositions = function (t) { var r, i = t.length, a = createTag("div"); for (r = 0; r < i; r += 1) if (t[r].xt) { var n = this.createComp(t[r], a, (this || e).globalData.comp, null); n.initExpressions(), (this || e).globalData.projectInterface.registerComposition(n); } }); function MaskElement(t, r, i) { ((this || e).data = t), ((this || e).element = r), ((this || e).globalData = i), ((this || e).storedData = []), ((this || e).masksProperties = (this || e).data.masksProperties || []), ((this || e).maskElement = null); var a = (this || e).globalData.defs, n, s = (this || e).masksProperties ? (this || e).masksProperties.length : 0; ((this || e).viewData = createSizedArray(s)), ((this || e).solidPath = ""); var l, v = (this || e).masksProperties, y = 0, g = [], w, x, p = createElementID(), u, C, c, h, m = "clipPath", o = "clip-path"; for (n = 0; n < s; n += 1) if ( (((v[n].mode !== "a" && v[n].mode !== "n") || v[n].inv || v[n].o.k !== 100 || v[n].o.x) && ((m = "mask"), (o = "mask")), (v[n].mode === "s" || v[n].mode === "i") && y === 0 ? ((u = createNS("rect")), u.setAttribute("fill", "#ffffff"), u.setAttribute("width", (this || e).element.comp.data.w || 0), u.setAttribute("height", (this || e).element.comp.data.h || 0), g.push(u)) : (u = null), (l = createNS("path")), v[n].mode === "n") ) ((this || e).viewData[n] = { op: PropertyFactory.getProp( (this || e).element, v[n].o, 0, 0.01, (this || e).element ), prop: ShapePropertyFactory.getShapeProp( (this || e).element, v[n], 3 ), elem: l, lastPath: "", }), a.appendChild(l); else { (y += 1), l.setAttribute("fill", v[n].mode === "s" ? "#000000" : "#ffffff"), l.setAttribute("clip-rule", "nonzero"); var f; if ( (v[n].x.k !== 0 ? ((m = "mask"), (o = "mask"), (h = PropertyFactory.getProp( (this || e).element, v[n].x, 0, null, (this || e).element )), (f = createElementID()), (C = createNS("filter")), C.setAttribute("id", f), (c = createNS("feMorphology")), c.setAttribute("operator", "erode"), c.setAttribute("in", "SourceGraphic"), c.setAttribute("radius", "0"), C.appendChild(c), a.appendChild(C), l.setAttribute( "stroke", v[n].mode === "s" ? "#000000" : "#ffffff" )) : ((c = null), (h = null)), ((this || e).storedData[n] = { elem: l, x: h, expan: c, lastPath: "", lastOperator: "", filterId: f, lastRadius: 0, }), v[n].mode === "i") ) { x = g.length; var d = createNS("g"); for (w = 0; w < x; w += 1) d.appendChild(g[w]); var b = createNS("mask"); b.setAttribute("mask-type", "alpha"), b.setAttribute("id", p + "_" + y), b.appendChild(l), a.appendChild(b), d.setAttribute( "mask", "url(" + locationHref + "#" + p + "_" + y + ")" ), (g.length = 0), g.push(d); } else g.push(l); v[n].inv && !(this || e).solidPath && ((this || e).solidPath = this.createLayerSolidPath()), ((this || e).viewData[n] = { elem: l, lastPath: "", op: PropertyFactory.getProp( (this || e).element, v[n].o, 0, 0.01, (this || e).element ), prop: ShapePropertyFactory.getShapeProp( (this || e).element, v[n], 3 ), invRect: u, }), (this || e).viewData[n].prop.k || this.drawPath( v[n], (this || e).viewData[n].prop.v, (this || e).viewData[n] ); } for ( (this || e).maskElement = createNS(m), s = g.length, n = 0; n < s; n += 1 ) (this || e).maskElement.appendChild(g[n]); y > 0 && ((this || e).maskElement.setAttribute("id", p), (this || e).element.maskedElement.setAttribute( o, "url(" + locationHref + "#" + p + ")" ), a.appendChild((this || e).maskElement)), (this || e).viewData.length && (this || e).element.addRenderableComponent(this || e); } (MaskElement.prototype.getMaskProperty = function (t) { return (this || e).viewData[t].prop; }), (MaskElement.prototype.renderFrame = function (t) { var r = (this || e).element.finalTransform.mat, i, a = (this || e).masksProperties.length; for (i = 0; i < a; i += 1) if ( (((this || e).viewData[i].prop._mdf || t) && this.drawPath( (this || e).masksProperties[i], (this || e).viewData[i].prop.v, (this || e).viewData[i] ), ((this || e).viewData[i].op._mdf || t) && (this || e).viewData[i].elem.setAttribute( "fill-opacity", (this || e).viewData[i].op.v ), (this || e).masksProperties[i].mode !== "n" && ((this || e).viewData[i].invRect && ((this || e).element.finalTransform.mProp._mdf || t) && (this || e).viewData[i].invRect.setAttribute( "transform", r.getInverseMatrix().to2dCSS() ), (this || e).storedData[i].x && ((this || e).storedData[i].x._mdf || t))) ) { var n = (this || e).storedData[i].expan; (this || e).storedData[i].x.v < 0 ? ((this || e).storedData[i].lastOperator !== "erode" && (((this || e).storedData[i].lastOperator = "erode"), (this || e).storedData[i].elem.setAttribute( "filter", "url(" + locationHref + "#" + (this || e).storedData[i].filterId + ")" )), n.setAttribute("radius", -(this || e).storedData[i].x.v)) : ((this || e).storedData[i].lastOperator !== "dilate" && (((this || e).storedData[i].lastOperator = "dilate"), (this || e).storedData[i].elem.setAttribute("filter", null)), (this || e).storedData[i].elem.setAttribute( "stroke-width", (this || e).storedData[i].x.v * 2 )); } }), (MaskElement.prototype.getMaskelement = function () { return (this || e).maskElement; }), (MaskElement.prototype.createLayerSolidPath = function () { var t = "M0,0 "; return ( (t += " h" + (this || e).globalData.compSize.w), (t += " v" + (this || e).globalData.compSize.h), (t += " h-" + (this || e).globalData.compSize.w), (t += " v-" + (this || e).globalData.compSize.h + " "), t ); }), (MaskElement.prototype.drawPath = function (t, r, i) { var a = " M" + r.v[0][0] + "," + r.v[0][1], n, s; for (s = r._length, n = 1; n < s; n += 1) a += " C" + r.o[n - 1][0] + "," + r.o[n - 1][1] + " " + r.i[n][0] + "," + r.i[n][1] + " " + r.v[n][0] + "," + r.v[n][1]; if ( (r.c && s > 1 && (a += " C" + r.o[n - 1][0] + "," + r.o[n - 1][1] + " " + r.i[0][0] + "," + r.i[0][1] + " " + r.v[0][0] + "," + r.v[0][1]), i.lastPath !== a) ) { var l = ""; i.elem && (r.c && (l = t.inv ? (this || e).solidPath + a : a), i.elem.setAttribute("d", l)), (i.lastPath = a); } }), (MaskElement.prototype.destroy = function () { ((this || e).element = null), ((this || e).globalData = null), ((this || e).maskElement = null), ((this || e).data = null), ((this || e).masksProperties = null); }); function HierarchyElement() {} HierarchyElement.prototype = { initHierarchy: function () { ((this || e).hierarchy = []), ((this || e)._isParent = !1), this.checkParenting(); }, setHierarchy: function (t) { (this || e).hierarchy = t; }, setAsParent: function () { (this || e)._isParent = !0; }, checkParenting: function () { (this || e).data.parent !== void 0 && (this || e).comp.buildElementParenting( this || e, (this || e).data.parent, [] ); }, }; function FrameElement() {} FrameElement.prototype = { initFrame: function () { ((this || e)._isFirstFrame = !1), ((this || e).dynamicProperties = []), ((this || e)._mdf = !1); }, prepareProperties: function (t, r) { var i, a = (this || e).dynamicProperties.length; for (i = 0; i < a; i += 1) (r || ((this || e)._isParent && (this || e).dynamicProperties[i].propType === "transform")) && ((this || e).dynamicProperties[i].getValue(), (this || e).dynamicProperties[i]._mdf && (((this || e).globalData._mdf = !0), ((this || e)._mdf = !0))); }, addDynamicProperty: function (t) { (this || e).dynamicProperties.indexOf(t) === -1 && (this || e).dynamicProperties.push(t); }, }; function TransformElement() {} TransformElement.prototype = { initTransform: function () { ((this || e).finalTransform = { mProp: (this || e).data.ks ? TransformPropertyFactory.getTransformProperty( this || e, (this || e).data.ks, this || e ) : { o: 0 }, _matMdf: !1, _opMdf: !1, mat: new Matrix(), }), (this || e).data.ao && ((this || e).finalTransform.mProp.autoOriented = !0), (this || e).data.ty; }, renderTransform: function () { if ( (((this || e).finalTransform._opMdf = (this || e).finalTransform.mProp.o._mdf || (this || e)._isFirstFrame), ((this || e).finalTransform._matMdf = (this || e).finalTransform.mProp._mdf || (this || e)._isFirstFrame), (this || e).hierarchy) ) { var t, r = (this || e).finalTransform.mat, i = 0, a = (this || e).hierarchy.length; if (!(this || e).finalTransform._matMdf) for (; i < a; ) { if ((this || e).hierarchy[i].finalTransform.mProp._mdf) { (this || e).finalTransform._matMdf = !0; break; } i += 1; } if ((this || e).finalTransform._matMdf) for ( t = (this || e).finalTransform.mProp.v.props, r.cloneFromProps(t), i = 0; i < a; i += 1 ) (t = (this || e).hierarchy[i].finalTransform.mProp.v.props), r.transform( t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7], t[8], t[9], t[10], t[11], t[12], t[13], t[14], t[15] ); } }, globalToLocal: function (t) { var r = []; r.push((this || e).finalTransform); for (var i = !0, a = (this || e).comp; i; ) a.finalTransform ? (a.data.hasMask && r.splice(0, 0, a.finalTransform), (a = a.comp)) : (i = !1); var n, s = r.length, l; for (n = 0; n < s; n += 1) (l = r[n].mat.applyToPointArray(0, 0, 0)), (t = [t[0] - l[0], t[1] - l[1], 0]); return t; }, mHelper: new Matrix(), }; function RenderableElement() {} RenderableElement.prototype = { initRenderable: function () { ((this || e).isInRange = !1), ((this || e).hidden = !1), ((this || e).isTransparent = !1), ((this || e).renderableComponents = []); }, addRenderableComponent: function (t) { (this || e).renderableComponents.indexOf(t) === -1 && (this || e).renderableComponents.push(t); }, removeRenderableComponent: function (t) { (this || e).renderableComponents.indexOf(t) !== -1 && (this || e).renderableComponents.splice( (this || e).renderableComponents.indexOf(t), 1 ); }, prepareRenderableFrame: function (t) { this.checkLayerLimits(t); }, checkTransparency: function () { (this || e).finalTransform.mProp.o.v <= 0 ? !(this || e).isTransparent && (this || e).globalData.renderConfig.hideOnTransparent && (((this || e).isTransparent = !0), this.hide()) : (this || e).isTransparent && (((this || e).isTransparent = !1), this.show()); }, checkLayerLimits: function (t) { (this || e).data.ip - (this || e).data.st <= t && (this || e).data.op - (this || e).data.st > t ? (this || e).isInRange !== !0 && (((this || e).globalData._mdf = !0), ((this || e)._mdf = !0), ((this || e).isInRange = !0), this.show()) : (this || e).isInRange !== !1 && (((this || e).globalData._mdf = !0), ((this || e).isInRange = !1), this.hide()); }, renderRenderable: function () { var t, r = (this || e).renderableComponents.length; for (t = 0; t < r; t += 1) (this || e).renderableComponents[t].renderFrame( (this || e)._isFirstFrame ); }, sourceRectAtTime: function () { return { top: 0, left: 0, width: 100, height: 100 }; }, getLayerSize: function () { return (this || e).data.ty === 5 ? { w: (this || e).data.textData.width, h: (this || e).data.textData.height, } : { w: (this || e).data.width, h: (this || e).data.height }; }, }; function RenderableDOMElement() {} (function () { var t = { initElement: function (r, i, a) { this.initFrame(), this.initBaseData(r, i, a), this.initTransform(r, i, a), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide(); }, hide: function () { if ( !(this || e).hidden && (!(this || e).isInRange || (this || e).isTransparent) ) { var r = (this || e).baseElement || (this || e).layerElement; (r.style.display = "none"), ((this || e).hidden = !0); } }, show: function () { if ((this || e).isInRange && !(this || e).isTransparent) { if (!(this || e).data.hd) { var r = (this || e).baseElement || (this || e).layerElement; r.style.display = "block"; } ((this || e).hidden = !1), ((this || e)._isFirstFrame = !0); } }, renderFrame: function () { (this || e).data.hd || (this || e).hidden || (this.renderTransform(), this.renderRenderable(), this.renderElement(), this.renderInnerContent(), (this || e)._isFirstFrame && ((this || e)._isFirstFrame = !1)); }, renderInnerContent: function () {}, prepareFrame: function (r) { ((this || e)._mdf = !1), this.prepareRenderableFrame(r), this.prepareProperties(r, (this || e).isInRange), this.checkTransparency(); }, destroy: function () { ((this || e).innerElem = null), this.destroyBaseElement(); }, }; extendPrototype( [RenderableElement, createProxyFunction(t)], RenderableDOMElement ); })(); function ProcessedElement(t, r) { ((this || e).elem = t), ((this || e).pos = r); } function SVGStyleData(t, r) { ((this || e).data = t), ((this || e).type = t.ty), ((this || e).d = ""), ((this || e).lvl = r), ((this || e)._mdf = !1), ((this || e).closed = t.hd === !0), ((this || e).pElem = createNS("path")), ((this || e).msElem = null); } SVGStyleData.prototype.reset = function () { ((this || e).d = ""), ((this || e)._mdf = !1); }; function SVGShapeData(t, r, i) { ((this || e).caches = []), ((this || e).styles = []), ((this || e).transformers = t), ((this || e).lStr = ""), ((this || e).sh = i), ((this || e).lvl = r), ((this || e)._isAnimated = !!i.k); for (var a = 0, n = t.length; a < n; ) { if (t[a].mProps.dynamicProperties.length) { (this || e)._isAnimated = !0; break; } a += 1; } } SVGShapeData.prototype.setAsAnimated = function () { (this || e)._isAnimated = !0; }; function SVGTransformData(t, r, i) { ((this || e).transform = { mProps: t, op: r, container: i }), ((this || e).elements = []), ((this || e)._isAnimated = (this || e).transform.mProps.dynamicProperties.length || (this || e).transform.op.effectsSequence.length); } function SVGStrokeStyleData(t, r, i) { this.initDynamicPropertyContainer(t), ((this || e).getValue = (this || e).iterateDynamicProperties), ((this || e).o = PropertyFactory.getProp(t, r.o, 0, 0.01, this || e)), ((this || e).w = PropertyFactory.getProp(t, r.w, 0, null, this || e)), ((this || e).d = new DashProperty(t, r.d || {}, "svg", this || e)), ((this || e).c = PropertyFactory.getProp(t, r.c, 1, 255, this || e)), ((this || e).style = i), ((this || e)._isAnimated = !!(this || e)._isAnimated); } extendPrototype([DynamicPropertyContainer], SVGStrokeStyleData); function SVGFillStyleData(t, r, i) { this.initDynamicPropertyContainer(t), ((this || e).getValue = (this || e).iterateDynamicProperties), ((this || e).o = PropertyFactory.getProp(t, r.o, 0, 0.01, this || e)), ((this || e).c = PropertyFactory.getProp(t, r.c, 1, 255, this || e)), ((this || e).style = i); } extendPrototype([DynamicPropertyContainer], SVGFillStyleData); function SVGGradientFillStyleData(t, r, i) { this.initDynamicPropertyContainer(t), ((this || e).getValue = (this || e).iterateDynamicProperties), this.initGradientData(t, r, i); } (SVGGradientFillStyleData.prototype.initGradientData = function (t, r, i) { ((this || e).o = PropertyFactory.getProp(t, r.o, 0, 0.01, this || e)), ((this || e).s = PropertyFactory.getProp(t, r.s, 1, null, this || e)), ((this || e).e = PropertyFactory.getProp(t, r.e, 1, null, this || e)), ((this || e).h = PropertyFactory.getProp( t, r.h || { k: 0 }, 0, 0.01, this || e )), ((this || e).a = PropertyFactory.getProp( t, r.a || { k: 0 }, 0, degToRads, this || e )), ((this || e).g = new GradientProperty(t, r.g, this || e)), ((this || e).style = i), ((this || e).stops = []), this.setGradientData(i.pElem, r), this.setGradientOpacity(r, i), ((this || e)._isAnimated = !!(this || e)._isAnimated); }), (SVGGradientFillStyleData.prototype.setGradientData = function (t, r) { var i = createElementID(), a = createNS(r.t === 1 ? "linearGradient" : "radialGradient"); a.setAttribute("id", i), a.setAttribute("spreadMethod", "pad"), a.setAttribute("gradientUnits", "userSpaceOnUse"); var n = [], s, l, v; for (v = r.g.p * 4, l = 0; l < v; l += 4) (s = createNS("stop")), a.appendChild(s), n.push(s); t.setAttribute( r.ty === "gf" ? "fill" : "stroke", "url(" + locationHref + "#" + i + ")" ), ((this || e).gf = a), ((this || e).cst = n); }), (SVGGradientFillStyleData.prototype.setGradientOpacity = function (t, r) { if ((this || e).g._hasOpacity && !(this || e).g._collapsable) { var i, a, n, s = createNS("mask"), l = createNS("path"); s.appendChild(l); var v = createElementID(), y = createElementID(); s.setAttribute("id", y); var g = createNS(t.t === 1 ? "linearGradient" : "radialGradient"); g.setAttribute("id", v), g.setAttribute("spreadMethod", "pad"), g.setAttribute("gradientUnits", "userSpaceOnUse"), (n = t.g.k.k[0].s ? t.g.k.k[0].s.length : t.g.k.k.length); var w = (this || e).stops; for (a = t.g.p * 4; a < n; a += 2) (i = createNS("stop")), i.setAttribute("stop-color", "rgb(255,255,255)"), g.appendChild(i), w.push(i); l.setAttribute( t.ty === "gf" ? "fill" : "stroke", "url(" + locationHref + "#" + v + ")" ), ((this || e).of = g), ((this || e).ms = s), ((this || e).ost = w), ((this || e).maskId = y), (r.msElem = l); } }), extendPrototype([DynamicPropertyContainer], SVGGradientFillStyleData); function SVGGradientStrokeStyleData(t, r, i) { this.initDynamicPropertyContainer(t), ((this || e).getValue = (this || e).iterateDynamicProperties), ((this || e).w = PropertyFactory.getProp(t, r.w, 0, null, this || e)), ((this || e).d = new DashProperty(t, r.d || {}, "svg", this || e)), this.initGradientData(t, r, i), ((this || e)._isAnimated = !!(this || e)._isAnimated); } extendPrototype( [SVGGradientFillStyleData, DynamicPropertyContainer], SVGGradientStrokeStyleData ); function ShapeGroupData() { ((this || e).it = []), ((this || e).prevViewData = []), ((this || e).gr = createNS("g")); } var SVGElementsRenderer = (function () { var t = new Matrix(), r = new Matrix(), i = { createRenderFunction: a }; function a(w) { switch (w.ty) { case "fl": return l; case "gf": return y; case "gs": return v; case "st": return g; case "sh": case "el": case "rc": case "sr": return s; case "tr": return n; default: return null; } } function n(w, x, p) { (p || x.transform.op._mdf) && x.transform.container.setAttribute("opacity", x.transform.op.v), (p || x.transform.mProps._mdf) && x.transform.container.setAttribute( "transform", x.transform.mProps.v.to2dCSS() ); } function s(w, x, p) { var u, C, c, h, m, o, f = x.styles.length, d = x.lvl, b, A, E, P, F; for (o = 0; o < f; o += 1) { if (((h = x.sh._mdf || p), x.styles[o].lvl < d)) { for ( A = r.reset(), P = d - x.styles[o].lvl, F = x.transformers.length - 1; !h && P > 0; ) (h = x.transformers[F].mProps._mdf || h), (P -= 1), (F -= 1); if (h) for ( P = d - x.styles[o].lvl, F = x.transformers.length - 1; P > 0; ) (E = x.transformers[F].mProps.v.props), A.transform( E[0], E[1], E[2], E[3], E[4], E[5], E[6], E[7], E[8], E[9], E[10], E[11], E[12], E[13], E[14], E[15] ), (P -= 1), (F -= 1); } else A = t; if (((b = x.sh.paths), (C = b._length), h)) { for (c = "", u = 0; u < C; u += 1) (m = b.shapes[u]), m && m._length && (c += buildShapeString(m, m._length, m.c, A)); x.caches[o] = c; } else c = x.caches[o]; (x.styles[o].d += w.hd === !0 ? "" : c), (x.styles[o]._mdf = h || x.styles[o]._mdf); } } function l(w, x, p) { var u = x.style; (x.c._mdf || p) && u.pElem.setAttribute( "fill", "rgb(" + bmFloor(x.c.v[0]) + "," + bmFloor(x.c.v[1]) + "," + bmFloor(x.c.v[2]) + ")" ), (x.o._mdf || p) && u.pElem.setAttribute("fill-opacity", x.o.v); } function v(w, x, p) { y(w, x, p), g(w, x, p); } function y(w, x, p) { var u = x.gf, C = x.g._hasOpacity, c = x.s.v, h = x.e.v; if (x.o._mdf || p) { var m = w.ty === "gf" ? "fill-opacity" : "stroke-opacity"; x.style.pElem.setAttribute(m, x.o.v); } if (x.s._mdf || p) { var o = w.t === 1 ? "x1" : "cx", f = o === "x1" ? "y1" : "cy"; u.setAttribute(o, c[0]), u.setAttribute(f, c[1]), C && !x.g._collapsable && (x.of.setAttribute(o, c[0]), x.of.setAttribute(f, c[1])); } var d, b, A, E; if (x.g._cmdf || p) { d = x.cst; var P = x.g.c; for (A = d.length, b = 0; b < A; b += 1) (E = d[b]), E.setAttribute("offset", P[b * 4] + "%"), E.setAttribute( "stop-color", "rgb(" + P[b * 4 + 1] + "," + P[b * 4 + 2] + "," + P[b * 4 + 3] + ")" ); } if (C && (x.g._omdf || p)) { var F = x.g.o; for ( x.g._collapsable ? (d = x.cst) : (d = x.ost), A = d.length, b = 0; b < A; b += 1 ) (E = d[b]), x.g._collapsable || E.setAttribute("offset", F[b * 2] + "%"), E.setAttribute("stop-opacity", F[b * 2 + 1]); } if (w.t === 1) (x.e._mdf || p) && (u.setAttribute("x2", h[0]), u.setAttribute("y2", h[1]), C && !x.g._collapsable && (x.of.setAttribute("x2", h[0]), x.of.setAttribute("y2", h[1]))); else { var I; if ( ((x.s._mdf || x.e._mdf || p) && ((I = Math.sqrt( Math.pow(c[0] - h[0], 2) + Math.pow(c[1] - h[1], 2) )), u.setAttribute("r", I), C && !x.g._collapsable && x.of.setAttribute("r", I)), x.e._mdf || x.h._mdf || x.a._mdf || p) ) { I || (I = Math.sqrt( Math.pow(c[0] - h[0], 2) + Math.pow(c[1] - h[1], 2) )); var R = Math.atan2(h[1] - c[1], h[0] - c[0]), O = x.h.v; O >= 1 ? (O = 0.99) : O <= -1 && (O = -0.99); var z = I * O, V = Math.cos(R + x.a.v) * z + c[0], N = Math.sin(R + x.a.v) * z + c[1]; u.setAttribute("fx", V), u.setAttribute("fy", N), C && !x.g._collapsable && (x.of.setAttribute("fx", V), x.of.setAttribute("fy", N)); } } } function g(w, x, p) { var u = x.style, C = x.d; C && (C._mdf || p) && C.dashStr && (u.pElem.setAttribute("stroke-dasharray", C.dashStr), u.pElem.setAttribute("stroke-dashoffset", C.dashoffset[0])), x.c && (x.c._mdf || p) && u.pElem.setAttribute( "stroke", "rgb(" + bmFloor(x.c.v[0]) + "," + bmFloor(x.c.v[1]) + "," + bmFloor(x.c.v[2]) + ")" ), (x.o._mdf || p) && u.pElem.setAttribute("stroke-opacity", x.o.v), (x.w._mdf || p) && (u.pElem.setAttribute("stroke-width", x.w.v), u.msElem && u.msElem.setAttribute("stroke-width", x.w.v)); } return i; })(); function ShapeTransformManager() { ((this || e).sequences = {}), ((this || e).sequenceList = []), ((this || e).transform_key_count = 0); } ShapeTransformManager.prototype = { addTransformSequence: function (t) { var r, i = t.length, a = "_"; for (r = 0; r < i; r += 1) a += t[r].transform.key + "_"; var n = (this || e).sequences[a]; return ( n || ((n = { transforms: [].concat(t), finalTransform: new Matrix(), _mdf: !1, }), ((this || e).sequences[a] = n), (this || e).sequenceList.push(n)), n ); }, processSequence: function (t, r) { for (var i = 0, a = t.transforms.length, n = r; i < a && !r; ) { if (t.transforms[i].transform.mProps._mdf) { n = !0; break; } i += 1; } if (n) { var s; for (t.finalTransform.reset(), i = a - 1; i >= 0; i -= 1) (s = t.transforms[i].transform.mProps.v.props), t.finalTransform.transform( s[0], s[1], s[2], s[3], s[4], s[5], s[6], s[7], s[8], s[9], s[10], s[11], s[12], s[13], s[14], s[15] ); } t._mdf = n; }, processSequences: function (t) { var r, i = (this || e).sequenceList.length; for (r = 0; r < i; r += 1) this.processSequence((this || e).sequenceList[r], t); }, getNewKey: function () { return ( ((this || e).transform_key_count += 1), "_" + (this || e).transform_key_count ); }, }; function CVShapeData(t, r, i, a) { ((this || e).styledShapes = []), ((this || e).tr = [0, 0, 0, 0, 0, 0]); var n = 4; r.ty === "rc" ? (n = 5) : r.ty === "el" ? (n = 6) : r.ty === "sr" && (n = 7), ((this || e).sh = ShapePropertyFactory.getShapeProp(t, r, n, t)); var s, l = i.length, v; for (s = 0; s < l; s += 1) i[s].closed || ((v = { transforms: a.addTransformSequence(i[s].transforms), trNodes: [], }), (this || e).styledShapes.push(v), i[s].elements.push(v)); } CVShapeData.prototype.setAsAnimated = SVGShapeData.prototype.setAsAnimated; function BaseElement() {} BaseElement.prototype = { checkMasks: function () { if (!(this || e).data.hasMask) return !1; for (var t = 0, r = (this || e).data.masksProperties.length; t < r; ) { if ( (this || e).data.masksProperties[t].mode !== "n" && (this || e).data.masksProperties[t].cl !== !1 ) return !0; t += 1; } return !1; }, initExpressions: function () { ((this || e).layerInterface = LayerExpressionInterface(this || e)), (this || e).data.hasMask && (this || e).maskManager && (this || e).layerInterface.registerMaskInterface( (this || e).maskManager ); var t = EffectsExpressionInterface.createEffectsInterface( this || e, (this || e).layerInterface ); (this || e).layerInterface.registerEffectsInterface(t), (this || e).data.ty === 0 || (this || e).data.xt ? ((this || e).compInterface = CompExpressionInterface(this || e)) : (this || e).data.ty === 4 ? (((this || e).layerInterface.shapeInterface = ShapeExpressionInterface( (this || e).shapesData, (this || e).itemsData, (this || e).layerInterface )), ((this || e).layerInterface.content = ( this || e ).layerInterface.shapeInterface)) : (this || e).data.ty === 5 && (((this || e).layerInterface.textInterface = TextExpressionInterface(this || e)), ((this || e).layerInterface.text = ( this || e ).layerInterface.textInterface)); }, setBlendMode: function () { var t = getBlendMode((this || e).data.bm), r = (this || e).baseElement || (this || e).layerElement; r.style["mix-blend-mode"] = t; }, initBaseData: function (t, r, i) { ((this || e).globalData = r), ((this || e).comp = i), ((this || e).data = t), ((this || e).layerId = createElementID()), (this || e).data.sr || ((this || e).data.sr = 1), ((this || e).effectsManager = new EffectsManager( (this || e).data, this || e, (this || e).dynamicProperties )); }, getType: function () { return (this || e).type; }, sourceRectAtTime: function () {}, }; function NullElement(t, r, i) { this.initFrame(), this.initBaseData(t, r, i), this.initFrame(), this.initTransform(t, r, i), this.initHierarchy(); } (NullElement.prototype.prepareFrame = function (t) { this.prepareProperties(t, !0); }), (NullElement.prototype.renderFrame = function () {}), (NullElement.prototype.getBaseElement = function () { return null; }), (NullElement.prototype.destroy = function () {}), (NullElement.prototype.sourceRectAtTime = function () {}), (NullElement.prototype.hide = function () {}), extendPrototype( [BaseElement, TransformElement, HierarchyElement, FrameElement], NullElement ); function SVGBaseElement() {} SVGBaseElement.prototype = { initRendererElement: function () { (this || e).layerElement = createNS("g"); }, createContainerElements: function () { ((this || e).matteElement = createNS("g")), ((this || e).transformedElement = (this || e).layerElement), ((this || e).maskedElement = (this || e).layerElement), ((this || e)._sizeChanged = !1); var t = null, r, i, a; if ((this || e).data.td) { if ((this || e).data.td == 3 || (this || e).data.td == 1) { var n = createNS("mask"); n.setAttribute("id", (this || e).layerId), n.setAttribute( "mask-type", (this || e).data.td == 3 ? "luminance" : "alpha" ), n.appendChild((this || e).layerElement), (t = n), (this || e).globalData.defs.appendChild(n), !featureSupport.maskType && (this || e).data.td == 1 && (n.setAttribute("mask-type", "luminance"), (r = createElementID()), (i = filtersFactory.createFilter(r)), (this || e).globalData.defs.appendChild(i), i.appendChild(filtersFactory.createAlphaToLuminanceFilter()), (a = createNS("g")), a.appendChild((this || e).layerElement), (t = a), n.appendChild(a), a.setAttribute( "filter", "url(" + locationHref + "#" + r + ")" )); } else if ((this || e).data.td == 2) { var s = createNS("mask"); s.setAttribute("id", (this || e).layerId), s.setAttribute("mask-type", "alpha"); var l = createNS("g"); s.appendChild(l), (r = createElementID()), (i = filtersFactory.createFilter(r)); var v = createNS("feComponentTransfer"); v.setAttribute("in", "SourceGraphic"), i.appendChild(v); var y = createNS("feFuncA"); y.setAttribute("type", "table"), y.setAttribute("tableValues", "1.0 0.0"), v.appendChild(y), (this || e).globalData.defs.appendChild(i); var g = createNS("rect"); g.setAttribute("width", (this || e).comp.data.w), g.setAttribute("height", (this || e).comp.data.h), g.setAttribute("x", "0"), g.setAttribute("y", "0"), g.setAttribute("fill", "#ffffff"), g.setAttribute("opacity", "0"), l.setAttribute("filter", "url(" + locationHref + "#" + r + ")"), l.appendChild(g), l.appendChild((this || e).layerElement), (t = l), featureSupport.maskType || (s.setAttribute("mask-type", "luminance"), i.appendChild(filtersFactory.createAlphaToLuminanceFilter()), (a = createNS("g")), l.appendChild(g), a.appendChild((this || e).layerElement), (t = a), l.appendChild(a)), (this || e).globalData.defs.appendChild(s); } } else (this || e).data.tt ? ((this || e).matteElement.appendChild((this || e).layerElement), (t = (this || e).matteElement), ((this || e).baseElement = (this || e).matteElement)) : ((this || e).baseElement = (this || e).layerElement); if ( ((this || e).data.ln && (this || e).layerElement.setAttribute("id", (this || e).data.ln), (this || e).data.cl && (this || e).layerElement.setAttribute("class", (this || e).data.cl), (this || e).data.ty === 0 && !(this || e).data.hd) ) { var w = createNS("clipPath"), x = createNS("path"); x.setAttribute( "d", "M0,0 L" + (this || e).data.w + ",0 L" + (this || e).data.w + "," + (this || e).data.h + " L0," + (this || e).data.h + "z" ); var p = createElementID(); if ( (w.setAttribute("id", p), w.appendChild(x), (this || e).globalData.defs.appendChild(w), this.checkMasks()) ) { var u = createNS("g"); u.setAttribute("clip-path", "url(" + locationHref + "#" + p + ")"), u.appendChild((this || e).layerElement), ((this || e).transformedElement = u), t ? t.appendChild((this || e).transformedElement) : ((this || e).baseElement = (this || e).transformedElement); } else (this || e).layerElement.setAttribute( "clip-path", "url(" + locationHref + "#" + p + ")" ); } (this || e).data.bm !== 0 && this.setBlendMode(); }, renderElement: function () { (this || e).finalTransform._matMdf && (this || e).transformedElement.setAttribute( "transform", (this || e).finalTransform.mat.to2dCSS() ), (this || e).finalTransform._opMdf && (this || e).transformedElement.setAttribute( "opacity", (this || e).finalTransform.mProp.o.v ); }, destroyBaseElement: function () { ((this || e).layerElement = null), ((this || e).matteElement = null), (this || e).maskManager.destroy(); }, getBaseElement: function () { return (this || e).data.hd ? null : (this || e).baseElement; }, createRenderableComponents: function () { ((this || e).maskManager = new MaskElement( (this || e).data, this || e, (this || e).globalData )), ((this || e).renderableEffectsManager = new SVGEffects(this || e)); }, setMatte: function (t) { (this || e).matteElement && (this || e).matteElement.setAttribute( "mask", "url(" + locationHref + "#" + t + ")" ); }, }; function IShapeElement() {} IShapeElement.prototype = { addShapeToModifiers: function (t) { var r, i = (this || e).shapeModifiers.length; for (r = 0; r < i; r += 1) (this || e).shapeModifiers[r].addShape(t); }, isShapeInAnimatedModifiers: function (t) { for (var r = 0, i = (this || e).shapeModifiers.length; r < i; ) if ((this || e).shapeModifiers[r].isAnimatedWithShape(t)) return !0; return !1; }, renderModifiers: function () { if ((this || e).shapeModifiers.length) { var t, r = (this || e).shapes.length; for (t = 0; t < r; t += 1) (this || e).shapes[t].sh.reset(); r = (this || e).shapeModifiers.length; var i; for ( t = r - 1; t >= 0 && ((i = (this || e).shapeModifiers[t].processShapes( (this || e)._isFirstFrame )), !i); t -= 1 ); } }, lcEnum: { 1: "butt", 2: "round", 3: "square" }, ljEnum: { 1: "miter", 2: "round", 3: "bevel" }, searchProcessedElement: function (t) { for ( var r = (this || e).processedElements, i = 0, a = r.length; i < a; ) { if (r[i].elem === t) return r[i].pos; i += 1; } return 0; }, addProcessedElement: function (t, r) { for (var i = (this || e).processedElements, a = i.length; a; ) if (((a -= 1), i[a].elem === t)) { i[a].pos = r; return; } i.push(new ProcessedElement(t, r)); }, prepareFrame: function (t) { this.prepareRenderableFrame(t), this.prepareProperties(t, (this || e).isInRange); }, }; function ITextElement() {} (ITextElement.prototype.initElement = function (t, r, i) { ((this || e).lettersChangedFlag = !0), this.initFrame(), this.initBaseData(t, r, i), ((this || e).textProperty = new TextProperty( this || e, t.t, (this || e).dynamicProperties )), ((this || e).textAnimator = new TextAnimatorProperty( t.t, (this || e).renderType, this || e )), this.initTransform(t, r, i), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide(), (this || e).textAnimator.searchProperties( (this || e).dynamicProperties ); }), (ITextElement.prototype.prepareFrame = function (t) { ((this || e)._mdf = !1), this.prepareRenderableFrame(t), this.prepareProperties(t, (this || e).isInRange), ((this || e).textProperty._mdf || (this || e).textProperty._isFirstFrame) && (this.buildNewText(), ((this || e).textProperty._isFirstFrame = !1), ((this || e).textProperty._mdf = !1)); }), (ITextElement.prototype.createPathShape = function (t, r) { var i, a = r.length, n, s = ""; for (i = 0; i < a; i += 1) (n = r[i].ks.k), (s += buildShapeString(n, n.i.length, !0, t)); return s; }), (ITextElement.prototype.updateDocumentData = function (t, r) { (this || e).textProperty.updateDocumentData(t, r); }), (ITextElement.prototype.canResizeFont = function (t) { (this || e).textProperty.canResizeFont(t); }), (ITextElement.prototype.setMinimumFontSize = function (t) { (this || e).textProperty.setMinimumFontSize(t); }), (ITextElement.prototype.applyTextPropertiesToMatrix = function ( t, r, i, a, n ) { switch ( (t.ps && r.translate(t.ps[0], t.ps[1] + t.ascent, 0), r.translate(0, -t.ls, 0), t.j) ) { case 1: r.translate(t.justifyOffset + (t.boxWidth - t.lineWidths[i]), 0, 0); break; case 2: r.translate( t.justifyOffset + (t.boxWidth - t.lineWidths[i]) / 2, 0, 0 ); break; default: break; } r.translate(a, n, 0); }), (ITextElement.prototype.buildColor = function (t) { return ( "rgb(" + Math.round(t[0] * 255) + "," + Math.round(t[1] * 255) + "," + Math.round(t[2] * 255) + ")" ); }), (ITextElement.prototype.emptyProp = new LetterProps()), (ITextElement.prototype.destroy = function () {}); function ICompElement() {} extendPrototype( [ BaseElement, TransformElement, HierarchyElement, FrameElement, RenderableDOMElement, ], ICompElement ), (ICompElement.prototype.initElement = function (t, r, i) { this.initFrame(), this.initBaseData(t, r, i), this.initTransform(t, r, i), this.initRenderable(), this.initHierarchy(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), ((this || e).data.xt || !r.progressiveLoad) && this.buildAllItems(), this.hide(); }), (ICompElement.prototype.prepareFrame = function (t) { if ( (((this || e)._mdf = !1), this.prepareRenderableFrame(t), this.prepareProperties(t, (this || e).isInRange), !(!(this || e).isInRange && !(this || e).data.xt)) ) { if ((this || e).tm._placeholder) (this || e).renderedFrame = t / (this || e).data.sr; else { var r = (this || e).tm.v; r === (this || e).data.op && (r = (this || e).data.op - 1), ((this || e).renderedFrame = r); } var i, a = (this || e).elements.length; for ( (this || e).completeLayers || this.checkLayers((this || e).renderedFrame), i = a - 1; i >= 0; i -= 1 ) ((this || e).completeLayers || (this || e).elements[i]) && ((this || e).elements[i].prepareFrame( (this || e).renderedFrame - (this || e).layers[i].st ), (this || e).elements[i]._mdf && ((this || e)._mdf = !0)); } }), (ICompElement.prototype.renderInnerContent = function () { var t, r = (this || e).layers.length; for (t = 0; t < r; t += 1) ((this || e).completeLayers || (this || e).elements[t]) && (this || e).elements[t].renderFrame(); }), (ICompElement.prototype.setElements = function (t) { (this || e).elements = t; }), (ICompElement.prototype.getElements = function () { return (this || e).elements; }), (ICompElement.prototype.destroyElements = function () { var t, r = (this || e).layers.length; for (t = 0; t < r; t += 1) (this || e).elements[t] && (this || e).elements[t].destroy(); }), (ICompElement.prototype.destroy = function () { this.destroyElements(), this.destroyBaseElement(); }); function IImageElement(t, r, i) { ((this || e).assetData = r.getAssetData(t.refId)), this.initElement(t, r, i), ((this || e).sourceRect = { top: 0, left: 0, width: (this || e).assetData.w, height: (this || e).assetData.h, }); } extendPrototype( [ BaseElement, TransformElement, SVGBaseElement, HierarchyElement, FrameElement, RenderableDOMElement, ], IImageElement ), (IImageElement.prototype.createContent = function () { var t = (this || e).globalData.getAssetsPath((this || e).assetData); ((this || e).innerElem = createNS("image")), (this || e).innerElem.setAttribute( "width", (this || e).assetData.w + "px" ), (this || e).innerElem.setAttribute( "height", (this || e).assetData.h + "px" ), (this || e).innerElem.setAttribute( "preserveAspectRatio", (this || e).assetData.pr || (this || e).globalData.renderConfig.imagePreserveAspectRatio ), (this || e).innerElem.setAttributeNS( "http://www.w3.org/1999/xlink", "href", t ), (this || e).layerElement.appendChild((this || e).innerElem); }), (IImageElement.prototype.sourceRectAtTime = function () { return (this || e).sourceRect; }); function ISolidElement(t, r, i) { this.initElement(t, r, i); } extendPrototype([IImageElement], ISolidElement), (ISolidElement.prototype.createContent = function () { var t = createNS("rect"); t.setAttribute("width", (this || e).data.sw), t.setAttribute("height", (this || e).data.sh), t.setAttribute("fill", (this || e).data.sc), (this || e).layerElement.appendChild(t); }); function AudioElement(t, r, i) { this.initFrame(), this.initRenderable(), ((this || e).assetData = r.getAssetData(t.refId)), this.initBaseData(t, r, i), ((this || e)._isPlaying = !1), ((this || e)._canPlay = !1); var a = (this || e).globalData.getAssetsPath((this || e).assetData); ((this || e).audio = (this || e).globalData.audioController.createAudio( a )), ((this || e)._currentTime = 0), (this || e).globalData.audioController.addAudio(this || e), ((this || e).tm = t.tm ? PropertyFactory.getProp(this || e, t.tm, 0, r.frameRate, this || e) : { _placeholder: !0 }); } (AudioElement.prototype.prepareFrame = function (t) { if ( (this.prepareRenderableFrame(t, !0), this.prepareProperties(t, !0), (this || e).tm._placeholder) ) (this || e)._currentTime = t / (this || e).data.sr; else { var r = (this || e).tm.v; (this || e)._currentTime = r; } }), extendPrototype( [RenderableElement, BaseElement, FrameElement], AudioElement ), (AudioElement.prototype.renderFrame = function () { (this || e).isInRange && (this || e)._canPlay && ((this || e)._isPlaying ? (!(this || e).audio.playing() || Math.abs( (this || e)._currentTime / (this || e).globalData.frameRate - (this || e).audio.seek() ) > 0.1) && (this || e).audio.seek( (this || e)._currentTime / (this || e).globalData.frameRate ) : ((this || e).audio.play(), (this || e).audio.seek( (this || e)._currentTime / (this || e).globalData.frameRate ), ((this || e)._isPlaying = !0))); }), (AudioElement.prototype.show = function () {}), (AudioElement.prototype.hide = function () { (this || e).audio.pause(), ((this || e)._isPlaying = !1); }), (AudioElement.prototype.pause = function () { (this || e).audio.pause(), ((this || e)._isPlaying = !1), ((this || e)._canPlay = !1); }), (AudioElement.prototype.resume = function () { (this || e)._canPlay = !0; }), (AudioElement.prototype.setRate = function (t) { (this || e).audio.rate(t); }), (AudioElement.prototype.volume = function (t) { (this || e).audio.volume(t); }), (AudioElement.prototype.getBaseElement = function () { return null; }), (AudioElement.prototype.destroy = function () {}), (AudioElement.prototype.sourceRectAtTime = function () {}), (AudioElement.prototype.initExpressions = function () {}); function FootageElement(t, r, i) { this.initFrame(), this.initRenderable(), ((this || e).assetData = r.getAssetData(t.refId)), ((this || e).footageData = r.imageLoader.getAsset( (this || e).assetData )), this.initBaseData(t, r, i); } (FootageElement.prototype.prepareFrame = function () {}), extendPrototype( [RenderableElement, BaseElement, FrameElement], FootageElement ), (FootageElement.prototype.getBaseElement = function () { return null; }), (FootageElement.prototype.renderFrame = function () {}), (FootageElement.prototype.destroy = function () {}), (FootageElement.prototype.initExpressions = function () { (this || e).layerInterface = FootageInterface(this || e); }), (FootageElement.prototype.getFootageData = function () { return (this || e).footageData; }); function SVGCompElement(t, r, i) { ((this || e).layers = t.layers), ((this || e).supports3d = !0), ((this || e).completeLayers = !1), ((this || e).pendingElements = []), ((this || e).elements = (this || e).layers ? createSizedArray((this || e).layers.length) : []), this.initElement(t, r, i), ((this || e).tm = t.tm ? PropertyFactory.getProp(this || e, t.tm, 0, r.frameRate, this || e) : { _placeholder: !0 }); } extendPrototype( [SVGRenderer, ICompElement, SVGBaseElement], SVGCompElement ); function SVGTextLottieElement(t, r, i) { ((this || e).textSpans = []), ((this || e).renderType = "svg"), this.initElement(t, r, i); } extendPrototype( [ BaseElement, TransformElement, SVGBaseElement, HierarchyElement, FrameElement, RenderableDOMElement, ITextElement, ], SVGTextLottieElement ), (SVGTextLottieElement.prototype.createContent = function () { (this || e).data.singleShape && !(this || e).globalData.fontManager.chars && ((this || e).textContainer = createNS("text")); }), (SVGTextLottieElement.prototype.buildTextContents = function (t) { for (var r = 0, i = t.length, a = [], n = ""; r < i; ) t[r] === String.fromCharCode(13) || t[r] === String.fromCharCode(3) ? (a.push(n), (n = "")) : (n += t[r]), (r += 1); return a.push(n), a; }), (SVGTextLottieElement.prototype.buildNewText = function () { var t, r, i = (this || e).textProperty.currentData; ((this || e).renderedLetters = createSizedArray(i ? i.l.length : 0)), i.fc ? (this || e).layerElement.setAttribute( "fill", this.buildColor(i.fc) ) : (this || e).layerElement.setAttribute("fill", "rgba(0,0,0,0)"), i.sc && ((this || e).layerElement.setAttribute( "stroke", this.buildColor(i.sc) ), (this || e).layerElement.setAttribute("stroke-width", i.sw)), (this || e).layerElement.setAttribute("font-size", i.finalSize); var a = (this || e).globalData.fontManager.getFontByName(i.f); if (a.fClass) (this || e).layerElement.setAttribute("class", a.fClass); else { (this || e).layerElement.setAttribute("font-family", a.fFamily); var n = i.fWeight, s = i.fStyle; (this || e).layerElement.setAttribute("font-style", s), (this || e).layerElement.setAttribute("font-weight", n); } (this || e).layerElement.setAttribute("aria-label", i.t); var l = i.l || [], v = !!(this || e).globalData.fontManager.chars; r = l.length; var y, g = (this || e).mHelper, w, x = "", p = (this || e).data.singleShape, u = 0, C = 0, c = !0, h = i.tr * 0.001 * i.finalSize; if (p && !v && !i.sz) { var m = (this || e).textContainer, o = "start"; switch (i.j) { case 1: o = "end"; break; case 2: o = "middle"; break; default: o = "start"; break; } m.setAttribute("text-anchor", o), m.setAttribute("letter-spacing", h); var f = this.buildTextContents(i.finalText); for ( r = f.length, C = i.ps ? i.ps[1] + i.ascent : 0, t = 0; t < r; t += 1 ) (y = (this || e).textSpans[t] || createNS("tspan")), (y.textContent = f[t]), y.setAttribute("x", 0), y.setAttribute("y", C), (y.style.display = "inherit"), m.appendChild(y), ((this || e).textSpans[t] = y), (C += i.finalLineHeight); (this || e).layerElement.appendChild(m); } else { var d = (this || e).textSpans.length, b, A; for (t = 0; t < r; t += 1) (!v || !p || t === 0) && ((y = d > t ? (this || e).textSpans[t] : createNS(v ? "path" : "text")), d <= t && (y.setAttribute("stroke-linecap", "butt"), y.setAttribute("stroke-linejoin", "round"), y.setAttribute("stroke-miterlimit", "4"), ((this || e).textSpans[t] = y), (this || e).layerElement.appendChild(y)), (y.style.display = "inherit")), g.reset(), g.scale(i.finalSize / 100, i.finalSize / 100), p && (l[t].n && ((u = -h), (C += i.yOffset), (C += c ? 1 : 0), (c = !1)), this.applyTextPropertiesToMatrix(i, g, l[t].line, u, C), (u += l[t].l || 0), (u += h)), v ? ((A = (this || e).globalData.fontManager.getCharData( i.finalText[t], a.fStyle, (this || e).globalData.fontManager.getFontByName(i.f) .fFamily )), (b = (A && A.data) || {}), (w = b.shapes ? b.shapes[0].it : []), p ? (x += this.createPathShape(g, w)) : y.setAttribute("d", this.createPathShape(g, w))) : (p && y.setAttribute( "transform", "translate(" + g.props[12] + "," + g.props[13] + ")" ), (y.textContent = l[t].val), y.setAttributeNS( "http://www.w3.org/XML/1998/namespace", "xml:space", "preserve" )); p && y && y.setAttribute("d", x); } for (; t < (this || e).textSpans.length; ) ((this || e).textSpans[t].style.display = "none"), (t += 1); (this || e)._sizeChanged = !0; }), (SVGTextLottieElement.prototype.sourceRectAtTime = function () { if ( (this.prepareFrame( (this || e).comp.renderedFrame - (this || e).data.st ), this.renderInnerContent(), (this || e)._sizeChanged) ) { (this || e)._sizeChanged = !1; var t = (this || e).layerElement.getBBox(); (this || e).bbox = { top: t.y, left: t.x, width: t.width, height: t.height, }; } return (this || e).bbox; }), (SVGTextLottieElement.prototype.renderInnerContent = function () { if ( !(this || e).data.singleShape && ((this || e).textAnimator.getMeasures( (this || e).textProperty.currentData, (this || e).lettersChangedFlag ), (this || e).lettersChangedFlag || (this || e).textAnimator.lettersChangedFlag) ) { (this || e)._sizeChanged = !0; var t, r, i = (this || e).textAnimator.renderedLetters, a = (this || e).textProperty.currentData.l; r = a.length; var n, s; for (t = 0; t < r; t += 1) a[t].n || ((n = i[t]), (s = (this || e).textSpans[t]), n._mdf.m && s.setAttribute("transform", n.m), n._mdf.o && s.setAttribute("opacity", n.o), n._mdf.sw && s.setAttribute("stroke-width", n.sw), n._mdf.sc && s.setAttribute("stroke", n.sc), n._mdf.fc && s.setAttribute("fill", n.fc)); } }); function SVGShapeElement(t, r, i) { ((this || e).shapes = []), ((this || e).shapesData = t.shapes), ((this || e).stylesList = []), ((this || e).shapeModifiers = []), ((this || e).itemsData = []), ((this || e).processedElements = []), ((this || e).animatedContents = []), this.initElement(t, r, i), ((this || e).prevViewData = []); } 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 || e).shapesData, (this || e).itemsData, (this || e).prevViewData, (this || e).layerElement, 0, [], !0 ), this.filterUniqueShapes(); }), (SVGShapeElement.prototype.filterUniqueShapes = function () { var t, r = (this || e).shapes.length, i, a, n = (this || e).stylesList.length, s, l = [], v = !1; for (a = 0; a < n; a += 1) { for ( s = (this || e).stylesList[a], v = !1, l.length = 0, t = 0; t < r; t += 1 ) (i = (this || e).shapes[t]), i.styles.indexOf(s) !== -1 && (l.push(i), (v = i._isAnimated || v)); l.length > 1 && v && this.setShapesAsAnimated(l); } }), (SVGShapeElement.prototype.setShapesAsAnimated = function (t) { var r, i = t.length; for (r = 0; r < i; r += 1) t[r].setAsAnimated(); }), (SVGShapeElement.prototype.createStyleElement = function (t, r) { var i, a = new SVGStyleData(t, r), n = a.pElem; if (t.ty === "st") i = new SVGStrokeStyleData(this || e, t, a); else if (t.ty === "fl") i = new SVGFillStyleData(this || e, t, a); else if (t.ty === "gf" || t.ty === "gs") { var s = t.ty === "gf" ? SVGGradientFillStyleData : SVGGradientStrokeStyleData; (i = new s(this || e, t, a)), (this || e).globalData.defs.appendChild(i.gf), i.maskId && ((this || e).globalData.defs.appendChild(i.ms), (this || e).globalData.defs.appendChild(i.of), n.setAttribute( "mask", "url(" + locationHref + "#" + i.maskId + ")" )); } return ( (t.ty === "st" || t.ty === "gs") && (n.setAttribute( "stroke-linecap", (this || e).lcEnum[t.lc] || "round" ), n.setAttribute( "stroke-linejoin", (this || e).ljEnum[t.lj] || "round" ), n.setAttribute("fill-opacity", "0"), t.lj === 1 && n.setAttribute("stroke-miterlimit", t.ml)), t.r === 2 && n.setAttribute("fill-rule", "evenodd"), t.ln && n.setAttribute("id", t.ln), t.cl && n.setAttribute("class", t.cl), t.bm && (n.style["mix-blend-mode"] = getBlendMode(t.bm)), (this || e).stylesList.push(a), this.addToAnimatedContents(t, i), i ); }), (SVGShapeElement.prototype.createGroupElement = function (t) { var r = new ShapeGroupData(); return ( t.ln && r.gr.setAttribute("id", t.ln), t.cl && r.gr.setAttribute("class", t.cl), t.bm && (r.gr.style["mix-blend-mode"] = getBlendMode(t.bm)), r ); }), (SVGShapeElement.prototype.createTransformElement = function (t, r) { var i = TransformPropertyFactory.getTransformProperty( this || e, t, this || e ), a = new SVGTransformData(i, i.o, r); return this.addToAnimatedContents(t, a), a; }), (SVGShapeElement.prototype.createShapeElement = function (t, r, i) { var a = 4; t.ty === "rc" ? (a = 5) : t.ty === "el" ? (a = 6) : t.ty === "sr" && (a = 7); var n = ShapePropertyFactory.getShapeProp(this || e, t, a, this || e), s = new SVGShapeData(r, i, n); return ( (this || e).shapes.push(s), this.addShapeToModifiers(s), this.addToAnimatedContents(t, s), s ); }), (SVGShapeElement.prototype.addToAnimatedContents = function (t, r) { for (var i = 0, a = (this || e).animatedContents.length; i < a; ) { if ((this || e).animatedContents[i].element === r) return; i += 1; } (this || e).animatedContents.push({ fn: SVGElementsRenderer.createRenderFunction(t), element: r, data: t, }); }), (SVGShapeElement.prototype.setElementStyles = function (t) { var r = t.styles, i, a = (this || e).stylesList.length; for (i = 0; i < a; i += 1) (this || e).stylesList[i].closed || r.push((this || e).stylesList[i]); }), (SVGShapeElement.prototype.reloadShapes = function () { (this || e)._isFirstFrame = !0; var t, r = (this || e).itemsData.length; for (t = 0; t < r; t += 1) (this || e).prevViewData[t] = (this || e).itemsData[t]; for ( this.searchShapes( (this || e).shapesData, (this || e).itemsData, (this || e).prevViewData, (this || e).layerElement, 0, [], !0 ), this.filterUniqueShapes(), r = (this || e).dynamicProperties.length, t = 0; t < r; t += 1 ) (this || e).dynamicProperties[t].getValue(); this.renderModifiers(); }), (SVGShapeElement.prototype.searchShapes = function (t, r, i, a, n, s, l) { var v = [].concat(s), y, g = t.length - 1, w, x, p = [], u = [], C, c, h; for (y = g; y >= 0; y -= 1) { if ( ((h = this.searchProcessedElement(t[y])), h ? (r[y] = i[h - 1]) : (t[y]._render = l), t[y].ty === "fl" || t[y].ty === "st" || t[y].ty === "gf" || t[y].ty === "gs") ) h ? (r[y].style.closed = !1) : (r[y] = this.createStyleElement(t[y], n)), t[y]._render && a.appendChild(r[y].style.pElem), p.push(r[y].style); else if (t[y].ty === "gr") { if (!h) r[y] = this.createGroupElement(t[y]); else for (x = r[y].it.length, w = 0; w < x; w += 1) r[y].prevViewData[w] = r[y].it[w]; this.searchShapes( t[y].it, r[y].it, r[y].prevViewData, r[y].gr, n + 1, v, l ), t[y]._render && a.appendChild(r[y].gr); } else t[y].ty === "tr" ? (h || (r[y] = this.createTransformElement(t[y], a)), (C = r[y].transform), v.push(C)) : t[y].ty === "sh" || t[y].ty === "rc" || t[y].ty === "el" || t[y].ty === "sr" ? (h || (r[y] = this.createShapeElement(t[y], v, n)), this.setElementStyles(r[y])) : t[y].ty === "tm" || t[y].ty === "rd" || t[y].ty === "ms" || t[y].ty === "pb" ? (h ? ((c = r[y]), (c.closed = !1)) : ((c = ShapeModifiers.getModifier(t[y].ty)), c.init(this || e, t[y]), (r[y] = c), (this || e).shapeModifiers.push(c)), u.push(c)) : t[y].ty === "rp" && (h ? ((c = r[y]), (c.closed = !0)) : ((c = ShapeModifiers.getModifier(t[y].ty)), (r[y] = c), c.init(this || e, t, y, r), (this || e).shapeModifiers.push(c), (l = !1)), u.push(c)); this.addProcessedElement(t[y], y + 1); } for (g = p.length, y = 0; y < g; y += 1) p[y].closed = !0; for (g = u.length, y = 0; y < g; y += 1) u[y].closed = !0; }), (SVGShapeElement.prototype.renderInnerContent = function () { this.renderModifiers(); var t, r = (this || e).stylesList.length; for (t = 0; t < r; t += 1) (this || e).stylesList[t].reset(); for (this.renderShape(), t = 0; t < r; t += 1) ((this || e).stylesList[t]._mdf || (this || e)._isFirstFrame) && ((this || e).stylesList[t].msElem && ((this || e).stylesList[t].msElem.setAttribute( "d", (this || e).stylesList[t].d ), ((this || e).stylesList[t].d = "M0 0" + (this || e).stylesList[t].d)), (this || e).stylesList[t].pElem.setAttribute( "d", (this || e).stylesList[t].d || "M0 0" )); }), (SVGShapeElement.prototype.renderShape = function () { var t, r = (this || e).animatedContents.length, i; for (t = 0; t < r; t += 1) (i = (this || e).animatedContents[t]), ((this || e)._isFirstFrame || i.element._isAnimated) && i.data !== !0 && i.fn(i.data, i.element, (this || e)._isFirstFrame); }), (SVGShapeElement.prototype.destroy = function () { this.destroyBaseElement(), ((this || e).shapesData = null), ((this || e).itemsData = null); }); function SVGTintFilter(t, r) { (this || e).filterManager = r; var i = createNS("feColorMatrix"); if ( (i.setAttribute("type", "matrix"), i.setAttribute("color-interpolation-filters", "linearRGB"), i.setAttribute( "values", "0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0" ), i.setAttribute("result", "f1"), t.appendChild(i), (i = createNS("feColorMatrix")), i.setAttribute("type", "matrix"), i.setAttribute("color-interpolation-filters", "sRGB"), i.setAttribute("values", "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"), i.setAttribute("result", "f2"), t.appendChild(i), ((this || e).matrixFilter = i), r.effectElements[2].p.v !== 100 || r.effectElements[2].p.k) ) { var a = createNS("feMerge"); t.appendChild(a); var n; (n = createNS("feMergeNode")), n.setAttribute("in", "SourceGraphic"), a.appendChild(n), (n = createNS("feMergeNode")), n.setAttribute("in", "f2"), a.appendChild(n); } } SVGTintFilter.prototype.renderFrame = function (t) { if (t || (this || e).filterManager._mdf) { var r = (this || e).filterManager.effectElements[0].p.v, i = (this || e).filterManager.effectElements[1].p.v, a = (this || e).filterManager.effectElements[2].p.v / 100; (this || e).matrixFilter.setAttribute( "values", i[0] - r[0] + " 0 0 0 " + r[0] + " " + (i[1] - r[1]) + " 0 0 0 " + r[1] + " " + (i[2] - r[2]) + " 0 0 0 " + r[2] + " 0 0 0 " + a + " 0" ); } }; function SVGFillFilter(t, r) { (this || e).filterManager = r; var i = createNS("feColorMatrix"); i.setAttribute("type", "matrix"), i.setAttribute("color-interpolation-filters", "sRGB"), i.setAttribute("values", "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"), t.appendChild(i), ((this || e).matrixFilter = i); } SVGFillFilter.prototype.renderFrame = function (t) { if (t || (this || e).filterManager._mdf) { var r = (this || e).filterManager.effectElements[2].p.v, i = (this || e).filterManager.effectElements[6].p.v; (this || e).matrixFilter.setAttribute( "values", "0 0 0 0 " + r[0] + " 0 0 0 0 " + r[1] + " 0 0 0 0 " + r[2] + " 0 0 0 " + i + " 0" ); } }; function SVGGaussianBlurEffect(t, r) { t.setAttribute("x", "-100%"), t.setAttribute("y", "-100%"), t.setAttribute("width", "300%"), t.setAttribute("height", "300%"), ((this || e).filterManager = r); var i = createNS("feGaussianBlur"); t.appendChild(i), ((this || e).feGaussianBlur = i); } SVGGaussianBlurEffect.prototype.renderFrame = function (t) { if (t || (this || e).filterManager._mdf) { var r = 0.3, i = (this || e).filterManager.effectElements[0].p.v * r, a = (this || e).filterManager.effectElements[1].p.v, n = a == 3 ? 0 : i, s = a == 2 ? 0 : i; (this || e).feGaussianBlur.setAttribute("stdDeviation", n + " " + s); var l = (this || e).filterManager.effectElements[2].p.v == 1 ? "wrap" : "duplicate"; (this || e).feGaussianBlur.setAttribute("edgeMode", l); } }; function SVGStrokeEffect(t, r) { ((this || e).initialized = !1), ((this || e).filterManager = r), ((this || e).elem = t), ((this || e).paths = []); } (SVGStrokeEffect.prototype.initialize = function () { var t = (this || e).elem.layerElement.children || (this || e).elem.layerElement.childNodes, r, i, a, n; for ( (this || e).filterManager.effectElements[1].p.v === 1 ? ((n = (this || e).elem.maskManager.masksProperties.length), (a = 0)) : ((a = (this || e).filterManager.effectElements[0].p.v - 1), (n = a + 1)), i = createNS("g"), i.setAttribute("fill", "none"), i.setAttribute("stroke-linecap", "round"), i.setAttribute("stroke-dashoffset", 1), a; a < n; a += 1 ) (r = createNS("path")), i.appendChild(r), (this || e).paths.push({ p: r, m: a }); if ((this || e).filterManager.effectElements[10].p.v === 3) { var s = createNS("mask"), l = createElementID(); s.setAttribute("id", l), s.setAttribute("mask-type", "alpha"), s.appendChild(i), (this || e).elem.globalData.defs.appendChild(s); var v = createNS("g"); for ( v.setAttribute("mask", "url(" + locationHref + "#" + l + ")"); t[0]; ) v.appendChild(t[0]); (this || e).elem.layerElement.appendChild(v), ((this || e).masker = s), i.setAttribute("stroke", "#fff"); } else if ( (this || e).filterManager.effectElements[10].p.v === 1 || (this || e).filterManager.effectElements[10].p.v === 2 ) { if ((this || e).filterManager.effectElements[10].p.v === 2) for ( t = (this || e).elem.layerElement.children || (this || e).elem.layerElement.childNodes; t.length; ) (this || e).elem.layerElement.removeChild(t[0]); (this || e).elem.layerElement.appendChild(i), (this || e).elem.layerElement.removeAttribute("mask"), i.setAttribute("stroke", "#fff"); } ((this || e).initialized = !0), ((this || e).pathMasker = i); }), (SVGStrokeEffect.prototype.renderFrame = function (t) { (this || e).initialized || this.initialize(); var r, i = (this || e).paths.length, a, n; for (r = 0; r < i; r += 1) if ( (this || e).paths[r].m !== -1 && ((a = (this || e).elem.maskManager.viewData[ (this || e).paths[r].m ]), (n = (this || e).paths[r].p), (t || (this || e).filterManager._mdf || a.prop._mdf) && n.setAttribute("d", a.lastPath), t || (this || e).filterManager.effectElements[9].p._mdf || (this || e).filterManager.effectElements[4].p._mdf || (this || e).filterManager.effectElements[7].p._mdf || (this || e).filterManager.effectElements[8].p._mdf || a.prop._mdf) ) { var s; if ( (this || e).filterManager.effectElements[7].p.v !== 0 || (this || e).filterManager.effectElements[8].p.v !== 100 ) { var l = Math.min( (this || e).filterManager.effectElements[7].p.v, (this || e).filterManager.effectElements[8].p.v ) * 0.01, v = Math.max( (this || e).filterManager.effectElements[7].p.v, (this || e).filterManager.effectElements[8].p.v ) * 0.01, y = n.getTotalLength(); s = "0 0 0 " + y * l + " "; var g = y * (v - l), w = 1 + (this || e).filterManager.effectElements[4].p.v * 2 * (this || e).filterManager.effectElements[9].p.v * 0.01, x = Math.floor(g / w), p; for (p = 0; p < x; p += 1) s += "1 " + (this || e).filterManager.effectElements[4].p.v * 2 * (this || e).filterManager.effectElements[9].p.v * 0.01 + " "; s += "0 " + y * 10 + " 0 0"; } else s = "1 " + (this || e).filterManager.effectElements[4].p.v * 2 * (this || e).filterManager.effectElements[9].p.v * 0.01; n.setAttribute("stroke-dasharray", s); } if ( ((t || (this || e).filterManager.effectElements[4].p._mdf) && (this || e).pathMasker.setAttribute( "stroke-width", (this || e).filterManager.effectElements[4].p.v * 2 ), (t || (this || e).filterManager.effectElements[6].p._mdf) && (this || e).pathMasker.setAttribute( "opacity", (this || e).filterManager.effectElements[6].p.v ), ((this || e).filterManager.effectElements[10].p.v === 1 || (this || e).filterManager.effectElements[10].p.v === 2) && (t || (this || e).filterManager.effectElements[3].p._mdf)) ) { var u = (this || e).filterManager.effectElements[3].p.v; (this || e).pathMasker.setAttribute( "stroke", "rgb(" + bmFloor(u[0] * 255) + "," + bmFloor(u[1] * 255) + "," + bmFloor(u[2] * 255) + ")" ); } }); function SVGTritoneFilter(t, r) { (this || e).filterManager = r; var i = createNS("feColorMatrix"); i.setAttribute("type", "matrix"), i.setAttribute("color-interpolation-filters", "linearRGB"), i.setAttribute( "values", "0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0" ), i.setAttribute("result", "f1"), t.appendChild(i); var a = createNS("feComponentTransfer"); a.setAttribute("color-interpolation-filters", "sRGB"), t.appendChild(a), ((this || e).matrixFilter = a); var n = createNS("feFuncR"); n.setAttribute("type", "table"), a.appendChild(n), ((this || e).feFuncR = n); var s = createNS("feFuncG"); s.setAttribute("type", "table"), a.appendChild(s), ((this || e).feFuncG = s); var l = createNS("feFuncB"); l.setAttribute("type", "table"), a.appendChild(l), ((this || e).feFuncB = l); } SVGTritoneFilter.prototype.renderFrame = function (t) { if (t || (this || e).filterManager._mdf) { var r = (this || e).filterManager.effectElements[0].p.v, i = (this || e).filterManager.effectElements[1].p.v, a = (this || e).filterManager.effectElements[2].p.v, n = a[0] + " " + i[0] + " " + r[0], s = a[1] + " " + i[1] + " " + r[1], l = a[2] + " " + i[2] + " " + r[2]; (this || e).feFuncR.setAttribute("tableValues", n), (this || e).feFuncG.setAttribute("tableValues", s), (this || e).feFuncB.setAttribute("tableValues", l); } }; function SVGProLevelsFilter(t, r) { (this || e).filterManager = r; var i = (this || e).filterManager.effectElements, a = createNS("feComponentTransfer"); (i[10].p.k || i[10].p.v !== 0 || i[11].p.k || i[11].p.v !== 1 || i[12].p.k || i[12].p.v !== 1 || i[13].p.k || i[13].p.v !== 0 || i[14].p.k || i[14].p.v !== 1) && ((this || e).feFuncR = this.createFeFunc("feFuncR", a)), (i[17].p.k || i[17].p.v !== 0 || i[18].p.k || i[18].p.v !== 1 || i[19].p.k || i[19].p.v !== 1 || i[20].p.k || i[20].p.v !== 0 || i[21].p.k || i[21].p.v !== 1) && ((this || e).feFuncG = this.createFeFunc("feFuncG", a)), (i[24].p.k || i[24].p.v !== 0 || i[25].p.k || i[25].p.v !== 1 || i[26].p.k || i[26].p.v !== 1 || i[27].p.k || i[27].p.v !== 0 || i[28].p.k || i[28].p.v !== 1) && ((this || e).feFuncB = this.createFeFunc("feFuncB", a)), (i[31].p.k || i[31].p.v !== 0 || i[32].p.k || i[32].p.v !== 1 || i[33].p.k || i[33].p.v !== 1 || i[34].p.k || i[34].p.v !== 0 || i[35].p.k || i[35].p.v !== 1) && ((this || e).feFuncA = this.createFeFunc("feFuncA", a)), ((this || e).feFuncR || (this || e).feFuncG || (this || e).feFuncB || (this || e).feFuncA) && (a.setAttribute("color-interpolation-filters", "sRGB"), t.appendChild(a), (a = createNS("feComponentTransfer"))), (i[3].p.k || i[3].p.v !== 0 || i[4].p.k || i[4].p.v !== 1 || i[5].p.k || i[5].p.v !== 1 || i[6].p.k || i[6].p.v !== 0 || i[7].p.k || i[7].p.v !== 1) && (a.setAttribute("color-interpolation-filters", "sRGB"), t.appendChild(a), ((this || e).feFuncRComposed = this.createFeFunc("feFuncR", a)), ((this || e).feFuncGComposed = this.createFeFunc("feFuncG", a)), ((this || e).feFuncBComposed = this.createFeFunc("feFuncB", a))); } (SVGProLevelsFilter.prototype.createFeFunc = function (t, r) { var i = createNS(t); return i.setAttribute("type", "table"), r.appendChild(i), i; }), (SVGProLevelsFilter.prototype.getTableValue = function (t, r, i, a, n) { for ( var s = 0, l = 256, v, y = Math.min(t, r), g = Math.max(t, r), w = Array.call(null, { length: l }), x, p = 0, u = n - a, C = r - t; s <= 256; ) (v = s / 256), v <= y ? (x = C < 0 ? n : a) : v >= g ? (x = C < 0 ? a : n) : (x = a + u * Math.pow((v - t) / C, 1 / i)), (w[p] = x), (p += 1), (s += 256 / (l - 1)); return w.join(" "); }), (SVGProLevelsFilter.prototype.renderFrame = function (t) { if (t || (this || e).filterManager._mdf) { var r, i = (this || e).filterManager.effectElements; (this || e).feFuncRComposed && (t || i[3].p._mdf || i[4].p._mdf || i[5].p._mdf || i[6].p._mdf || i[7].p._mdf) && ((r = this.getTableValue( i[3].p.v, i[4].p.v, i[5].p.v, i[6].p.v, i[7].p.v )), (this || e).feFuncRComposed.setAttribute("tableValues", r), (this || e).feFuncGComposed.setAttribute("tableValues", r), (this || e).feFuncBComposed.setAttribute("tableValues", r)), (this || e).feFuncR && (t || i[10].p._mdf || i[11].p._mdf || i[12].p._mdf || i[13].p._mdf || i[14].p._mdf) && ((r = this.getTableValue( i[10].p.v, i[11].p.v, i[12].p.v, i[13].p.v, i[14].p.v )), (this || e).feFuncR.setAttribute("tableValues", r)), (this || e).feFuncG && (t || i[17].p._mdf || i[18].p._mdf || i[19].p._mdf || i[20].p._mdf || i[21].p._mdf) && ((r = this.getTableValue( i[17].p.v, i[18].p.v, i[19].p.v, i[20].p.v, i[21].p.v )), (this || e).feFuncG.setAttribute("tableValues", r)), (this || e).feFuncB && (t || i[24].p._mdf || i[25].p._mdf || i[26].p._mdf || i[27].p._mdf || i[28].p._mdf) && ((r = this.getTableValue( i[24].p.v, i[25].p.v, i[26].p.v, i[27].p.v, i[28].p.v )), (this || e).feFuncB.setAttribute("tableValues", r)), (this || e).feFuncA && (t || i[31].p._mdf || i[32].p._mdf || i[33].p._mdf || i[34].p._mdf || i[35].p._mdf) && ((r = this.getTableValue( i[31].p.v, i[32].p.v, i[33].p.v, i[34].p.v, i[35].p.v )), (this || e).feFuncA.setAttribute("tableValues", r)); } }); function SVGDropShadowEffect(t, r) { var i = r.container.globalData.renderConfig.filterSize; t.setAttribute("x", i.x), t.setAttribute("y", i.y), t.setAttribute("width", i.width), t.setAttribute("height", i.height), ((this || e).filterManager = r); var a = createNS("feGaussianBlur"); a.setAttribute("in", "SourceAlpha"), a.setAttribute("result", "drop_shadow_1"), a.setAttribute("stdDeviation", "0"), ((this || e).feGaussianBlur = a), t.appendChild(a); var n = createNS("feOffset"); n.setAttribute("dx", "25"), n.setAttribute("dy", "0"), n.setAttribute("in", "drop_shadow_1"), n.setAttribute("result", "drop_shadow_2"), ((this || e).feOffset = n), t.appendChild(n); var s = createNS("feFlood"); s.setAttribute("flood-color", "#00ff00"), s.setAttribute("flood-opacity", "1"), s.setAttribute("result", "drop_shadow_3"), ((this || e).feFlood = s), t.appendChild(s); var l = createNS("feComposite"); l.setAttribute("in", "drop_shadow_3"), l.setAttribute("in2", "drop_shadow_2"), l.setAttribute("operator", "in"), l.setAttribute("result", "drop_shadow_4"), t.appendChild(l); var v = createNS("feMerge"); t.appendChild(v); var y; (y = createNS("feMergeNode")), v.appendChild(y), (y = createNS("feMergeNode")), y.setAttribute("in", "SourceGraphic"), ((this || e).feMergeNode = y), ((this || e).feMerge = v), ((this || e).originalNodeAdded = !1), v.appendChild(y); } SVGDropShadowEffect.prototype.renderFrame = function (t) { if (t || (this || e).filterManager._mdf) { if ( ((t || (this || e).filterManager.effectElements[4].p._mdf) && (this || e).feGaussianBlur.setAttribute( "stdDeviation", (this || e).filterManager.effectElements[4].p.v / 4 ), t || (this || e).filterManager.effectElements[0].p._mdf) ) { var r = (this || e).filterManager.effectElements[0].p.v; (this || e).feFlood.setAttribute( "flood-color", rgbToHex( Math.round(r[0] * 255), Math.round(r[1] * 255), Math.round(r[2] * 255) ) ); } if ( ((t || (this || e).filterManager.effectElements[1].p._mdf) && (this || e).feFlood.setAttribute( "flood-opacity", (this || e).filterManager.effectElements[1].p.v / 255 ), t || (this || e).filterManager.effectElements[2].p._mdf || (this || e).filterManager.effectElements[3].p._mdf) ) { var i = (this || e).filterManager.effectElements[3].p.v, a = ((this || e).filterManager.effectElements[2].p.v - 90) * degToRads, n = i * Math.cos(a), s = i * Math.sin(a); (this || e).feOffset.setAttribute("dx", n), (this || e).feOffset.setAttribute("dy", s); } } }; var _svgMatteSymbols = []; function SVGMatte3Effect(t, r, i) { ((this || e).initialized = !1), ((this || e).filterManager = r), ((this || e).filterElem = t), ((this || e).elem = i), (i.matteElement = createNS("g")), i.matteElement.appendChild(i.layerElement), i.matteElement.appendChild(i.transformedElement), (i.baseElement = i.matteElement); } (SVGMatte3Effect.prototype.findSymbol = function (t) { for (var r = 0, i = _svgMatteSymbols.length; r < i; ) { if (_svgMatteSymbols[r] === t) return _svgMatteSymbols[r]; r += 1; } return null; }), (SVGMatte3Effect.prototype.replaceInParent = function (t, r) { var i = t.layerElement.parentNode; if (i) { for ( var a = i.children, n = 0, s = a.length; n < s && a[n] !== t.layerElement; ) n += 1; var l; n <= s - 2 && (l = a[n + 1]); var v = createNS("use"); v.setAttribute("href", "#" + r), l ? i.insertBefore(v, l) : i.appendChild(v); } }), (SVGMatte3Effect.prototype.setElementAsMask = function (t, r) { if (!this.findSymbol(r)) { var i = createElementID(), a = createNS("mask"); a.setAttribute("id", r.layerId), a.setAttribute("mask-type", "alpha"), _svgMatteSymbols.push(r); var n = t.globalData.defs; n.appendChild(a); var s = createNS("symbol"); s.setAttribute("id", i), this.replaceInParent(r, i), s.appendChild(r.layerElement), n.appendChild(s); var l = createNS("use"); l.setAttribute("href", "#" + i), a.appendChild(l), (r.data.hd = !1), r.show(); } t.setMatte(r.layerId); }), (SVGMatte3Effect.prototype.initialize = function () { for ( var t = (this || e).filterManager.effectElements[0].p.v, r = (this || e).elem.comp.elements, i = 0, a = r.length; i < a; ) r[i] && r[i].data.ind === t && this.setElementAsMask((this || e).elem, r[i]), (i += 1); (this || e).initialized = !0; }), (SVGMatte3Effect.prototype.renderFrame = function () { (this || e).initialized || this.initialize(); }); function SVGEffects(t) { var r, i = t.data.ef ? t.data.ef.length : 0, a = createElementID(), n = filtersFactory.createFilter(a, !0), s = 0; (this || e).filters = []; var l; for (r = 0; r < i; r += 1) (l = null), t.data.ef[r].ty === 20 ? ((s += 1), (l = new SVGTintFilter(n, t.effectsManager.effectElements[r]))) : t.data.ef[r].ty === 21 ? ((s += 1), (l = new SVGFillFilter(n, t.effectsManager.effectElements[r]))) : t.data.ef[r].ty === 22 ? (l = new SVGStrokeEffect(t, t.effectsManager.effectElements[r])) : t.data.ef[r].ty === 23 ? ((s += 1), (l = new SVGTritoneFilter(n, t.effectsManager.effectElements[r]))) : t.data.ef[r].ty === 24 ? ((s += 1), (l = new SVGProLevelsFilter( n, t.effectsManager.effectElements[r] ))) : t.data.ef[r].ty === 25 ? ((s += 1), (l = new SVGDropShadowEffect( n, t.effectsManager.effectElements[r] ))) : t.data.ef[r].ty === 28 ? (l = new SVGMatte3Effect( n, t.effectsManager.effectElements[r], t )) : t.data.ef[r].ty === 29 && ((s += 1), (l = new SVGGaussianBlurEffect( n, t.effectsManager.effectElements[r] ))), l && (this || e).filters.push(l); s && (t.globalData.defs.appendChild(n), t.layerElement.setAttribute( "filter", "url(" + locationHref + "#" + a + ")" )), (this || e).filters.length && t.addRenderableComponent(this || e); } SVGEffects.prototype.renderFrame = function (t) { var r, i = (this || e).filters.length; for (r = 0; r < i; r += 1) (this || e).filters[r].renderFrame(t); }; function CVContextData() { ((this || e).saved = []), ((this || e).cArrPos = 0), ((this || e).cTr = new Matrix()), ((this || e).cO = 1); var t, r = 15; for ( (this || e).savedOp = createTypedArray("float32", r), t = 0; t < r; t += 1 ) (this || e).saved[t] = createTypedArray("float32", 16); (this || e)._length = r; } (CVContextData.prototype.duplicate = function () { var t = (this || e)._length * 2, r = (this || e).savedOp; ((this || e).savedOp = createTypedArray("float32", t)), (this || e).savedOp.set(r); var i = 0; for (i = (this || e)._length; i < t; i += 1) (this || e).saved[i] = createTypedArray("float32", 16); (this || e)._length = t; }), (CVContextData.prototype.reset = function () { ((this || e).cArrPos = 0), (this || e).cTr.reset(), ((this || e).cO = 1); }); function CVBaseElement() {} (CVBaseElement.prototype = { createElements: function () {}, initRendererElement: function () {}, createContainerElements: function () { ((this || e).canvasContext = (this || e).globalData.canvasContext), ((this || e).renderableEffectsManager = new CVEffects(this || e)); }, createContent: function () {}, setBlendMode: function () { var t = (this || e).globalData; if (t.blendMode !== (this || e).data.bm) { t.blendMode = (this || e).data.bm; var r = getBlendMode((this || e).data.bm); t.canvasContext.globalCompositeOperation = r; } }, createRenderableComponents: function () { (this || e).maskManager = new CVMaskElement( (this || e).data, this || e ); }, hideElement: function () { !(this || e).hidden && (!(this || e).isInRange || (this || e).isTransparent) && ((this || e).hidden = !0); }, showElement: function () { (this || e).isInRange && !(this || e).isTransparent && (((this || e).hidden = !1), ((this || e)._isFirstFrame = !0), ((this || e).maskManager._isFirstFrame = !0)); }, renderFrame: function () { if (!((this || e).hidden || (this || e).data.hd)) { this.renderTransform(), this.renderRenderable(), this.setBlendMode(); var t = (this || e).data.ty === 0; (this || e).globalData.renderer.save(t), (this || e).globalData.renderer.ctxTransform( (this || e).finalTransform.mat.props ), (this || e).globalData.renderer.ctxOpacity( (this || e).finalTransform.mProp.o.v ), this.renderInnerContent(), (this || e).globalData.renderer.restore(t), (this || e).maskManager.hasMasks && (this || e).globalData.renderer.restore(!0), (this || e)._isFirstFrame && ((this || e)._isFirstFrame = !1); } }, destroy: function () { ((this || e).canvasContext = null), ((this || e).data = null), ((this || e).globalData = null), (this || e).maskManager.destroy(); }, mHelper: new Matrix(), }), (CVBaseElement.prototype.hide = CVBaseElement.prototype.hideElement), (CVBaseElement.prototype.show = CVBaseElement.prototype.showElement); function CVImageElement(t, r, i) { ((this || e).assetData = r.getAssetData(t.refId)), ((this || e).img = r.imageLoader.getAsset((this || e).assetData)), this.initElement(t, r, i); } extendPrototype( [ BaseElement, TransformElement, CVBaseElement, HierarchyElement, FrameElement, RenderableElement, ], CVImageElement ), (CVImageElement.prototype.initElement = SVGShapeElement.prototype.initElement), (CVImageElement.prototype.prepareFrame = IImageElement.prototype.prepareFrame), (CVImageElement.prototype.createContent = function () { if ( (this || e).img.width && ((this || e).assetData.w !== (this || e).img.width || (this || e).assetData.h !== (this || e).img.height) ) { var t = createTag("canvas"); (t.width = (this || e).assetData.w), (t.height = (this || e).assetData.h); var r = t.getContext("2d"), i = (this || e).img.width, a = (this || e).img.height, n = i / a, s = (this || e).assetData.w / (this || e).assetData.h, l, v, y = (this || e).assetData.pr || (this || e).globalData.renderConfig.imagePreserveAspectRatio; (n > s && y === "xMidYMid slice") || (n < s && y !== "xMidYMid slice") ? ((v = a), (l = v * s)) : ((l = i), (v = l / s)), r.drawImage( (this || e).img, (i - l) / 2, (a - v) / 2, l, v, 0, 0, (this || e).assetData.w, (this || e).assetData.h ), ((this || e).img = t); } }), (CVImageElement.prototype.renderInnerContent = function () { (this || e).canvasContext.drawImage((this || e).img, 0, 0); }), (CVImageElement.prototype.destroy = function () { (this || e).img = null; }); function CVCompElement(t, r, i) { ((this || e).completeLayers = !1), ((this || e).layers = t.layers), ((this || e).pendingElements = []), ((this || e).elements = createSizedArray((this || e).layers.length)), this.initElement(t, r, i), ((this || e).tm = t.tm ? PropertyFactory.getProp(this || e, t.tm, 0, r.frameRate, this || e) : { _placeholder: !0 }); } extendPrototype( [CanvasRenderer, ICompElement, CVBaseElement], CVCompElement ), (CVCompElement.prototype.renderInnerContent = function () { var t = (this || e).canvasContext; t.beginPath(), t.moveTo(0, 0), t.lineTo((this || e).data.w, 0), t.lineTo((this || e).data.w, (this || e).data.h), t.lineTo(0, (this || e).data.h), t.lineTo(0, 0), t.clip(); var r, i = (this || e).layers.length; for (r = i - 1; r >= 0; r -= 1) ((this || e).completeLayers || (this || e).elements[r]) && (this || e).elements[r].renderFrame(); }), (CVCompElement.prototype.destroy = function () { var t, r = (this || e).layers.length; for (t = r - 1; t >= 0; t -= 1) (this || e).elements[t] && (this || e).elements[t].destroy(); ((this || e).layers = null), ((this || e).elements = null); }); function CVMaskElement(t, r) { ((this || e).data = t), ((this || e).element = r), ((this || e).masksProperties = (this || e).data.masksProperties || []), ((this || e).viewData = createSizedArray( (this || e).masksProperties.length )); var i, a = (this || e).masksProperties.length, n = !1; for (i = 0; i < a; i += 1) (this || e).masksProperties[i].mode !== "n" && (n = !0), ((this || e).viewData[i] = ShapePropertyFactory.getShapeProp( (this || e).element, (this || e).masksProperties[i], 3 )); ((this || e).hasMasks = n), n && (this || e).element.addRenderableComponent(this || e); } (CVMaskElement.prototype.renderFrame = function () { if ((this || e).hasMasks) { var t = (this || e).element.finalTransform.mat, r = (this || e).element.canvasContext, i, a = (this || e).masksProperties.length, n, s, l; for (r.beginPath(), i = 0; i < a; i += 1) if ((this || e).masksProperties[i].mode !== "n") { (this || e).masksProperties[i].inv && (r.moveTo(0, 0), r.lineTo((this || e).element.globalData.compSize.w, 0), r.lineTo( (this || e).element.globalData.compSize.w, (this || e).element.globalData.compSize.h ), r.lineTo(0, (this || e).element.globalData.compSize.h), r.lineTo(0, 0)), (l = (this || e).viewData[i].v), (n = t.applyToPointArray(l.v[0][0], l.v[0][1], 0)), r.moveTo(n[0], n[1]); var v, y = l._length; for (v = 1; v < y; v += 1) (s = t.applyToTriplePoints(l.o[v - 1], l.i[v], l.v[v])), r.bezierCurveTo(s[0], s[1], s[2], s[3], s[4], s[5]); (s = t.applyToTriplePoints(l.o[v - 1], l.i[0], l.v[0])), r.bezierCurveTo(s[0], s[1], s[2], s[3], s[4], s[5]); } (this || e).element.globalData.renderer.save(!0), r.clip(); } }), (CVMaskElement.prototype.getMaskProperty = MaskElement.prototype.getMaskProperty), (CVMaskElement.prototype.destroy = function () { (this || e).element = null; }); function CVShapeElement(t, r, i) { ((this || e).shapes = []), ((this || e).shapesData = t.shapes), ((this || e).stylesList = []), ((this || e).itemsData = []), ((this || e).prevViewData = []), ((this || e).shapeModifiers = []), ((this || e).processedElements = []), ((this || e).transformsManager = new ShapeTransformManager()), this.initElement(t, r, i); } extendPrototype( [ BaseElement, TransformElement, CVBaseElement, IShapeElement, HierarchyElement, FrameElement, RenderableElement, ], CVShapeElement ), (CVShapeElement.prototype.initElement = RenderableDOMElement.prototype.initElement), (CVShapeElement.prototype.transformHelper = { opacity: 1, _opMdf: !1 }), (CVShapeElement.prototype.dashResetter = []), (CVShapeElement.prototype.createContent = function () { this.searchShapes( (this || e).shapesData, (this || e).itemsData, (this || e).prevViewData, !0, [] ); }), (CVShapeElement.prototype.createStyleElement = function (t, r) { var i = { data: t, type: t.ty, preTransforms: (this || e).transformsManager.addTransformSequence( r ), transforms: [], elements: [], closed: t.hd === !0, }, a = {}; if ( (t.ty === "fl" || t.ty === "st" ? ((a.c = PropertyFactory.getProp( this || e, t.c, 1, 255, this || e )), a.c.k || (i.co = "rgb(" + bmFloor(a.c.v[0]) + "," + bmFloor(a.c.v[1]) + "," + bmFloor(a.c.v[2]) + ")")) : (t.ty === "gf" || t.ty === "gs") && ((a.s = PropertyFactory.getProp( this || e, t.s, 1, null, this || e )), (a.e = PropertyFactory.getProp( this || e, t.e, 1, null, this || e )), (a.h = PropertyFactory.getProp( this || e, t.h || { k: 0 }, 0, 0.01, this || e )), (a.a = PropertyFactory.getProp( this || e, t.a || { k: 0 }, 0, degToRads, this || e )), (a.g = new GradientProperty(this || e, t.g, this || e))), (a.o = PropertyFactory.getProp(this || e, t.o, 0, 0.01, this || e)), t.ty === "st" || t.ty === "gs") ) { if ( ((i.lc = (this || e).lcEnum[t.lc] || "round"), (i.lj = (this || e).ljEnum[t.lj] || "round"), t.lj == 1 && (i.ml = t.ml), (a.w = PropertyFactory.getProp(this || e, t.w, 0, null, this || e)), a.w.k || (i.wi = a.w.v), t.d) ) { var n = new DashProperty(this || e, t.d, "canvas", this || e); (a.d = n), a.d.k || ((i.da = a.d.dashArray), (i.do = a.d.dashoffset[0])); } } else i.r = t.r === 2 ? "evenodd" : "nonzero"; return (this || e).stylesList.push(i), (a.style = i), a; }), (CVShapeElement.prototype.createGroupElement = function () { var t = { it: [], prevViewData: [] }; return t; }), (CVShapeElement.prototype.createTransformElement = function (t) { var r = { transform: { opacity: 1, _opMdf: !1, key: (this || e).transformsManager.getNewKey(), op: PropertyFactory.getProp(this || e, t.o, 0, 0.01, this || e), mProps: TransformPropertyFactory.getTransformProperty( this || e, t, this || e ), }, }; return r; }), (CVShapeElement.prototype.createShapeElement = function (t) { var r = new CVShapeData( this || e, t, (this || e).stylesList, (this || e).transformsManager ); return (this || e).shapes.push(r), this.addShapeToModifiers(r), r; }), (CVShapeElement.prototype.reloadShapes = function () { (this || e)._isFirstFrame = !0; var t, r = (this || e).itemsData.length; for (t = 0; t < r; t += 1) (this || e).prevViewData[t] = (this || e).itemsData[t]; for ( this.searchShapes( (this || e).shapesData, (this || e).itemsData, (this || e).prevViewData, !0, [] ), r = (this || e).dynamicProperties.length, t = 0; t < r; t += 1 ) (this || e).dynamicProperties[t].getValue(); this.renderModifiers(), (this || e).transformsManager.processSequences( (this || e)._isFirstFrame ); }), (CVShapeElement.prototype.addTransformToStyleList = function (t) { var r, i = (this || e).stylesList.length; for (r = 0; r < i; r += 1) (this || e).stylesList[r].closed || (this || e).stylesList[r].transforms.push(t); }), (CVShapeElement.prototype.removeTransformFromStyleList = function () { var t, r = (this || e).stylesList.length; for (t = 0; t < r; t += 1) (this || e).stylesList[t].closed || (this || e).stylesList[t].transforms.pop(); }), (CVShapeElement.prototype.closeStyles = function (t) { var r, i = t.length; for (r = 0; r < i; r += 1) t[r].closed = !0; }), (CVShapeElement.prototype.searchShapes = function (t, r, i, a, n) { var s, l = t.length - 1, v, y, g = [], w = [], x, p, u, C = [].concat(n); for (s = l; s >= 0; s -= 1) { if ( ((x = this.searchProcessedElement(t[s])), x ? (r[s] = i[x - 1]) : (t[s]._shouldRender = a), t[s].ty === "fl" || t[s].ty === "st" || t[s].ty === "gf" || t[s].ty === "gs") ) x ? (r[s].style.closed = !1) : (r[s] = this.createStyleElement(t[s], C)), g.push(r[s].style); else if (t[s].ty === "gr") { if (!x) r[s] = this.createGroupElement(t[s]); else for (y = r[s].it.length, v = 0; v < y; v += 1) r[s].prevViewData[v] = r[s].it[v]; this.searchShapes(t[s].it, r[s].it, r[s].prevViewData, a, C); } else t[s].ty === "tr" ? (x || ((u = this.createTransformElement(t[s])), (r[s] = u)), C.push(r[s]), this.addTransformToStyleList(r[s])) : t[s].ty === "sh" || t[s].ty === "rc" || t[s].ty === "el" || t[s].ty === "sr" ? x || (r[s] = this.createShapeElement(t[s])) : t[s].ty === "tm" || t[s].ty === "rd" || t[s].ty === "pb" ? (x ? ((p = r[s]), (p.closed = !1)) : ((p = ShapeModifiers.getModifier(t[s].ty)), p.init(this || e, t[s]), (r[s] = p), (this || e).shapeModifiers.push(p)), w.push(p)) : t[s].ty === "rp" && (x ? ((p = r[s]), (p.closed = !0)) : ((p = ShapeModifiers.getModifier(t[s].ty)), (r[s] = p), p.init(this || e, t, s, r), (this || e).shapeModifiers.push(p), (a = !1)), w.push(p)); this.addProcessedElement(t[s], s + 1); } for ( this.removeTransformFromStyleList(), this.closeStyles(g), l = w.length, s = 0; s < l; s += 1 ) w[s].closed = !0; }), (CVShapeElement.prototype.renderInnerContent = function () { ((this || e).transformHelper.opacity = 1), ((this || e).transformHelper._opMdf = !1), this.renderModifiers(), (this || e).transformsManager.processSequences( (this || e)._isFirstFrame ), this.renderShape( (this || e).transformHelper, (this || e).shapesData, (this || e).itemsData, !0 ); }), (CVShapeElement.prototype.renderShapeTransform = function (t, r) { (t._opMdf || r.op._mdf || (this || e)._isFirstFrame) && ((r.opacity = t.opacity), (r.opacity *= r.op.v), (r._opMdf = !0)); }), (CVShapeElement.prototype.drawLayer = function () { var t, r = (this || e).stylesList.length, i, a, n, s, l, v, y = (this || e).globalData.renderer, g = (this || e).globalData.canvasContext, w, x; for (t = 0; t < r; t += 1) if ( ((x = (this || e).stylesList[t]), (w = x.type), !( ((w === "st" || w === "gs") && x.wi === 0) || !x.data._shouldRender || x.coOp === 0 || (this || e).globalData.currentGlobalAlpha === 0 )) ) { for ( y.save(), l = x.elements, w === "st" || w === "gs" ? ((g.strokeStyle = w === "st" ? x.co : x.grd), (g.lineWidth = x.wi), (g.lineCap = x.lc), (g.lineJoin = x.lj), (g.miterLimit = x.ml || 0)) : (g.fillStyle = w === "fl" ? x.co : x.grd), y.ctxOpacity(x.coOp), w !== "st" && w !== "gs" && g.beginPath(), y.ctxTransform(x.preTransforms.finalTransform.props), a = l.length, i = 0; i < a; i += 1 ) { for ( (w === "st" || w === "gs") && (g.beginPath(), x.da && (g.setLineDash(x.da), (g.lineDashOffset = x.do))), v = l[i].trNodes, s = v.length, n = 0; n < s; n += 1 ) v[n].t === "m" ? g.moveTo(v[n].p[0], v[n].p[1]) : v[n].t === "c" ? g.bezierCurveTo( v[n].pts[0], v[n].pts[1], v[n].pts[2], v[n].pts[3], v[n].pts[4], v[n].pts[5] ) : g.closePath(); (w === "st" || w === "gs") && (g.stroke(), x.da && g.setLineDash((this || e).dashResetter)); } w !== "st" && w !== "gs" && g.fill(x.r), y.restore(); } }), (CVShapeElement.prototype.renderShape = function (t, r, i, a) { var n, s = r.length - 1, l; for (l = t, n = s; n >= 0; n -= 1) r[n].ty === "tr" ? ((l = i[n].transform), this.renderShapeTransform(t, l)) : r[n].ty === "sh" || r[n].ty === "el" || r[n].ty === "rc" || r[n].ty === "sr" ? this.renderPath(r[n], i[n]) : r[n].ty === "fl" ? this.renderFill(r[n], i[n], l) : r[n].ty === "st" ? this.renderStroke(r[n], i[n], l) : r[n].ty === "gf" || r[n].ty === "gs" ? this.renderGradientFill(r[n], i[n], l) : r[n].ty === "gr" ? this.renderShape(l, r[n].it, i[n].it) : r[n].ty; a && this.drawLayer(); }), (CVShapeElement.prototype.renderStyledShape = function (t, r) { if ((this || e)._isFirstFrame || r._mdf || t.transforms._mdf) { var i = t.trNodes, a = r.paths, n, s, l, v = a._length; i.length = 0; var y = t.transforms.finalTransform; for (l = 0; l < v; l += 1) { var g = a.shapes[l]; if (g && g.v) { for (s = g._length, n = 1; n < s; n += 1) n === 1 && i.push({ t: "m", p: y.applyToPointArray(g.v[0][0], g.v[0][1], 0), }), i.push({ t: "c", pts: y.applyToTriplePoints(g.o[n - 1], g.i[n], g.v[n]), }); s === 1 && i.push({ t: "m", p: y.applyToPointArray(g.v[0][0], g.v[0][1], 0), }), g.c && s && (i.push({ t: "c", pts: y.applyToTriplePoints(g.o[n - 1], g.i[0], g.v[0]), }), i.push({ t: "z" })); } } t.trNodes = i; } }), (CVShapeElement.prototype.renderPath = function (t, r) { if (t.hd !== !0 && t._shouldRender) { var i, a = r.styledShapes.length; for (i = 0; i < a; i += 1) this.renderStyledShape(r.styledShapes[i], r.sh); } }), (CVShapeElement.prototype.renderFill = function (t, r, i) { var a = r.style; (r.c._mdf || (this || e)._isFirstFrame) && (a.co = "rgb(" + bmFloor(r.c.v[0]) + "," + bmFloor(r.c.v[1]) + "," + bmFloor(r.c.v[2]) + ")"), (r.o._mdf || i._opMdf || (this || e)._isFirstFrame) && (a.coOp = r.o.v * i.opacity); }), (CVShapeElement.prototype.renderGradientFill = function (t, r, i) { var a = r.style, n; if ( !a.grd || r.g._mdf || r.s._mdf || r.e._mdf || (t.t !== 1 && (r.h._mdf || r.a._mdf)) ) { var s = (this || e).globalData.canvasContext, l = r.s.v, v = r.e.v; if (t.t === 1) n = s.createLinearGradient(l[0], l[1], v[0], v[1]); else { var y = Math.sqrt( Math.pow(l[0] - v[0], 2) + Math.pow(l[1] - v[1], 2) ), g = Math.atan2(v[1] - l[1], v[0] - l[0]), w = r.h.v; w >= 1 ? (w = 0.99) : w <= -1 && (w = -0.99); var x = y * w, p = Math.cos(g + r.a.v) * x + l[0], u = Math.sin(g + r.a.v) * x + l[1]; n = s.createRadialGradient(p, u, 0, l[0], l[1], y); } var C, c = t.g.p, h = r.g.c, m = 1; for (C = 0; C < c; C += 1) r.g._hasOpacity && r.g._collapsable && (m = r.g.o[C * 2 + 1]), n.addColorStop( h[C * 4] / 100, "rgba(" + h[C * 4 + 1] + "," + h[C * 4 + 2] + "," + h[C * 4 + 3] + "," + m + ")" ); a.grd = n; } a.coOp = r.o.v * i.opacity; }), (CVShapeElement.prototype.renderStroke = function (t, r, i) { var a = r.style, n = r.d; n && (n._mdf || (this || e)._isFirstFrame) && ((a.da = n.dashArray), (a.do = n.dashoffset[0])), (r.c._mdf || (this || e)._isFirstFrame) && (a.co = "rgb(" + bmFloor(r.c.v[0]) + "," + bmFloor(r.c.v[1]) + "," + bmFloor(r.c.v[2]) + ")"), (r.o._mdf || i._opMdf || (this || e)._isFirstFrame) && (a.coOp = r.o.v * i.opacity), (r.w._mdf || (this || e)._isFirstFrame) && (a.wi = r.w.v); }), (CVShapeElement.prototype.destroy = function () { ((this || e).shapesData = null), ((this || e).globalData = null), ((this || e).canvasContext = null), ((this || e).stylesList.length = 0), ((this || e).itemsData.length = 0); }); function CVSolidElement(t, r, i) { this.initElement(t, r, i); } extendPrototype( [ BaseElement, TransformElement, CVBaseElement, HierarchyElement, FrameElement, RenderableElement, ], CVSolidElement ), (CVSolidElement.prototype.initElement = SVGShapeElement.prototype.initElement), (CVSolidElement.prototype.prepareFrame = IImageElement.prototype.prepareFrame), (CVSolidElement.prototype.renderInnerContent = function () { var t = (this || e).canvasContext; (t.fillStyle = (this || e).data.sc), t.fillRect(0, 0, (this || e).data.sw, (this || e).data.sh); }); function CVTextElement(t, r, i) { ((this || e).textSpans = []), ((this || e).yOffset = 0), ((this || e).fillColorAnim = !1), ((this || e).strokeColorAnim = !1), ((this || e).strokeWidthAnim = !1), ((this || e).stroke = !1), ((this || e).fill = !1), ((this || e).justifyOffset = 0), ((this || e).currentRender = null), ((this || e).renderType = "canvas"), ((this || e).values = { fill: "rgba(0,0,0,0)", stroke: "rgba(0,0,0,0)", sWidth: 0, fValue: "", }), this.initElement(t, r, i); } extendPrototype( [ BaseElement, TransformElement, CVBaseElement, HierarchyElement, FrameElement, RenderableElement, ITextElement, ], CVTextElement ), (CVTextElement.prototype.tHelper = createTag("canvas").getContext("2d")), (CVTextElement.prototype.buildNewText = function () { var t = (this || e).textProperty.currentData; (this || e).renderedLetters = createSizedArray(t.l ? t.l.length : 0); var r = !1; t.fc ? ((r = !0), ((this || e).values.fill = this.buildColor(t.fc))) : ((this || e).values.fill = "rgba(0,0,0,0)"), ((this || e).fill = r); var i = !1; t.sc && ((i = !0), ((this || e).values.stroke = this.buildColor(t.sc)), ((this || e).values.sWidth = t.sw)); var a = (this || e).globalData.fontManager.getFontByName(t.f), n, s, l = t.l, v = (this || e).mHelper; ((this || e).stroke = i), ((this || e).values.fValue = t.finalSize + "px " + (this || e).globalData.fontManager.getFontByName(t.f).fFamily), (s = t.finalText.length); var y, g, w, x, p, u, C, c, h, m, o = (this || e).data.singleShape, f = t.tr * 0.001 * t.finalSize, d = 0, b = 0, A = !0, E = 0; for (n = 0; n < s; n += 1) { for ( y = (this || e).globalData.fontManager.getCharData( t.finalText[n], a.fStyle, (this || e).globalData.fontManager.getFontByName(t.f).fFamily ), g = (y && y.data) || {}, v.reset(), o && l[n].n && ((d = -f), (b += t.yOffset), (b += A ? 1 : 0), (A = !1)), p = g.shapes ? g.shapes[0].it : [], C = p.length, v.scale(t.finalSize / 100, t.finalSize / 100), o && this.applyTextPropertiesToMatrix(t, v, l[n].line, d, b), h = createSizedArray(C), u = 0; u < C; u += 1 ) { for ( x = p[u].ks.k.i.length, c = p[u].ks.k, m = [], w = 1; w < x; w += 1 ) w === 1 && m.push( v.applyToX(c.v[0][0], c.v[0][1], 0), v.applyToY(c.v[0][0], c.v[0][1], 0) ), m.push( v.applyToX(c.o[w - 1][0], c.o[w - 1][1], 0), v.applyToY(c.o[w - 1][0], c.o[w - 1][1], 0), v.applyToX(c.i[w][0], c.i[w][1], 0), v.applyToY(c.i[w][0], c.i[w][1], 0), v.applyToX(c.v[w][0], c.v[w][1], 0), v.applyToY(c.v[w][0], c.v[w][1], 0) ); m.push( v.applyToX(c.o[w - 1][0], c.o[w - 1][1], 0), v.applyToY(c.o[w - 1][0], c.o[w - 1][1], 0), v.applyToX(c.i[0][0], c.i[0][1], 0), v.applyToY(c.i[0][0], c.i[0][1], 0), v.applyToX(c.v[0][0], c.v[0][1], 0), v.applyToY(c.v[0][0], c.v[0][1], 0) ), (h[u] = m); } o && ((d += l[n].l), (d += f)), (this || e).textSpans[E] ? ((this || e).textSpans[E].elem = h) : ((this || e).textSpans[E] = { elem: h }), (E += 1); } }), (CVTextElement.prototype.renderInnerContent = function () { var t = (this || e).canvasContext; (t.font = (this || e).values.fValue), (t.lineCap = "butt"), (t.lineJoin = "miter"), (t.miterLimit = 4), (this || e).data.singleShape || (this || e).textAnimator.getMeasures( (this || e).textProperty.currentData, (this || e).lettersChangedFlag ); var r, i, a, n, s, l, v = (this || e).textAnimator.renderedLetters, y = (this || e).textProperty.currentData.l; i = y.length; var g, w = null, x = null, p = null, u, C; for (r = 0; r < i; r += 1) if (!y[r].n) { if ( ((g = v[r]), g && ((this || e).globalData.renderer.save(), (this || e).globalData.renderer.ctxTransform(g.p), (this || e).globalData.renderer.ctxOpacity(g.o)), (this || e).fill) ) { for ( g && g.fc ? w !== g.fc && ((w = g.fc), (t.fillStyle = g.fc)) : w !== (this || e).values.fill && ((w = (this || e).values.fill), (t.fillStyle = (this || e).values.fill)), u = (this || e).textSpans[r].elem, n = u.length, (this || e).globalData.canvasContext.beginPath(), a = 0; a < n; a += 1 ) for ( C = u[a], l = C.length, (this || e).globalData.canvasContext.moveTo(C[0], C[1]), s = 2; s < l; s += 6 ) (this || e).globalData.canvasContext.bezierCurveTo( C[s], C[s + 1], C[s + 2], C[s + 3], C[s + 4], C[s + 5] ); (this || e).globalData.canvasContext.closePath(), (this || e).globalData.canvasContext.fill(); } if ((this || e).stroke) { for ( g && g.sw ? p !== g.sw && ((p = g.sw), (t.lineWidth = g.sw)) : p !== (this || e).values.sWidth && ((p = (this || e).values.sWidth), (t.lineWidth = (this || e).values.sWidth)), g && g.sc ? x !== g.sc && ((x = g.sc), (t.strokeStyle = g.sc)) : x !== (this || e).values.stroke && ((x = (this || e).values.stroke), (t.strokeStyle = (this || e).values.stroke)), u = (this || e).textSpans[r].elem, n = u.length, (this || e).globalData.canvasContext.beginPath(), a = 0; a < n; a += 1 ) for ( C = u[a], l = C.length, (this || e).globalData.canvasContext.moveTo(C[0], C[1]), s = 2; s < l; s += 6 ) (this || e).globalData.canvasContext.bezierCurveTo( C[s], C[s + 1], C[s + 2], C[s + 3], C[s + 4], C[s + 5] ); (this || e).globalData.canvasContext.closePath(), (this || e).globalData.canvasContext.stroke(); } g && (this || e).globalData.renderer.restore(); } }); function CVEffects() {} CVEffects.prototype.renderFrame = function () {}; function HBaseElement() {} (HBaseElement.prototype = { checkBlendMode: function () {}, initRendererElement: function () { ((this || e).baseElement = createTag((this || e).data.tg || "div")), (this || e).data.hasMask ? (((this || e).svgElement = createNS("svg")), ((this || e).layerElement = createNS("g")), ((this || e).maskedElement = (this || e).layerElement), (this || e).svgElement.appendChild((this || e).layerElement), (this || e).baseElement.appendChild((this || e).svgElement)) : ((this || e).layerElement = (this || e).baseElement), styleDiv((this || e).baseElement); }, createContainerElements: function () { ((this || e).renderableEffectsManager = new CVEffects(this || e)), ((this || e).transformedElement = (this || e).baseElement), ((this || e).maskedElement = (this || e).layerElement), (this || e).data.ln && (this || e).layerElement.setAttribute("id", (this || e).data.ln), (this || e).data.cl && (this || e).layerElement.setAttribute("class", (this || e).data.cl), (this || e).data.bm !== 0 && this.setBlendMode(); }, renderElement: function () { var t = (this || e).transformedElement ? (this || e).transformedElement.style : {}; if ((this || e).finalTransform._matMdf) { var r = (this || e).finalTransform.mat.toCSS(); (t.transform = r), (t.webkitTransform = r); } (this || e).finalTransform._opMdf && (t.opacity = (this || e).finalTransform.mProp.o.v); }, renderFrame: function () { (this || e).data.hd || (this || e).hidden || (this.renderTransform(), this.renderRenderable(), this.renderElement(), this.renderInnerContent(), (this || e)._isFirstFrame && ((this || e)._isFirstFrame = !1)); }, destroy: function () { ((this || e).layerElement = null), ((this || e).transformedElement = null), (this || e).matteElement && ((this || e).matteElement = null), (this || e).maskManager && ((this || e).maskManager.destroy(), ((this || e).maskManager = null)); }, createRenderableComponents: function () { (this || e).maskManager = new MaskElement( (this || e).data, this || e, (this || e).globalData ); }, addEffects: function () {}, setMatte: function () {}, }), (HBaseElement.prototype.getBaseElement = SVGBaseElement.prototype.getBaseElement), (HBaseElement.prototype.destroyBaseElement = HBaseElement.prototype.destroy), (HBaseElement.prototype.buildElementParenting = HybridRenderer.prototype.buildElementParenting); function HSolidElement(t, r, i) { this.initElement(t, r, i); } extendPrototype( [ BaseElement, TransformElement, HBaseElement, HierarchyElement, FrameElement, RenderableDOMElement, ], HSolidElement ), (HSolidElement.prototype.createContent = function () { var t; (this || e).data.hasMask ? ((t = createNS("rect")), t.setAttribute("width", (this || e).data.sw), t.setAttribute("height", (this || e).data.sh), t.setAttribute("fill", (this || e).data.sc), (this || e).svgElement.setAttribute("width", (this || e).data.sw), (this || e).svgElement.setAttribute("height", (this || e).data.sh)) : ((t = createTag("div")), (t.style.width = (this || e).data.sw + "px"), (t.style.height = (this || e).data.sh + "px"), (t.style.backgroundColor = (this || e).data.sc)), (this || e).layerElement.appendChild(t); }); function HCompElement(t, r, i) { ((this || e).layers = t.layers), ((this || e).supports3d = !t.hasMask), ((this || e).completeLayers = !1), ((this || e).pendingElements = []), ((this || e).elements = (this || e).layers ? createSizedArray((this || e).layers.length) : []), this.initElement(t, r, i), ((this || e).tm = t.tm ? PropertyFactory.getProp(this || e, t.tm, 0, r.frameRate, this || e) : { _placeholder: !0 }); } extendPrototype([HybridRenderer, ICompElement, HBaseElement], HCompElement), (HCompElement.prototype._createBaseContainerElements = HCompElement.prototype.createContainerElements), (HCompElement.prototype.createContainerElements = function () { this._createBaseContainerElements(), (this || e).data.hasMask ? ((this || e).svgElement.setAttribute("width", (this || e).data.w), (this || e).svgElement.setAttribute("height", (this || e).data.h), ((this || e).transformedElement = (this || e).baseElement)) : ((this || e).transformedElement = (this || e).layerElement); }), (HCompElement.prototype.addTo3dContainer = function (t, r) { for (var i = 0, a; i < r; ) (this || e).elements[i] && (this || e).elements[i].getBaseElement && (a = (this || e).elements[i].getBaseElement()), (i += 1); a ? (this || e).layerElement.insertBefore(t, a) : (this || e).layerElement.appendChild(t); }); function HShapeElement(t, r, i) { ((this || e).shapes = []), ((this || e).shapesData = t.shapes), ((this || e).stylesList = []), ((this || e).shapeModifiers = []), ((this || e).itemsData = []), ((this || e).processedElements = []), ((this || e).animatedContents = []), ((this || e).shapesContainer = createNS("g")), this.initElement(t, r, i), ((this || e).prevViewData = []), ((this || e).currentBBox = { x: 999999, y: -999999, h: 0, w: 0 }); } extendPrototype( [ BaseElement, TransformElement, HSolidElement, SVGShapeElement, HBaseElement, HierarchyElement, FrameElement, RenderableElement, ], HShapeElement ), (HShapeElement.prototype._renderShapeFrame = HShapeElement.prototype.renderInnerContent), (HShapeElement.prototype.createContent = function () { var t; if ( (((this || e).baseElement.style.fontSize = 0), (this || e).data.hasMask) ) (this || e).layerElement.appendChild((this || e).shapesContainer), (t = (this || e).svgElement); else { t = createNS("svg"); var r = (this || e).comp.data ? (this || e).comp.data : (this || e).globalData.compSize; t.setAttribute("width", r.w), t.setAttribute("height", r.h), t.appendChild((this || e).shapesContainer), (this || e).layerElement.appendChild(t); } this.searchShapes( (this || e).shapesData, (this || e).itemsData, (this || e).prevViewData, (this || e).shapesContainer, 0, [], !0 ), this.filterUniqueShapes(), ((this || e).shapeCont = t); }), (HShapeElement.prototype.getTransformedPoint = function (t, r) { var i, a = t.length; for (i = 0; i < a; i += 1) r = t[i].mProps.v.applyToPointArray(r[0], r[1], 0); return r; }), (HShapeElement.prototype.calculateShapeBoundingBox = function (t, r) { var i = t.sh.v, a = t.transformers, n, s = i._length, l, v, y, g; if (!(s <= 1)) { for (n = 0; n < s - 1; n += 1) (l = this.getTransformedPoint(a, i.v[n])), (v = this.getTransformedPoint(a, i.o[n])), (y = this.getTransformedPoint(a, i.i[n + 1])), (g = this.getTransformedPoint(a, i.v[n + 1])), this.checkBounds(l, v, y, g, r); i.c && ((l = this.getTransformedPoint(a, i.v[n])), (v = this.getTransformedPoint(a, i.o[n])), (y = this.getTransformedPoint(a, i.i[0])), (g = this.getTransformedPoint(a, i.v[0])), this.checkBounds(l, v, y, g, r)); } }), (HShapeElement.prototype.checkBounds = function (t, r, i, a, n) { this.getBoundsOfCurve(t, r, i, a); var s = (this || e).shapeBoundingBox; (n.x = bmMin(s.left, n.x)), (n.xMax = bmMax(s.right, n.xMax)), (n.y = bmMin(s.top, n.y)), (n.yMax = bmMax(s.bottom, n.yMax)); }), (HShapeElement.prototype.shapeBoundingBox = { left: 0, right: 0, top: 0, bottom: 0, }), (HShapeElement.prototype.tempBoundingBox = { x: 0, xMax: 0, y: 0, yMax: 0, width: 0, height: 0, }), (HShapeElement.prototype.getBoundsOfCurve = function (t, r, i, a) { for ( var n = [ [t[0], a[0]], [t[1], a[1]], ], s, l, v, y, g, w, x, p = 0; p < 2; ++p ) (l = 6 * t[p] - 12 * r[p] + 6 * i[p]), (s = -3 * t[p] + 9 * r[p] - 9 * i[p] + 3 * a[p]), (v = 3 * r[p] - 3 * t[p]), (l |= 0), (s |= 0), (v |= 0), (s === 0 && l === 0) || (s === 0 ? ((y = -v / l), y > 0 && y < 1 && n[p].push(this.calculateF(y, t, r, i, a, p))) : ((g = l * l - 4 * v * s), g >= 0 && ((w = (-l + bmSqrt(g)) / (2 * s)), w > 0 && w < 1 && n[p].push(this.calculateF(w, t, r, i, a, p)), (x = (-l - bmSqrt(g)) / (2 * s)), x > 0 && x < 1 && n[p].push(this.calculateF(x, t, r, i, a, p))))); ((this || e).shapeBoundingBox.left = bmMin.apply(null, n[0])), ((this || e).shapeBoundingBox.top = bmMin.apply(null, n[1])), ((this || e).shapeBoundingBox.right = bmMax.apply(null, n[0])), ((this || e).shapeBoundingBox.bottom = bmMax.apply(null, n[1])); }), (HShapeElement.prototype.calculateF = function (t, r, i, a, n, s) { return ( bmPow(1 - t, 3) * r[s] + 3 * bmPow(1 - t, 2) * t * i[s] + 3 * (1 - t) * bmPow(t, 2) * a[s] + bmPow(t, 3) * n[s] ); }), (HShapeElement.prototype.calculateBoundingBox = function (t, r) { var i, a = t.length; for (i = 0; i < a; i += 1) t[i] && t[i].sh ? this.calculateShapeBoundingBox(t[i], r) : t[i] && t[i].it && this.calculateBoundingBox(t[i].it, r); }), (HShapeElement.prototype.currentBoxContains = function (t) { return ( (this || e).currentBBox.x <= t.x && (this || e).currentBBox.y <= t.y && (this || e).currentBBox.width + (this || e).currentBBox.x >= t.x + t.width && (this || e).currentBBox.height + (this || e).currentBBox.y >= t.y + t.height ); }), (HShapeElement.prototype.renderInnerContent = function () { if ( (this._renderShapeFrame(), !(this || e).hidden && ((this || e)._isFirstFrame || (this || e)._mdf)) ) { var t = (this || e).tempBoundingBox, r = 999999; if ( ((t.x = r), (t.xMax = -r), (t.y = r), (t.yMax = -r), this.calculateBoundingBox((this || e).itemsData, t), (t.width = t.xMax < t.x ? 0 : t.xMax - t.x), (t.height = t.yMax < t.y ? 0 : t.yMax - t.y), this.currentBoxContains(t)) ) return; var i = !1; if ( ((this || e).currentBBox.w !== t.width && (((this || e).currentBBox.w = t.width), (this || e).shapeCont.setAttribute("width", t.width), (i = !0)), (this || e).currentBBox.h !== t.height && (((this || e).currentBBox.h = t.height), (this || e).shapeCont.setAttribute("height", t.height), (i = !0)), i || (this || e).currentBBox.x !== t.x || (this || e).currentBBox.y !== t.y) ) { ((this || e).currentBBox.w = t.width), ((this || e).currentBBox.h = t.height), ((this || e).currentBBox.x = t.x), ((this || e).currentBBox.y = t.y), (this || e).shapeCont.setAttribute( "viewBox", (this || e).currentBBox.x + " " + (this || e).currentBBox.y + " " + (this || e).currentBBox.w + " " + (this || e).currentBBox.h ); var a = (this || e).shapeCont.style, n = "translate(" + (this || e).currentBBox.x + "px," + (this || e).currentBBox.y + "px)"; (a.transform = n), (a.webkitTransform = n); } } }); function HTextElement(t, r, i) { ((this || e).textSpans = []), ((this || e).textPaths = []), ((this || e).currentBBox = { x: 999999, y: -999999, h: 0, w: 0 }), ((this || e).renderType = "svg"), ((this || e).isMasked = !1), this.initElement(t, r, i); } extendPrototype( [ BaseElement, TransformElement, HBaseElement, HierarchyElement, FrameElement, RenderableDOMElement, ITextElement, ], HTextElement ), (HTextElement.prototype.createContent = function () { if ( (((this || e).isMasked = this.checkMasks()), (this || e).isMasked) ) { ((this || e).renderType = "svg"), ((this || e).compW = (this || e).comp.data.w), ((this || e).compH = (this || e).comp.data.h), (this || e).svgElement.setAttribute("width", (this || e).compW), (this || e).svgElement.setAttribute("height", (this || e).compH); var t = createNS("g"); (this || e).maskedElement.appendChild(t), ((this || e).innerElem = t); } else ((this || e).renderType = "html"), ((this || e).innerElem = (this || e).layerElement); this.checkParenting(); }), (HTextElement.prototype.buildNewText = function () { var t = (this || e).textProperty.currentData; (this || e).renderedLetters = createSizedArray(t.l ? t.l.length : 0); var r = (this || e).innerElem.style, i = t.fc ? this.buildColor(t.fc) : "rgba(0,0,0,0)"; (r.fill = i), (r.color = i), t.sc && ((r.stroke = this.buildColor(t.sc)), (r.strokeWidth = t.sw + "px")); var a = (this || e).globalData.fontManager.getFontByName(t.f); if (!(this || e).globalData.fontManager.chars) if ( ((r.fontSize = t.finalSize + "px"), (r.lineHeight = t.finalSize + "px"), a.fClass) ) (this || e).innerElem.className = a.fClass; else { r.fontFamily = a.fFamily; var n = t.fWeight, s = t.fStyle; (r.fontStyle = s), (r.fontWeight = n); } var l, v, y = t.l; v = y.length; var g, w, x, p = (this || e).mHelper, u, C = "", c = 0; for (l = 0; l < v; l += 1) { if ( ((this || e).globalData.fontManager.chars ? ((this || e).textPaths[c] ? (g = (this || e).textPaths[c]) : ((g = createNS("path")), g.setAttribute("stroke-linecap", "butt"), g.setAttribute("stroke-linejoin", "round"), g.setAttribute("stroke-miterlimit", "4")), (this || e).isMasked || ((this || e).textSpans[c] ? ((w = (this || e).textSpans[c]), (x = w.children[0])) : ((w = createTag("div")), (w.style.lineHeight = 0), (x = createNS("svg")), x.appendChild(g), styleDiv(w)))) : (this || e).isMasked ? (g = (this || e).textPaths[c] ? (this || e).textPaths[c] : createNS("text")) : (this || e).textSpans[c] ? ((w = (this || e).textSpans[c]), (g = (this || e).textPaths[c])) : ((w = createTag("span")), styleDiv(w), (g = createTag("span")), styleDiv(g), w.appendChild(g)), (this || e).globalData.fontManager.chars) ) { var h = (this || e).globalData.fontManager.getCharData( t.finalText[l], a.fStyle, (this || e).globalData.fontManager.getFontByName(t.f).fFamily ), m; if ( (h ? (m = h.data) : (m = null), p.reset(), m && m.shapes && ((u = m.shapes[0].it), p.scale(t.finalSize / 100, t.finalSize / 100), (C = this.createPathShape(p, u)), g.setAttribute("d", C)), (this || e).isMasked) ) (this || e).innerElem.appendChild(g); else { if (((this || e).innerElem.appendChild(w), m && m.shapes)) { document.body.appendChild(x); var o = x.getBBox(); x.setAttribute("width", o.width + 2), x.setAttribute("height", o.height + 2), x.setAttribute( "viewBox", o.x - 1 + " " + (o.y - 1) + " " + (o.width + 2) + " " + (o.height + 2) ); var f = x.style, d = "translate(" + (o.x - 1) + "px," + (o.y - 1) + "px)"; (f.transform = d), (f.webkitTransform = d), (y[l].yOffset = o.y - 1); } else x.setAttribute("width", 1), x.setAttribute("height", 1); w.appendChild(x); } } else if ( ((g.textContent = y[l].val), g.setAttributeNS( "http://www.w3.org/XML/1998/namespace", "xml:space", "preserve" ), (this || e).isMasked) ) (this || e).innerElem.appendChild(g); else { (this || e).innerElem.appendChild(w); var b = g.style, A = "translate3d(0," + -t.finalSize / 1.2 + "px,0)"; (b.transform = A), (b.webkitTransform = A); } (this || e).isMasked ? ((this || e).textSpans[c] = g) : ((this || e).textSpans[c] = w), ((this || e).textSpans[c].style.display = "block"), ((this || e).textPaths[c] = g), (c += 1); } for (; c < (this || e).textSpans.length; ) ((this || e).textSpans[c].style.display = "none"), (c += 1); }), (HTextElement.prototype.renderInnerContent = function () { var t; if ((this || e).data.singleShape) { if (!(this || e)._isFirstFrame && !(this || e).lettersChangedFlag) return; if ((this || e).isMasked && (this || e).finalTransform._matMdf) { (this || e).svgElement.setAttribute( "viewBox", -(this || e).finalTransform.mProp.p.v[0] + " " + -(this || e).finalTransform.mProp.p.v[1] + " " + (this || e).compW + " " + (this || e).compH ), (t = (this || e).svgElement.style); var r = "translate(" + -(this || e).finalTransform.mProp.p.v[0] + "px," + -(this || e).finalTransform.mProp.p.v[1] + "px)"; (t.transform = r), (t.webkitTransform = r); } } if ( ((this || e).textAnimator.getMeasures( (this || e).textProperty.currentData, (this || e).lettersChangedFlag ), !( !(this || e).lettersChangedFlag && !(this || e).textAnimator.lettersChangedFlag )) ) { var i, a, n = 0, s = (this || e).textAnimator.renderedLetters, l = (this || e).textProperty.currentData.l; a = l.length; var v, y, g; for (i = 0; i < a; i += 1) l[i].n ? (n += 1) : ((y = (this || e).textSpans[i]), (g = (this || e).textPaths[i]), (v = s[n]), (n += 1), v._mdf.m && ((this || e).isMasked ? y.setAttribute("transform", v.m) : ((y.style.webkitTransform = v.m), (y.style.transform = v.m))), (y.style.opacity = v.o), v.sw && v._mdf.sw && g.setAttribute("stroke-width", v.sw), v.sc && v._mdf.sc && g.setAttribute("stroke", v.sc), v.fc && v._mdf.fc && (g.setAttribute("fill", v.fc), (g.style.color = v.fc))); if ( (this || e).innerElem.getBBox && !(this || e).hidden && ((this || e)._isFirstFrame || (this || e)._mdf) ) { var w = (this || e).innerElem.getBBox(); (this || e).currentBBox.w !== w.width && (((this || e).currentBBox.w = w.width), (this || e).svgElement.setAttribute("width", w.width)), (this || e).currentBBox.h !== w.height && (((this || e).currentBBox.h = w.height), (this || e).svgElement.setAttribute("height", w.height)); var x = 1; if ( (this || e).currentBBox.w !== w.width + x * 2 || (this || e).currentBBox.h !== w.height + x * 2 || (this || e).currentBBox.x !== w.x - x || (this || e).currentBBox.y !== w.y - x ) { ((this || e).currentBBox.w = w.width + x * 2), ((this || e).currentBBox.h = w.height + x * 2), ((this || e).currentBBox.x = w.x - x), ((this || e).currentBBox.y = w.y - x), (this || e).svgElement.setAttribute( "viewBox", (this || e).currentBBox.x + " " + (this || e).currentBBox.y + " " + (this || e).currentBBox.w + " " + (this || e).currentBBox.h ), (t = (this || e).svgElement.style); var p = "translate(" + (this || e).currentBBox.x + "px," + (this || e).currentBBox.y + "px)"; (t.transform = p), (t.webkitTransform = p); } } } }); function HImageElement(t, r, i) { ((this || e).assetData = r.getAssetData(t.refId)), this.initElement(t, r, i); } extendPrototype( [ BaseElement, TransformElement, HBaseElement, HSolidElement, HierarchyElement, FrameElement, RenderableElement, ], HImageElement ), (HImageElement.prototype.createContent = function () { var t = (this || e).globalData.getAssetsPath((this || e).assetData), r = new Image(); (this || e).data.hasMask ? (((this || e).imageElem = createNS("image")), (this || e).imageElem.setAttribute( "width", (this || e).assetData.w + "px" ), (this || e).imageElem.setAttribute( "height", (this || e).assetData.h + "px" ), (this || e).imageElem.setAttributeNS( "http://www.w3.org/1999/xlink", "href", t ), (this || e).layerElement.appendChild((this || e).imageElem), (this || e).baseElement.setAttribute( "width", (this || e).assetData.w ), (this || e).baseElement.setAttribute( "height", (this || e).assetData.h )) : (this || e).layerElement.appendChild(r), (r.crossOrigin = "anonymous"), (r.src = t), (this || e).data.ln && (this || e).baseElement.setAttribute("id", (this || e).data.ln); }); function HCameraElement(t, r, i) { this.initFrame(), this.initBaseData(t, r, i), this.initHierarchy(); var a = PropertyFactory.getProp; if ( (((this || e).pe = a(this || e, t.pe, 0, 0, this || e)), t.ks.p.s ? (((this || e).px = a(this || e, t.ks.p.x, 1, 0, this || e)), ((this || e).py = a(this || e, t.ks.p.y, 1, 0, this || e)), ((this || e).pz = a(this || e, t.ks.p.z, 1, 0, this || e))) : ((this || e).p = a(this || e, t.ks.p, 1, 0, this || e)), t.ks.a && ((this || e).a = a(this || e, t.ks.a, 1, 0, this || e)), t.ks.or.k.length && t.ks.or.k[0].to) ) { var n, s = t.ks.or.k.length; for (n = 0; n < s; n += 1) (t.ks.or.k[n].to = null), (t.ks.or.k[n].ti = null); } ((this || e).or = a(this || e, t.ks.or, 1, degToRads, this || e)), ((this || e).or.sh = !0), ((this || e).rx = a(this || e, t.ks.rx, 0, degToRads, this || e)), ((this || e).ry = a(this || e, t.ks.ry, 0, degToRads, this || e)), ((this || e).rz = a(this || e, t.ks.rz, 0, degToRads, this || e)), ((this || e).mat = new Matrix()), ((this || e)._prevMat = new Matrix()), ((this || e)._isFirstFrame = !0), ((this || e).finalTransform = { mProp: this || e }); } extendPrototype( [BaseElement, FrameElement, HierarchyElement], HCameraElement ), (HCameraElement.prototype.setup = function () { var t, r = (this || e).comp.threeDElements.length, i, a, n; for (t = 0; t < r; t += 1) if (((i = (this || e).comp.threeDElements[t]), i.type === "3d")) { (a = i.perspectiveElem.style), (n = i.container.style); var s = (this || e).pe.v + "px", l = "0px 0px 0px", v = "matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"; (a.perspective = s), (a.webkitPerspective = s), (n.transformOrigin = l), (n.mozTransformOrigin = l), (n.webkitTransformOrigin = l), (a.transform = v), (a.webkitTransform = v); } }), (HCameraElement.prototype.createElements = function () {}), (HCameraElement.prototype.hide = function () {}), (HCameraElement.prototype.renderFrame = function () { var t = (this || e)._isFirstFrame, r, i; if ((this || e).hierarchy) for (i = (this || e).hierarchy.length, r = 0; r < i; r += 1) t = (this || e).hierarchy[r].finalTransform.mProp._mdf || t; if ( t || (this || e).pe._mdf || ((this || e).p && (this || e).p._mdf) || ((this || e).px && ((this || e).px._mdf || (this || e).py._mdf || (this || e).pz._mdf)) || (this || e).rx._mdf || (this || e).ry._mdf || (this || e).rz._mdf || (this || e).or._mdf || ((this || e).a && (this || e).a._mdf) ) { if (((this || e).mat.reset(), (this || e).hierarchy)) for (i = (this || e).hierarchy.length - 1, r = i; r >= 0; r -= 1) { var a = (this || e).hierarchy[r].finalTransform.mProp; (this || e).mat.translate(-a.p.v[0], -a.p.v[1], a.p.v[2]), (this || e).mat .rotateX(-a.or.v[0]) .rotateY(-a.or.v[1]) .rotateZ(a.or.v[2]), (this || e).mat .rotateX(-a.rx.v) .rotateY(-a.ry.v) .rotateZ(a.rz.v), (this || e).mat.scale(1 / a.s.v[0], 1 / a.s.v[1], 1 / a.s.v[2]), (this || e).mat.translate(a.a.v[0], a.a.v[1], a.a.v[2]); } if ( ((this || e).p ? (this || e).mat.translate( -(this || e).p.v[0], -(this || e).p.v[1], (this || e).p.v[2] ) : (this || e).mat.translate( -(this || e).px.v, -(this || e).py.v, (this || e).pz.v ), (this || e).a) ) { var n; (this || e).p ? (n = [ (this || e).p.v[0] - (this || e).a.v[0], (this || e).p.v[1] - (this || e).a.v[1], (this || e).p.v[2] - (this || e).a.v[2], ]) : (n = [ (this || e).px.v - (this || e).a.v[0], (this || e).py.v - (this || e).a.v[1], (this || e).pz.v - (this || e).a.v[2], ]); var s = Math.sqrt( Math.pow(n[0], 2) + Math.pow(n[1], 2) + Math.pow(n[2], 2) ), l = [n[0] / s, n[1] / s, n[2] / s], v = Math.sqrt(l[2] * l[2] + l[0] * l[0]), y = Math.atan2(l[1], v), g = Math.atan2(l[0], -l[2]); (this || e).mat.rotateY(g).rotateX(-y); } (this || e).mat .rotateX(-(this || e).rx.v) .rotateY(-(this || e).ry.v) .rotateZ((this || e).rz.v), (this || e).mat .rotateX(-(this || e).or.v[0]) .rotateY(-(this || e).or.v[1]) .rotateZ((this || e).or.v[2]), (this || e).mat.translate( (this || e).globalData.compSize.w / 2, (this || e).globalData.compSize.h / 2, 0 ), (this || e).mat.translate(0, 0, (this || e).pe.v); var w = !(this || e)._prevMat.equals((this || e).mat); if ((w || (this || e).pe._mdf) && (this || e).comp.threeDElements) { i = (this || e).comp.threeDElements.length; var x, p, u; for (r = 0; r < i; r += 1) if (((x = (this || e).comp.threeDElements[r]), x.type === "3d")) { if (w) { var C = (this || e).mat.toCSS(); (u = x.container.style), (u.transform = C), (u.webkitTransform = C); } (this || e).pe._mdf && ((p = x.perspectiveElem.style), (p.perspective = (this || e).pe.v + "px"), (p.webkitPerspective = (this || e).pe.v + "px")); } (this || e).mat.clone((this || e)._prevMat); } } (this || e)._isFirstFrame = !1; }), (HCameraElement.prototype.prepareFrame = function (t) { this.prepareProperties(t, !0); }), (HCameraElement.prototype.destroy = function () {}), (HCameraElement.prototype.getBaseElement = function () { return null; }); function HEffects() {} HEffects.prototype.renderFrame = function () {}; var animationManager = (function () { var t = {}, r = [], i = 0, a = 0, n = 0, s = !0, l = !1; function v(k) { for (var T = 0, _ = k.target; T < a; ) r[T].animation === _ && (r.splice(T, 1), (T -= 1), (a -= 1), _.isPaused || x()), (T += 1); } function y(k, T) { if (!k) return null; for (var _ = 0; _ < a; ) { if (r[_].elem === k && r[_].elem !== null) return r[_].animation; _ += 1; } var M = new AnimationItem(); return p(M, k), M.setData(k, T), M; } function g() { var k, T = r.length, _ = []; for (k = 0; k < T; k += 1) _.push(r[k].animation); return _; } function w() { (n += 1), I(); } function x() { n -= 1; } function p(k, T) { k.addEventListener("destroy", v), k.addEventListener("_active", w), k.addEventListener("_idle", x), r.push({ elem: T, animation: k }), (a += 1); } function u(k) { var T = new AnimationItem(); return p(T, null), T.setParams(k), T; } function C(k, T) { var _; for (_ = 0; _ < a; _ += 1) r[_].animation.setSpeed(k, T); } function c(k, T) { var _; for (_ = 0; _ < a; _ += 1) r[_].animation.setDirection(k, T); } function h(k) { var T; for (T = 0; T < a; T += 1) r[T].animation.play(k); } function m(k) { var T = k - i, _; for (_ = 0; _ < a; _ += 1) r[_].animation.advanceTime(T); (i = k), n && !l ? window.requestAnimationFrame(m) : (s = !0); } function o(k) { (i = k), window.requestAnimationFrame(m); } function f(k) { var T; for (T = 0; T < a; T += 1) r[T].animation.pause(k); } function d(k, T, _) { var M; for (M = 0; M < a; M += 1) r[M].animation.goToAndStop(k, T, _); } function b(k) { var T; for (T = 0; T < a; T += 1) r[T].animation.stop(k); } function A(k) { var T; for (T = 0; T < a; T += 1) r[T].animation.togglePause(k); } function E(k) { var T; for (T = a - 1; T >= 0; T -= 1) r[T].animation.destroy(k); } function P(k, T, _) { var M = [].concat( [].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin")) ), B, L = M.length; for (B = 0; B < L; B += 1) _ && M[B].setAttribute("data-bm-type", _), y(M[B], k); if (T && L === 0) { _ || (_ = "svg"); var U = document.getElementsByTagName("body")[0]; U.innerText = ""; var W = createTag("div"); (W.style.width = "100%"), (W.style.height = "100%"), W.setAttribute("data-bm-type", _), U.appendChild(W), y(W, k); } } function F() { var k; for (k = 0; k < a; k += 1) r[k].animation.resize(); } function I() { !l && n && s && (window.requestAnimationFrame(o), (s = !1)); } function R() { l = !0; } function O() { (l = !1), I(); } function z(k, T) { var _; for (_ = 0; _ < a; _ += 1) r[_].animation.setVolume(k, T); } function V(k) { var T; for (T = 0; T < a; T += 1) r[T].animation.mute(k); } function N(k) { var T; for (T = 0; T < a; T += 1) r[T].animation.unmute(k); } return ( (t.registerAnimation = y), (t.loadAnimation = u), (t.setSpeed = C), (t.setDirection = c), (t.play = h), (t.pause = f), (t.stop = b), (t.togglePause = A), (t.searchAnimations = P), (t.resize = F), (t.goToAndStop = d), (t.destroy = E), (t.freeze = R), (t.unfreeze = O), (t.setVolume = z), (t.mute = V), (t.unmute = N), (t.getRegisteredAnimations = g), t ); })(), AnimationItem = function () { ((this || e)._cbs = []), ((this || e).name = ""), ((this || e).path = ""), ((this || e).isLoaded = !1), ((this || e).currentFrame = 0), ((this || e).currentRawFrame = 0), ((this || e).firstFrame = 0), ((this || e).totalFrames = 0), ((this || e).frameRate = 0), ((this || e).frameMult = 0), ((this || e).playSpeed = 1), ((this || e).playDirection = 1), ((this || e).playCount = 0), ((this || e).animationData = {}), ((this || e).assets = []), ((this || e).isPaused = !0), ((this || e).autoplay = !1), ((this || e).loop = !0), ((this || e).renderer = null), ((this || e).animationID = createElementID()), ((this || e).assetsPath = ""), ((this || e).timeCompleted = 0), ((this || e).segmentPos = 0), ((this || e).isSubframeEnabled = subframeEnabled), ((this || e).segments = []), ((this || e)._idle = !0), ((this || e)._completedLoop = !1), ((this || e).projectInterface = ProjectInterface()), ((this || e).imagePreloader = new ImagePreloader()), ((this || e).audioController = audioControllerFactory()), ((this || e).markers = []); }; extendPrototype([BaseEvent], AnimationItem), (AnimationItem.prototype.setParams = function (t) { (t.wrapper || t.container) && ((this || e).wrapper = t.wrapper || t.container); var r = "svg"; switch ( (t.animType ? (r = t.animType) : t.renderer && (r = t.renderer), r) ) { case "canvas": (this || e).renderer = new CanvasRenderer( this || e, t.rendererSettings ); break; case "svg": (this || e).renderer = new SVGRenderer( this || e, t.rendererSettings ); break; default: (this || e).renderer = new HybridRenderer( this || e, t.rendererSettings ); break; } (this || e).imagePreloader.setCacheType( r, (this || e).renderer.globalData.defs ), (this || e).renderer.setProjectInterface( (this || e).projectInterface ), ((this || e).animType = r), t.loop === "" || t.loop === null || t.loop === void 0 || t.loop === !0 ? ((this || e).loop = !0) : t.loop === !1 ? ((this || e).loop = !1) : ((this || e).loop = parseInt(t.loop, 10)), ((this || e).autoplay = "autoplay" in t ? t.autoplay : !0), ((this || e).name = t.name ? t.name : ""), ((this || e).autoloadSegments = Object.prototype.hasOwnProperty.call( t, "autoloadSegments" ) ? t.autoloadSegments : !0), ((this || e).assetsPath = t.assetsPath), ((this || e).initialSegment = t.initialSegment), t.audioFactory && (this || e).audioController.setAudioFactory(t.audioFactory), t.animationData ? this.configAnimation(t.animationData) : t.path && (t.path.lastIndexOf("\\") !== -1 ? ((this || e).path = t.path.substr( 0, t.path.lastIndexOf("\\") + 1 )) : ((this || e).path = t.path.substr( 0, t.path.lastIndexOf("/") + 1 )), ((this || e).fileName = t.path.substr( t.path.lastIndexOf("/") + 1 )), ((this || e).fileName = (this || e).fileName.substr( 0, (this || e).fileName.lastIndexOf(".json") )), assetLoader.load( t.path, (this || e).configAnimation.bind(this || e), function () { this.trigger("data_failed"); }.bind(this || e) )); }), (AnimationItem.prototype.setData = function (t, r) { r && typeof r != "object" && (r = JSON.parse(r)); var i = { wrapper: t, animationData: r }, a = t.attributes; (i.path = a.getNamedItem("data-animation-path") ? a.getNamedItem("data-animation-path").value : a.getNamedItem("data-bm-path") ? a.getNamedItem("data-bm-path").value : a.getNamedItem("bm-path") ? a.getNamedItem("bm-path").value : ""), (i.animType = a.getNamedItem("data-anim-type") ? a.getNamedItem("data-anim-type").value : a.getNamedItem("data-bm-type") ? a.getNamedItem("data-bm-type").value : a.getNamedItem("bm-type") ? a.getNamedItem("bm-type").value : a.getNamedItem("data-bm-renderer") ? a.getNamedItem("data-bm-renderer").value : a.getNamedItem("bm-renderer") ? a.getNamedItem("bm-renderer").value : "canvas"); var n = a.getNamedItem("data-anim-loop") ? a.getNamedItem("data-anim-loop").value : a.getNamedItem("data-bm-loop") ? a.getNamedItem("data-bm-loop").value : a.getNamedItem("bm-loop") ? a.getNamedItem("bm-loop").value : ""; n === "false" ? (i.loop = !1) : n === "true" ? (i.loop = !0) : n !== "" && (i.loop = parseInt(n, 10)); var s = a.getNamedItem("data-anim-autoplay") ? a.getNamedItem("data-anim-autoplay").value : a.getNamedItem("data-bm-autoplay") ? a.getNamedItem("data-bm-autoplay").value : a.getNamedItem("bm-autoplay") ? a.getNamedItem("bm-autoplay").value : !0; (i.autoplay = s !== "false"), (i.name = a.getNamedItem("data-name") ? a.getNamedItem("data-name").value : a.getNamedItem("data-bm-name") ? a.getNamedItem("data-bm-name").value : a.getNamedItem("bm-name") ? a.getNamedItem("bm-name").value : ""); var l = a.getNamedItem("data-anim-prerender") ? a.getNamedItem("data-anim-prerender").value : a.getNamedItem("data-bm-prerender") ? a.getNamedItem("data-bm-prerender").value : a.getNamedItem("bm-prerender") ? a.getNamedItem("bm-prerender").value : ""; l === "false" && (i.prerender = !1), this.setParams(i); }), (AnimationItem.prototype.includeLayers = function (t) { t.op > (this || e).animationData.op && (((this || e).animationData.op = t.op), ((this || e).totalFrames = Math.floor( t.op - (this || e).animationData.ip ))); var r = (this || e).animationData.layers, i, a = r.length, n = t.layers, s, l = n.length; for (s = 0; s < l; s += 1) for (i = 0; i < a; ) { if (r[i].id === n[s].id) { r[i] = n[s]; break; } i += 1; } if ( ((t.chars || t.fonts) && ((this || e).renderer.globalData.fontManager.addChars(t.chars), (this || e).renderer.globalData.fontManager.addFonts( t.fonts, (this || e).renderer.globalData.defs )), t.assets) ) for (a = t.assets.length, i = 0; i < a; i += 1) (this || e).animationData.assets.push(t.assets[i]); ((this || e).animationData.__complete = !1), dataManager.completeData( (this || e).animationData, (this || e).renderer.globalData.fontManager ), (this || e).renderer.includeLayers(t.layers), expressionsPlugin && expressionsPlugin.initExpressions(this || e), this.loadNextSegment(); }), (AnimationItem.prototype.loadNextSegment = function () { var t = (this || e).animationData.segments; if (!t || t.length === 0 || !(this || e).autoloadSegments) { this.trigger("data_ready"), ((this || e).timeCompleted = (this || e).totalFrames); return; } var r = t.shift(); (this || e).timeCompleted = r.time * (this || e).frameRate; var i = (this || e).path + (this || e).fileName + "_" + (this || e).segmentPos + ".json"; ((this || e).segmentPos += 1), assetLoader.load( i, (this || e).includeLayers.bind(this || e), function () { this.trigger("data_failed"); }.bind(this || e) ); }), (AnimationItem.prototype.loadSegments = function () { var t = (this || e).animationData.segments; t || ((this || e).timeCompleted = (this || e).totalFrames), this.loadNextSegment(); }), (AnimationItem.prototype.imagesLoaded = function () { this.trigger("loaded_images"), this.checkLoaded(); }), (AnimationItem.prototype.preloadImages = function () { (this || e).imagePreloader.setAssetsPath((this || e).assetsPath), (this || e).imagePreloader.setPath((this || e).path), (this || e).imagePreloader.loadAssets( (this || e).animationData.assets, (this || e).imagesLoaded.bind(this || e) ); }), (AnimationItem.prototype.configAnimation = function (t) { if ((this || e).renderer) try { ((this || e).animationData = t), (this || e).initialSegment ? (((this || e).totalFrames = Math.floor( (this || e).initialSegment[1] - (this || e).initialSegment[0] )), ((this || e).firstFrame = Math.round( (this || e).initialSegment[0] ))) : (((this || e).totalFrames = Math.floor( (this || e).animationData.op - (this || e).animationData.ip )), ((this || e).firstFrame = Math.round( (this || e).animationData.ip ))), (this || e).renderer.configAnimation(t), t.assets || (t.assets = []), ((this || e).assets = (this || e).animationData.assets), ((this || e).frameRate = (this || e).animationData.fr), ((this || e).frameMult = (this || e).animationData.fr / 1e3), (this || e).renderer.searchExtraCompositions(t.assets), ((this || e).markers = markerParser(t.markers || [])), this.trigger("config_ready"), this.preloadImages(), this.loadSegments(), this.updaFrameModifier(), this.waitForFontsLoaded(), (this || e).isPaused && (this || e).audioController.pause(); } catch (r) { this.triggerConfigError(r); } }), (AnimationItem.prototype.waitForFontsLoaded = function () { (this || e).renderer && ((this || e).renderer.globalData.fontManager.isLoaded ? this.checkLoaded() : setTimeout((this || e).waitForFontsLoaded.bind(this || e), 20)); }), (AnimationItem.prototype.checkLoaded = function () { !(this || e).isLoaded && (this || e).renderer.globalData.fontManager.isLoaded && ((this || e).imagePreloader.loadedImages() || (this || e).renderer.rendererType !== "canvas") && (this || e).imagePreloader.loadedFootages() && (((this || e).isLoaded = !0), dataManager.completeData( (this || e).animationData, (this || e).renderer.globalData.fontManager ), expressionsPlugin && expressionsPlugin.initExpressions(this || e), (this || e).renderer.initItems(), setTimeout( function () { this.trigger("DOMLoaded"); }.bind(this || e), 0 ), this.gotoFrame(), (this || e).autoplay && this.play()); }), (AnimationItem.prototype.resize = function () { (this || e).renderer.updateContainerSize(); }), (AnimationItem.prototype.setSubframe = function (t) { (this || e).isSubframeEnabled = !!t; }), (AnimationItem.prototype.gotoFrame = function () { ((this || e).currentFrame = (this || e).isSubframeEnabled ? (this || e).currentRawFrame : ~~(this || e).currentRawFrame), (this || e).timeCompleted !== (this || e).totalFrames && (this || e).currentFrame > (this || e).timeCompleted && ((this || e).currentFrame = (this || e).timeCompleted), this.trigger("enterFrame"), this.renderFrame(); }), (AnimationItem.prototype.renderFrame = function () { if (!((this || e).isLoaded === !1 || !(this || e).renderer)) try { (this || e).renderer.renderFrame( (this || e).currentFrame + (this || e).firstFrame ); } catch (t) { this.triggerRenderFrameError(t); } }), (AnimationItem.prototype.play = function (t) { (t && (this || e).name !== t) || ((this || e).isPaused === !0 && (((this || e).isPaused = !1), (this || e).audioController.resume(), (this || e)._idle && (((this || e)._idle = !1), this.trigger("_active")))); }), (AnimationItem.prototype.pause = function (t) { (t && (this || e).name !== t) || ((this || e).isPaused === !1 && (((this || e).isPaused = !0), ((this || e)._idle = !0), this.trigger("_idle"), (this || e).audioController.pause())); }), (AnimationItem.prototype.togglePause = function (t) { (t && (this || e).name !== t) || ((this || e).isPaused === !0 ? this.play() : this.pause()); }), (AnimationItem.prototype.stop = function (t) { (t && (this || e).name !== t) || (this.pause(), ((this || e).playCount = 0), ((this || e)._completedLoop = !1), this.setCurrentRawFrameValue(0)); }), (AnimationItem.prototype.getMarkerData = function (t) { for (var r, i = 0; i < (this || e).markers.length; i += 1) if (((r = (this || e).markers[i]), r.payload && r.payload.name === t)) return r; return null; }), (AnimationItem.prototype.goToAndStop = function (t, r, i) { if (!(i && (this || e).name !== i)) { var a = Number(t); if (isNaN(a)) { var n = this.getMarkerData(t); n && this.goToAndStop(n.time, !0); } else r ? this.setCurrentRawFrameValue(t) : this.setCurrentRawFrameValue(t * (this || e).frameModifier); this.pause(); } }), (AnimationItem.prototype.goToAndPlay = function (t, r, i) { if (!(i && (this || e).name !== i)) { var a = Number(t); if (isNaN(a)) { var n = this.getMarkerData(t); n && (n.duration ? this.playSegments([n.time, n.time + n.duration], !0) : this.goToAndStop(n.time, !0)); } else this.goToAndStop(a, r, i); this.play(); } }), (AnimationItem.prototype.advanceTime = function (t) { if (!((this || e).isPaused === !0 || (this || e).isLoaded === !1)) { var r = (this || e).currentRawFrame + t * (this || e).frameModifier, i = !1; r >= (this || e).totalFrames - 1 && (this || e).frameModifier > 0 ? !(this || e).loop || (this || e).playCount === (this || e).loop ? this.checkSegments( r > (this || e).totalFrames ? r % (this || e).totalFrames : 0 ) || ((i = !0), (r = (this || e).totalFrames - 1)) : r >= (this || e).totalFrames ? (((this || e).playCount += 1), this.checkSegments(r % (this || e).totalFrames) || (this.setCurrentRawFrameValue(r % (this || e).totalFrames), ((this || e)._completedLoop = !0), this.trigger("loopComplete"))) : this.setCurrentRawFrameValue(r) : r < 0 ? this.checkSegments(r % (this || e).totalFrames) || ((this || e).loop && !((this || e).playCount-- <= 0 && (this || e).loop !== !0) ? (this.setCurrentRawFrameValue( (this || e).totalFrames + (r % (this || e).totalFrames) ), (this || e)._completedLoop ? this.trigger("loopComplete") : ((this || e)._completedLoop = !0)) : ((i = !0), (r = 0))) : this.setCurrentRawFrameValue(r), i && (this.setCurrentRawFrameValue(r), this.pause(), this.trigger("complete")); } }), (AnimationItem.prototype.adjustSegment = function (t, r) { ((this || e).playCount = 0), t[1] < t[0] ? ((this || e).frameModifier > 0 && ((this || e).playSpeed < 0 ? this.setSpeed(-(this || e).playSpeed) : this.setDirection(-1)), ((this || e).totalFrames = t[0] - t[1]), ((this || e).timeCompleted = (this || e).totalFrames), ((this || e).firstFrame = t[1]), this.setCurrentRawFrameValue((this || e).totalFrames - 0.001 - r)) : t[1] > t[0] && ((this || e).frameModifier < 0 && ((this || e).playSpeed < 0 ? this.setSpeed(-(this || e).playSpeed) : this.setDirection(1)), ((this || e).totalFrames = t[1] - t[0]), ((this || e).timeCompleted = (this || e).totalFrames), ((this || e).firstFrame = t[0]), this.setCurrentRawFrameValue(0.001 + r)), this.trigger("segmentStart"); }), (AnimationItem.prototype.setSegment = function (t, r) { var i = -1; (this || e).isPaused && ((this || e).currentRawFrame + (this || e).firstFrame < t ? (i = t) : (this || e).currentRawFrame + (this || e).firstFrame > r && (i = r - t)), ((this || e).firstFrame = t), ((this || e).totalFrames = r - t), ((this || e).timeCompleted = (this || e).totalFrames), i !== -1 && this.goToAndStop(i, !0); }), (AnimationItem.prototype.playSegments = function (t, r) { if ((r && ((this || e).segments.length = 0), typeof t[0] == "object")) { var i, a = t.length; for (i = 0; i < a; i += 1) (this || e).segments.push(t[i]); } else (this || e).segments.push(t); (this || e).segments.length && r && this.adjustSegment((this || e).segments.shift(), 0), (this || e).isPaused && this.play(); }), (AnimationItem.prototype.resetSegments = function (t) { ((this || e).segments.length = 0), (this || e).segments.push([ (this || e).animationData.ip, (this || e).animationData.op, ]), t && this.checkSegments(0); }), (AnimationItem.prototype.checkSegments = function (t) { return (this || e).segments.length ? (this.adjustSegment((this || e).segments.shift(), t), !0) : !1; }), (AnimationItem.prototype.destroy = function (t) { (t && (this || e).name !== t) || !(this || e).renderer || ((this || e).renderer.destroy(), (this || e).imagePreloader.destroy(), this.trigger("destroy"), ((this || e)._cbs = null), ((this || e).onEnterFrame = null), ((this || e).onLoopComplete = null), ((this || e).onComplete = null), ((this || e).onSegmentStart = null), ((this || e).onDestroy = null), ((this || e).renderer = null), ((this || e).renderer = null), ((this || e).imagePreloader = null), ((this || e).projectInterface = null)); }), (AnimationItem.prototype.setCurrentRawFrameValue = function (t) { ((this || e).currentRawFrame = t), this.gotoFrame(); }), (AnimationItem.prototype.setSpeed = function (t) { ((this || e).playSpeed = t), this.updaFrameModifier(); }), (AnimationItem.prototype.setDirection = function (t) { ((this || e).playDirection = t < 0 ? -1 : 1), this.updaFrameModifier(); }), (AnimationItem.prototype.setVolume = function (t, r) { (r && (this || e).name !== r) || (this || e).audioController.setVolume(t); }), (AnimationItem.prototype.getVolume = function () { return (this || e).audioController.getVolume(); }), (AnimationItem.prototype.mute = function (t) { (t && (this || e).name !== t) || (this || e).audioController.mute(); }), (AnimationItem.prototype.unmute = function (t) { (t && (this || e).name !== t) || (this || e).audioController.unmute(); }), (AnimationItem.prototype.updaFrameModifier = function () { ((this || e).frameModifier = (this || e).frameMult * (this || e).playSpeed * (this || e).playDirection), (this || e).audioController.setRate( (this || e).playSpeed * (this || e).playDirection ); }), (AnimationItem.prototype.getPath = function () { return (this || e).path; }), (AnimationItem.prototype.getAssetsPath = function (t) { var r = ""; if (t.e) r = t.p; else if ((this || e).assetsPath) { var i = t.p; i.indexOf("images/") !== -1 && (i = i.split("/")[1]), (r = (this || e).assetsPath + i); } else (r = (this || e).path), (r += t.u ? t.u : ""), (r += t.p); return r; }), (AnimationItem.prototype.getAssetData = function (t) { for (var r = 0, i = (this || e).assets.length; r < i; ) { if (t === (this || e).assets[r].id) return (this || e).assets[r]; r += 1; } return null; }), (AnimationItem.prototype.hide = function () { (this || e).renderer.hide(); }), (AnimationItem.prototype.show = function () { (this || e).renderer.show(); }), (AnimationItem.prototype.getDuration = function (t) { return t ? (this || e).totalFrames : (this || e).totalFrames / (this || e).frameRate; }), (AnimationItem.prototype.trigger = function (t) { if ((this || e)._cbs && (this || e)._cbs[t]) switch (t) { case "enterFrame": this.triggerEvent( t, new BMEnterFrameEvent( t, (this || e).currentFrame, (this || e).totalFrames, (this || e).frameModifier ) ); break; case "loopComplete": this.triggerEvent( t, new BMCompleteLoopEvent( t, (this || e).loop, (this || e).playCount, (this || e).frameMult ) ); break; case "complete": this.triggerEvent( t, new BMCompleteEvent(t, (this || e).frameMult) ); break; case "segmentStart": this.triggerEvent( t, new BMSegmentStartEvent( t, (this || e).firstFrame, (this || e).totalFrames ) ); break; case "destroy": this.triggerEvent(t, new BMDestroyEvent(t, this || e)); break; default: this.triggerEvent(t); } t === "enterFrame" && (this || e).onEnterFrame && (this || e).onEnterFrame.call( this || e, new BMEnterFrameEvent( t, (this || e).currentFrame, (this || e).totalFrames, (this || e).frameMult ) ), t === "loopComplete" && (this || e).onLoopComplete && (this || e).onLoopComplete.call( this || e, new BMCompleteLoopEvent( t, (this || e).loop, (this || e).playCount, (this || e).frameMult ) ), t === "complete" && (this || e).onComplete && (this || e).onComplete.call( this || e, new BMCompleteEvent(t, (this || e).frameMult) ), t === "segmentStart" && (this || e).onSegmentStart && (this || e).onSegmentStart.call( this || e, new BMSegmentStartEvent( t, (this || e).firstFrame, (this || e).totalFrames ) ), t === "destroy" && (this || e).onDestroy && (this || e).onDestroy.call( this || e, new BMDestroyEvent(t, this || e) ); }), (AnimationItem.prototype.triggerRenderFrameError = function (t) { var r = new BMRenderFrameErrorEvent(t, (this || e).currentFrame); this.triggerEvent("error", r), (this || e).onError && (this || e).onError.call(this || e, r); }), (AnimationItem.prototype.triggerConfigError = function (t) { var r = new BMConfigErrorEvent(t, (this || e).currentFrame); this.triggerEvent("error", r), (this || e).onError && (this || e).onError.call(this || e, r); }); var Expressions = (function () { var t = {}; t.initExpressions = r; function r(i) { var a = 0, n = []; function s() { a += 1; } function l() { (a -= 1), a === 0 && y(); } function v(g) { n.indexOf(g) === -1 && n.push(g); } function y() { var g, w = n.length; for (g = 0; g < w; g += 1) n[g].release(); n.length = 0; } (i.renderer.compInterface = CompExpressionInterface(i.renderer)), i.renderer.globalData.projectInterface.registerComposition( i.renderer ), (i.renderer.globalData.pushExpression = s), (i.renderer.globalData.popExpression = l), (i.renderer.globalData.registerExpressionProperty = v); } return t; })(); expressionsPlugin = Expressions; var ExpressionManager = (function () { "use strict"; var ob = {}, Math = BMMath, window = null, document = null; function $bm_isInstanceOfArray(t) { return t.constructor === Array || t.constructor === Float32Array; } function isNumerable(t, r) { return ( t === "number" || t === "boolean" || t === "string" || r instanceof Number ); } function $bm_neg(t) { var r = typeof t; if (r === "number" || r === "boolean" || t instanceof Number) return -t; if ($bm_isInstanceOfArray(t)) { var i, a = t.length, n = []; for (i = 0; i < a; i += 1) n[i] = -t[i]; return n; } return t.propType ? t.v : -t; } var easeInBez = BezierFactory.getBezierEasing( 0.333, 0, 0.833, 0.833, "easeIn" ).get, easeOutBez = BezierFactory.getBezierEasing( 0.167, 0.167, 0.667, 1, "easeOut" ).get, easeInOutBez = BezierFactory.getBezierEasing( 0.33, 0, 0.667, 1, "easeInOut" ).get; function sum(t, r) { var i = typeof t, a = typeof r; if ( i === "string" || a === "string" || (isNumerable(i, t) && isNumerable(a, r)) ) return t + r; if ($bm_isInstanceOfArray(t) && isNumerable(a, r)) return (t = t.slice(0)), (t[0] += r), t; if (isNumerable(i, t) && $bm_isInstanceOfArray(r)) return (r = r.slice(0)), (r[0] = t + r[0]), r; if ($bm_isInstanceOfArray(t) && $bm_isInstanceOfArray(r)) { for ( var n = 0, s = t.length, l = r.length, v = []; n < s || n < l; ) (typeof t[n] == "number" || t[n] instanceof Number) && (typeof r[n] == "number" || r[n] instanceof Number) ? (v[n] = t[n] + r[n]) : (v[n] = r[n] === void 0 ? t[n] : t[n] || r[n]), (n += 1); return v; } return 0; } var add = sum; function sub(t, r) { var i = typeof t, a = typeof r; if (isNumerable(i, t) && isNumerable(a, r)) return ( i === "string" && (t = parseInt(t, 10)), a === "string" && (r = parseInt(r, 10)), t - r ); if ($bm_isInstanceOfArray(t) && isNumerable(a, r)) return (t = t.slice(0)), (t[0] -= r), t; if (isNumerable(i, t) && $bm_isInstanceOfArray(r)) return (r = r.slice(0)), (r[0] = t - r[0]), r; if ($bm_isInstanceOfArray(t) && $bm_isInstanceOfArray(r)) { for ( var n = 0, s = t.length, l = r.length, v = []; n < s || n < l; ) (typeof t[n] == "number" || t[n] instanceof Number) && (typeof r[n] == "number" || r[n] instanceof Number) ? (v[n] = t[n] - r[n]) : (v[n] = r[n] === void 0 ? t[n] : t[n] || r[n]), (n += 1); return v; } return 0; } function mul(t, r) { var i = typeof t, a = typeof r, n; if (isNumerable(i, t) && isNumerable(a, r)) return t * r; var s, l; if ($bm_isInstanceOfArray(t) && isNumerable(a, r)) { for ( l = t.length, n = createTypedArray("float32", l), s = 0; s < l; s += 1 ) n[s] = t[s] * r; return n; } if (isNumerable(i, t) && $bm_isInstanceOfArray(r)) { for ( l = r.length, n = createTypedArray("float32", l), s = 0; s < l; s += 1 ) n[s] = t * r[s]; return n; } return 0; } function div(t, r) { var i = typeof t, a = typeof r, n; if (isNumerable(i, t) && isNumerable(a, r)) return t / r; var s, l; if ($bm_isInstanceOfArray(t) && isNumerable(a, r)) { for ( l = t.length, n = createTypedArray("float32", l), s = 0; s < l; s += 1 ) n[s] = t[s] / r; return n; } if (isNumerable(i, t) && $bm_isInstanceOfArray(r)) { for ( l = r.length, n = createTypedArray("float32", l), s = 0; s < l; s += 1 ) n[s] = t / r[s]; return n; } return 0; } function mod(t, r) { return ( typeof t == "string" && (t = parseInt(t, 10)), typeof r == "string" && (r = parseInt(r, 10)), t % r ); } var $bm_sum = sum, $bm_sub = sub, $bm_mul = mul, $bm_div = div, $bm_mod = mod; function clamp(t, r, i) { if (r > i) { var a = i; (i = r), (r = a); } return Math.min(Math.max(t, r), i); } function radiansToDegrees(t) { return t / degToRads; } var radians_to_degrees = radiansToDegrees; function degreesToRadians(t) { return t * degToRads; } var degrees_to_radians = radiansToDegrees, helperLengthArray = [0, 0, 0, 0, 0, 0]; function length(t, r) { if (typeof t == "number" || t instanceof Number) return (r = r || 0), Math.abs(t - r); r || (r = helperLengthArray); var i, a = Math.min(t.length, r.length), n = 0; for (i = 0; i < a; i += 1) n += Math.pow(r[i] - t[i], 2); return Math.sqrt(n); } function normalize(t) { return div(t, length(t)); } function rgbToHsl(t) { var r = t[0], i = t[1], a = t[2], n = Math.max(r, i, a), s = Math.min(r, i, a), l, v, y = (n + s) / 2; if (n === s) (l = 0), (v = 0); else { var g = n - s; switch (((v = y > 0.5 ? g / (2 - n - s) : g / (n + s)), n)) { case r: l = (i - a) / g + (i < a ? 6 : 0); break; case i: l = (a - r) / g + 2; break; case a: l = (r - i) / g + 4; break; default: break; } l /= 6; } return [l, v, y, t[3]]; } function hue2rgb(t, r, i) { return ( i < 0 && (i += 1), i > 1 && (i -= 1), i < 1 / 6 ? t + (r - t) * 6 * i : i < 1 / 2 ? r : i < 2 / 3 ? t + (r - t) * (2 / 3 - i) * 6 : t ); } function hslToRgb(t) { var r = t[0], i = t[1], a = t[2], n, s, l; if (i === 0) (n = a), (l = a), (s = a); else { var v = a < 0.5 ? a * (1 + i) : a + i - a * i, y = 2 * a - v; (n = hue2rgb(y, v, r + 1 / 3)), (s = hue2rgb(y, v, r)), (l = hue2rgb(y, v, r - 1 / 3)); } return [n, s, l, t[3]]; } function linear(t, r, i, a, n) { if ( ((a === void 0 || n === void 0) && ((a = r), (n = i), (r = 0), (i = 1)), i < r) ) { var s = i; (i = r), (r = s); } if (t <= r) return a; if (t >= i) return n; var l = i === r ? 0 : (t - r) / (i - r); if (!a.length) return a + (n - a) * l; var v, y = a.length, g = createTypedArray("float32", y); for (v = 0; v < y; v += 1) g[v] = a[v] + (n[v] - a[v]) * l; return g; } function random(t, r) { if ( (r === void 0 && (t === void 0 ? ((t = 0), (r = 1)) : ((r = t), (t = void 0))), r.length) ) { var i, a = r.length; t || (t = createTypedArray("float32", a)); var n = createTypedArray("float32", a), s = BMMath.random(); for (i = 0; i < a; i += 1) n[i] = t[i] + s * (r[i] - t[i]); return n; } t === void 0 && (t = 0); var l = BMMath.random(); return t + l * (r - t); } function createPath(t, r, i, a) { var n, s = t.length, l = shapePool.newElement(); l.setPathData(!!a, s); var v = [0, 0], y, g; for (n = 0; n < s; n += 1) (y = r && r[n] ? r[n] : v), (g = i && i[n] ? i[n] : v), l.setTripleAt( t[n][0], t[n][1], g[0] + t[n][0], g[1] + t[n][1], y[0] + t[n][0], y[1] + t[n][1], n, !0 ); return l; } function initiateExpression(elem, data, property) { var val = data.x, needsVelocity = /velocity(?![\w\d])/.test(val), _needsRandom = val.indexOf("random") !== -1, elemType = elem.data.ty, transform, $bm_transform, content, effect, thisProperty = property; (thisProperty.valueAtTime = thisProperty.getValueAtTime), Object.defineProperty(thisProperty, "value", { get: function () { return thisProperty.v; }, }), (elem.comp.frameDuration = 1 / elem.comp.globalData.frameRate), (elem.comp.displayStartTime = 0); var inPoint = elem.data.ip / elem.comp.globalData.frameRate, outPoint = elem.data.op / elem.comp.globalData.frameRate, width = elem.data.sw ? elem.data.sw : 0, height = elem.data.sh ? elem.data.sh : 0, name = elem.data.nm, loopIn, loop_in, loopOut, loop_out, smooth, toWorld, fromWorld, fromComp, toComp, fromCompToSurface, position, rotation, anchorPoint, scale, thisLayer, thisComp, mask, valueAtTime, velocityAtTime, scoped_bm_rt, expression_function = eval( "[function _expression_function(){" + val + ";scoped_bm_rt=$bm_rt}]" )[0], numKeys = property.kf ? data.k.length : 0, active = !(this || e).data || (this || e).data.hd !== !0, wiggle = function t(r, i) { var a, n, s = (this || e).pv.length ? (this || e).pv.length : 1, l = createTypedArray("float32", s); r = 5; var v = Math.floor(time * r); for (a = 0, n = 0; a < v; ) { for (n = 0; n < s; n += 1) l[n] += -i + i * 2 * BMMath.random(); a += 1; } var y = time * r, g = y - Math.floor(y), w = createTypedArray("float32", s); if (s > 1) { for (n = 0; n < s; n += 1) w[n] = (this || e).pv[n] + l[n] + (-i + i * 2 * BMMath.random()) * g; return w; } return (this || e).pv + l[0] + (-i + i * 2 * BMMath.random()) * g; }.bind(this || e); thisProperty.loopIn && ((loopIn = thisProperty.loopIn.bind(thisProperty)), (loop_in = loopIn)), thisProperty.loopOut && ((loopOut = thisProperty.loopOut.bind(thisProperty)), (loop_out = loopOut)), thisProperty.smooth && (smooth = thisProperty.smooth.bind(thisProperty)); function loopInDuration(t, r) { return loopIn(t, r, !0); } function loopOutDuration(t, r) { return loopOut(t, r, !0); } (this || e).getValueAtTime && (valueAtTime = (this || e).getValueAtTime.bind(this || e)), (this || e).getVelocityAtTime && (velocityAtTime = (this || e).getVelocityAtTime.bind(this || e)); var comp = elem.comp.globalData.projectInterface.bind( elem.comp.globalData.projectInterface ); function lookAt(t, r) { var i = [r[0] - t[0], r[1] - t[1], r[2] - t[2]], a = Math.atan2(i[0], Math.sqrt(i[1] * i[1] + i[2] * i[2])) / degToRads, n = -Math.atan2(i[1], i[2]) / degToRads; return [n, a, 0]; } function easeOut(t, r, i, a, n) { return applyEase(easeOutBez, t, r, i, a, n); } function easeIn(t, r, i, a, n) { return applyEase(easeInBez, t, r, i, a, n); } function ease(t, r, i, a, n) { return applyEase(easeInOutBez, t, r, i, a, n); } function applyEase(t, r, i, a, n, s) { n === void 0 ? ((n = i), (s = a)) : (r = (r - i) / (a - i)), r > 1 ? (r = 1) : r < 0 && (r = 0); var l = t(r); if ($bm_isInstanceOfArray(n)) { var v, y = n.length, g = createTypedArray("float32", y); for (v = 0; v < y; v += 1) g[v] = (s[v] - n[v]) * l + n[v]; return g; } return (s - n) * l + n; } function nearestKey(t) { var r, i = data.k.length, a, n; if (!data.k.length || typeof data.k[0] == "number") (a = 0), (n = 0); else if ( ((a = -1), (t *= elem.comp.globalData.frameRate), t < data.k[0].t) ) (a = 1), (n = data.k[0].t); else { for (r = 0; r < i - 1; r += 1) if (t === data.k[r].t) { (a = r + 1), (n = data.k[r].t); break; } else if (t > data.k[r].t && t < data.k[r + 1].t) { t - data.k[r].t > data.k[r + 1].t - t ? ((a = r + 2), (n = data.k[r + 1].t)) : ((a = r + 1), (n = data.k[r].t)); break; } a === -1 && ((a = r + 1), (n = data.k[r].t)); } var s = {}; return ( (s.index = a), (s.time = n / elem.comp.globalData.frameRate), s ); } function key(t) { var r, i, a; if (!data.k.length || typeof data.k[0] == "number") throw new Error("The property has no keyframe at index " + t); (t -= 1), (r = { time: data.k[t].t / elem.comp.globalData.frameRate, value: [], }); var n = Object.prototype.hasOwnProperty.call(data.k[t], "s") ? data.k[t].s : data.k[t - 1].e; for (a = n.length, i = 0; i < a; i += 1) (r[i] = n[i]), (r.value[i] = n[i]); return r; } function framesToTime(t, r) { return r || (r = elem.comp.globalData.frameRate), t / r; } function timeToFrames(t, r) { return ( !t && t !== 0 && (t = time), r || (r = elem.comp.globalData.frameRate), t * r ); } function seedRandom(t) { BMMath.seedrandom(randSeed + t); } function sourceRectAtTime() { return elem.sourceRectAtTime(); } function substring(t, r) { return typeof value == "string" ? r === void 0 ? value.substring(t) : value.substring(t, r) : ""; } function substr(t, r) { return typeof value == "string" ? r === void 0 ? value.substr(t) : value.substr(t, r) : ""; } function posterizeTime(t) { (time = t === 0 ? 0 : Math.floor(time * t) / t), (value = valueAtTime(time)); } var time, velocity, value, text, textIndex, textTotal, selectorValue, index = elem.data.ind, hasParent = !!(elem.hierarchy && elem.hierarchy.length), parent, randSeed = Math.floor(Math.random() * 1e6), globalData = elem.globalData; function executeExpression(t) { return ( (value = t), _needsRandom && seedRandom(randSeed), (this || e).frameExpressionId === elem.globalData.frameId && (this || e).propType !== "textSelector" ? value : ((this || e).propType === "textSelector" && ((textIndex = (this || e).textIndex), (textTotal = (this || e).textTotal), (selectorValue = (this || e).selectorValue)), thisLayer || ((text = elem.layerInterface.text), (thisLayer = elem.layerInterface), (thisComp = elem.comp.compInterface), (toWorld = thisLayer.toWorld.bind(thisLayer)), (fromWorld = thisLayer.fromWorld.bind(thisLayer)), (fromComp = thisLayer.fromComp.bind(thisLayer)), (toComp = thisLayer.toComp.bind(thisLayer)), (mask = thisLayer.mask ? thisLayer.mask.bind(thisLayer) : null), (fromCompToSurface = fromComp)), transform || ((transform = elem.layerInterface("ADBE Transform Group")), ($bm_transform = transform), transform && (anchorPoint = transform.anchorPoint)), elemType === 4 && !content && (content = thisLayer("ADBE Root Vectors Group")), effect || (effect = thisLayer(4)), (hasParent = !!(elem.hierarchy && elem.hierarchy.length)), hasParent && !parent && (parent = elem.hierarchy[0].layerInterface), (time = (this || e).comp.renderedFrame / (this || e).comp.globalData.frameRate), needsVelocity && (velocity = velocityAtTime(time)), expression_function(), ((this || e).frameExpressionId = elem.globalData.frameId), scoped_bm_rt.propType === "shape" && (scoped_bm_rt = scoped_bm_rt.v), scoped_bm_rt) ); } return executeExpression; } return (ob.initiateExpression = initiateExpression), ob; })(), expressionHelpers = (function () { function t(l, v, y) { v.x && ((y.k = !0), (y.x = !0), (y.initiateExpression = ExpressionManager.initiateExpression), y.effectsSequence.push(y.initiateExpression(l, v, y).bind(y))); } function r(l) { return ( (l *= (this || e).elem.globalData.frameRate), (l -= (this || e).offsetTime), l !== (this || e)._cachingAtTime.lastFrame && (((this || e)._cachingAtTime.lastIndex = (this || e)._cachingAtTime.lastFrame < l ? (this || e)._cachingAtTime.lastIndex : 0), ((this || e)._cachingAtTime.value = this.interpolateValue( l, (this || e)._cachingAtTime )), ((this || e)._cachingAtTime.lastFrame = l)), (this || e)._cachingAtTime.value ); } function i(l) { var v = -0.01, y = this.getValueAtTime(l), g = this.getValueAtTime(l + v), w = 0; if (y.length) { var x; for (x = 0; x < y.length; x += 1) w += Math.pow(g[x] - y[x], 2); w = Math.sqrt(w) * 100; } else w = 0; return w; } function a(l) { if ((this || e).vel !== void 0) return (this || e).vel; var v = -0.001, y = this.getValueAtTime(l), g = this.getValueAtTime(l + v), w; if (y.length) { w = createTypedArray("float32", y.length); var x; for (x = 0; x < y.length; x += 1) w[x] = (g[x] - y[x]) / v; } else w = (g - y) / v; return w; } function n() { return (this || e).pv; } function s(l) { (this || e).propertyGroup = l; } return { searchExpressions: t, getSpeedAtTime: i, getVelocityAtTime: a, getValueAtTime: r, getStaticValueAtTime: n, setGroupProperty: s, }; })(); (function t() { function r(u, C, c) { if (!(this || e).k || !(this || e).keyframes) return (this || e).pv; u = u ? u.toLowerCase() : ""; var h = (this || e).comp.renderedFrame, m = (this || e).keyframes, o = m[m.length - 1].t; if (h <= o) return (this || e).pv; var f, d; c ? (C ? (f = Math.abs( o - (this || e).elem.comp.globalData.frameRate * C )) : (f = Math.max(0, o - (this || e).elem.data.ip)), (d = o - f)) : ((!C || C > m.length - 1) && (C = m.length - 1), (d = m[m.length - 1 - C].t), (f = o - d)); var b, A, E; if (u === "pingpong") { var P = Math.floor((h - d) / f); if (P % 2 !== 0) return this.getValueAtTime( (f - ((h - d) % f) + d) / (this || e).comp.globalData.frameRate, 0 ); } else if (u === "offset") { var F = this.getValueAtTime( d / (this || e).comp.globalData.frameRate, 0 ), I = this.getValueAtTime( o / (this || e).comp.globalData.frameRate, 0 ), R = this.getValueAtTime( (((h - d) % f) + d) / (this || e).comp.globalData.frameRate, 0 ), O = Math.floor((h - d) / f); if ((this || e).pv.length) { for (E = new Array(F.length), A = E.length, b = 0; b < A; b += 1) E[b] = (I[b] - F[b]) * O + R[b]; return E; } return (I - F) * O + R; } else if (u === "continue") { var z = this.getValueAtTime( o / (this || e).comp.globalData.frameRate, 0 ), V = this.getValueAtTime( (o - 0.001) / (this || e).comp.globalData.frameRate, 0 ); if ((this || e).pv.length) { for (E = new Array(z.length), A = E.length, b = 0; b < A; b += 1) E[b] = z[b] + ((z[b] - V[b]) * ((h - o) / (this || e).comp.globalData.frameRate)) / 5e-4; return E; } return z + (z - V) * ((h - o) / 0.001); } return this.getValueAtTime( (((h - d) % f) + d) / (this || e).comp.globalData.frameRate, 0 ); } function i(u, C, c) { if (!(this || e).k) return (this || e).pv; u = u ? u.toLowerCase() : ""; var h = (this || e).comp.renderedFrame, m = (this || e).keyframes, o = m[0].t; if (h >= o) return (this || e).pv; var f, d; c ? (C ? (f = Math.abs((this || e).elem.comp.globalData.frameRate * C)) : (f = Math.max(0, (this || e).elem.data.op - o)), (d = o + f)) : ((!C || C > m.length - 1) && (C = m.length - 1), (d = m[C].t), (f = d - o)); var b, A, E; if (u === "pingpong") { var P = Math.floor((o - h) / f); if (P % 2 === 0) return this.getValueAtTime( (((o - h) % f) + o) / (this || e).comp.globalData.frameRate, 0 ); } else if (u === "offset") { var F = this.getValueAtTime( o / (this || e).comp.globalData.frameRate, 0 ), I = this.getValueAtTime( d / (this || e).comp.globalData.frameRate, 0 ), R = this.getValueAtTime( (f - ((o - h) % f) + o) / (this || e).comp.globalData.frameRate, 0 ), O = Math.floor((o - h) / f) + 1; if ((this || e).pv.length) { for (E = new Array(F.length), A = E.length, b = 0; b < A; b += 1) E[b] = R[b] - (I[b] - F[b]) * O; return E; } return R - (I - F) * O; } else if (u === "continue") { var z = this.getValueAtTime( o / (this || e).comp.globalData.frameRate, 0 ), V = this.getValueAtTime( (o + 0.001) / (this || e).comp.globalData.frameRate, 0 ); if ((this || e).pv.length) { for (E = new Array(z.length), A = E.length, b = 0; b < A; b += 1) E[b] = z[b] + ((z[b] - V[b]) * (o - h)) / 0.001; return E; } return z + ((z - V) * (o - h)) / 0.001; } return this.getValueAtTime( (f - (((o - h) % f) + o)) / (this || e).comp.globalData.frameRate, 0 ); } function a(u, C) { if (!(this || e).k) return (this || e).pv; if (((u = (u || 0.4) * 0.5), (C = Math.floor(C || 5)), C <= 1)) return (this || e).pv; var c = (this || e).comp.renderedFrame / (this || e).comp.globalData.frameRate, h = c - u, m = c + u, o = C > 1 ? (m - h) / (C - 1) : 1, f = 0, d = 0, b; (this || e).pv.length ? (b = createTypedArray("float32", (this || e).pv.length)) : (b = 0); for (var A; f < C; ) { if (((A = this.getValueAtTime(h + f * o)), (this || e).pv.length)) for (d = 0; d < (this || e).pv.length; d += 1) b[d] += A[d]; else b += A; f += 1; } if ((this || e).pv.length) for (d = 0; d < (this || e).pv.length; d += 1) b[d] /= C; else b /= C; return b; } function n(u) { (this || e)._transformCachingAtTime || ((this || e)._transformCachingAtTime = { v: new Matrix() }); var C = (this || e)._transformCachingAtTime.v; if ( (C.cloneFromProps((this || e).pre.props), (this || e).appliedTransformations < 1) ) { var c = (this || e).a.getValueAtTime(u); C.translate( -c[0] * (this || e).a.mult, -c[1] * (this || e).a.mult, c[2] * (this || e).a.mult ); } if ((this || e).appliedTransformations < 2) { var h = (this || e).s.getValueAtTime(u); C.scale( h[0] * (this || e).s.mult, h[1] * (this || e).s.mult, h[2] * (this || e).s.mult ); } if ((this || e).sk && (this || e).appliedTransformations < 3) { var m = (this || e).sk.getValueAtTime(u), o = (this || e).sa.getValueAtTime(u); C.skewFromAxis(-m * (this || e).sk.mult, o * (this || e).sa.mult); } if ((this || e).r && (this || e).appliedTransformations < 4) { var f = (this || e).r.getValueAtTime(u); C.rotate(-f * (this || e).r.mult); } else if (!(this || e).r && (this || e).appliedTransformations < 4) { var d = (this || e).rz.getValueAtTime(u), b = (this || e).ry.getValueAtTime(u), A = (this || e).rx.getValueAtTime(u), E = (this || e).or.getValueAtTime(u); C.rotateZ(-d * (this || e).rz.mult) .rotateY(b * (this || e).ry.mult) .rotateX(A * (this || e).rx.mult) .rotateZ(-E[2] * (this || e).or.mult) .rotateY(E[1] * (this || e).or.mult) .rotateX(E[0] * (this || e).or.mult); } if ((this || e).data.p && (this || e).data.p.s) { var P = (this || e).px.getValueAtTime(u), F = (this || e).py.getValueAtTime(u); if ((this || e).data.p.z) { var I = (this || e).pz.getValueAtTime(u); C.translate( P * (this || e).px.mult, F * (this || e).py.mult, -I * (this || e).pz.mult ); } else C.translate(P * (this || e).px.mult, F * (this || e).py.mult, 0); } else { var R = (this || e).p.getValueAtTime(u); C.translate( R[0] * (this || e).p.mult, R[1] * (this || e).p.mult, -R[2] * (this || e).p.mult ); } return C; } function s() { return (this || e).v.clone(new Matrix()); } var l = TransformPropertyFactory.getTransformProperty; TransformPropertyFactory.getTransformProperty = function (u, C, c) { var h = l(u, C, c); return ( h.dynamicProperties.length ? (h.getValueAtTime = n.bind(h)) : (h.getValueAtTime = s.bind(h)), (h.setGroupProperty = expressionHelpers.setGroupProperty), h ); }; var v = PropertyFactory.getProp; PropertyFactory.getProp = function (u, C, c, h, m) { var o = v(u, C, c, h, m); o.kf ? (o.getValueAtTime = expressionHelpers.getValueAtTime.bind(o)) : (o.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(o)), (o.setGroupProperty = expressionHelpers.setGroupProperty), (o.loopOut = r), (o.loopIn = i), (o.smooth = a), (o.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(o)), (o.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(o)), (o.numKeys = C.a === 1 ? C.k.length : 0), (o.propertyIndex = C.ix); var f = 0; return ( c !== 0 && (f = createTypedArray( "float32", C.a === 1 ? C.k[0].s.length : C.k.length )), (o._cachingAtTime = { lastFrame: initialDefaultFrame, lastIndex: 0, value: f, }), expressionHelpers.searchExpressions(u, C, o), o.k && m.addDynamicProperty(o), o ); }; function y(u) { return ( (this || e)._cachingAtTime || ((this || e)._cachingAtTime = { shapeValue: shapePool.clone((this || e).pv), lastIndex: 0, lastTime: initialDefaultFrame, }), (u *= (this || e).elem.globalData.frameRate), (u -= (this || e).offsetTime), u !== (this || e)._cachingAtTime.lastTime && (((this || e)._cachingAtTime.lastIndex = (this || e)._cachingAtTime.lastTime < u ? (this || e)._caching.lastIndex : 0), ((this || e)._cachingAtTime.lastTime = u), this.interpolateShape( u, (this || e)._cachingAtTime.shapeValue, (this || e)._cachingAtTime )), (this || e)._cachingAtTime.shapeValue ); } var g = ShapePropertyFactory.getConstructorFunction(), w = ShapePropertyFactory.getKeyframedConstructorFunction(); function x() {} (x.prototype = { vertices: function (u, C) { (this || e).k && this.getValue(); var c = (this || e).v; C !== void 0 && (c = this.getValueAtTime(C, 0)); var h, m = c._length, o = c[u], f = c.v, d = createSizedArray(m); for (h = 0; h < m; h += 1) u === "i" || u === "o" ? (d[h] = [o[h][0] - f[h][0], o[h][1] - f[h][1]]) : (d[h] = [o[h][0], o[h][1]]); return d; }, points: function (u) { return this.vertices("v", u); }, inTangents: function (u) { return this.vertices("i", u); }, outTangents: function (u) { return this.vertices("o", u); }, isClosed: function () { return (this || e).v.c; }, pointOnPath: function (u, C) { var c = (this || e).v; C !== void 0 && (c = this.getValueAtTime(C, 0)), (this || e)._segmentsLength || ((this || e)._segmentsLength = bez.getSegmentsLength(c)); for ( var h = (this || e)._segmentsLength, m = h.lengths, o = h.totalLength * u, f = 0, d = m.length, b = 0, A; f < d; ) { if (b + m[f].addedLength > o) { var E = f, P = c.c && f === d - 1 ? 0 : f + 1, F = (o - b) / m[f].addedLength; A = bez.getPointInSegment( c.v[E], c.v[P], c.o[E], c.i[P], F, m[f] ); break; } else b += m[f].addedLength; f += 1; } return ( A || (A = c.c ? [c.v[0][0], c.v[0][1]] : [c.v[c._length - 1][0], c.v[c._length - 1][1]]), A ); }, vectorOnPath: function (u, C, c) { u == 1 ? (u = (this || e).v.c) : u == 0 && (u = 0.999); var h = this.pointOnPath(u, C), m = this.pointOnPath(u + 0.001, C), o = m[0] - h[0], f = m[1] - h[1], d = Math.sqrt(Math.pow(o, 2) + Math.pow(f, 2)); if (d === 0) return [0, 0]; var b = c === "tangent" ? [o / d, f / d] : [-f / d, o / d]; return b; }, tangentOnPath: function (u, C) { return this.vectorOnPath(u, C, "tangent"); }, normalOnPath: function (u, C) { return this.vectorOnPath(u, C, "normal"); }, setGroupProperty: expressionHelpers.setGroupProperty, getValueAtTime: expressionHelpers.getStaticValueAtTime, }), extendPrototype([x], g), extendPrototype([x], w), (w.prototype.getValueAtTime = y), (w.prototype.initiateExpression = ExpressionManager.initiateExpression); var p = ShapePropertyFactory.getShapeProp; ShapePropertyFactory.getShapeProp = function (u, C, c, h, m) { var o = p(u, C, c, h, m); return ( (o.propertyIndex = C.ix), (o.lock = !1), c === 3 ? expressionHelpers.searchExpressions(u, C.pt, o) : c === 4 && expressionHelpers.searchExpressions(u, C.ks, o), o.k && u.addDynamicProperty(o), o ); }; })(), (function t() { function r() { return (this || e).data.d.x ? (((this || e).calculateExpression = ExpressionManager.initiateExpression.bind(this || e)( (this || e).elem, (this || e).data.d, this || e )), this.addEffect((this || e).getExpressionValue.bind(this || e)), !0) : null; } (TextProperty.prototype.getExpressionValue = function (i, a) { var n = this.calculateExpression(a); if (i.t !== n) { var s = {}; return ( this.copyData(s, i), (s.t = n.toString()), (s.__complete = !1), s ); } return i; }), (TextProperty.prototype.searchProperty = function () { var i = this.searchKeyframes(), a = this.searchExpressions(); return ((this || e).kf = i || a), (this || e).kf; }), (TextProperty.prototype.searchExpressions = r); })(); var ShapePathInterface = (function () { return function (r, i, a) { var n = i.sh; function s(v) { return v === "Shape" || v === "shape" || v === "Path" || v === "path" || v === "ADBE Vector Shape" || v === 2 ? s.path : null; } var l = propertyGroupFactory(s, a); return ( n.setGroupProperty(PropertyInterface("Path", l)), Object.defineProperties(s, { path: { get: function () { return n.k && n.getValue(), n; }, }, shape: { get: function () { return n.k && n.getValue(), n; }, }, _name: { value: r.nm }, ix: { value: r.ix }, propertyIndex: { value: r.ix }, mn: { value: r.mn }, propertyGroup: { value: a }, }), s ); }; })(), propertyGroupFactory = (function () { return function (t, r) { return function (i) { return (i = i === void 0 ? 1 : i), i <= 0 ? t : r(i - 1); }; }; })(), PropertyInterface = (function () { return function (t, r) { var i = { _name: t }; function a(n) { return (n = n === void 0 ? 1 : n), n <= 0 ? i : r(n - 1); } return a; }; })(), ShapeExpressionInterface = (function () { function t(p, u, C) { var c = [], h, m = p ? p.length : 0; for (h = 0; h < m; h += 1) p[h].ty === "gr" ? c.push(i(p[h], u[h], C)) : p[h].ty === "fl" ? c.push(a(p[h], u[h], C)) : p[h].ty === "st" ? c.push(n(p[h], u[h], C)) : p[h].ty === "tm" ? c.push(s(p[h], u[h], C)) : p[h].ty === "tr" || (p[h].ty === "el" ? c.push(v(p[h], u[h], C)) : p[h].ty === "sr" ? c.push(y(p[h], u[h], C)) : p[h].ty === "sh" ? c.push(ShapePathInterface(p[h], u[h], C)) : p[h].ty === "rc" ? c.push(g(p[h], u[h], C)) : p[h].ty === "rd" ? c.push(w(p[h], u[h], C)) : p[h].ty === "rp" && c.push(x(p[h], u[h], C))); return c; } function r(p, u, C) { var c, h = function (f) { for (var d = 0, b = c.length; d < b; ) { if ( c[d]._name === f || c[d].mn === f || c[d].propertyIndex === f || c[d].ix === f || c[d].ind === f ) return c[d]; d += 1; } return typeof f == "number" ? c[f - 1] : null; }; (h.propertyGroup = propertyGroupFactory(h, C)), (c = t(p.it, u.it, h.propertyGroup)), (h.numProperties = c.length); var m = l( p.it[p.it.length - 1], u.it[u.it.length - 1], h.propertyGroup ); return ( (h.transform = m), (h.propertyIndex = p.cix), (h._name = p.nm), h ); } function i(p, u, C) { var c = function (f) { switch (f) { case "ADBE Vectors Group": case "Contents": case 2: return c.content; default: return c.transform; } }; c.propertyGroup = propertyGroupFactory(c, C); var h = r(p, u, c.propertyGroup), m = l( p.it[p.it.length - 1], u.it[u.it.length - 1], c.propertyGroup ); return ( (c.content = h), (c.transform = m), Object.defineProperty(c, "_name", { get: function () { return p.nm; }, }), (c.numProperties = p.np), (c.propertyIndex = p.ix), (c.nm = p.nm), (c.mn = p.mn), c ); } function a(p, u, C) { function c(h) { return h === "Color" || h === "color" ? c.color : h === "Opacity" || h === "opacity" ? c.opacity : null; } return ( Object.defineProperties(c, { color: { get: ExpressionPropertyInterface(u.c) }, opacity: { get: ExpressionPropertyInterface(u.o) }, _name: { value: p.nm }, mn: { value: p.mn }, }), u.c.setGroupProperty(PropertyInterface("Color", C)), u.o.setGroupProperty(PropertyInterface("Opacity", C)), c ); } function n(p, u, C) { var c = propertyGroupFactory(b, C), h = propertyGroupFactory(d, c); function m(A) { Object.defineProperty(d, p.d[A].nm, { get: ExpressionPropertyInterface(u.d.dataProps[A].p), }); } var o, f = p.d ? p.d.length : 0, d = {}; for (o = 0; o < f; o += 1) m(o), u.d.dataProps[o].p.setGroupProperty(h); function b(A) { return A === "Color" || A === "color" ? b.color : A === "Opacity" || A === "opacity" ? b.opacity : A === "Stroke Width" || A === "stroke width" ? b.strokeWidth : null; } return ( Object.defineProperties(b, { color: { get: ExpressionPropertyInterface(u.c) }, opacity: { get: ExpressionPropertyInterface(u.o) }, strokeWidth: { get: ExpressionPropertyInterface(u.w) }, dash: { get: function () { return d; }, }, _name: { value: p.nm }, mn: { value: p.mn }, }), u.c.setGroupProperty(PropertyInterface("Color", c)), u.o.setGroupProperty(PropertyInterface("Opacity", c)), u.w.setGroupProperty(PropertyInterface("Stroke Width", c)), b ); } function s(p, u, C) { function c(m) { return m === p.e.ix || m === "End" || m === "end" ? c.end : m === p.s.ix ? c.start : m === p.o.ix ? c.offset : null; } var h = propertyGroupFactory(c, C); return ( (c.propertyIndex = p.ix), u.s.setGroupProperty(PropertyInterface("Start", h)), u.e.setGroupProperty(PropertyInterface("End", h)), u.o.setGroupProperty(PropertyInterface("Offset", h)), (c.propertyIndex = p.ix), (c.propertyGroup = C), Object.defineProperties(c, { start: { get: ExpressionPropertyInterface(u.s) }, end: { get: ExpressionPropertyInterface(u.e) }, offset: { get: ExpressionPropertyInterface(u.o) }, _name: { value: p.nm }, }), (c.mn = p.mn), c ); } function l(p, u, C) { function c(m) { return p.a.ix === m || m === "Anchor Point" ? c.anchorPoint : p.o.ix === m || m === "Opacity" ? c.opacity : p.p.ix === m || m === "Position" ? c.position : p.r.ix === m || m === "Rotation" || m === "ADBE Vector Rotation" ? c.rotation : p.s.ix === m || m === "Scale" ? c.scale : (p.sk && p.sk.ix === m) || m === "Skew" ? c.skew : (p.sa && p.sa.ix === m) || m === "Skew Axis" ? c.skewAxis : null; } var h = propertyGroupFactory(c, C); return ( u.transform.mProps.o.setGroupProperty( PropertyInterface("Opacity", h) ), u.transform.mProps.p.setGroupProperty( PropertyInterface("Position", h) ), u.transform.mProps.a.setGroupProperty( PropertyInterface("Anchor Point", h) ), u.transform.mProps.s.setGroupProperty( PropertyInterface("Scale", h) ), u.transform.mProps.r.setGroupProperty( PropertyInterface("Rotation", h) ), u.transform.mProps.sk && (u.transform.mProps.sk.setGroupProperty( PropertyInterface("Skew", h) ), u.transform.mProps.sa.setGroupProperty( PropertyInterface("Skew Angle", h) )), u.transform.op.setGroupProperty(PropertyInterface("Opacity", h)), Object.defineProperties(c, { opacity: { get: ExpressionPropertyInterface(u.transform.mProps.o), }, position: { get: ExpressionPropertyInterface(u.transform.mProps.p), }, anchorPoint: { get: ExpressionPropertyInterface(u.transform.mProps.a), }, scale: { get: ExpressionPropertyInterface(u.transform.mProps.s) }, rotation: { get: ExpressionPropertyInterface(u.transform.mProps.r), }, skew: { get: ExpressionPropertyInterface(u.transform.mProps.sk) }, skewAxis: { get: ExpressionPropertyInterface(u.transform.mProps.sa), }, _name: { value: p.nm }, }), (c.ty = "tr"), (c.mn = p.mn), (c.propertyGroup = C), c ); } function v(p, u, C) { function c(o) { return p.p.ix === o ? c.position : p.s.ix === o ? c.size : null; } var h = propertyGroupFactory(c, C); c.propertyIndex = p.ix; var m = u.sh.ty === "tm" ? u.sh.prop : u.sh; return ( m.s.setGroupProperty(PropertyInterface("Size", h)), m.p.setGroupProperty(PropertyInterface("Position", h)), Object.defineProperties(c, { size: { get: ExpressionPropertyInterface(m.s) }, position: { get: ExpressionPropertyInterface(m.p) }, _name: { value: p.nm }, }), (c.mn = p.mn), c ); } function y(p, u, C) { function c(o) { return p.p.ix === o ? c.position : p.r.ix === o ? c.rotation : p.pt.ix === o ? c.points : p.or.ix === o || o === "ADBE Vector Star Outer Radius" ? c.outerRadius : p.os.ix === o ? c.outerRoundness : p.ir && (p.ir.ix === o || o === "ADBE Vector Star Inner Radius") ? c.innerRadius : p.is && p.is.ix === o ? c.innerRoundness : null; } var h = propertyGroupFactory(c, C), m = u.sh.ty === "tm" ? u.sh.prop : u.sh; return ( (c.propertyIndex = p.ix), m.or.setGroupProperty(PropertyInterface("Outer Radius", h)), m.os.setGroupProperty(PropertyInterface("Outer Roundness", h)), m.pt.setGroupProperty(PropertyInterface("Points", h)), m.p.setGroupProperty(PropertyInterface("Position", h)), m.r.setGroupProperty(PropertyInterface("Rotation", h)), p.ir && (m.ir.setGroupProperty(PropertyInterface("Inner Radius", h)), m.is.setGroupProperty(PropertyInterface("Inner Roundness", h))), Object.defineProperties(c, { position: { get: ExpressionPropertyInterface(m.p) }, rotation: { get: ExpressionPropertyInterface(m.r) }, points: { get: ExpressionPropertyInterface(m.pt) }, outerRadius: { get: ExpressionPropertyInterface(m.or) }, outerRoundness: { get: ExpressionPropertyInterface(m.os) }, innerRadius: { get: ExpressionPropertyInterface(m.ir) }, innerRoundness: { get: ExpressionPropertyInterface(m.is) }, _name: { value: p.nm }, }), (c.mn = p.mn), c ); } function g(p, u, C) { function c(o) { return p.p.ix === o ? c.position : p.r.ix === o ? c.roundness : p.s.ix === o || o === "Size" || o === "ADBE Vector Rect Size" ? c.size : null; } var h = propertyGroupFactory(c, C), m = u.sh.ty === "tm" ? u.sh.prop : u.sh; return ( (c.propertyIndex = p.ix), m.p.setGroupProperty(PropertyInterface("Position", h)), m.s.setGroupProperty(PropertyInterface("Size", h)), m.r.setGroupProperty(PropertyInterface("Rotation", h)), Object.defineProperties(c, { position: { get: ExpressionPropertyInterface(m.p) }, roundness: { get: ExpressionPropertyInterface(m.r) }, size: { get: ExpressionPropertyInterface(m.s) }, _name: { value: p.nm }, }), (c.mn = p.mn), c ); } function w(p, u, C) { function c(o) { return p.r.ix === o || o === "Round Corners 1" ? c.radius : null; } var h = propertyGroupFactory(c, C), m = u; return ( (c.propertyIndex = p.ix), m.rd.setGroupProperty(PropertyInterface("Radius", h)), Object.defineProperties(c, { radius: { get: ExpressionPropertyInterface(m.rd) }, _name: { value: p.nm }, }), (c.mn = p.mn), c ); } function x(p, u, C) { function c(o) { return p.c.ix === o || o === "Copies" ? c.copies : p.o.ix === o || o === "Offset" ? c.offset : null; } var h = propertyGroupFactory(c, C), m = u; return ( (c.propertyIndex = p.ix), m.c.setGroupProperty(PropertyInterface("Copies", h)), m.o.setGroupProperty(PropertyInterface("Offset", h)), Object.defineProperties(c, { copies: { get: ExpressionPropertyInterface(m.c) }, offset: { get: ExpressionPropertyInterface(m.o) }, _name: { value: p.nm }, }), (c.mn = p.mn), c ); } return function (p, u, C) { var c; function h(o) { if (typeof o == "number") return (o = o === void 0 ? 1 : o), o === 0 ? C : c[o - 1]; for (var f = 0, d = c.length; f < d; ) { if (c[f]._name === o) return c[f]; f += 1; } return null; } function m() { return C; } return ( (h.propertyGroup = propertyGroupFactory(h, m)), (c = t(p, u, h.propertyGroup)), (h.numProperties = c.length), (h._name = "Contents"), h ); }; })(), TextExpressionInterface = (function () { return function (t) { var r, i; function a(n) { switch (n) { case "ADBE Text Document": return a.sourceText; default: return null; } } return ( Object.defineProperty(a, "sourceText", { get: function () { t.textProperty.getValue(); var n = t.textProperty.currentData.t; return ( n !== r && ((t.textProperty.currentData.t = r), (i = new String(n)), (i.value = n || new String(n))), i ); }, }), a ); }; })(), LayerExpressionInterface = (function () { function t(g) { var w = new Matrix(); if (g !== void 0) { var x = (this || e)._elem.finalTransform.mProp.getValueAtTime(g); x.clone(w); } else { var p = (this || e)._elem.finalTransform.mProp; p.applyToMatrix(w); } return w; } function r(g, w) { var x = this.getMatrix(w); return ( (x.props[12] = 0), (x.props[13] = 0), (x.props[14] = 0), this.applyPoint(x, g) ); } function i(g, w) { var x = this.getMatrix(w); return this.applyPoint(x, g); } function a(g, w) { var x = this.getMatrix(w); return ( (x.props[12] = 0), (x.props[13] = 0), (x.props[14] = 0), this.invertPoint(x, g) ); } function n(g, w) { var x = this.getMatrix(w); return this.invertPoint(x, g); } function s(g, w) { if ( (this || e)._elem.hierarchy && (this || e)._elem.hierarchy.length ) { var x, p = (this || e)._elem.hierarchy.length; for (x = 0; x < p; x += 1) (this || e)._elem.hierarchy[x].finalTransform.mProp.applyToMatrix( g ); } return g.applyToPointArray(w[0], w[1], w[2] || 0); } function l(g, w) { if ( (this || e)._elem.hierarchy && (this || e)._elem.hierarchy.length ) { var x, p = (this || e)._elem.hierarchy.length; for (x = 0; x < p; x += 1) (this || e)._elem.hierarchy[x].finalTransform.mProp.applyToMatrix( g ); } return g.inversePoint(w); } function v(g) { var w = new Matrix(); if ( (w.reset(), (this || e)._elem.finalTransform.mProp.applyToMatrix(w), (this || e)._elem.hierarchy && (this || e)._elem.hierarchy.length) ) { var x, p = (this || e)._elem.hierarchy.length; for (x = 0; x < p; x += 1) (this || e)._elem.hierarchy[x].finalTransform.mProp.applyToMatrix( w ); return w.inversePoint(g); } return w.inversePoint(g); } function y() { return [1, 1, 1, 1]; } return function (g) { var w; function x(c) { u.mask = new MaskManagerInterface(c, g); } function p(c) { u.effect = c; } function u(c) { switch (c) { case "ADBE Root Vectors Group": case "Contents": case 2: return u.shapeInterface; case 1: case 6: case "Transform": case "transform": case "ADBE Transform Group": return w; case 4: case "ADBE Effect Parade": case "effects": case "Effects": return u.effect; case "ADBE Text Properties": return u.textInterface; default: return null; } } (u.getMatrix = t), (u.invertPoint = l), (u.applyPoint = s), (u.toWorld = i), (u.toWorldVec = r), (u.fromWorld = n), (u.fromWorldVec = a), (u.toComp = i), (u.fromComp = v), (u.sampleImage = y), (u.sourceRectAtTime = g.sourceRectAtTime.bind(g)), (u._elem = g), (w = TransformExpressionInterface(g.finalTransform.mProp)); var C = getDescriptor(w, "anchorPoint"); return ( Object.defineProperties(u, { hasParent: { get: function () { return g.hierarchy.length; }, }, parent: { get: function () { return g.hierarchy[0].layerInterface; }, }, rotation: getDescriptor(w, "rotation"), scale: getDescriptor(w, "scale"), position: getDescriptor(w, "position"), opacity: getDescriptor(w, "opacity"), anchorPoint: C, anchor_point: C, transform: { get: function () { return w; }, }, active: { get: function () { return g.isInRange; }, }, }), (u.startTime = g.data.st), (u.index = g.data.ind), (u.source = g.data.refId), (u.height = g.data.ty === 0 ? g.data.h : 100), (u.width = g.data.ty === 0 ? g.data.w : 100), (u.inPoint = g.data.ip / g.comp.globalData.frameRate), (u.outPoint = g.data.op / g.comp.globalData.frameRate), (u._name = g.data.nm), (u.registerMaskInterface = x), (u.registerEffectsInterface = p), u ); }; })(), FootageInterface = (function () { var t = function (i) { var a = "", n = i.getFootageData(); function s() { return (a = ""), (n = i.getFootageData()), l; } function l(v) { if (n[v]) return (a = v), (n = n[v]), typeof n == "object" ? l : n; var y = v.indexOf(a); if (y !== -1) { var g = parseInt(v.substr(y + a.length), 10); return (n = n[g]), typeof n == "object" ? l : n; } return ""; } return s; }, r = function (i) { function a(n) { return n === "Outline" ? a.outlineInterface() : null; } return (a._name = "Outline"), (a.outlineInterface = t(i)), a; }; return function (i) { function a(n) { return n === "Data" ? a.dataInterface : null; } return (a._name = "Data"), (a.dataInterface = r(i)), a; }; })(), CompExpressionInterface = (function () { return function (t) { function r(i) { for (var a = 0, n = t.layers.length; a < n; ) { if (t.layers[a].nm === i || t.layers[a].ind === i) return t.elements[a].layerInterface; a += 1; } return null; } return ( Object.defineProperty(r, "_name", { value: t.data.nm }), (r.layer = r), (r.pixelAspect = 1), (r.height = t.data.h || t.globalData.compSize.h), (r.width = t.data.w || t.globalData.compSize.w), (r.pixelAspect = 1), (r.frameDuration = 1 / t.globalData.frameRate), (r.displayStartTime = 0), (r.numLayers = t.layers.length), r ); }; })(), TransformExpressionInterface = (function () { return function (t) { function r(l) { switch (l) { case "scale": case "Scale": case "ADBE Scale": case 6: return r.scale; case "rotation": case "Rotation": case "ADBE Rotation": case "ADBE Rotate Z": case 10: return r.rotation; case "ADBE Rotate X": return r.xRotation; case "ADBE Rotate Y": return r.yRotation; case "position": case "Position": case "ADBE Position": case 2: return r.position; case "ADBE Position_0": return r.xPosition; case "ADBE Position_1": return r.yPosition; case "ADBE Position_2": return r.zPosition; case "anchorPoint": case "AnchorPoint": case "Anchor Point": case "ADBE AnchorPoint": case 1: return r.anchorPoint; case "opacity": case "Opacity": case 11: return r.opacity; default: return null; } } Object.defineProperty(r, "rotation", { get: ExpressionPropertyInterface(t.r || t.rz), }), Object.defineProperty(r, "zRotation", { get: ExpressionPropertyInterface(t.rz || t.r), }), Object.defineProperty(r, "xRotation", { get: ExpressionPropertyInterface(t.rx), }), Object.defineProperty(r, "yRotation", { get: ExpressionPropertyInterface(t.ry), }), Object.defineProperty(r, "scale", { get: ExpressionPropertyInterface(t.s), }); var i, a, n, s; return ( t.p ? (s = ExpressionPropertyInterface(t.p)) : ((i = ExpressionPropertyInterface(t.px)), (a = ExpressionPropertyInterface(t.py)), t.pz && (n = ExpressionPropertyInterface(t.pz))), Object.defineProperty(r, "position", { get: function () { return t.p ? s() : [i(), a(), n ? n() : 0]; }, }), Object.defineProperty(r, "xPosition", { get: ExpressionPropertyInterface(t.px), }), Object.defineProperty(r, "yPosition", { get: ExpressionPropertyInterface(t.py), }), Object.defineProperty(r, "zPosition", { get: ExpressionPropertyInterface(t.pz), }), Object.defineProperty(r, "anchorPoint", { get: ExpressionPropertyInterface(t.a), }), Object.defineProperty(r, "opacity", { get: ExpressionPropertyInterface(t.o), }), Object.defineProperty(r, "skew", { get: ExpressionPropertyInterface(t.sk), }), Object.defineProperty(r, "skewAxis", { get: ExpressionPropertyInterface(t.sa), }), Object.defineProperty(r, "orientation", { get: ExpressionPropertyInterface(t.or), }), r ); }; })(); ProjectInterface = (function () { function t(r) { (this || e).compositions.push(r); } return function () { function r(i) { for (var a = 0, n = (this || e).compositions.length; a < n; ) { if ( (this || e).compositions[a].data && (this || e).compositions[a].data.nm === i ) return ( (this || e).compositions[a].prepareFrame && (this || e).compositions[a].data.xt && (this || e).compositions[a].prepareFrame( (this || e).currentFrame ), (this || e).compositions[a].compInterface ); a += 1; } return null; } return ( (r.compositions = []), (r.currentFrame = 0), (r.registerComposition = t), r ); }; })(); var EffectsExpressionInterface = (function () { var t = { createEffectsInterface: r }; function r(n, s) { if (n.effectsManager) { var l = [], v = n.data.ef, y, g = n.effectsManager.effectElements.length; for (y = 0; y < g; y += 1) l.push(i(v[y], n.effectsManager.effectElements[y], s, n)); var w = n.data.ef || [], x = function (p) { for (y = 0, g = w.length; y < g; ) { if (p === w[y].nm || p === w[y].mn || p === w[y].ix) return l[y]; y += 1; } return null; }; return ( Object.defineProperty(x, "numProperties", { get: function () { return w.length; }, }), x ); } return null; } function i(n, s, l, v) { function y(u) { for (var C = n.ef, c = 0, h = C.length; c < h; ) { if (u === C[c].nm || u === C[c].mn || u === C[c].ix) return C[c].ty === 5 ? w[c] : w[c](); c += 1; } throw new Error(); } var g = propertyGroupFactory(y, l), w = [], x, p = n.ef.length; for (x = 0; x < p; x += 1) n.ef[x].ty === 5 ? w.push( i( n.ef[x], s.effectElements[x], s.effectElements[x].propertyGroup, v ) ) : w.push(a(s.effectElements[x], n.ef[x].ty, v, g)); return ( n.mn === "ADBE Color Control" && Object.defineProperty(y, "color", { get: function () { return w[0](); }, }), Object.defineProperties(y, { numProperties: { get: function () { return n.np; }, }, _name: { value: n.nm }, propertyGroup: { value: g }, }), (y.enabled = n.en !== 0), (y.active = y.enabled), y ); } function a(n, s, l, v) { var y = ExpressionPropertyInterface(n.p); function g() { return s === 10 ? l.comp.compInterface(n.p.v) : y(); } return ( n.p.setGroupProperty && n.p.setGroupProperty(PropertyInterface("", v)), g ); } return t; })(), MaskManagerInterface = (function () { function t(i, a) { ((this || e)._mask = i), ((this || e)._data = a); } Object.defineProperty(t.prototype, "maskPath", { get: function () { return ( (this || e)._mask.prop.k && (this || e)._mask.prop.getValue(), (this || e)._mask.prop ); }, }), Object.defineProperty(t.prototype, "maskOpacity", { get: function () { return ( (this || e)._mask.op.k && (this || e)._mask.op.getValue(), (this || e)._mask.op.v * 100 ); }, }); var r = function (i) { var a = createSizedArray(i.viewData.length), n, s = i.viewData.length; for (n = 0; n < s; n += 1) a[n] = new t(i.viewData[n], i.masksProperties[n]); var l = function (v) { for (n = 0; n < s; ) { if (i.masksProperties[n].nm === v) return a[n]; n += 1; } return null; }; return l; }; return r; })(), ExpressionPropertyInterface = (function () { var t = { pv: 0, v: 0, mult: 1 }, r = { pv: [0, 0, 0], v: [0, 0, 0], mult: 1 }; function i(l, v, y) { Object.defineProperty(l, "velocity", { get: function () { return v.getVelocityAtTime(v.comp.currentFrame); }, }), (l.numKeys = v.keyframes ? v.keyframes.length : 0), (l.key = function (g) { if (!l.numKeys) return 0; var w = ""; "s" in v.keyframes[g - 1] ? (w = v.keyframes[g - 1].s) : "e" in v.keyframes[g - 2] ? (w = v.keyframes[g - 2].e) : (w = v.keyframes[g - 2].s); var x = y === "unidimensional" ? new Number(w) : Object.assign({}, w); return ( (x.time = v.keyframes[g - 1].t / v.elem.comp.globalData.frameRate), (x.value = y === "unidimensional" ? w[0] : w), x ); }), (l.valueAtTime = v.getValueAtTime), (l.speedAtTime = v.getSpeedAtTime), (l.velocityAtTime = v.getVelocityAtTime), (l.propertyGroup = v.propertyGroup); } function a(l) { (!l || !("pv" in l)) && (l = t); var v = 1 / l.mult, y = l.pv * v, g = new Number(y); return ( (g.value = y), i(g, l, "unidimensional"), function () { return ( l.k && l.getValue(), (y = l.v * v), g.value !== y && ((g = new Number(y)), (g.value = y), i(g, l, "unidimensional")), g ); } ); } function n(l) { (!l || !("pv" in l)) && (l = r); var v = 1 / l.mult, y = (l.data && l.data.l) || l.pv.length, g = createTypedArray("float32", y), w = createTypedArray("float32", y); return ( (g.value = w), i(g, l, "multidimensional"), function () { l.k && l.getValue(); for (var x = 0; x < y; x += 1) (w[x] = l.v[x] * v), (g[x] = w[x]); return g; } ); } function s() { return t; } return function (l) { return l ? (l.propType === "unidimensional" ? a(l) : n(l)) : s; }; })(); (function () { var t = (function () { function i(a, n) { return ( ((this || e).textIndex = a + 1), ((this || e).textTotal = n), ((this || e).v = this.getValue() * (this || e).mult), (this || e).v ); } return function (n, s) { ((this || e).pv = 1), ((this || e).comp = n.comp), ((this || e).elem = n), ((this || e).mult = 0.01), ((this || e).propType = "textSelector"), ((this || e).textTotal = s.totalChars), ((this || e).selectorValue = 100), ((this || e).lastValue = [1, 1, 1]), ((this || e).k = !0), ((this || e).x = !0), ((this || e).getValue = ExpressionManager.initiateExpression.bind( this || e )(n, s, this || e)), ((this || e).getMult = i), ((this || e).getVelocityAtTime = expressionHelpers.getVelocityAtTime), (this || e).kf ? ((this || e).getValueAtTime = expressionHelpers.getValueAtTime.bind(this || e)) : ((this || e).getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(this || e)), ((this || e).setGroupProperty = expressionHelpers.setGroupProperty); }; })(), r = TextSelectorProp.getTextSelectorProp; TextSelectorProp.getTextSelectorProp = function (i, a, n) { return a.t === 1 ? new TextExpressionSelectorPropFactory(i, a, n) : r(i, a, n); }; })(); function SliderEffect(t, r, i) { (this || e).p = PropertyFactory.getProp(r, t.v, 0, 0, i); } function AngleEffect(t, r, i) { (this || e).p = PropertyFactory.getProp(r, t.v, 0, 0, i); } function ColorEffect(t, r, i) { (this || e).p = PropertyFactory.getProp(r, t.v, 1, 0, i); } function PointEffect(t, r, i) { (this || e).p = PropertyFactory.getProp(r, t.v, 1, 0, i); } function LayerIndexEffect(t, r, i) { (this || e).p = PropertyFactory.getProp(r, t.v, 0, 0, i); } function MaskIndexEffect(t, r, i) { (this || e).p = PropertyFactory.getProp(r, t.v, 0, 0, i); } function CheckboxEffect(t, r, i) { (this || e).p = PropertyFactory.getProp(r, t.v, 0, 0, i); } function NoValueEffect() { (this || e).p = {}; } function EffectsManager(t, r) { var i = t.ef || []; (this || e).effectElements = []; var a, n = i.length, s; for (a = 0; a < n; a += 1) (s = new GroupEffect(i[a], r)), (this || e).effectElements.push(s); } function GroupEffect(t, r) { this.init(t, r); } extendPrototype([DynamicPropertyContainer], GroupEffect), (GroupEffect.prototype.getValue = GroupEffect.prototype.iterateDynamicProperties), (GroupEffect.prototype.init = function (t, r) { ((this || e).data = t), ((this || e).effectElements = []), this.initDynamicPropertyContainer(r); var i, a = (this || e).data.ef.length, n, s = (this || e).data.ef; for (i = 0; i < a; i += 1) { switch (((n = null), s[i].ty)) { case 0: n = new SliderEffect(s[i], r, this || e); break; case 1: n = new AngleEffect(s[i], r, this || e); break; case 2: n = new ColorEffect(s[i], r, this || e); break; case 3: n = new PointEffect(s[i], r, this || e); break; case 4: case 7: n = new CheckboxEffect(s[i], r, this || e); break; case 10: n = new LayerIndexEffect(s[i], r, this || e); break; case 11: n = new MaskIndexEffect(s[i], r, this || e); break; case 5: n = new EffectsManager(s[i], r, this || e); break; default: n = new NoValueEffect(s[i], r, this || e); break; } n && (this || e).effectElements.push(n); } }); var lottie = {}; function setLocationHref(t) { locationHref = t; } function searchAnimations() { standalone === !0 ? animationManager.searchAnimations(animationData, standalone, renderer) : animationManager.searchAnimations(); } function setSubframeRendering(t) { subframeEnabled = t; } function loadAnimation(t) { return ( standalone === !0 && (t.animationData = JSON.parse(animationData)), animationManager.loadAnimation(t) ); } function setQuality(t) { if (typeof t == "string") switch (t) { case "high": defaultCurveSegments = 200; break; default: case "medium": defaultCurveSegments = 50; break; case "low": defaultCurveSegments = 10; break; } else !isNaN(t) && t > 1 && (defaultCurveSegments = t); defaultCurveSegments >= 50 ? roundValues(!1) : roundValues(!0); } function inBrowser() { return typeof navigator < "u"; } function installPlugin(t, r) { t === "expressions" && (expressionsPlugin = r); } function getFactory(t) { switch (t) { case "propertyFactory": return PropertyFactory; case "shapePropertyFactory": return ShapePropertyFactory; case "matrix": return Matrix; default: return null; } } (lottie.play = animationManager.play), (lottie.pause = animationManager.pause), (lottie.setLocationHref = setLocationHref), (lottie.togglePause = animationManager.togglePause), (lottie.setSpeed = animationManager.setSpeed), (lottie.setDirection = animationManager.setDirection), (lottie.stop = animationManager.stop), (lottie.searchAnimations = searchAnimations), (lottie.registerAnimation = animationManager.registerAnimation), (lottie.loadAnimation = loadAnimation), (lottie.setSubframeRendering = setSubframeRendering), (lottie.resize = animationManager.resize), (lottie.goToAndStop = animationManager.goToAndStop), (lottie.destroy = animationManager.destroy), (lottie.setQuality = setQuality), (lottie.inBrowser = inBrowser), (lottie.installPlugin = installPlugin), (lottie.freeze = animationManager.freeze), (lottie.unfreeze = animationManager.unfreeze), (lottie.setVolume = animationManager.setVolume), (lottie.mute = animationManager.mute), (lottie.unmute = animationManager.unmute), (lottie.getRegisteredAnimations = animationManager.getRegisteredAnimations), (lottie.__getFactory = getFactory), (lottie.version = "5.7.8"); function checkReady() { document.readyState === "complete" && (clearInterval(readyStateCheckInterval), searchAnimations()); } function getQueryVariable(t) { for (var r = queryString.split("&"), i = 0; i < r.length; i += 1) { var a = r[i].split("="); if (decodeURIComponent(a[0]) == t) return decodeURIComponent(a[1]); } return null; } var standalone = "__[STANDALONE]__", animationData = "__[ANIMATIONDATA]__", renderer = "", queryString; if (standalone) { var scripts = document.getElementsByTagName("script"), index = scripts.length - 1, myScript = scripts[index] || { src: "" }; (queryString = myScript.src.replace(/^[^\?]+\??/, "")), (renderer = getQueryVariable("renderer")); } var readyStateCheckInterval = setInterval(checkReady, 100); return lottie; }); var bi = Rt, ht = bi; var _e; (function (t) { (t.File = "Upload"), (t.Url = "URL"); })(_e || (_e = {})); var Re; (function (t) { (t.Auto = "Auto"), (t.Custom = "Custom"); })(Re || (Re = {})); var gr = "https://raw.githubusercontent.com/framer/Lottie/master/Lottie.framerfx/assets/logo.json"; function Ze(t) { let { style: r, srcUrl: i, srcFile: a, srcType: n, poster: s, progress: l, playing: v, loop: y, posterProgress: g, pauseOnCanvas: w, isForwardsDirection: x, speed: p, onClick: u, onMouseEnter: C, onMouseLeave: c, onMouseDown: h, onMouseUp: m, onComplete: o, } = t, f = ve.current() === ve.canvas, d = (!w || !f) && v, b = x ? 1 : -1, A = s === Re.Custom, E = X(), P = X(!1), F = X({ data: null, animation: null, duration: null }), I = ur(l, { transform: (_) => _ * 0.01 }), R = () => { var _, M; return (_ = F.current) === null || _ === void 0 || (M = _.animation) === null || M === void 0 ? void 0 : M.play(); }, O = () => { var _, M; return (_ = F.current) === null || _ === void 0 || (M = _.animation) === null || M === void 0 ? void 0 : M.pause(); }, z = () => { var _, M; return (_ = F.current) === null || _ === void 0 || (M = _.animation) === null || M === void 0 ? void 0 : M.destroy(); }, V = Ce((_, M) => { if (!F.current.duration || !F.current.animation) return; let B = _ === 1 ? F.current.duration - 1 : _ * F.current.duration; M ? F.current.animation.goToAndPlay(B, !0) : F.current.animation.goToAndStop(B, !0); }, []), N = Ce( async (_) => _ ? await fetch(_, { method: "GET", credentials: "omit", redirect: "follow", }).then((B) => B.json()) : null, [] ), k = Ce(async () => { z(); let _; n === _e.Url && (_ = i), n === _e.File && (_ = a), _ || (console.warn("No valid Lottie animation provided"), (_ = gr)); let M = await N(_); return (F.current.data = M), T(P.current); }, [n, i, a]), T = Ce( (_) => { if (!E.current) return; z(); let M = { container: E.current, renderer: "svg", loop: !f && y, autoplay: d, animationData: F.current.data, rendererSettings: { preserveAspectRatio: "xMidYMid slice" }, }, B = (F.current.animation = ht.loadAnimation(M)); return ( (F.current.duration = B.getDuration(!0)), B.setDirection(b), B.setSpeed(p), (P.current = !0), f && A ? V(g, !1) : V(I.get(), d || _), () => { B.destroy(); } ); }, [y, d, p, b, f, A, g] ); return ( te(() => { let _; return ( k().then((M) => (_ = M)), () => { _ && _(); } ); }, [n, a, i]), te(() => { if (P.current) return T(!1); }, [y]), te(() => ht.setQuality(f ? "low" : "medium"), []), te( () => I.onChange((_) => { f || (d ? V(_, !0) : V(_, !1)); }), [] ), te(() => { let _ = I.get(); d ? V(_, !0) : V(_, !1); }, [l]), te(() => { if (!f) return; let _ = g * 0.01; V(A ? _ : I.get(), !1); }, [A, g]), te(() => { var _; !((_ = F.current) === null || _ === void 0) && _.animation && (F.current.animation.setSpeed(p), V(I.get(), !0)); }, [p]), te(() => { var _; !((_ = F.current) === null || _ === void 0) && _.animation && (F.current.animation.setDirection(b), V(I.get(), !0)); }, [b]), te(() => { d ? R() : O(); }, [d]), S($.div, { ref: E, style: r, onClick: u, onMouseEnter: C, onMouseLeave: c, onMouseDown: h, onMouseUp: m, }) ); } Ze.defaultProps = { height: 200, width: 200, srcType: _e.Url, pauseOnCanvas: !0, srcUrl: gr, progress: 0, poster: Re.Auto, posterProgress: 0, }; Te(Ze, { srcType: { type: H.Enum, displaySegmentedControl: !0, title: "Source", options: [_e.Url, _e.File], }, srcUrl: { type: H.String, title: " ", placeholder: "../example.json", hidden: (t) => t.srcType === _e.File, }, srcFile: { type: H.File, title: " ", allowedFileTypes: ["json"], hidden: (t) => t.srcType === _e.Url, }, playing: { type: H.Boolean, title: "Playing", enabledTitle: "Yes", disabledTitle: "No", }, loop: { type: H.Boolean, title: "Loop", enabledTitle: "Yes", disabledTitle: "No", }, isForwardsDirection: { title: "Direction", type: H.Boolean, enabledTitle: "Normal", disabledTitle: "Reverse", }, speed: { type: H.Number, defaultValue: 1, min: 0, max: 10, step: 0.5, displayStepper: !0, unit: "x", }, poster: { title: "Poster", type: H.Enum, options: [Re.Auto, Re.Custom], displaySegmentedControl: !0, }, posterProgress: { title: " ", type: H.Number, max: 100, min: 0, unit: "%", hidden: ({ poster: t }) => t === Re.Auto, }, progress: { title: "Progress", type: H.Number, max: 100, min: 0, unit: "%", description: "This component is made for JSON files. [Learn more here](https://lottiefiles.com/what-is-lottie).", }, ...It, }); G(); G(); Et.loadFonts([]); var ct = [{ explicitInter: !0, fonts: [] }], mt = [ ".framer-o3gPu .framer-styles-preset-ucwbnv:not(.rich-text-wrapper), .framer-o3gPu .framer-styles-preset-ucwbnv.rich-text-wrapper a { --framer-link-current-text-decoration: underline; --framer-link-hover-text-color: #8a8a8a; --framer-link-hover-text-decoration: underline; --framer-link-text-decoration: none; }", ], pt = "framer-o3gPu"; var wi = ["YSeqhhaR5", "FgZej8f3F"], Ci = "framer-9cABy", Si = { FgZej8f3F: "framer-v-8ior3z", YSeqhhaR5: "framer-v-vgivef" }; function Ot(t, ...r) { let i = {}; return r?.forEach((a) => a && Object.assign(i, t[a])), i; } var Ei = { damping: 60, delay: 0, mass: 1, stiffness: 500, type: "spring" }, _i = ({ value: t, children: r }) => { let i = Bt(yt), a = t ?? i.transition, n = Me(() => ({ ...i, transition: a }), [JSON.stringify(a)]); return S(yt.Provider, { value: n, children: r }); }, Ai = $(D), Pi = { "Variant 1": "YSeqhhaR5", "Variant 2": "FgZej8f3F" }, Ti = ({ height: t, id: r, width: i, ...a }) => { var n, s; return { ...a, variant: (s = (n = Pi[a.variant]) !== null && n !== void 0 ? n : a.variant) !== null && s !== void 0 ? s : "YSeqhhaR5", }; }, ki = (t, r) => t.layoutDependency ? r.join("-") + t.layoutDependency : r.join("-"), Fi = Xe(function (t, r) { let { activeLocale: i, setLocale: a } = et(), { style: n, className: s, layoutId: l, variant: v, ...y } = Ti(t), { baseVariant: g, classNames: w, gestureHandlers: x, gestureVariant: p, setGestureState: u, setVariant: C, variants: c, } = Jt({ cycleOrder: wi, defaultVariant: "YSeqhhaR5", variant: v, variantClassNames: Si, }), h = ki(t, c), { activeVariantCallback: m, delay: o } = Zt(g), f = m(async (...I) => { C("FgZej8f3F"); }), d = m(async (...I) => { C("YSeqhhaR5"); }), b = X(null), A = () => g === "FgZej8f3F", E = $e(), P = [pt], F = jt(); return S(Ie, { id: l ?? E, children: S(Ai, { animate: c, initial: !1, children: S(_i, { value: Ei, children: j($.div, { ...y, ...x, className: Ge(Ci, ...P, "framer-vgivef", s, w), "data-border": !0, "data-framer-name": "Variant 1", layoutDependency: h, layoutId: "YSeqhhaR5", ref: r ?? b, style: { "--border-bottom-width": "5px", "--border-color": "rgb(66, 10, 0)", "--border-left-width": "0px", "--border-right-width": "0px", "--border-style": "solid", "--border-top-width": "0px", backgroundColor: "rgb(232, 57, 26)", ...n, }, ...Ot({ FgZej8f3F: { "data-framer-name": "Variant 2" } }, g, p), children: [ j($.div, { className: "framer-3ws1ny", layoutDependency: h, layoutId: "R5fyJH5LU", children: [ S(ke, { background: { alt: "", fit: "fill", intrinsicHeight: 256.5, intrinsicWidth: 367, pixelHeight: 513, pixelWidth: 734, sizes: "56px", src: "https://framerusercontent.com/images/LLljwRVWOgdnFjTeyCcnzh17jI.png?scale-down-to=512", srcSet: "https://framerusercontent.com/images/LLljwRVWOgdnFjTeyCcnzh17jI.png?scale-down-to=512 512w,https://framerusercontent.com/images/LLljwRVWOgdnFjTeyCcnzh17jI.png 734w", }, className: "framer-5quym4", "data-framer-name": "logo_top", layoutDependency: h, layoutId: "gmhiYHGmH", }), j($.div, { className: "framer-11qb41r", layoutDependency: h, layoutId: "bXjRNU_DI", children: [ S(oe, { href: "https://pancakeswap.finance/swap?outputCurrency=0x86bF362B3bcb067895481AA071A7364e5884232e", openInNewTab: !0, children: S($.a, { className: "framer-7509er framer-1pcexph", "data-border": !0, layoutDependency: h, layoutId: "P9sCPzPuL", style: { "--border-bottom-width": "3px", "--border-color": "rgb(204, 112, 7)", "--border-left-width": "3px", "--border-right-width": "3px", "--border-style": "solid", "--border-top-width": "3px", backgroundColor: "rgb(247, 225, 13)", borderBottomLeftRadius: 10, borderBottomRightRadius: 10, borderTopLeftRadius: 10, borderTopRightRadius: 10, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S($.p, { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "18px", "--framer-text-color": "var(--extracted-r6o4lv, rgb(66, 10, 0))", }, children: "BUY ANDY", }), }), className: "framer-1jpnfp4", fonts: ["GF;Londrina Solid-regular"], layoutDependency: h, layoutId: "Rmm621Dgj", style: { "--extracted-r6o4lv": "rgb(66, 10, 0)", "--framer-link-text-color": "rgb(0, 153, 255)", "--framer-link-text-decoration": "underline", }, verticalAlignment: "top", withExternalLayout: !0, }), }), }), S($.div, { className: "framer-1a085yt", "data-border": !0, "data-highlight": !0, layoutDependency: h, layoutId: "GVryWtGSr", onTap: f, style: { "--border-bottom-width": "3px", "--border-color": "rgb(204, 112, 7)", "--border-left-width": "3px", "--border-right-width": "3px", "--border-style": "solid", "--border-top-width": "3px", backgroundColor: "rgb(247, 225, 13)", borderBottomLeftRadius: 10, borderBottomRightRadius: 10, borderTopLeftRadius: 10, borderTopRightRadius: 10, }, ...Ot({ FgZej8f3F: { onTap: d } }, g, p), children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S($.p, { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "18px", "--framer-text-color": "var(--extracted-r6o4lv, rgb(66, 10, 0))", }, children: "=", }), }), className: "framer-aegq3y", fonts: ["GF;Londrina Solid-regular"], layoutDependency: h, layoutId: "k3NOfZ3MB", style: { "--extracted-r6o4lv": "rgb(66, 10, 0)", "--framer-link-text-color": "rgb(0, 153, 255)", "--framer-link-text-decoration": "underline", }, verticalAlignment: "top", withExternalLayout: !0, ...Ot( { FgZej8f3F: { children: S(D, { children: S($.p, { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "18px", "--framer-text-color": "var(--extracted-r6o4lv, rgb(66, 10, 0))", }, children: "-", }), }), }, }, g, p ), }), }), ], }), ], }), A() && S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S($.p, { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-text-color": "var(--extracted-r6o4lv, rgb(255, 255, 255))", }, children: S(oe, { href: { hash: ":EqtXFPhuN", webPageId: "augiA20Il" }, openInNewTab: !1, smoothScroll: !1, children: S($.a, { className: "framer-styles-preset-ucwbnv", "data-styles-preset": "KB8sT8PUr", children: "ABOUT", }), }), }), }), className: "framer-1g9082g", fonts: ["GF;Londrina Solid-regular"], layoutDependency: h, layoutId: "IRkpBK2PZ", style: { "--extracted-r6o4lv": "rgb(255, 255, 255)" }, verticalAlignment: "top", withExternalLayout: !0, }), A() && S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S($.p, { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-text-color": "var(--extracted-r6o4lv, rgb(255, 255, 255))", }, children: S(oe, { href: { hash: ":izM8o2FKA", webPageId: "augiA20Il" }, openInNewTab: !1, smoothScroll: !1, children: S($.a, { className: "framer-styles-preset-ucwbnv", "data-styles-preset": "KB8sT8PUr", children: "TOKENOMICS", }), }), }), }), className: "framer-p9v4ld", fonts: ["GF;Londrina Solid-regular"], layoutDependency: h, layoutId: "m9SkRBzUq", style: { "--extracted-r6o4lv": "rgb(255, 255, 255)" }, verticalAlignment: "top", withExternalLayout: !0, }), A() && S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S($.p, { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-text-color": "var(--extracted-r6o4lv, rgb(255, 255, 255))", }, children: S(oe, { href: { hash: ":dkL2z3JS9", webPageId: "augiA20Il" }, openInNewTab: !1, smoothScroll: !1, children: S($.a, { className: "framer-styles-preset-ucwbnv", "data-styles-preset": "KB8sT8PUr", children: "CONTACT", }), }), }), }), className: "framer-7m3z57", fonts: ["GF;Londrina Solid-regular"], layoutDependency: h, layoutId: "bnAEa2h5M", style: { "--extracted-r6o4lv": "rgb(255, 255, 255)" }, verticalAlignment: "top", withExternalLayout: !0, }), A() && S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S($.p, { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-text-color": "var(--extracted-r6o4lv, rgb(255, 255, 255))", }, children: S(oe, { href: { hash: ":InXTagf1q", webPageId: "augiA20Il" }, openInNewTab: !1, smoothScroll: !1, children: S($.a, { className: "framer-styles-preset-ucwbnv", "data-styles-preset": "KB8sT8PUr", children: "HOW TO BUY", }), }), }), }), className: "framer-1amguy9", fonts: ["GF;Londrina Solid-regular"], layoutDependency: h, layoutId: "XLUSTaW7X", style: { "--extracted-r6o4lv": "rgb(255, 255, 255)" }, verticalAlignment: "top", withExternalLayout: !0, }), A() && j($.div, { className: "framer-1lunauf", layoutDependency: h, layoutId: "tvl8wCqTl", children: [ S(oe, { href: "https://t.me/AndyGroup", children: S($.a, { className: "framer-c4904h framer-1pcexph", layoutDependency: h, layoutId: "ujgjBUIFx", children: S(Ee, { className: "framer-ztgfmo", "data-framer-name": "graphic", layout: "position", layoutDependency: h, layoutId: "jM5FKAQBu", opacity: 1, svg: '', svgContentId: 10985359742, withExternalLayout: !0, }), }), }), S(oe, { href: "https://x.com/AndyBscCTO", openInNewTab: !0, children: S($.a, { className: "framer-9i0s00 framer-1pcexph", layoutDependency: h, layoutId: "OzVDmz3eQ", children: S(Ee, { className: "framer-wbf734", "data-framer-name": "graphic", layout: "position", layoutDependency: h, layoutId: "dQoGwlSDM", opacity: 1, svg: '', svgContentId: 11694873408, withExternalLayout: !0, }), }), }), S(oe, { href: "https://www.dextools.io/app/en/bnb/pair-explorer/0xeb27e1a4a7a0f344196656f8bff66220b802a40f?t=1719773515152", children: S($.a, { className: "framer-1xpr8xb framer-1pcexph", layoutDependency: h, layoutId: "s8aihNEJA", children: S(Ee, { className: "framer-1829eef", "data-framer-name": "graphic", layout: "position", layoutDependency: h, layoutId: "EwMc5Cms6", opacity: 1, svg: '', svgContentId: 10293967334, withExternalLayout: !0, }), }), }), S(oe, { href: "https://dexscreener.com/bsc/0xeb27e1a4a7a0f344196656f8bff66220b802a40f", children: S($.a, { className: "framer-5gyiep framer-1pcexph", layoutDependency: h, layoutId: "fCSbrTSJZ", children: S(Ee, { className: "framer-w9tj8o", "data-framer-name": "graphic", layout: "position", layoutDependency: h, layoutId: "mc6UuMYxE", opacity: 1, svg: '', svgContentId: 12363955137, withExternalLayout: !0, }), }), }), ], }), ], }), }), }), }); }), Mi = [ "@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }", ".framer-9cABy.framer-1pcexph, .framer-9cABy .framer-1pcexph { display: block; }", ".framer-9cABy.framer-vgivef { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 141px; height: min-content; justify-content: center; overflow: hidden; padding: 15px 0px 25px 0px; position: relative; width: 390px; }", ".framer-9cABy .framer-3ws1ny { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; height: min-content; justify-content: space-between; overflow: visible; padding: 0px 15px 0px 15px; position: relative; width: 1px; }", ".framer-9cABy .framer-5quym4 { aspect-ratio: 1.4307992202729045 / 1; flex: none; height: 39px; overflow: visible; position: relative; width: var(--framer-aspect-ratio-supported, 56px); }", ".framer-9cABy .framer-11qb41r { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: min-content; }", ".framer-9cABy .framer-7509er { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 7px 14px 7px 14px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }", ".framer-9cABy .framer-1jpnfp4, .framer-9cABy .framer-aegq3y, .framer-9cABy .framer-1g9082g, .framer-9cABy .framer-p9v4ld, .framer-9cABy .framer-7m3z57, .framer-9cABy .framer-1amguy9 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }", ".framer-9cABy .framer-1a085yt { align-content: center; align-items: center; cursor: pointer; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 7px 14px 7px 14px; position: relative; width: 36px; will-change: var(--framer-will-change-override, transform); }", ".framer-9cABy .framer-1lunauf { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 18px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }", ".framer-9cABy .framer-c4904h, .framer-9cABy .framer-9i0s00, .framer-9cABy .framer-1xpr8xb, .framer-9cABy .framer-5gyiep { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; text-decoration: none; width: min-content; }", ".framer-9cABy .framer-ztgfmo { flex: none; height: 22px; position: relative; width: 27px; }", ".framer-9cABy .framer-wbf734 { flex: none; height: 24px; position: relative; width: 23px; }", ".framer-9cABy .framer-1829eef { flex: none; height: 27px; position: relative; width: 23px; }", ".framer-9cABy .framer-w9tj8o { flex: none; height: 29px; position: relative; width: 23px; }", "@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-9cABy.framer-vgivef, .framer-9cABy .framer-11qb41r, .framer-9cABy .framer-7509er, .framer-9cABy .framer-1a085yt, .framer-9cABy .framer-1lunauf, .framer-9cABy .framer-c4904h, .framer-9cABy .framer-9i0s00, .framer-9cABy .framer-1xpr8xb, .framer-9cABy .framer-5gyiep { gap: 0px; } .framer-9cABy.framer-vgivef > * { margin: 0px; margin-left: calc(141px / 2); margin-right: calc(141px / 2); } .framer-9cABy.framer-vgivef > :first-child, .framer-9cABy .framer-11qb41r > :first-child, .framer-9cABy .framer-7509er > :first-child, .framer-9cABy .framer-1a085yt > :first-child, .framer-9cABy .framer-1lunauf > :first-child, .framer-9cABy .framer-c4904h > :first-child, .framer-9cABy .framer-9i0s00 > :first-child, .framer-9cABy .framer-1xpr8xb > :first-child, .framer-9cABy .framer-5gyiep > :first-child { margin-left: 0px; } .framer-9cABy.framer-vgivef > :last-child, .framer-9cABy .framer-11qb41r > :last-child, .framer-9cABy .framer-7509er > :last-child, .framer-9cABy .framer-1a085yt > :last-child, .framer-9cABy .framer-1lunauf > :last-child, .framer-9cABy .framer-c4904h > :last-child, .framer-9cABy .framer-9i0s00 > :last-child, .framer-9cABy .framer-1xpr8xb > :last-child, .framer-9cABy .framer-5gyiep > :last-child { margin-right: 0px; } .framer-9cABy .framer-11qb41r > *, .framer-9cABy .framer-7509er > *, .framer-9cABy .framer-1a085yt > *, .framer-9cABy .framer-c4904h > *, .framer-9cABy .framer-9i0s00 > *, .framer-9cABy .framer-1xpr8xb > *, .framer-9cABy .framer-5gyiep > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-9cABy .framer-1lunauf > * { margin: 0px; margin-left: calc(18px / 2); margin-right: calc(18px / 2); } }", ".framer-9cABy.framer-v-8ior3z.framer-vgivef { flex-direction: column; gap: 16px; }", ".framer-9cABy.framer-v-8ior3z .framer-3ws1ny { flex: none; order: 0; width: 100%; }", ".framer-9cABy.framer-v-8ior3z .framer-1g9082g { order: 1; }", ".framer-9cABy.framer-v-8ior3z .framer-p9v4ld { order: 2; }", ".framer-9cABy.framer-v-8ior3z .framer-7m3z57 { order: 4; }", ".framer-9cABy.framer-v-8ior3z .framer-1amguy9 { order: 3; }", ".framer-9cABy.framer-v-8ior3z .framer-1lunauf { order: 8; }", "@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-9cABy.framer-v-8ior3z.framer-vgivef { gap: 0px; } .framer-9cABy.framer-v-8ior3z.framer-vgivef > * { margin: 0px; margin-bottom: calc(16px / 2); margin-top: calc(16px / 2); } .framer-9cABy.framer-v-8ior3z.framer-vgivef > :first-child { margin-top: 0px; } .framer-9cABy.framer-v-8ior3z.framer-vgivef > :last-child { margin-bottom: 0px; } }", ...mt, '.framer-9cABy[data-border="true"]::after, .framer-9cABy [data-border="true"]::after { content: ""; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }', ], Qe = tt(Fi, Mi, "framer-9cABy"), Vt = Qe; Qe.displayName = "navMob"; Qe.defaultProps = { height: 79, width: 390 }; Te(Qe, { variant: { options: ["YSeqhhaR5", "FgZej8f3F"], optionTitles: ["Variant 1", "Variant 2"], title: "Variant", type: H.Enum, }, }); rt( Qe, [ { explicitInter: !0, fonts: [ { family: "Londrina Solid", source: "google", style: "normal", url: "https://fonts.gstatic.com/s/londrinasolid/v17/flUhRq6sw40kQEJxWNgkLuudGcNcIhI8tIHh.woff2", weight: "400", }, ], }, ...it(ct), ], { supportsExplicitInterCodegen: !0 } ); var Ii = We(Vt), Li = We(Ze), Ri = We(Le), Oi = We(ze), yr = St(Y), dt = St($.div); var Vi = { aAag06w8H: "(max-width: 1199px)", ely5J5Ral: "(min-width: 1440px) and (max-width: 1599px)", H6T_Z_R1J: "(min-width: 1600px) and (max-width: 1919px)", HHALRVhFZ: "(min-width: 1920px)", WQLkyLRf1: "(min-width: 1200px) and (max-width: 1439px)", }, xr = () => typeof document < "u", br = "framer-qvm7O", Bi = { aAag06w8H: "framer-v-u2nt71", ely5J5Ral: "framer-v-4bx1p0", H6T_Z_R1J: "framer-v-9s5kyn", HHALRVhFZ: "framer-v-g3omc5", WQLkyLRf1: "framer-v-72rtr7", }, De = { opacity: 0, rotate: 0, rotateX: 0, rotateY: 0, scale: 1, skewX: 0, skewY: 0, x: 0, y: 0, }, wr = { damping: 30, delay: 0, mass: 1, stiffness: 400, type: "spring" }, zi = { opacity: 0, rotate: 0, rotateX: 0, rotateY: 0, scale: 1, skewX: 0, skewY: 0, transition: wr, x: 0, y: 0, }, Cr = { damping: 30, delay: 0.2, mass: 1, stiffness: 128, type: "spring" }, Di = { opacity: 0, rotate: 0, rotateX: 0, rotateY: 0, scale: 1, skewX: 0, skewY: 0, transition: Cr, x: 0, y: 0, }, Sr = { damping: 30, delay: 0.4, mass: 1, stiffness: 128, type: "spring" }, qi = { opacity: 0, rotate: 0, rotateX: 0, rotateY: 0, scale: 1, skewX: 0, skewY: 0, transition: Sr, x: 0, y: 0, }, Er = { damping: 30, delay: 0.6, mass: 1, stiffness: 128, type: "spring" }, Gi = { opacity: 0, rotate: 0, rotateX: 0, rotateY: 0, scale: 1, skewX: 0, skewY: 0, transition: Er, x: 0, y: 0, }, _r = { damping: 30, delay: 0.8, mass: 1, stiffness: 128, type: "spring" }, Ni = { opacity: 0, rotate: 0, rotateX: 0, rotateY: 0, scale: 1, skewX: 0, skewY: 0, transition: _r, x: 0, y: 0, }, Ar = { damping: 30, delay: 1, mass: 1, stiffness: 128, type: "spring" }, Hi = { opacity: 0, rotate: 0, rotateX: 0, rotateY: 0, scale: 1, skewX: 0, skewY: 0, transition: Ar, x: 0, y: 0, }, Je = _t(), Wi = { 1440: "ely5J5Ral", 1600: "H6T_Z_R1J", 1920: "HHALRVhFZ", Desktop: "WQLkyLRf1", Phone: "aAag06w8H", }, ji = ({ height: t, id: r, width: i, ...a }) => { var n, s; return { ...a, variant: (s = (n = Wi[a.variant]) !== null && n !== void 0 ? n : a.variant) !== null && s !== void 0 ? s : "WQLkyLRf1", }; }, Yi = Xe(function (t, r) { let { activeLocale: i, setLocale: a } = et(), { style: n, className: s, layoutId: l, variant: v, ...y } = ji(t); zt(() => { let F = _t(void 0, i); if (((document.title = F.title || ""), F.viewport)) { var I; (I = document.querySelector('meta[name="viewport"]')) === null || I === void 0 || I.setAttribute("content", F.viewport); } if (F.robots) { let R = document.querySelector('meta[name="robots"]'); R ? R.setAttribute("content", F.robots) : ((R = document.createElement("meta")), R.setAttribute("name", "robots"), R.setAttribute("content", F.robots), document.head.appendChild(R)); } if (F.bodyClassName) return ( Array.from(document.body.classList) .filter((R) => R.startsWith("framer-body-")) .map((R) => document.body.classList.remove(R)), document.body.classList.add(`${F.bodyClassName}-framer-qvm7O`), () => { document.body.classList.remove(`${F.bodyClassName}-framer-qvm7O`); } ); }, [void 0, i]); let [g, w] = Qt(v, Vi, !1), x = void 0, p = X(null), u = () => (xr() ? g !== "aAag06w8H" : !0), C = () => !xr() || g === "aAag06w8H", c = qe("EqtXFPhuN"), h = X(null), m = qe("izM8o2FKA"), o = X(null), f = qe("InXTagf1q"), d = X(null), b = qe("dkL2z3JS9"), A = X(null), E = $e(), P = [pt]; return ( Yt({}), S(Ut.Provider, { value: { primaryVariantId: "WQLkyLRf1", variantClassNames: Bi }, children: j(Ie, { id: l ?? E, children: [ j($.div, { ...y, className: Ge(br, ...P, "framer-72rtr7", s), ref: r ?? p, style: { ...n }, children: [ u() && j("div", { className: "framer-zcnsl9 hidden-u2nt71", "data-border": !0, children: [ S(ke, { background: { alt: "", fit: "fill", intrinsicHeight: 256.5, intrinsicWidth: 367, pixelHeight: 513, pixelWidth: 734, sizes: "80px", src: "https://framerusercontent.com/images/LLljwRVWOgdnFjTeyCcnzh17jI.png?scale-down-to=512", srcSet: "https://framerusercontent.com/images/LLljwRVWOgdnFjTeyCcnzh17jI.png?scale-down-to=512 512w,https://framerusercontent.com/images/LLljwRVWOgdnFjTeyCcnzh17jI.png 734w", }, className: "framer-x1u64l", "data-framer-name": "logo_top", name: "logo_top", }), S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "22px", "--framer-text-color": "rgb(255, 255, 255)", }, children: S(oe, { href: { hash: ":EqtXFPhuN", webPageId: "augiA20Il", }, openInNewTab: !1, smoothScroll: !1, children: S("a", { className: "framer-styles-preset-ucwbnv", "data-styles-preset": "KB8sT8PUr", children: "ABOUT", }), }), }), }), className: "framer-111joit", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "22px", "--framer-text-color": "rgb(255, 255, 255)", }, children: S(oe, { href: { hash: ":izM8o2FKA", webPageId: "augiA20Il", }, openInNewTab: !1, smoothScroll: !1, children: S("a", { className: "framer-styles-preset-ucwbnv", "data-styles-preset": "KB8sT8PUr", children: "TOKENOMICS", }), }), }), }), className: "framer-1pmykrn", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "22px", "--framer-text-color": "rgb(255, 255, 255)", }, children: S(oe, { href: { hash: ":InXTagf1q", webPageId: "augiA20Il", }, openInNewTab: !1, smoothScroll: !1, children: S("a", { className: "framer-styles-preset-ucwbnv", "data-styles-preset": "KB8sT8PUr", children: "HOW TO BUY", }), }), }), }), className: "framer-1mmsygm", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "22px", "--framer-text-color": "rgb(255, 255, 255)", }, children: S(oe, { href: { hash: ":dkL2z3JS9", webPageId: "augiA20Il", }, openInNewTab: !1, smoothScroll: !1, children: S("a", { className: "framer-styles-preset-ucwbnv", "data-styles-preset": "KB8sT8PUr", children: "CONTACT", }), }), }), }), className: "framer-1swukhf", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), j("div", { className: "framer-1tvhkbv", children: [ S(oe, { href: "https://t.me/AndyGroup", children: S("a", { className: "framer-1qxywec framer-lux5qc", children: S(Ee, { className: "framer-v57rg8", "data-framer-name": "graphic", layout: "position", name: "graphic", opacity: 1, svg: '', svgContentId: 10985359742, withExternalLayout: !0, }), }), }), S(oe, { href: "https://x.com/AndyBscCTO", openInNewTab: !0, children: S("a", { className: "framer-13nlqo5 framer-lux5qc", children: S(Ee, { className: "framer-6dkekh", "data-framer-name": "graphic", layout: "position", name: "graphic", opacity: 1, svg: '', svgContentId: 11694873408, withExternalLayout: !0, }), }), }), S(oe, { href: "https://www.dextools.io/app/en/bnb/pair-explorer/0xeb27e1a4a7a0f344196656f8bff66220b802a40f?t=1720246463083", children: S("a", { className: "framer-agsfok framer-lux5qc", children: S(Ee, { className: "framer-1dbai7l", "data-framer-name": "graphic", layout: "position", name: "graphic", opacity: 1, svg: '', svgContentId: 10293967334, withExternalLayout: !0, }), }), }), S(oe, { href: "https://dexscreener.com/bsc/0xeb27e1a4a7a0f344196656f8bff66220b802a40f", children: S("a", { className: "framer-1bz6888 framer-lux5qc", children: S(Ee, { className: "framer-z37fcp", "data-framer-name": "graphic", layout: "position", name: "graphic", opacity: 1, svg: '', svgContentId: 12363955137, withExternalLayout: !0, }), }), }), ], }), S(oe, { href: "https://www.dextools.io/app/en/bnb/pair-explorer/0xeb27e1a4a7a0f344196656f8bff66220b802a40f?t=1720246463083", openInNewTab: !0, children: S("a", { className: "framer-r05v10 framer-lux5qc", "data-border": !0, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-text-color": "rgb(66, 10, 0)", }, children: "BUY ANDY", }), }), className: "framer-18q64ec", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), }), ], }), C() && S(K, { breakpoint: g, overrides: { aAag06w8H: { width: "100vw" } }, children: S(Ne, { children: S(He, { className: "framer-9oru58-container hidden-72rtr7 hidden-4bx1p0 hidden-9s5kyn hidden-g3omc5", children: S(Vt, { height: "100%", id: "m7MKYJkkb", layoutId: "m7MKYJkkb", style: { width: "100%" }, variant: "YSeqhhaR5", width: "100%", }), }), }), }), j("div", { className: "framer-4qcw5u", children: [ S("div", { className: "framer-klxt3y", children: S(Ne, { children: S(He, { className: "framer-175o0zl-container", children: S(Ze, { height: "100%", id: "NmkWB27Pk", isForwardsDirection: !0, layoutId: "NmkWB27Pk", loop: !0, playing: !0, poster: "Auto", posterProgress: 0, progress: 0, speed: 0.5, srcFile: "https://framerusercontent.com/assets/MRJBaHymIBRbdTb8QmrNVHt0tKA.json", srcType: "Upload", srcUrl: "https://raw.githubusercontent.com/framer/Lottie/master/Lottie.framerfx/assets/logo.json", style: { height: "100%", width: "100%" }, width: "100%", }), }), }), }), j("div", { className: "framer-8y3tah", children: [ S(Ne, { children: S(He, { className: "framer-o6usms-container", children: [ S("img", { src: "./images/LLljwRVWOgdnFjTeyCcnzh17jI.png", alt: "Gambar di atas animasi", style: { width: "100%", height: "auto", marginBottom: "10px", marginTop: "80px" } // Tambahkan marginTop 30px }), S(Le, { autoplay: !0, background: "rgba(0, 0, 0, 0)", controls: !1, direction: "1", height: "100%", hover: !1, id: "xdEni98Gl", layoutId: "xdEni98Gl", loop: !0, progress: 0, speed: 1, srcType: "url", srcUrl: "https://lottie.host/96f62d1f-51ba-4266-8487-6a6f22b97aeb/E5Y3nMmNVI.lottie", style: { height: "100%", width: "100%" }, width: "100%", }) ], }), }), j("div", { className: "framer-1p9562i", children: [ S(K, { breakpoint: g, overrides: { ely5J5Ral: { children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "167px", "--framer-text-color": "rgb(254, 253, 228)", }, children: "Andy", }), }), }, H6T_Z_R1J: { children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "187px", "--framer-text-color": "rgb(254, 253, 228)", }, children: "Andy", }), }), }, HHALRVhFZ: { children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "224px", "--framer-text-color": "rgb(254, 253, 228)", }, children: "Andy", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "145px", "--framer-text-color": "rgb(254, 253, 228)", }, children: "Andy", }), }), className: "framer-1xu3m8b", fonts: ["CUSTOM;Genty Demo Regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { ely5J5Ral: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "60px", "--framer-text-color": "rgb(204, 112, 7)", }, children: "ON BSC MADAFAKA", }), }), }, H6T_Z_R1J: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "66px", "--framer-text-color": "rgb(204, 112, 7)", }, children: "ON BSC MADAFAKA", }), }), }, HHALRVhFZ: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "79px", "--framer-text-color": "rgb(204, 112, 7)", }, children: "ON BSC MADAFAKA", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "50px", "--framer-text-color": "rgb(204, 112, 7)", }, children: "ON BSC MADAFAKA", }), }), className: "framer-1laboh4", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), ], }), ], }), S("div", { className: "framer-1z0ziz5", "data-border": !0, children: S(Ne, { children: S(He, { className: "framer-1hncw0o-container", children: S(ze, { alignment: "center", direction: "left", fadeOptions: { fadeAlpha: 0, fadeContent: !0, fadeInset: 0, fadeWidth: 25, overflow: !1, }, gap: 10, height: "100%", hoverFactor: 1, id: "m4vpib5LA", layoutId: "m4vpib5LA", padding: 10, paddingBottom: 10, paddingLeft: 10, paddingPerSide: !1, paddingRight: 10, paddingTop: 10, sizingOptions: { heightType: !0, widthType: !0 }, slots: [ j($.div, { className: "framer-1c5uc92", children: [ S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "30px", "--framer-text-color": "rgb(255, 255, 255)", }, children: "BREAKING NEWS, ANDY IS NOW ON BSC!", }), }), className: "framer-3biztx", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), S(ke, { background: { alt: "", fit: "fill", intrinsicHeight: 38, intrinsicWidth: 42.5, pixelHeight: 76, pixelWidth: 85, src: "https://framerusercontent.com/images/Sb0wQLbxhzYtZy1C6AmeLRQ3qo.png", }, className: "framer-5uemd1", "data-framer-name": "alarm_symbol", name: "alarm_symbol", }), ], }), ], speed: 100, style: { height: "100%", width: "100%" }, width: "100%", }), }), }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { background: { alt: "", fit: "fill", pixelHeight: 1920, pixelWidth: 1080, sizes: "100vw", src: "https://framerusercontent.com/images/aJ9yOXuzBVDqubaDEu8WKIpipDU.png", srcSet: "https://framerusercontent.com/images/aJ9yOXuzBVDqubaDEu8WKIpipDU.png?scale-down-to=1024 576w,https://framerusercontent.com/images/aJ9yOXuzBVDqubaDEu8WKIpipDU.png 1080w", }, }, }, children: j(ke, { background: { alt: "", fit: "fill", pixelHeight: 1138, pixelWidth: 1920, sizes: "100vw", src: "https://framerusercontent.com/images/VcNpfWYM6fYhELnGKfKu7qRPQT8.png", srcSet: "https://framerusercontent.com/images/VcNpfWYM6fYhELnGKfKu7qRPQT8.png?scale-down-to=512 512w,https://framerusercontent.com/images/VcNpfWYM6fYhELnGKfKu7qRPQT8.png?scale-down-to=1024 1024w,https://framerusercontent.com/images/VcNpfWYM6fYhELnGKfKu7qRPQT8.png 1920w", }, className: "framer-1t432il", id: c, ref: h, children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { "data-border": !0 } }, children: j("div", { className: "framer-1y98tjs", children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "45px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "Who is Andy?", }), }), }, H6T_Z_R1J: { children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "80px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "Who is Andy?", }), }), }, HHALRVhFZ: { children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "96px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "Who is Andy?", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "68px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "Who is Andy?", }), }), className: "framer-1nk75j1", fonts: ["CUSTOM;Genty Demo Regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "19px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(255, 255, 255)", }, children: "Along with best friends Pepe, Brett and Landwolf, Andy's iconic character featured in Matt Furie's now classic Boy's Club comic book series. Andy is a lovable weirdo that spends his days enjoying drug-fueled hedonism and impish mischief. Always pranking, always laughing, he's one of the boys.", }), }), }, H6T_Z_R1J: { children: j(D, { children: [ S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "32px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(255, 255, 255)", }, children: "Along with best friends Pepe, Brett and Landwolf, Andy's iconic character featured in Matt Furie's now classic Boy's Club comic book series.", }), S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "32px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(255, 255, 255)", }, children: "Andy is a lovable weirdo that spends his days enjoying drug-fueled hedonism and impish mischief. Always pranking, always laughing, he's one of the boys.", }), ], }), }, HHALRVhFZ: { children: j(D, { children: [ S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "33px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(255, 255, 255)", }, children: "Along with best friends Pepe, Brett and Landwolf, Andy's iconic character featured in Matt Furie's now classic Boy's Club comic book series.", }), S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "33px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(255, 255, 255)", }, children: "Andy is a lovable weirdo that spends his days enjoying drug-fueled hedonism and impish mischief. Always pranking, always laughing, he's one of the boys.", }), ], }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: j(D, { children: [ S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(255, 255, 255)", }, children: "Along with best friends Pepe, Brett and Landwolf, Andy's iconic character featured in Matt Furie's now classic Boy's Club comic book series.", }), S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(255, 255, 255)", }, children: "Andy is a lovable weirdo that spends his days enjoying drug-fueled hedonism and impish mischief. Always pranking, always laughing, he's one of the boys.", }), ], }), className: "framer-1n6jzgc", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), }), S("div", { className: "framer-1342hz7" }), ], }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { background: { alt: "", fit: "fill", loading: "lazy", pixelHeight: 1920, pixelWidth: 1080, sizes: "100vw", src: "https://framerusercontent.com/images/bdvR4yLsyM1FKwOQ6wQOAjw94.png", srcSet: "https://framerusercontent.com/images/bdvR4yLsyM1FKwOQ6wQOAjw94.png?scale-down-to=1024 576w,https://framerusercontent.com/images/bdvR4yLsyM1FKwOQ6wQOAjw94.png 1080w", }, }, H6T_Z_R1J: { background: { alt: "", fit: "fill", pixelHeight: 1138, pixelWidth: 1920, sizes: "100vw", src: "https://framerusercontent.com/images/k3YV4fDSKuY8KdNFlaRuONI6iM.png", srcSet: "https://framerusercontent.com/images/k3YV4fDSKuY8KdNFlaRuONI6iM.png?scale-down-to=512 512w,https://framerusercontent.com/images/k3YV4fDSKuY8KdNFlaRuONI6iM.png?scale-down-to=1024 1024w,https://framerusercontent.com/images/k3YV4fDSKuY8KdNFlaRuONI6iM.png 1920w", }, }, }, children: j(ke, { background: { alt: "", fit: "fill", loading: "lazy", pixelHeight: 1138, pixelWidth: 1920, sizes: "100vw", src: "https://framerusercontent.com/images/k3YV4fDSKuY8KdNFlaRuONI6iM.png", srcSet: "https://framerusercontent.com/images/k3YV4fDSKuY8KdNFlaRuONI6iM.png?scale-down-to=512 512w,https://framerusercontent.com/images/k3YV4fDSKuY8KdNFlaRuONI6iM.png?scale-down-to=1024 1024w,https://framerusercontent.com/images/k3YV4fDSKuY8KdNFlaRuONI6iM.png 1920w", }, className: "framer-1m9l7bh", "data-border": !0, id: m, ref: o, children: [ S("div", { className: "framer-6zzfxh" }), j("div", { className: "framer-dd8g19", children: [ u() && S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "68px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "Tokenomics", }), }), className: "framer-4ouyd2 hidden-u2nt71", fonts: ["CUSTOM;Genty Demo Regular"], verticalAlignment: "top", withExternalLayout: !0, }), S(K, { breakpoint: g, overrides: { aAag06w8H: { "data-border": !0 } }, children: j("div", { className: "framer-zz9az8", children: [ j("div", { className: "framer-zhw9fk", children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "TICKER", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "TICKER", }), }), className: "framer-n2czp3", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "$ANDY", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "$ANDY", }), }), className: "framer-k195lt", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), j("div", { className: "framer-1tbyg92", children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "SUPPLY", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "SUPPLY", }), }), className: "framer-qza8da", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "100,000,000,000", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "100,000,000,000", }), }), className: "framer-1rkg7uv", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), j("div", { className: "framer-2fz1md", children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "0% SELL", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "0% SELL", }), }), className: "framer-1aibl95", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "0% BUY", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "0% BUY", }), }), className: "framer-18kzce0", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), j("div", { className: "framer-8xr8gt", children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "CONTRACT ADDRESS", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "25px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "CONTRACT ADDRESS", }), }), className: "framer-fzpvim", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "0x86bf362b3bcb067895481aa071a7364e5884232e", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "23px", "--framer-letter-spacing": "-0.02em", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "0x86bf362b3bcb067895481aa071a7364e5884232e", }), }), className: "framer-db1ibk", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), C() && S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "65px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "Tokenomics", }), }), className: "framer-15h591m hidden-72rtr7 hidden-4bx1p0 hidden-9s5kyn hidden-g3omc5", fonts: ["CUSTOM;Genty Demo Regular"], verticalAlignment: "top", withExternalLayout: !0, }), ], }), }), ], }), ], }), }), S("div", { className: "framer-1vns86e", id: f, ref: d, children: j("div", { className: "framer-o5jcsu", children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "45px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "How To Buy", }), }), }, H6T_Z_R1J: { children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "80px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "How To Buy", }), }), }, HHALRVhFZ: { children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "96px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "How To Buy", }), }), }, }, children: S(yr, { __framer__animate: { transition: wr }, __framer__animateOnce: !0, __framer__enter: De, __framer__exit: zi, __framer__styleAppearEffectEnabled: !0, __framer__threshold: 0, __fromCanvasComponent: !0, __perspectiveFX: !1, __targetOpacity: 1, children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "68px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "How To Buy", }), }), className: "framer-1w7wlf1", fonts: ["CUSTOM;Genty Demo Regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), j("div", { className: "framer-6rdone", children: [ j(dt, { __framer__animate: { transition: Cr }, __framer__animateOnce: !0, __framer__enter: De, __framer__exit: Di, __framer__styleAppearEffectEnabled: !0, __framer__threshold: 0, __perspectiveFX: !1, __targetOpacity: 1, className: "framer-p3ygnd", "data-border": !0, children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "Step 1: Setup Wallet", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "Step 1: Setup Wallet", }), }), className: "framer-9wf2cf", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "Create a MetaMask or Trust Wallet that supports Binance Smart Chain (BSC).", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "Create a MetaMask or Trust Wallet that supports Binance Smart Chain (BSC).", }), }), className: "framer-goycon", fonts: ["GF;Londrina Solid-300"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), j(dt, { __framer__animate: { transition: Sr }, __framer__animateOnce: !0, __framer__enter: De, __framer__exit: qi, __framer__styleAppearEffectEnabled: !0, __framer__threshold: 0, __perspectiveFX: !1, __targetOpacity: 1, className: "framer-9c6jit", "data-border": !0, children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("strong", { children: "Step 2: Buy BNB", }), }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("strong", { children: "Step 2: Buy BNB", }), }), }), className: "framer-1yh6c76", fonts: [ "GF;Londrina Solid-regular", "GF;Londrina Solid-900", ], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "Purchase Binance Coin (BNB) on Binance or your favorite CEX.", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: "Purchase Binance Coin (BNB) on Binance or your favorite CEX.", }), }), className: "framer-nrv13b", fonts: ["GF;Londrina Solid-300"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), j(dt, { __framer__animate: { transition: Er }, __framer__animateOnce: !0, __framer__enter: De, __framer__exit: Gi, __framer__styleAppearEffectEnabled: !0, __framer__threshold: 0, __perspectiveFX: !1, __targetOpacity: 1, className: "framer-1bigthz", "data-border": !0, children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("strong", { children: "Step 3 Transfer BNB to your Wallet", }), }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("strong", { children: "Step 3 Transfer BNB to your Wallet", }), }), }), className: "framer-37fdyw", fonts: [ "GF;Londrina Solid-regular", "GF;Londrina Solid-900", ], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: j(D, { children: [ S("ol", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("li", { children: S("p", { children: "Go to your wallet on Binance or your favorite CEX, find your BNB, and select \u201CWithdraw\u201D.", }), }), }), S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("br", { className: "trailing-break", }), }), S("ol", { start: "2", style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("li", { children: S("p", { children: "Copy your wallet address from your MetaMask or Trust Wallet.", }), }), }), S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("br", { className: "trailing-break", }), }), S("ol", { start: "3", style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("li", { children: S("p", { children: "Paste this address into the \u201CRecipient\u2019s BNB Address\u201D field on Binance, and send the BNB to your wallet.", }), }), }), ], }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: j(D, { children: [ S("ol", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("li", { children: S("p", { children: "Go to your wallet on Binance or your favorite CEX, find your BNB, and select \u201CWithdraw\u201D.", }), }), }), S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("br", { className: "trailing-break", }), }), S("ol", { start: "2", style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("li", { children: S("p", { children: "Copy your wallet address from your MetaMask or Trust Wallet.", }), }), }), S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("br", { className: "trailing-break", }), }), S("ol", { start: "3", style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("li", { children: S("p", { children: "Paste this address into the \u201CRecipient\u2019s BNB Address\u201D field on Binance, and send the BNB to your wallet.", }), }), }), ], }), className: "framer-1bwnf5m", fonts: ["GF;Londrina Solid-300"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), j(dt, { __framer__animate: { transition: _r }, __framer__animateOnce: !0, __framer__enter: De, __framer__exit: Ni, __framer__styleAppearEffectEnabled: !0, __framer__threshold: 0, __perspectiveFX: !1, __targetOpacity: 1, className: "framer-1ay1uud", "data-border": !0, children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("strong", { children: "Step 4: Swap BNB for ANDY", }), }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: S("strong", { children: "Step 4: Swap BNB for ANDY", }), }), }), className: "framer-8r2ecs", fonts: [ "GF;Londrina Solid-regular", "GF;Londrina Solid-900", ], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: j("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "20px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: [ "On PancakeSwap, select BNB for ANDY using the contract address ", S("span", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-weight": "400", }, children: "0x6d16370D523F7626B241b8040fD444dEe055d20A", }), " and swap.", ], }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: j("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtMzAw", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-font-weight": "300", "--framer-text-alignment": "center", "--framer-text-color": "rgb(66, 10, 0)", }, children: [ "On PancakeSwap, select BNB for ANDY using the contract address ", S("span", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-weight": "400", }, children: "0x86bF362B3bcb067895481AA071A7364e5884232e", }), " and swap.", ], }), }), className: "framer-vs9n8d", fonts: [ "GF;Londrina Solid-300", "GF;Londrina Solid-regular", ], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), ], }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "18px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(255, 255, 255)", }, children: "Congratulations! You have successfully purchased ANDY. Welcome to the ANDY community, where you\u2019re now part of a vibrant and growing network of enthusiasts!", }), }), }, }, children: S(yr, { __framer__animate: { transition: Ar }, __framer__animateOnce: !0, __framer__enter: De, __framer__exit: Hi, __framer__styleAppearEffectEnabled: !0, __framer__threshold: 0, __fromCanvasComponent: !0, __perspectiveFX: !1, __targetOpacity: 1, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "26px", "--framer-text-alignment": "center", "--framer-text-color": "rgb(255, 255, 255)", }, children: "Congratulations! You have successfully purchased ANDY. Welcome to the ANDY community, where you\u2019re now part of a vibrant and growing network of enthusiasts!", }), }), className: "framer-ch37ah", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), }), S("div", { className: "framer-1aupfib", id: b, ref: A, children: j("div", { className: "framer-kxf1m0", children: [ j("div", { className: "framer-1e3i2mp", children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "52px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "Andy", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "Q1VTVE9NO0dlbnR5IERlbW8gUmVndWxhcg==", "--framer-font-family": '"Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif', "--framer-font-size": "74px", "--framer-text-color": "rgb(246, 223, 17)", }, children: "Andy", }), }), className: "framer-13aas7u", fonts: ["CUSTOM;Genty Demo Regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "12px", "--framer-text-color": "rgb(255, 255, 255)", }, children: "ALL RIGHTS RESERVED, 2024", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "19px", "--framer-text-color": "rgb(255, 255, 255)", }, children: "ALL RIGHTS RESERVED, 2024", }), }), className: "framer-1i8vac9", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), ], }), j("div", { className: "framer-j3x86m", children: [ S(K, { breakpoint: g, overrides: { aAag06w8H: { children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "11px", "--framer-text-color": "rgb(255, 255, 255)", }, children: "contact us: admin@andybsc.me", }), }), }, }, children: S(Y, { __fromCanvasComponent: !0, children: S(D, { children: S("p", { style: { "--font-selector": "R0Y7TG9uZHJpbmEgU29saWQtcmVndWxhcg==", "--framer-font-family": '"Londrina Solid", sans-serif', "--framer-font-size": "19px", "--framer-text-color": "rgb(255, 255, 255)", }, children: "contact us: admin@andybsc.me", }), }), className: "framer-1t0kssc", fonts: ["GF;Londrina Solid-regular"], verticalAlignment: "top", withExternalLayout: !0, }), }), S(K, { breakpoint: g, overrides: { aAag06w8H: { background: { alt: "", fit: "fill", intrinsicHeight: 282, intrinsicWidth: 331.5, loading: "lazy", pixelHeight: 564, pixelWidth: 663, sizes: "96px", src: "https://framerusercontent.com/images/PBUuplQT9iU51Sq2Q0LseBx5Rkw.png?scale-down-to=512", srcSet: "https://framerusercontent.com/images/PBUuplQT9iU51Sq2Q0LseBx5Rkw.png?scale-down-to=512 512w,https://framerusercontent.com/images/PBUuplQT9iU51Sq2Q0LseBx5Rkw.png 663w", }, }, H6T_Z_R1J: { background: { alt: "", fit: "fill", intrinsicHeight: 282, intrinsicWidth: 331.5, pixelHeight: 564, pixelWidth: 663, sizes: "175px", src: "https://framerusercontent.com/images/PBUuplQT9iU51Sq2Q0LseBx5Rkw.png?scale-down-to=512", srcSet: "https://framerusercontent.com/images/PBUuplQT9iU51Sq2Q0LseBx5Rkw.png?scale-down-to=512 512w,https://framerusercontent.com/images/PBUuplQT9iU51Sq2Q0LseBx5Rkw.png 663w", }, }, }, children: S(ke, { background: { alt: "", fit: "fill", intrinsicHeight: 282, intrinsicWidth: 331.5, loading: "lazy", pixelHeight: 564, pixelWidth: 663, sizes: "175px", src: "https://framerusercontent.com/images/PBUuplQT9iU51Sq2Q0LseBx5Rkw.png?scale-down-to=512", srcSet: "https://framerusercontent.com/images/PBUuplQT9iU51Sq2Q0LseBx5Rkw.png?scale-down-to=512 512w,https://framerusercontent.com/images/PBUuplQT9iU51Sq2Q0LseBx5Rkw.png 663w", }, className: "framer-hwmmuu", "data-framer-name": "Andy_blok1", name: "Andy_blok1", }), }), ], }), ], }), }), ], }), S("div", { className: Ge(br, ...P), id: "overlay" }), ], }), }) ); }), Ui = [ "@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }", `.${Je.bodyClassName}-framer-qvm7O { background: rgb(254, 253, 228); }`, ".framer-qvm7O.framer-lux5qc, .framer-qvm7O .framer-lux5qc { display: block; }", ".framer-qvm7O.framer-72rtr7 { align-content: center; align-items: center; background-color: #fefde4; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 1200px; }", ".framer-qvm7O .framer-zcnsl9 { --border-bottom-width: 5px; --border-color: #420a00; --border-left-width: 5px; --border-right-width: 5px; --border-style: solid; --border-top-width: 0px; align-content: center; align-items: center; background-color: #e8391a; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 43px; height: min-content; justify-content: center; left: 50%; overflow: hidden; padding: 15px 0px 25px 0px; position: absolute; top: 0px; transform: translateX(-50%); width: 1080px; will-change: var(--framer-will-change-override, transform); z-index: 2; }", ".framer-qvm7O .framer-x1u64l { aspect-ratio: 1.4307992202729045 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 56px); overflow: visible; position: relative; width: 80px; }", ".framer-qvm7O .framer-111joit, .framer-qvm7O .framer-1pmykrn, .framer-qvm7O .framer-1mmsygm, .framer-qvm7O .framer-1swukhf { flex: none; height: auto; position: relative; white-space: pre; width: auto; }", ".framer-qvm7O .framer-1tvhkbv { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 18px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }", ".framer-qvm7O .framer-1qxywec, .framer-qvm7O .framer-13nlqo5, .framer-qvm7O .framer-agsfok, .framer-qvm7O .framer-1bz6888 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; text-decoration: none; width: min-content; }", ".framer-qvm7O .framer-v57rg8 { flex: none; height: 22px; position: relative; width: 27px; }", ".framer-qvm7O .framer-6dkekh { flex: none; height: 24px; position: relative; width: 23px; }", ".framer-qvm7O .framer-1dbai7l { flex: none; height: 27px; position: relative; width: 23px; }", ".framer-qvm7O .framer-z37fcp { flex: none; height: 29px; position: relative; width: 23px; }", ".framer-qvm7O .framer-r05v10 { --border-bottom-width: 3px; --border-color: #cc7007; --border-left-width: 3px; --border-right-width: 3px; --border-style: solid; --border-top-width: 3px; align-content: center; align-items: center; background-color: #f7e10d; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 7px 14px 7px 14px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }", ".framer-qvm7O .framer-18q64ec, .framer-qvm7O .framer-1laboh4, .framer-qvm7O .framer-3biztx, .framer-qvm7O .framer-n2czp3, .framer-qvm7O .framer-k195lt, .framer-qvm7O .framer-qza8da, .framer-qvm7O .framer-1rkg7uv, .framer-qvm7O .framer-1aibl95, .framer-qvm7O .framer-18kzce0, .framer-qvm7O .framer-fzpvim, .framer-qvm7O .framer-1i8vac9, .framer-qvm7O .framer-1t0kssc { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; position: relative; white-space: pre; width: auto; }", ".framer-qvm7O .framer-9oru58-container { flex: none; height: auto; position: relative; width: 100%; z-index: 2; }", ".framer-qvm7O .framer-4qcw5u { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 63px; height: min-content; justify-content: center; overflow: hidden; padding: 105px; position: relative; width: 100%; }", ".framer-qvm7O .framer-klxt3y { align-content: center; align-items: center; bottom: 0px; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 100%; justify-content: center; left: calc(50.00000000000002% - 100% / 2); overflow: hidden; padding: 0px; position: absolute; width: 100%; z-index: 0; }", ".framer-qvm7O .framer-175o0zl-container { flex: 1 0 0px; height: 1px; position: relative; width: 100%; }", ".framer-qvm7O .framer-8y3tah { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 100px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }", ".framer-qvm7O .framer-o6usms-container { aspect-ratio: 0.9905956112852664 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 503px); position: relative; width: 498px; }", ".framer-qvm7O .framer-1p9562i { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px 26px 0px 26px; position: relative; width: min-content; }", ".framer-qvm7O .framer-1xu3m8b { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; position: relative; text-shadow: 0px 13px 0px #cc7007, 0px -2px 0px rgb(204, 112, 6), 2px 0px 0px rgb(204, 112, 6), -2px 0px 0px rgb(204, 112, 6); white-space: pre; width: auto; }", ".framer-qvm7O .framer-1z0ziz5 { --border-bottom-width: 5px; --border-color: #420a00; --border-left-width: 0px; --border-right-width: 0px; --border-style: solid; --border-top-width: 5px; align-content: center; align-items: center; background-color: #e8391a; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 100%; }", ".framer-qvm7O .framer-1hncw0o-container { flex: none; height: 58px; position: relative; width: 100%; }", ".framer-qvm7O .framer-1c5uc92 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 39px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 471px; }", ".framer-qvm7O .framer-5uemd1 { aspect-ratio: 1.118421052631579 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 22px); overflow: visible; position: relative; width: 25px; }", ".framer-qvm7O .framer-1t432il { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 34px; height: 80vh; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 100%; }", ".framer-qvm7O .framer-1y98tjs, .framer-qvm7O .framer-dd8g19, .framer-qvm7O .framer-o5jcsu { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 26px; position: relative; width: min-content; }", ".framer-qvm7O .framer-1nk75j1, .framer-qvm7O .framer-4ouyd2, .framer-qvm7O .framer-1w7wlf1 { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; position: relative; text-shadow: 0px 13px 0px #420a00, 0px -2px 0px rgb(66, 10, 0), 2px 0px 0px rgb(66, 10, 0), -2px 0px 0px rgb(66, 10, 0); white-space: pre; width: auto; }", ".framer-qvm7O .framer-1n6jzgc, .framer-qvm7O .framer-9wf2cf, .framer-qvm7O .framer-1yh6c76, .framer-qvm7O .framer-37fdyw, .framer-qvm7O .framer-8r2ecs { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; position: relative; white-space: pre-wrap; width: 509px; word-break: break-word; word-wrap: break-word; }", ".framer-qvm7O .framer-1342hz7, .framer-qvm7O .framer-6zzfxh { flex: none; height: 122px; overflow: hidden; position: relative; width: 491px; }", ".framer-qvm7O .framer-1m9l7bh { --border-bottom-width: 4px; --border-color: #420a00; --border-left-width: 0px; --border-right-width: 0px; --border-style: solid; --border-top-width: 4px; align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 34px; height: 80vh; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 100%; }", ".framer-qvm7O .framer-zz9az8 { align-content: center; align-items: center; background-color: #420a00; border-bottom-left-radius: 22px; border-bottom-right-radius: 22px; border-top-left-radius: 22px; border-top-right-radius: 22px; box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.25); display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 20px; position: relative; width: min-content; will-change: var(--framer-will-change-override, transform); }", ".framer-qvm7O .framer-zhw9fk, .framer-qvm7O .framer-1tbyg92, .framer-qvm7O .framer-2fz1md { align-content: center; align-items: center; background-color: #f6df11; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 100px; height: min-content; justify-content: center; overflow: hidden; padding: 12px; position: relative; width: 475px; will-change: var(--framer-will-change-override, transform); }", ".framer-qvm7O .framer-8xr8gt { align-content: center; align-items: center; background-color: #f6df11; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; border-top-left-radius: 9px; border-top-right-radius: 9px; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 15px; height: min-content; justify-content: center; overflow: hidden; padding: 12px; position: relative; width: 475px; will-change: var(--framer-will-change-override, transform); }", ".framer-qvm7O .framer-db1ibk { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }", ".framer-qvm7O .framer-15h591m { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; position: relative; text-shadow: 0px 9px 0px #420a00, 0px -2px 0px rgb(66, 10, 0), 2px 0px 0px rgb(66, 10, 0), -2px 0px 0px rgb(66, 10, 0); white-space: pre; width: auto; }", ".framer-qvm7O .framer-1vns86e { align-content: center; align-items: center; background-color: #e53b19; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 34px; height: min-content; justify-content: center; overflow: hidden; padding: 90px; position: relative; width: 100%; }", ".framer-qvm7O .framer-6rdone { align-content: center; align-items: center; align-self: stretch; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 25px; height: min-content; justify-content: center; overflow: hidden; padding: 18px; position: relative; width: auto; }", ".framer-qvm7O .framer-p3ygnd, .framer-qvm7O .framer-9c6jit, .framer-qvm7O .framer-1bigthz, .framer-qvm7O .framer-1ay1uud { --border-bottom-width: 3px; --border-color: #222222; --border-left-width: 3px; --border-right-width: 3px; --border-style: solid; --border-top-width: 3px; align-content: center; align-items: center; background-color: #f6df11; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; border-top-left-radius: 15px; border-top-right-radius: 15px; box-shadow: 0px 8px 0px 0px #420a00; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 15px; position: relative; width: 100%; will-change: var(--framer-will-change-override, transform); }", ".framer-qvm7O .framer-goycon, .framer-qvm7O .framer-nrv13b, .framer-qvm7O .framer-1bwnf5m, .framer-qvm7O .framer-vs9n8d { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; position: relative; white-space: pre-wrap; width: 580px; word-break: break-word; word-wrap: break-word; }", ".framer-qvm7O .framer-ch37ah { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; position: relative; white-space: pre-wrap; width: 543px; word-break: break-word; word-wrap: break-word; }", ".framer-qvm7O .framer-1aupfib { align-content: center; align-items: center; background-color: #e53b19; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: hidden; padding: 22px; position: relative; width: 100%; }", ".framer-qvm7O .framer-kxf1m0 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; height: min-content; justify-content: space-between; overflow: hidden; padding: 0px; position: relative; width: 100%; }", ".framer-qvm7O .framer-1e3i2mp, .framer-qvm7O .framer-j3x86m { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }", ".framer-qvm7O .framer-13aas7u { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; position: relative; text-shadow: 0px 6px 0px #ffffff, 0px -1px 0px rgb(255, 255, 255), 1px 0px 0px rgb(255, 255, 255), -1px 0px 0px rgb(255, 255, 255); white-space: pre; width: auto; }", ".framer-qvm7O .framer-hwmmuu { aspect-ratio: 1.175531914893617 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 149px); overflow: visible; position: relative; width: 175px; }", "@supports (background: -webkit-named-image(i)) and (not (scale:1)) { .framer-qvm7O.framer-72rtr7, .framer-qvm7O .framer-zcnsl9, .framer-qvm7O .framer-1tvhkbv, .framer-qvm7O .framer-1qxywec, .framer-qvm7O .framer-13nlqo5, .framer-qvm7O .framer-agsfok, .framer-qvm7O .framer-1bz6888, .framer-qvm7O .framer-r05v10, .framer-qvm7O .framer-4qcw5u, .framer-qvm7O .framer-klxt3y, .framer-qvm7O .framer-8y3tah, .framer-qvm7O .framer-1p9562i, .framer-qvm7O .framer-1z0ziz5, .framer-qvm7O .framer-1c5uc92, .framer-qvm7O .framer-1t432il, .framer-qvm7O .framer-1y98tjs, .framer-qvm7O .framer-1m9l7bh, .framer-qvm7O .framer-dd8g19, .framer-qvm7O .framer-zz9az8, .framer-qvm7O .framer-zhw9fk, .framer-qvm7O .framer-1tbyg92, .framer-qvm7O .framer-2fz1md, .framer-qvm7O .framer-8xr8gt, .framer-qvm7O .framer-1vns86e, .framer-qvm7O .framer-o5jcsu, .framer-qvm7O .framer-6rdone, .framer-qvm7O .framer-p3ygnd, .framer-qvm7O .framer-9c6jit, .framer-qvm7O .framer-1bigthz, .framer-qvm7O .framer-1ay1uud, .framer-qvm7O .framer-1aupfib, .framer-qvm7O .framer-1e3i2mp, .framer-qvm7O .framer-j3x86m { gap: 0px; } .framer-qvm7O.framer-72rtr7 > *, .framer-qvm7O .framer-1aupfib > * { margin: 0px; margin-bottom: calc(0px / 2); margin-top: calc(0px / 2); } .framer-qvm7O.framer-72rtr7 > :first-child, .framer-qvm7O .framer-klxt3y > :first-child, .framer-qvm7O .framer-1p9562i > :first-child, .framer-qvm7O .framer-1z0ziz5 > :first-child, .framer-qvm7O .framer-1y98tjs > :first-child, .framer-qvm7O .framer-dd8g19 > :first-child, .framer-qvm7O .framer-zz9az8 > :first-child, .framer-qvm7O .framer-8xr8gt > :first-child, .framer-qvm7O .framer-o5jcsu > :first-child, .framer-qvm7O .framer-6rdone > :first-child, .framer-qvm7O .framer-p3ygnd > :first-child, .framer-qvm7O .framer-9c6jit > :first-child, .framer-qvm7O .framer-1bigthz > :first-child, .framer-qvm7O .framer-1ay1uud > :first-child, .framer-qvm7O .framer-1aupfib > :first-child, .framer-qvm7O .framer-1e3i2mp > :first-child, .framer-qvm7O .framer-j3x86m > :first-child { margin-top: 0px; } .framer-qvm7O.framer-72rtr7 > :last-child, .framer-qvm7O .framer-klxt3y > :last-child, .framer-qvm7O .framer-1p9562i > :last-child, .framer-qvm7O .framer-1z0ziz5 > :last-child, .framer-qvm7O .framer-1y98tjs > :last-child, .framer-qvm7O .framer-dd8g19 > :last-child, .framer-qvm7O .framer-zz9az8 > :last-child, .framer-qvm7O .framer-8xr8gt > :last-child, .framer-qvm7O .framer-o5jcsu > :last-child, .framer-qvm7O .framer-6rdone > :last-child, .framer-qvm7O .framer-p3ygnd > :last-child, .framer-qvm7O .framer-9c6jit > :last-child, .framer-qvm7O .framer-1bigthz > :last-child, .framer-qvm7O .framer-1ay1uud > :last-child, .framer-qvm7O .framer-1aupfib > :last-child, .framer-qvm7O .framer-1e3i2mp > :last-child, .framer-qvm7O .framer-j3x86m > :last-child { margin-bottom: 0px; } .framer-qvm7O .framer-zcnsl9 > * { margin: 0px; margin-left: calc(43px / 2); margin-right: calc(43px / 2); } .framer-qvm7O .framer-zcnsl9 > :first-child, .framer-qvm7O .framer-1tvhkbv > :first-child, .framer-qvm7O .framer-1qxywec > :first-child, .framer-qvm7O .framer-13nlqo5 > :first-child, .framer-qvm7O .framer-agsfok > :first-child, .framer-qvm7O .framer-1bz6888 > :first-child, .framer-qvm7O .framer-r05v10 > :first-child, .framer-qvm7O .framer-4qcw5u > :first-child, .framer-qvm7O .framer-8y3tah > :first-child, .framer-qvm7O .framer-1c5uc92 > :first-child, .framer-qvm7O .framer-1t432il > :first-child, .framer-qvm7O .framer-1m9l7bh > :first-child, .framer-qvm7O .framer-zhw9fk > :first-child, .framer-qvm7O .framer-1tbyg92 > :first-child, .framer-qvm7O .framer-2fz1md > :first-child, .framer-qvm7O .framer-1vns86e > :first-child { margin-left: 0px; } .framer-qvm7O .framer-zcnsl9 > :last-child, .framer-qvm7O .framer-1tvhkbv > :last-child, .framer-qvm7O .framer-1qxywec > :last-child, .framer-qvm7O .framer-13nlqo5 > :last-child, .framer-qvm7O .framer-agsfok > :last-child, .framer-qvm7O .framer-1bz6888 > :last-child, .framer-qvm7O .framer-r05v10 > :last-child, .framer-qvm7O .framer-4qcw5u > :last-child, .framer-qvm7O .framer-8y3tah > :last-child, .framer-qvm7O .framer-1c5uc92 > :last-child, .framer-qvm7O .framer-1t432il > :last-child, .framer-qvm7O .framer-1m9l7bh > :last-child, .framer-qvm7O .framer-zhw9fk > :last-child, .framer-qvm7O .framer-1tbyg92 > :last-child, .framer-qvm7O .framer-2fz1md > :last-child, .framer-qvm7O .framer-1vns86e > :last-child { margin-right: 0px; } .framer-qvm7O .framer-1tvhkbv > * { margin: 0px; margin-left: calc(18px / 2); margin-right: calc(18px / 2); } .framer-qvm7O .framer-1qxywec > *, .framer-qvm7O .framer-13nlqo5 > *, .framer-qvm7O .framer-agsfok > *, .framer-qvm7O .framer-1bz6888 > *, .framer-qvm7O .framer-r05v10 > *, .framer-qvm7O .framer-1c5uc92 > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-qvm7O .framer-4qcw5u > * { margin: 0px; margin-left: calc(63px / 2); margin-right: calc(63px / 2); } .framer-qvm7O .framer-klxt3y > *, .framer-qvm7O .framer-1p9562i > *, .framer-qvm7O .framer-1z0ziz5 > *, .framer-qvm7O .framer-1y98tjs > *, .framer-qvm7O .framer-dd8g19 > *, .framer-qvm7O .framer-zz9az8 > *, .framer-qvm7O .framer-o5jcsu > *, .framer-qvm7O .framer-p3ygnd > *, .framer-qvm7O .framer-9c6jit > *, .framer-qvm7O .framer-1bigthz > *, .framer-qvm7O .framer-1ay1uud > *, .framer-qvm7O .framer-1e3i2mp > *, .framer-qvm7O .framer-j3x86m > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-qvm7O .framer-8y3tah > *, .framer-qvm7O .framer-zhw9fk > *, .framer-qvm7O .framer-1tbyg92 > *, .framer-qvm7O .framer-2fz1md > * { margin: 0px; margin-left: calc(100px / 2); margin-right: calc(100px / 2); } .framer-qvm7O .framer-1t432il > *, .framer-qvm7O .framer-1m9l7bh > *, .framer-qvm7O .framer-1vns86e > * { margin: 0px; margin-left: calc(34px / 2); margin-right: calc(34px / 2); } .framer-qvm7O .framer-8xr8gt > * { margin: 0px; margin-bottom: calc(15px / 2); margin-top: calc(15px / 2); } .framer-qvm7O .framer-6rdone > * { margin: 0px; margin-bottom: calc(25px / 2); margin-top: calc(25px / 2); } }", "@media (min-width: 1200px) and (max-width: 1439px) { .framer-qvm7O .hidden-72rtr7 { display: none !important; } }", `@media (min-width: 1440px) and (max-width: 1599px) { .framer-qvm7O .hidden-4bx1p0 { display: none !important; } .${Je.bodyClassName}-framer-qvm7O { background: rgb(254, 253, 228); } .framer-qvm7O.framer-72rtr7 { width: 1440px; } .framer-qvm7O .framer-zcnsl9 { gap: 57px; width: 1200px; } @supports (background: -webkit-named-image(i)) and (not (scale:1)) { .framer-qvm7O .framer-zcnsl9 { gap: 0px; } .framer-qvm7O .framer-zcnsl9 > * { margin: 0px; margin-left: calc(57px / 2); margin-right: calc(57px / 2); } .framer-qvm7O .framer-zcnsl9 > :first-child { margin-left: 0px; } .framer-qvm7O .framer-zcnsl9 > :last-child { margin-right: 0px; } }}`, `@media (min-width: 1600px) and (max-width: 1919px) { .framer-qvm7O .hidden-9s5kyn { display: none !important; } .${Je.bodyClassName}-framer-qvm7O { background: rgb(254, 253, 228); } .framer-qvm7O.framer-72rtr7 { width: 1600px; } .framer-qvm7O .framer-zcnsl9 { gap: 57px; width: 1200px; } .framer-qvm7O .framer-8y3tah { gap: 188px; } .framer-qvm7O .framer-1t432il, .framer-qvm7O .framer-1m9l7bh { height: 100vh; } .framer-qvm7O .framer-1n6jzgc, .framer-qvm7O .framer-9wf2cf, .framer-qvm7O .framer-goycon, .framer-qvm7O .framer-1yh6c76, .framer-qvm7O .framer-nrv13b, .framer-qvm7O .framer-37fdyw, .framer-qvm7O .framer-1bwnf5m, .framer-qvm7O .framer-8r2ecs, .framer-qvm7O .framer-vs9n8d { width: 606px; } .framer-qvm7O .framer-1342hz7 { width: 629px; } .framer-qvm7O .framer-6zzfxh { width: 642px; } @supports (background: -webkit-named-image(i)) and (not (scale:1)) { .framer-qvm7O .framer-zcnsl9, .framer-qvm7O .framer-8y3tah { gap: 0px; } .framer-qvm7O .framer-zcnsl9 > * { margin: 0px; margin-left: calc(57px / 2); margin-right: calc(57px / 2); } .framer-qvm7O .framer-zcnsl9 > :first-child, .framer-qvm7O .framer-8y3tah > :first-child { margin-left: 0px; } .framer-qvm7O .framer-zcnsl9 > :last-child, .framer-qvm7O .framer-8y3tah > :last-child { margin-right: 0px; } .framer-qvm7O .framer-8y3tah > * { margin: 0px; margin-left: calc(188px / 2); margin-right: calc(188px / 2); } }}`, `@media (min-width: 1920px) { .framer-qvm7O .hidden-g3omc5 { display: none !important; } .${Je.bodyClassName}-framer-qvm7O { background: rgb(254, 253, 228); } .framer-qvm7O.framer-72rtr7 { width: 1920px; } .framer-qvm7O .framer-zcnsl9 { gap: 57px; width: 1200px; } .framer-qvm7O .framer-8y3tah { gap: 196px; } .framer-qvm7O .framer-o6usms-container { height: var(--framer-aspect-ratio-supported, 656px); width: 650px; } .framer-qvm7O .framer-1t432il, .framer-qvm7O .framer-1m9l7bh { height: 100vh; } .framer-qvm7O .framer-1n6jzgc, .framer-qvm7O .framer-9wf2cf, .framer-qvm7O .framer-goycon, .framer-qvm7O .framer-1yh6c76, .framer-qvm7O .framer-nrv13b, .framer-qvm7O .framer-37fdyw, .framer-qvm7O .framer-1bwnf5m, .framer-qvm7O .framer-8r2ecs, .framer-qvm7O .framer-vs9n8d { width: 642px; } .framer-qvm7O .framer-1342hz7 { width: 800px; } .framer-qvm7O .framer-6zzfxh { width: 745px; } @supports (background: -webkit-named-image(i)) and (not (scale:1)) { .framer-qvm7O .framer-zcnsl9, .framer-qvm7O .framer-8y3tah { gap: 0px; } .framer-qvm7O .framer-zcnsl9 > * { margin: 0px; margin-left: calc(57px / 2); margin-right: calc(57px / 2); } .framer-qvm7O .framer-zcnsl9 > :first-child, .framer-qvm7O .framer-8y3tah > :first-child { margin-left: 0px; } .framer-qvm7O .framer-zcnsl9 > :last-child, .framer-qvm7O .framer-8y3tah > :last-child { margin-right: 0px; } .framer-qvm7O .framer-8y3tah > * { margin: 0px; margin-left: calc(196px / 2); margin-right: calc(196px / 2); } }}`, `@media (max-width: 1199px) { .framer-qvm7O .hidden-u2nt71 { display: none !important; } .${Je.bodyClassName}-framer-qvm7O { background: rgb(254, 253, 228); } .framer-qvm7O.framer-72rtr7 { width: 390px; } .framer-qvm7O .framer-4qcw5u { flex-direction: column; padding: 48px 105px 48px 105px; } .framer-qvm7O .framer-8y3tah { flex-direction: column; gap: 18px; } .framer-qvm7O .framer-o6usms-container { height: var(--framer-aspect-ratio-supported, 387px); order: 1; width: 383px; } .framer-qvm7O .framer-1p9562i, .framer-qvm7O .framer-15h591m, .framer-qvm7O .framer-j3x86m { order: 0; } .framer-qvm7O .framer-1t432il { flex-direction: column; height: 100vh; padding: 37px; } .framer-qvm7O .framer-1y98tjs { --border-bottom-width: 5px; --border-color: #420a00; --border-left-width: 5px; --border-right-width: 5px; --border-style: solid; --border-top-width: 5px; background-color: #e8391a; border-bottom-left-radius: 13px; border-bottom-right-radius: 13px; border-top-left-radius: 13px; border-top-right-radius: 13px; order: 0; padding: 20px; will-change: var(--framer-will-change-override, transform); } .framer-qvm7O .framer-1nk75j1, .framer-qvm7O .framer-1w7wlf1 { text-shadow: 0px 7px 0px #420a00, 0px -2px 0px rgb(66, 10, 0), 2px 0px 0px rgb(66, 10, 0), -2px 0px 0px rgb(66, 10, 0); } .framer-qvm7O .framer-1n6jzgc, .framer-qvm7O .framer-9wf2cf, .framer-qvm7O .framer-goycon, .framer-qvm7O .framer-1yh6c76, .framer-qvm7O .framer-nrv13b, .framer-qvm7O .framer-37fdyw, .framer-qvm7O .framer-1bwnf5m, .framer-qvm7O .framer-8r2ecs, .framer-qvm7O .framer-vs9n8d { width: 297px; } .framer-qvm7O .framer-1342hz7 { flex: 1 0 0px; height: 1px; order: 1; width: 219px; } .framer-qvm7O .framer-1m9l7bh { flex-direction: column; height: 100vh; } .framer-qvm7O .framer-6zzfxh { flex: 1 0 0px; height: 1px; order: 1; width: 199px; } .framer-qvm7O .framer-dd8g19 { order: 0; padding: 25px; } .framer-qvm7O .framer-zz9az8 { --border-bottom-width: 5px; --border-color: #420a00; --border-left-width: 5px; --border-right-width: 5px; --border-style: solid; --border-top-width: 5px; background-color: #e8391a; } .framer-qvm7O .framer-zhw9fk { order: 1; width: 300px; } .framer-qvm7O .framer-1tbyg92 { order: 2; width: 300px; } .framer-qvm7O .framer-2fz1md { order: 3; width: 300px; } .framer-qvm7O .framer-8xr8gt { gap: 5px; order: 4; width: 300px; } .framer-qvm7O .framer-1vns86e { flex-direction: column; padding: 37px; } .framer-qvm7O .framer-o5jcsu { background-color: #e8391a; border-bottom-left-radius: 13px; border-bottom-right-radius: 13px; border-top-left-radius: 13px; border-top-right-radius: 13px; order: 0; padding: 20px; will-change: var(--framer-will-change-override, transform); } .framer-qvm7O .framer-ch37ah { width: 321px; } .framer-qvm7O .framer-1aupfib { padding: 0px; } .framer-qvm7O .framer-kxf1m0 { flex-direction: column; gap: 16px; justify-content: center; padding: 20px 0px 20px 0px; } .framer-qvm7O .framer-1e3i2mp { gap: 0px; order: 1; } .framer-qvm7O .framer-1t0kssc { order: 1; } .framer-qvm7O .framer-hwmmuu { height: var(--framer-aspect-ratio-supported, 82px); order: 0; width: 96px; } @supports (background: -webkit-named-image(i)) and (not (scale:1)) { .framer-qvm7O .framer-4qcw5u, .framer-qvm7O .framer-8y3tah, .framer-qvm7O .framer-1t432il, .framer-qvm7O .framer-1m9l7bh, .framer-qvm7O .framer-8xr8gt, .framer-qvm7O .framer-1vns86e, .framer-qvm7O .framer-kxf1m0, .framer-qvm7O .framer-1e3i2mp { gap: 0px; } .framer-qvm7O .framer-4qcw5u > * { margin: 0px; margin-bottom: calc(63px / 2); margin-top: calc(63px / 2); } .framer-qvm7O .framer-4qcw5u > :first-child, .framer-qvm7O .framer-8y3tah > :first-child, .framer-qvm7O .framer-1t432il > :first-child, .framer-qvm7O .framer-1m9l7bh > :first-child, .framer-qvm7O .framer-8xr8gt > :first-child, .framer-qvm7O .framer-1vns86e > :first-child, .framer-qvm7O .framer-kxf1m0 > :first-child, .framer-qvm7O .framer-1e3i2mp > :first-child { margin-top: 0px; } .framer-qvm7O .framer-4qcw5u > :last-child, .framer-qvm7O .framer-8y3tah > :last-child, .framer-qvm7O .framer-1t432il > :last-child, .framer-qvm7O .framer-1m9l7bh > :last-child, .framer-qvm7O .framer-8xr8gt > :last-child, .framer-qvm7O .framer-1vns86e > :last-child, .framer-qvm7O .framer-kxf1m0 > :last-child, .framer-qvm7O .framer-1e3i2mp > :last-child { margin-bottom: 0px; } .framer-qvm7O .framer-8y3tah > * { margin: 0px; margin-bottom: calc(18px / 2); margin-top: calc(18px / 2); } .framer-qvm7O .framer-1t432il > *, .framer-qvm7O .framer-1m9l7bh > *, .framer-qvm7O .framer-1vns86e > * { margin: 0px; margin-bottom: calc(34px / 2); margin-top: calc(34px / 2); } .framer-qvm7O .framer-8xr8gt > * { margin: 0px; margin-bottom: calc(5px / 2); margin-top: calc(5px / 2); } .framer-qvm7O .framer-kxf1m0 > * { margin: 0px; margin-bottom: calc(16px / 2); margin-top: calc(16px / 2); } .framer-qvm7O .framer-1e3i2mp > * { margin: 0px; margin-bottom: calc(0px / 2); margin-top: calc(0px / 2); } }}`, ...mt, '.framer-qvm7O[data-border="true"]::after, .framer-qvm7O [data-border="true"]::after { content: ""; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }', ], ut = tt(Yi, Ui, "framer-qvm7O"), Po = ut; ut.displayName = "Home"; ut.defaultProps = { height: 3629.5, width: 1200 }; rt( ut, [ { explicitInter: !0, fonts: [ { family: "Londrina Solid", source: "google", style: "normal", url: "https://fonts.gstatic.com/s/londrinasolid/v17/flUhRq6sw40kQEJxWNgkLuudGcNcIhI8tIHh.woff2", weight: "400", }, { family: "Genty Demo Regular", source: "custom", url: "https://framerusercontent.com/assets/bZrsICFG3OUO7YysBuHjmWVtDZw.woff2", }, { family: "Londrina Solid", source: "google", style: "normal", url: "https://fonts.gstatic.com/s/londrinasolid/v17/flUiRq6sw40kQEJxWNgkLuudGfv1CjYxn53oTrcL.woff2", weight: "300", }, { family: "Londrina Solid", source: "google", style: "normal", url: "https://fonts.gstatic.com/s/londrinasolid/v17/flUiRq6sw40kQEJxWNgkLuudGfvdDzYxn53oTrcL.woff2", weight: "900", }, ], }, ...Ii, ...Li, ...Ri, ...Oi, ...it(ct), ], { supportsExplicitInterCodegen: !0 } ); var To = { exports: { Props: { type: "tsType", annotations: { framerContractVersion: "1" } }, default: { type: "reactComponent", name: "FrameraugiA20Il", slots: [], annotations: { framerIntrinsicWidth: "1200", framerDisplayContentsDiv: "false", framerIntrinsicHeight: "3629.5", framerImmutableVariables: "true", framerComponentViewportWidth: "true", framerCanvasComponentVariantDetails: '{"propertyName":"variant","data":{"default":{"layout":["fixed","auto"]},"ely5J5Ral":{"layout":["fixed","auto"]},"H6T_Z_R1J":{"layout":["fixed","auto"]},"HHALRVhFZ":{"layout":["fixed","auto"]},"aAag06w8H":{"layout":["fixed","auto"]}}}', framerResponsiveScreen: "", framerContractVersion: "1", }, }, __FramerMetadata__: { type: "variable" }, }, }; export { To as __FramerMetadata__, Po as default }; //# sourceMappingURL=kgOsBPACykUiuOAlHDbpGB-n7mhxNwD_wJPH1RLhewA.W6PU4MX5.js.map