PageSourceSearch

https://www.lucerra.co/_nuxt/Bcpe0CU5.js

js lucerra.co collected 2026-10-06 13:30:32 UTC 2,308 bytes, 29 lines download raw bytes

1import { j as e, g as t, o as a, a as o, b as s, c as n, e as l, l as r, p as i, q as d, t as p, aI as m, w as u, m as f, r as c } from "./CtmCxu33.js";
2const h = { "data-sound-toggle": "", class: "pointer-events-auto fixed top-[28rem] left-[24rem] z-[100] flex items-center gap-[8rem] font-alfabet text-main-white md:top-[60rem] md:left-[60rem] lg:top-[120rem] lg:left-[120rem] md:gap-[10rem]" }, g = { width: "27", height: "16", viewBox: "0 -2 27 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "h-[16rem] w-[27rem] shrink-0 overflow-visible md:h-[32rem] md:w-[54rem]", "aria-hidden": "true" }, v = ["d"], w = { __name: "SoundToggle", props: { active: { type: Boolean, default: false } }, emits: ["toggle"], setup(w2, { emit: k }) {
3  const b = w2, $ = k, x = 2 * Math.PI / 18;
4  function M(e2, t2 = 0) {
5    const a2 = 3.8 * e2, o2 = (e3) => 6 + a2 * Math.sin(t2 - x * e3), s2 = (e3) => -a2 * x * Math.cos(t2 - x * e3);
6    let n2 = `M0 ${o2(0)}`;
7    for (let e3 = 0; e3 < 3; e3++) {
8      const t3 = 6 * e3, a3 = t3 + 6, l2 = o2(t3), r2 = o2(a3), i2 = 2;
9      n2 += `C${t3 + i2} ${l2 + s2(t3) * i2} ${a3 - i2} ${r2 - s2(a3) * i2} ${a3} ${r2}`;
10    }
11    return n2;
12  }
13  const _ = c(null), y = { t: 0, phase: 0 };
14  let C = null, I = null;
15  function j() {
16    _.value?.setAttribute("d", M(y.t, y.phase));
17  }
18  function B() {
19    I?.kill(), I = null;
20  }
21  return e(() => b.active, (e2) => {
22    C?.kill(), e2 ? (B(), I = t.to(y, { phase: "+=" + 2 * Math.PI, duration: 2.5, ease: "none", repeat: -1, onUpdate: j })) : B(), C = t.to(y, { t: e2 ? 1 : 0, duration: 0.45, ease: "power2.inOut", onUpdate: j, onComplete: j });
23  }, { immediate: true }), a(j), o(() => {
24    C?.kill(), B();
25  }), (e2, t2) => (s(), n("div", h, [(s(), n("svg", g, [l("path", { ref_key: "pathRef", ref: _, d: M(0), stroke: "white", "stroke-width": "1.28323", "stroke-linecap": "round" }, null, 8, v)])), r(f, { href: "#", role: "button", "aria-label": w2.active ? "Mute sound" : "Enable sound", "aria-pressed": w2.active, onClick: t2[0] || (t2[0] = u((e3) => $("toggle"), ["prevent"])), onKeydown: t2[1] || (t2[1] = m(u((e3) => $("toggle"), ["prevent"]), ["space"])) }, { default: i(() => [d(p(w2.active ? "sound on" : "sound off"), 1)]), _: 1 }, 8, ["aria-label", "aria-pressed"])]));
26} };
27export {
28  w as _
29};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.