PageSourceSearch

https://theroosevelt.net/webawesome/chunks/chunk.7OBLIRXR.js

js theroosevelt.net collected 2026-09-27 14:36:24 UTC 12,069 bytes, 335 lines download raw bytes

1/*! Copyright 2026 Fonticons, Inc. - https://webawesome.com/license */
2import {
3  B,
4  T
5} from "./chunk.BKE5EYM3.js";
6
vendor: 1,864 bytes, lines 7-51
7// ../../node_modules/@lit/reactive-element/css-tag.js
8var t = globalThis;
9var e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
10var s = Symbol();
11var o = /* @__PURE__ */ new WeakMap();
12var n = class {
13  constructor(t2, e3, o5) {
14    if (this._$cssResult$ = true, o5 !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
15    this.cssText = t2, this.t = e3;
16  }
17  get styleSheet() {
18    let t2 = this.o;
19    const s3 = this.t;
20    if (e && void 0 === t2) {
21      const e3 = void 0 !== s3 && 1 === s3.length;
22      e3 && (t2 = o.get(s3)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e3 && o.set(s3, t2));
23    }
24    return t2;
25  }
26  toString() {
27    return this.cssText;
28  }
29};
30var r = (t2) => new n("string" == typeof t2 ? t2 : t2 + "", void 0, s);
31var i = (t2, ...e3) => {
32  const o5 = 1 === t2.length ? t2[0] : e3.reduce(((e4, s3, o6) => e4 + ((t3) => {
33    if (true === t3._$cssResult$) return t3.cssText;
34    if ("number" == typeof t3) return t3;
35    throw Error("Value passed to 'css' function must be a 'css' function result: " + t3 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
36  })(s3) + t2[o6 + 1]), t2[0]);
37  return new n(o5, t2, s);
38};
39var S = (s3, o5) => {
40  if (e) s3.adoptedStyleSheets = o5.map(((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet));
41  else for (const e3 of o5) {
42    const o6 = document.createElement("style"), n3 = t.litNonce;
43    void 0 !== n3 && o6.setAttribute("nonce", n3), o6.textContent = e3.cssText, s3.appendChild(o6);
44  }
45};
46var c = e ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
47  let e3 = "";
48  for (const s3 of t3.cssRules) e3 += s3.cssText;
49  return r(e3);
50})(t2) : t2;
51
vendor: 8,478 bytes, lines 52-271
52// ../../node_modules/@lit/reactive-element/reactive-element.js
53var { is: i2, defineProperty: e2, getOwnPropertyDescriptor: h, getOwnPropertyNames: r2, getOwnPropertySymbols: o2, getPrototypeOf: n2 } = Object;
54var a = globalThis;
55var c2 = a.trustedTypes;
56var l = c2 ? c2.emptyScript : "";
57var p = a.reactiveElementPolyfillSupport;
58var d = (t2, s3) => t2;
59var u = { toAttribute(t2, s3) {
60  switch (s3) {
61    case Boolean:
62      t2 = t2 ? l : null;
63      break;
64    case Object:
65    case Array:
66      t2 = null == t2 ? t2 : JSON.stringify(t2);
67  }
68  return t2;
69}, fromAttribute(t2, s3) {
70  let i4 = t2;
71  switch (s3) {
72    case Boolean:
73      i4 = null !== t2;
74      break;
75    case Number:
76      i4 = null === t2 ? null : Number(t2);
77      break;
78    case Object:
79    case Array:
80      try {
81        i4 = JSON.parse(t2);
82      } catch (t3) {
83        i4 = null;
84      }
85  }
86  return i4;
87} };
88var f = (t2, s3) => !i2(t2, s3);
89var b = { attribute: true, type: String, converter: u, reflect: false, useDefault: false, hasChanged: f };
90Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), a.litPropertyMetadata ?? (a.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
91var y = class extends HTMLElement {
92  static addInitializer(t2) {
93    this._$Ei(), (this.l ?? (this.l = [])).push(t2);
94  }
95  static get observedAttributes() {
96    return this.finalize(), this._$Eh && [...this._$Eh.keys()];
97  }
98  static createProperty(t2, s3 = b) {
99    if (s3.state && (s3.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t2) && ((s3 = Object.create(s3)).wrapped = true), this.elementProperties.set(t2, s3), !s3.noAccessor) {
100      const i4 = Symbol(), h2 = this.getPropertyDescriptor(t2, i4, s3);
101      void 0 !== h2 && e2(this.prototype, t2, h2);
102    }
103  }
104  static getPropertyDescriptor(t2, s3, i4) {
105    const { get: e3, set: r3 } = h(this.prototype, t2) ?? { get() {
106      return this[s3];
107    }, set(t3) {
108      this[s3] = t3;
109    } };
110    return { get: e3, set(s4) {
111      const h2 = e3?.call(this);
112      r3?.call(this, s4), this.requestUpdate(t2, h2, i4);
113    }, configurable: true, enumerable: true };
114  }
115  static getPropertyOptions(t2) {
116    return this.elementProperties.get(t2) ?? b;
117  }
118  static _$Ei() {
119    if (this.hasOwnProperty(d("elementProperties"))) return;
120    const t2 = n2(this);
121    t2.finalize(), void 0 !== t2.l && (this.l = [...t2.l]), this.elementProperties = new Map(t2.elementProperties);
122  }
123  static finalize() {
124    if (this.hasOwnProperty(d("finalized"))) return;
125    if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
126      const t3 = this.properties, s3 = [...r2(t3), ...o2(t3)];
127      for (const i4 of s3) this.createProperty(i4, t3[i4]);
128    }
129    const t2 = this[Symbol.metadata];
130    if (null !== t2) {
131      const s3 = litPropertyMetadata.get(t2);
132      if (void 0 !== s3) for (const [t3, i4] of s3) this.elementProperties.set(t3, i4);
133    }
134    this._$Eh = /* @__PURE__ */ new Map();
135    for (const [t3, s3] of this.elementProperties) {
136      const i4 = this._$Eu(t3, s3);
137      void 0 !== i4 && this._$Eh.set(i4, t3);
138    }
139    this.elementStyles = this.finalizeStyles(this.styles);
140  }
141  static finalizeStyles(s3) {
142    const i4 = [];
143    if (Array.isArray(s3)) {
144      const e3 = new Set(s3.flat(1 / 0).reverse());
145      for (const s4 of e3) i4.unshift(c(s4));
146    } else void 0 !== s3 && i4.push(c(s3));
147    return i4;
148  }
149  static _$Eu(t2, s3) {
150    const i4 = s3.attribute;
151    return false === i4 ? void 0 : "string" == typeof i4 ? i4 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
152  }
153  constructor() {
154    super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
155  }
156  _$Ev() {
157    this._$ES = new Promise(((t2) => this.enableUpdating = t2)), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(((t2) => t2(this)));
158  }
159  addController(t2) {
160    (this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t2), void 0 !== this.renderRoot && this.isConnected && t2.hostConnected?.();
161  }
162  removeController(t2) {
163    this._$EO?.delete(t2);
164  }
165  _$E_() {
166    const t2 = /* @__PURE__ */ new Map(), s3 = this.constructor.elementProperties;
167    for (const i4 of s3.keys()) this.hasOwnProperty(i4) && (t2.set(i4, this[i4]), delete this[i4]);
168    t2.size > 0 && (this._$Ep = t2);
169  }
170  createRenderRoot() {
171    const t2 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
172    return S(t2, this.constructor.elementStyles), t2;
173  }
174  connectedCallback() {
175    this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), this._$EO?.forEach(((t2) => t2.hostConnected?.()));
176  }
177  enableUpdating(t2) {
178  }
179  disconnectedCallback() {
180    this._$EO?.forEach(((t2) => t2.hostDisconnected?.()));
181  }
182  attributeChangedCallback(t2, s3, i4) {
183    this._$AK(t2, i4);
184  }
185  _$ET(t2, s3) {
186    const i4 = this.constructor.elementProperties.get(t2), e3 = this.constructor._$Eu(t2, i4);
187    if (void 0 !== e3 && true === i4.reflect) {
188      const h2 = (void 0 !== i4.converter?.toAttribute ? i4.converter : u).toAttribute(s3, i4.type);
189      this._$Em = t2, null == h2 ? this.removeAttribute(e3) : this.setAttribute(e3, h2), this._$Em = null;
190    }
191  }
192  _$AK(t2, s3) {
193    const i4 = this.constructor, e3 = i4._$Eh.get(t2);
194    if (void 0 !== e3 && this._$Em !== e3) {
195      const t3 = i4.getPropertyOptions(e3), h2 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== t3.converter?.fromAttribute ? t3.converter : u;
196      this._$Em = e3, this[e3] = h2.fromAttribute(s3, t3.type) ?? this._$Ej?.get(e3) ?? null, this._$Em = null;
197    }
198  }
199  requestUpdate(t2, s3, i4) {
200    if (void 0 !== t2) {
201      const e3 = this.constructor, h2 = this[t2];
202      if (i4 ?? (i4 = e3.getPropertyOptions(t2)), !((i4.hasChanged ?? f)(h2, s3) || i4.useDefault && i4.reflect && h2 === this._$Ej?.get(t2) && !this.hasAttribute(e3._$Eu(t2, i4)))) return;
203      this.C(t2, s3, i4);
204    }
205    false === this.isUpdatePending && (this._$ES = this._$EP());
206  }
207  C(t2, s3, { useDefault: i4, reflect: e3, wrapped: h2 }, r3) {
208    i4 && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t2) && (this._$Ej.set(t2, r3 ?? s3 ?? this[t2]), true !== h2 || void 0 !== r3) || (this._$AL.has(t2) || (this.hasUpdated || i4 || (s3 = void 0), this._$AL.set(t2, s3)), true === e3 && this._$Em !== t2 && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t2));
209  }
210  async _$EP() {
211    this.isUpdatePending = true;
212    try {
213      await this._$ES;
214    } catch (t3) {
215      Promise.reject(t3);
216    }
217    const t2 = this.scheduleUpdate();
218    return null != t2 && await t2, !this.isUpdatePending;
219  }
220  scheduleUpdate() {
221    return this.performUpdate();
222  }
223  performUpdate() {
224    if (!this.isUpdatePending) return;
225    if (!this.hasUpdated) {
226      if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
227        for (const [t4, s4] of this._$Ep) this[t4] = s4;
228        this._$Ep = void 0;
229      }
230      const t3 = this.constructor.elementProperties;
231      if (t3.size > 0) for (const [s4, i4] of t3) {
232        const { wrapped: t4 } = i4, e3 = this[s4];
233        true !== t4 || this._$AL.has(s4) || void 0 === e3 || this.C(s4, void 0, i4, e3);
234      }
235    }
236    let t2 = false;
237    const s3 = this._$AL;
238    try {
239      t2 = this.shouldUpdate(s3), t2 ? (this.willUpdate(s3), this._$EO?.forEach(((t3) => t3.hostUpdate?.())), this.update(s3)) : this._$EM();
240    } catch (s4) {
241      throw t2 = false, this._$EM(), s4;
242    }
243    t2 && this._$AE(s3);
244  }
245  willUpdate(t2) {
246  }
247  _$AE(t2) {
248    this._$EO?.forEach(((t3) => t3.hostUpdated?.())), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t2)), this.updated(t2);
249  }
250  _$EM() {
251    this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
252  }
253  get updateComplete() {
254    return this.getUpdateComplete();
255  }
256  getUpdateComplete() {
257    return this._$ES;
258  }
259  shouldUpdate(t2) {
260    return true;
261  }
262  update(t2) {
263    this._$Eq && (this._$Eq = this._$Eq.forEach(((t3) => this._$ET(t3, this[t3])))), this._$EM();
264  }
265  updated(t2) {
266  }
267  firstUpdated(t2) {
268  }
269};
270y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[d("elementProperties")] = /* @__PURE__ */ new Map(), y[d("finalized")] = /* @__PURE__ */ new Map(), p?.({ ReactiveElement: y }), (a.reactiveElementVersions ?? (a.reactiveElementVersions = [])).push("2.1.0");
271
vendor: 61 bytes, lines 272-274
272// ../../node_modules/lit-html/is-server.js
273var o3 = false;
274
vendor: 1,546 bytes, lines 275-335
275// ../../node_modules/lit-element/lit-element.js
276var s2 = globalThis;
277var i3 = class extends y {
278  constructor() {
279    super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
280  }
281  createRenderRoot() {
282    var _a;
283    const t2 = super.createRenderRoot();
284    return (_a = this.renderOptions).renderBefore ?? (_a.renderBefore = t2.firstChild), t2;
285  }
286  update(t2) {
287    const r3 = this.render();
288    this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = B(r3, this.renderRoot, this.renderOptions);
289  }
290  connectedCallback() {
291    super.connectedCallback(), this._$Do?.setConnected(true);
292  }
293  disconnectedCallback() {
294    super.disconnectedCallback(), this._$Do?.setConnected(false);
295  }
296  render() {
297    return T;
298  }
299};
300i3._$litElement$ = true, i3["finalized"] = true, s2.litElementHydrateSupport?.({ LitElement: i3 });
301var o4 = s2.litElementPolyfillSupport;
302o4?.({ LitElement: i3 });
303(s2.litElementVersions ?? (s2.litElementVersions = [])).push("4.2.0");
304
305export {
306  i,
307  u,
308  f,
309  i3 as i2,
310  o3 as o
311};
312/*! Bundled license information:
313
314@lit/reactive-element/css-tag.js:
315  (**
316   * @license
317   * Copyright 2019 Google LLC
318   * SPDX-License-Identifier: BSD-3-Clause
319   *)
320
321@lit/reactive-element/reactive-element.js:
322lit-element/lit-element.js:
323  (**
324   * @license
325   * Copyright 2017 Google LLC
326   * SPDX-License-Identifier: BSD-3-Clause
327   *)
328
329lit-html/is-server.js:
330  (**
331   * @license
332   * Copyright 2022 Google LLC
333   * SPDX-License-Identifier: BSD-3-Clause
334   *)
335*/

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.