PageSourceSearch

https://app.bridgewoodcreative.com/build/assets/index-XTnrROav.js

js bridgewoodcreative.com collected 2026-09-30 11:25:48 UTC 2,836 bytes, 63 lines download raw bytes

1import { o as p, c as w, a as v, p as x, L as y, O as g, g as o } from "./app-BKglPdKf.js";
2function B(n, e) {
3  return p(), w("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", "data-slot": "icon" }, [v("path", { "fill-rule": "evenodd", d: "M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z", "clip-rule": "evenodd" })]);
4}
5function S() {
6  return typeof window < "u";
7}
8function j(n) {
9  return S() && n in window;
10}
11function l({ "min-width": n, min: e = n, max: t, raw: i } = {}) {
12  return { min: e, max: t, raw: i };
13}
14function h(n, e = true) {
15  return Array.isArray(n) ? n.map((t) => {
16    if (e && Array.isArray(t)) throw new Error("The tuple syntax is not supported for `screens`.");
17    if (typeof t == "string") return { name: t.toString(), values: [{ min: t, max: void 0 }] };
18    let [i, u] = t;
19    return i = i.toString(), typeof u == "string" ? { name: i, values: [{ min: u, max: void 0 }] } : Array.isArray(u) ? { name: i, values: u.map((c) => l(c)) } : { name: i, values: [l(u)] };
20  }) : h(Object.entries(n ?? {}), false);
21}
22function A(n) {
23  return n.map((e) => e.raw !== void 0 ? e.raw : [e.min && `(min-width: ${e.min})`, e.max && `(max-width: ${e.max})`].filter(Boolean).join(" and ")).join(", ");
24}
25var O = { xs: "0px", sm: "640px", md: "768px", lg: "1024px", xl: "1280px" };
26const E = "$screens";
27function b(n) {
28  const e = g({ screens: h(n || O), queries: {}, matches: {}, hasSetup: false });
29  function t() {
30    Object.entries(e.queries).forEach(([r, a]) => {
31      e.matches[r] = a.matches;
32    });
33  }
34  function i(r) {
35    return o(() => Object.keys(e.matches).filter((a) => e.matches[a] === true && r.hasOwnProperty(a)).map((a) => r[a]));
36  }
37  const u = o(() => Object.keys(e.matches).filter((r) => e.matches[r]));
38  function c(r, a) {
39    return o(() => {
40      const s = m.value;
41      return s && r.hasOwnProperty(s) ? r[s] : a;
42    });
43  }
44  const m = o(() => {
45    const r = u.value;
46    return r.length ? r[r.length - 1] : "";
47  });
48  function d() {
49    Object.values(e.queries).forEach((r) => r.removeEventListener("change", t)), e.queries = {}, e.matches = {};
50  }
51  return !e.hasSetup && j("matchMedia") && (d(), e.queries = e.screens.reduce((r, { name: a, values: s }) => {
52    const f = window.matchMedia(A(s));
53    return f.addEventListener("change", t), r[a] = f, r;
54  }, {}), t(), e.hasSetup = true), { matches: e.matches, list: u, mapList: i, current: m, mapCurrent: c, cleanup: d };
55}
56function M(n, e) {
57  const t = b(n);
58  return x(E, t), y(() => t.cleanup()), t;
59}
60export {
61  B as r,
62  M as u
63};

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.