PageSourceSearch

https://interra.bz/s/static/builtin/chunks/chunk.WIOJTVTA.js

js interra.bz collected 2026-09-29 21:34:47 UTC 26,375 bytes, 763 lines download raw bytes

1import {
2  $DEVCOMP,
3  createEffect,
4  createMemo,
5  createRenderEffect,
6  createRoot,
7  createSignal,
8  enableHydration,
9  getOwner,
10  onCleanup,
11  runWithOwner,
12  sharedConfig,
13  splitProps,
14  untrack
15} from "./chunk.2IPEQZZQ.js";
16
17// node_modules/solid-js/web/dist/web.js
18var booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
19var Properties = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
20var ChildProperties = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]);
21var Aliases = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
22  className: "class",
23  htmlFor: "for"
24});
25var PropAliases = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
26  class: "className",
27  formnovalidate: {
28    $: "formNoValidate",
29    BUTTON: 1,
30    INPUT: 1
31  },
32  ismap: {
33    $: "isMap",
34    IMG: 1
35  },
36  nomodule: {
37    $: "noModule",
38    SCRIPT: 1
39  },
40  playsinline: {
41    $: "playsInline",
42    VIDEO: 1
43  },
44  readonly: {
45    $: "readOnly",
46    INPUT: 1,
47    TEXTAREA: 1
48  }
49});
50function getPropAlias(prop, tagName) {
51  const a = PropAliases[prop];
52  return typeof a === "object" ? a[tagName] ? a["$"] : void 0 : a;
53}
54var DelegatedEvents = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]);
55var SVGElements = /* @__PURE__ */ new Set([
56  "altGlyph",
57  "altGlyphDef",
58  "altGlyphItem",
59  "animate",
60  "animateColor",
61  "animateMotion",
62  "animateTransform",
63  "circle",
64  "clipPath",
65  "color-profile",
66  "cursor",
67  "defs",
68  "desc",
69  "ellipse",
70  "feBlend",
71  "feColorMatrix",
72  "feComponentTransfer",
73  "feComposite",
74  "feConvolveMatrix",
75  "feDiffuseLighting",
76  "feDisplacementMap",
77  "feDistantLight",
78  "feFlood",
79  "feFuncA",
80  "feFuncB",
81  "feFuncG",
82  "feFuncR",
83  "feGaussianBlur",
84  "feImage",
85  "feMerge",
86  "feMergeNode",
87  "feMorphology",
88  "feOffset",
89  "fePointLight",
90  "feSpecularLighting",
91  "feSpotLight",
92  "feTile",
93  "feTurbulence",
94  "filter",
95  "font",
96  "font-face",
97  "font-face-format",
98  "font-face-name",
99  "font-face-src",
100  "font-face-uri",
101  "foreignObject",
102  "g",
103  "glyph",
104  "glyphRef",
105  "hkern",
106  "image",
107  "line",
108  "linearGradient",
109  "marker",
110  "mask",
111  "metadata",
112  "missing-glyph",
113  "mpath",
114  "path",
115  "pattern",
116  "polygon",
117  "polyline",
118  "radialGradient",
119  "rect",
120  "set",
121  "stop",
122  "svg",
123  "switch",
124  "symbol",
125  "text",
126  "textPath",
127  "tref",
128  "tspan",
129  "use",
130  "view",
131  "vkern"
132]);
133var SVGNamespace = {
134  xlink: "http://www.w3.org/1999/xlink",
135  xml: "http://www.w3.org/XML/1998/namespace"
136};
137var DOMElements = /* @__PURE__ */ new Set(["html", "base", "head", "link", "meta", "style", "title", "body", "address", "article", "aside", "footer", "header", "main", "nav", "section", "body", "blockquote", "dd", "div", "dl", "dt", "figcaption", "figure", "hr", "li", "ol", "p", "pre", "ul", "a", "abbr", "b", "bdi", "bdo", "br", "cite", "code", "data", "dfn", "em", "i", "kbd", "mark", "q", "rp", "rt", "ruby", "s", "samp", "small", "span", "strong", "sub", "sup", "time", "u", "var", "wbr", "area", "audio", "img", "map", "track", "video", "embed", "iframe", "object", "param", "picture", "portal", "source", "svg", "math", "canvas", "noscript", "script", "del", "ins", "caption", "col", "colgroup", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "button", "datalist", "fieldset", "form", "input", "label", "legend", "meter", "optgroup", "option", "output", "progress", "select", "textarea", "details", "dialog", "menu", "summary", "details", "slot", "template", "acronym", "applet", "basefont", "bgsound", "big", "blink", "center", "content", "dir", "font", "frame", "frameset", "hgroup", "image", "keygen", "marquee", "menuitem", "nobr", "noembed", "noframes", "plaintext", "rb", "rtc", "shadow", "spacer", "strike", "tt", "xmp", "a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "portal", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp", "input"]);
138function reconcileArrays(parentNode, a, b) {
139  let bLength = b.length, aEnd = a.length, bEnd = bLength, aStart = 0, bStart = 0, after = a[aEnd - 1].nextSibling, map = null;
140  while (aStart < aEnd || bStart < bEnd) {
141    if (a[aStart] === b[bStart]) {
142      aStart++;
143      bStart++;
144      continue;
145    }
146    while (a[aEnd - 1] === b[bEnd - 1]) {
147      aEnd--;
148      bEnd--;
149    }
150    if (aEnd === aStart) {
151      const node = bEnd < bLength ? bStart ? b[bStart - 1].nextSibling : b[bEnd - bStart] : after;
152      while (bStart < bEnd) parentNode.insertBefore(b[bStart++], node);
153    } else if (bEnd === bStart) {
154      while (aStart < aEnd) {
155        if (!map || !map.has(a[aStart])) a[aStart].remove();
156        aStart++;
157      }
158    } else if (a[aStart] === b[bEnd - 1] && b[bStart] === a[aEnd - 1]) {
159      const node = a[--aEnd].nextSibling;
160      parentNode.insertBefore(b[bStart++], a[aStart++].nextSibling);
161      parentNode.insertBefore(b[--bEnd], node);
162      a[aEnd] = b[bEnd];
163    } else {
164      if (!map) {
165        map = /* @__PURE__ */ new Map();
166        let i = bStart;
167        while (i < bEnd) map.set(b[i], i++);
168      }
169      const index = map.get(a[aStart]);
170      if (index != null) {
171        if (bStart < index && index < bEnd) {
172          let i = aStart, sequence = 1, t;
173          while (++i < aEnd && i < bEnd) {
174            if ((t = map.get(a[i])) == null || t !== index + sequence) break;
175            sequence++;
176          }
177          if (sequence > index - bStart) {
178            const node = a[aStart];
179            while (bStart < index) parentNode.insertBefore(b[bStart++], node);
180          } else parentNode.replaceChild(b[bStart++], a[aStart++]);
181        } else aStart++;
182      } else a[aStart++].remove();
183    }
184  }
185}
186var $$EVENTS = "_$DX_DELEGATE";
187function render(code, element, init, options = {}) {
188  let disposer;
189  createRoot((dispose) => {
190    disposer = dispose;
191    element === document ? code() : insert(element, code(), element.firstChild ? null : void 0, init);
192  }, options.owner);
193  return () => {
194    disposer();
195    element.textContent = "";
196  };
197}
198function template(html, isCE, isSVG) {
199  let node;
200  const create = () => {
201    const t = document.createElement("template");
202    t.innerHTML = html;
203    return isSVG ? t.content.firstChild.firstChild : t.content.firstChild;
204  };
205  const fn = isCE ? () => (node || (node = create())).cloneNode(true) : () => untrack(() => document.importNode(node || (node = create()), true));
206  fn.cloneNode = fn;
207  return fn;
208}
209function delegateEvents(eventNames, document2 = window.document) {
210  const e = document2[$$EVENTS] || (document2[$$EVENTS] = /* @__PURE__ */ new Set());
211  for (let i = 0, l = eventNames.length; i < l; i++) {
212    const name = eventNames[i];
213    if (!e.has(name)) {
214      e.add(name);
215      document2.addEventListener(name, eventHandler);
216    }
217  }
218}
219function clearDelegatedEvents(document2 = window.document) {
220  if (document2[$$EVENTS]) {
221    for (let name of document2[$$EVENTS].keys()) document2.removeEventListener(name, eventHandler);
222    delete document2[$$EVENTS];
223  }
224}
225function setAttribute(node, name, value) {
226  if (value == null) node.removeAttribute(name);
227  else node.setAttribute(name, value);
228}
229function setAttributeNS(node, namespace, name, value) {
230  if (value == null) node.removeAttributeNS(namespace, name);
231  else node.setAttributeNS(namespace, name, value);
232}
233function className(node, value) {
234  if (value == null) node.removeAttribute("class");
235  else node.className = value;
236}
237function addEventListener(node, name, handler, delegate) {
238  if (delegate) {
239    if (Array.isArray(handler)) {
240      node[`$$${name}`] = handler[0];
241      node[`$$${name}Data`] = handler[1];
242    } else node[`$$${name}`] = handler;
243  } else if (Array.isArray(handler)) {
244    const handlerFn = handler[0];
245    node.addEventListener(name, handler[0] = (e) => handlerFn.call(node, handler[1], e));
246  } else node.addEventListener(name, handler);
247}
248function classList(node, value, prev = {}) {
249  const classKeys = Object.keys(value || {}), prevKeys = Object.keys(prev);
250  let i, len;
251  for (i = 0, len = prevKeys.length; i < len; i++) {
252    const key = prevKeys[i];
253    if (!key || key === "undefined" || value[key]) continue;
254    toggleClassKey(node, key, false);
255    delete prev[key];
256  }
257  for (i = 0, len = classKeys.length; i < len; i++) {
258    const key = classKeys[i], classValue = !!value[key];
259    if (!key || key === "undefined" || prev[key] === classValue || !classValue) continue;
260    toggleClassKey(node, key, true);
261    prev[key] = classValue;
262  }
263  return prev;
264}
265function style(node, value, prev) {
266  if (!value) return prev ? setAttribute(node, "style") : value;
267  const nodeStyle = node.style;
268  if (typeof value === "string") return nodeStyle.cssText = value;
269  typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
270  prev || (prev = {});
271  value || (value = {});
272  let v, s;
273  for (s in prev) {
274    value[s] == null && nodeStyle.removeProperty(s);
275    delete prev[s];
276  }
277  for (s in value) {
278    v = value[s];
279    if (v !== prev[s]) {
280      nodeStyle.setProperty(s, v);
281      prev[s] = v;
282    }
283  }
284  return prev;
285}
286function spread(node, props = {}, isSVG, skipChildren) {
287  const prevProps = {};
288  if (!skipChildren) {
289    createRenderEffect(() => prevProps.children = insertExpression(node, props.children, prevProps.children));
290  }
291  createRenderEffect(() => props.ref && props.ref(node));
292  createRenderEffect(() => assign(node, props, isSVG, true, prevProps, true));
293  return prevProps;
294}
295function dynamicProperty(props, key) {
296  const src = props[key];
297  Object.defineProperty(props, key, {
298    get() {
299      return src();
300    },
301    enumerable: true
302  });
303  return props;
304}
305function innerHTML(parent, content) {
306  !sharedConfig.context && (parent.innerHTML = content);
307}
308function use(fn, element, arg) {
309  return untrack(() => fn(element, arg));
310}
311function insert(parent, accessor, marker, initial) {
312  if (marker !== void 0 && !initial) initial = [];
313  if (typeof accessor !== "function") return insertExpression(parent, accessor, initial, marker);
314  createRenderEffect((current) => insertExpression(parent, accessor(), current, marker), initial);
315}
316function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = false) {
317  props || (props = {});
318  for (const prop in prevProps) {
319    if (!(prop in props)) {
320      if (prop === "children") continue;
321      prevProps[prop] = assignProp(node, prop, null, prevProps[prop], isSVG, skipRef);
322    }
323  }
324  for (const prop in props) {
325    if (prop === "children") {
326      if (!skipChildren) insertExpression(node, props.children);
327      continue;
328    }
329    const value = props[prop];
330    prevProps[prop] = assignProp(node, prop, value, prevProps[prop], isSVG, skipRef);
331  }
332}
333function hydrate$1(code, element, options = {}) {
334  sharedConfig.completed = globalThis._$HY.completed;
335  sharedConfig.events = globalThis._$HY.events;
336  sharedConfig.load = globalThis._$HY.load;
337  sharedConfig.gather = (root) => gatherHydratable(element, root);
338  sharedConfig.registry = /* @__PURE__ */ new Map();
339  sharedConfig.context = {
340    id: options.renderId || "",
341    count: 0
342  };
343  gatherHydratable(element, options.renderId);
344  const dispose = render(code, element, [...element.childNodes], options);
345  sharedConfig.context = null;
346  return dispose;
347}
348function getNextElement(template2) {
349  let node, key;
350  if (!sharedConfig.context || !(node = sharedConfig.registry.get(key = getHydrationKey()))) {
351    if (sharedConfig.context) console.warn("Unable to find DOM nodes for hydration key:", key);
352    if (!template2) throw new Error("Unrecoverable Hydration Mismatch. No template for key: " + key);
353    return template2();
354  }
355  if (sharedConfig.completed) sharedConfig.completed.add(node);
356  sharedConfig.registry.delete(key);
357  return node;
358}
359function getNextMatch(el, nodeName) {
360  while (el && el.localName !== nodeName) el = el.nextSibling;
361  return el;
362}
363function getNextMarker(start) {
364  let end = start, count = 0, current = [];
365  if (sharedConfig.context) {
366    while (end) {
367      if (end.nodeType === 8) {
368        const v = end.nodeValue;
369        if (v === "#") count++;
370        else if (v === "/") {
371          if (count === 0) return [end, current];
372          count--;
373        }
374      }
375      current.push(end);
376      end = end.nextSibling;
377    }
378  }
379  return [end, current];
380}
381function runHydrationEvents() {
382  if (sharedConfig.events && !sharedConfig.events.queued) {
383    queueMicrotask(() => {
384      const {
385        completed,
386        events
387      } = sharedConfig;
388      events.queued = false;
389      while (events.length) {
390        const [el, e] = events[0];
391        if (!completed.has(el)) return;
392        eventHandler(e);
393        events.shift();
394      }
395    });
396    sharedConfig.events.queued = true;
397  }
398}
399function toPropertyName(name) {
400  return name.toLowerCase().replace(/-([a-z])/g, (_, w) => w.toUpperCase());
401}
402function toggleClassKey(node, key, value) {
403  const classNames = key.trim().split(/\s+/);
404  for (let i = 0, nameLen = classNames.length; i < nameLen; i++) node.classList.toggle(classNames[i], value);
405}
406function assignProp(node, prop, value, prev, isSVG, skipRef) {
407  let isCE, isProp, isChildProp, propAlias, forceProp;
408  if (prop === "style") return style(node, value, prev);
409  if (prop === "classList") return classList(node, value, prev);
410  if (value === prev) return prev;
411  if (prop === "ref") {
412    if (!skipRef) value(node);
413  } else if (prop.slice(0, 3) === "on:") {
414    const e = prop.slice(3);
415    prev && node.removeEventListener(e, prev);
416    value && node.addEventListener(e, value);
417  } else if (prop.slice(0, 10) === "oncapture:") {
418    const e = prop.slice(10);
419    prev && node.removeEventListener(e, prev, true);
420    value && node.addEventListener(e, value, true);
421  } else if (prop.slice(0, 2) === "on") {
422    const name = prop.slice(2).toLowerCase();
423    const delegate = DelegatedEvents.has(name);
424    if (!delegate && prev) {
425      const h = Array.isArray(prev) ? prev[0] : prev;
426      node.removeEventListener(name, h);
427    }
428    if (delegate || value) {
429      addEventListener(node, name, value, delegate);
430      delegate && delegateEvents([name]);
431    }
432  } else if (prop.slice(0, 5) === "attr:") {
433    setAttribute(node, prop.slice(5), value);
434  } else if ((forceProp = prop.slice(0, 5) === "prop:") || (isChildProp = ChildProperties.has(prop)) || !isSVG && ((propAlias = getPropAlias(prop, node.tagName)) || (isProp = Properties.has(prop))) || (isCE = node.nodeName.includes("-"))) {
435    if (forceProp) {
436      prop = prop.slice(5);
437      isProp = true;
438    }
439    if (prop === "class" || prop === "className") className(node, value);
440    else if (isCE && !isProp && !isChildProp) node[toPropertyName(prop)] = value;
441    else node[propAlias || prop] = value;
442  } else {
443    const ns = isSVG && prop.indexOf(":") > -1 && SVGNamespace[prop.split(":")[0]];
444    if (ns) setAttributeNS(node, ns, prop, value);
445    else setAttribute(node, Aliases[prop] || prop, value);
446  }
447  return value;
448}
449function eventHandler(e) {
450  const key = `$$${e.type}`;
451  let node = e.composedPath && e.composedPath()[0] || e.target;
452  if (e.target !== node) {
453    Object.defineProperty(e, "target", {
454      configurable: true,
455      value: node
456    });
457  }
458  Object.defineProperty(e, "currentTarget", {
459    configurable: true,
460    get() {
461      return node || document;
462    }
463  });
464  if (sharedConfig.registry && !sharedConfig.done) sharedConfig.done = _$HY.done = true;
465  while (node) {
466    const handler = node[key];
467    if (handler && !node.disabled) {
468      const data = node[`${key}Data`];
469      data !== void 0 ? handler.call(node, data, e) : handler.call(node, e);
470      if (e.cancelBubble) return;
471    }
472    node = node._$host || node.parentNode || node.host;
473  }
474}
475function insertExpression(parent, value, current, marker, unwrapArray) {
476  if (sharedConfig.context) {
477    !current && (current = [...parent.childNodes]);
478    let cleaned = [];
479    for (let i = 0; i < current.length; i++) {
480      const node = current[i];
481      if (node.nodeType === 8 && node.data.slice(0, 2) === "!$") node.remove();
482      else cleaned.push(node);
483    }
484    current = cleaned;
485  }
486  while (typeof current === "function") current = current();
487  if (value === current) return current;
488  const t = typeof value, multi = marker !== void 0;
489  parent = multi && current[0] && current[0].parentNode || parent;
490  if (t === "string" || t === "number") {
491    if (sharedConfig.context) return current;
492    if (t === "number") value = value.toString();
493    if (multi) {
494      let node = current[0];
495      if (node && node.nodeType === 3) {
496        node.data = value;
497      } else node = document.createTextNode(value);
498      current = cleanChildren(parent, current, marker, node);
499    } else {
500      if (current !== "" && typeof current === "string") {
501        current = parent.firstChild.data = value;
502      } else current = parent.textContent = value;
503    }
504  } else if (value == null || t === "boolean") {
505    if (sharedConfig.context) return current;
506    current = cleanChildren(parent, current, marker);
507  } else if (t === "function") {
508    createRenderEffect(() => {
509      let v = value();
510      while (typeof v === "function") v = v();
511      current = insertExpression(parent, v, current, marker);
512    });
513    return () => current;
514  } else if (Array.isArray(value)) {
515    const array = [];
516    const currentArray = current && Array.isArray(current);
517    if (normalizeIncomingArray(array, value, current, unwrapArray)) {
518      createRenderEffect(() => current = insertExpression(parent, array, current, marker, true));
519      return () => current;
520    }
521    if (sharedConfig.context) {
522      if (!array.length) return current;
523      for (let i = 0; i < array.length; i++) {
524        if (array[i].parentNode) return current = array;
525      }
526    }
527    if (array.length === 0) {
528      current = cleanChildren(parent, current, marker);
529      if (multi) return current;
530    } else if (currentArray) {
531      if (current.length === 0) {
532        appendNodes(parent, array, marker);
533      } else reconcileArrays(parent, current, array);
534    } else {
535      current && cleanChildren(parent);
536      appendNodes(parent, array);
537    }
538    current = array;
539  } else if (value instanceof Node) {
540    if (sharedConfig.context && value.parentNode) return current = multi ? [value] : value;
541    if (Array.isArray(current)) {
542      if (multi) return current = cleanChildren(parent, current, marker, value);
543      cleanChildren(parent, current, null, value);
544    } else if (current == null || current === "" || !parent.firstChild) {
545      parent.appendChild(value);
546    } else parent.replaceChild(value, parent.firstChild);
547    current = value;
548  } else console.warn(`Unrecognized value. Skipped inserting`, value);
549  return current;
550}
551function normalizeIncomingArray(normalized, array, current, unwrap) {
552  let dynamic = false;
553  for (let i = 0, len = array.length; i < len; i++) {
554    let item = array[i], prev = current && current[i];
555    if (item instanceof Node) {
556      normalized.push(item);
557    } else if (item == null || item === true || item === false) ;
558    else if (Array.isArray(item)) {
559      dynamic = normalizeIncomingArray(normalized, item, prev) || dynamic;
560    } else if (typeof item === "function") {
561      if (unwrap) {
562        while (typeof item === "function") item = item();
563        dynamic = normalizeIncomingArray(normalized, Array.isArray(item) ? item : [item], Array.isArray(prev) ? prev : [prev]) || dynamic;
564      } else {
565        normalized.push(item);
566        dynamic = true;
567      }
568    } else {
569      const value = String(item);
570      if (prev && prev.nodeType === 3) {
571        prev.data = value;
572        normalized.push(prev);
573      } else normalized.push(document.createTextNode(value));
574    }
575  }
576  return dynamic;
577}
578function appendNodes(parent, array, marker = null) {
579  for (let i = 0, len = array.length; i < len; i++) parent.insertBefore(array[i], marker);
580}
581function cleanChildren(parent, current, marker, replacement) {
582  if (marker === void 0) return parent.textContent = "";
583  const node = replacement || document.createTextNode("");
584  if (current.length) {
585    let inserted = false;
586    for (let i = current.length - 1; i >= 0; i--) {
587      const el = current[i];
588      if (node !== el) {
589        const isParent = el.parentNode === parent;
590        if (!inserted && !i) isParent ? parent.replaceChild(node, el) : parent.insertBefore(node, marker);
591        else isParent && el.remove();
592      } else inserted = true;
593    }
594  } else parent.insertBefore(node, marker);
595  return [node];
596}
597function gatherHydratable(element, root) {
598  const templates = element.querySelectorAll(`*[data-hk]`);
599  for (let i = 0; i < templates.length; i++) {
600    const node = templates[i];
601    const key = node.getAttribute("data-hk");
602    if ((!root || key.startsWith(root)) && !sharedConfig.registry.has(key)) sharedConfig.registry.set(key, node);
603  }
604}
605function getHydrationKey() {
606  const hydrate2 = sharedConfig.context;
607  return `${hydrate2.id}${hydrate2.count++}`;
608}
609function NoHydration(props) {
610  return sharedConfig.context ? void 0 : props.children;
611}
612function Hydration(props) {
613  return props.children;
614}
615function voidFn() {
616}
617function throwInBrowser(func) {
618  const err = new Error(`${func.name} is not supported in the browser, returning undefined`);
619  console.error(err);
620}
621function renderToString(fn, options) {
622  throwInBrowser(renderToString);
623}
624function renderToStringAsync(fn, options) {
625  throwInBrowser(renderToStringAsync);
626}
627function renderToStream(fn, options) {
628  throwInBrowser(renderToStream);
629}
630function ssr(template2, ...nodes) {
631}
632function ssrElement(name, props, children, needsId) {
633}
634function ssrClassList(value) {
635}
636function ssrStyle(value) {
637}
638function ssrAttribute(key, value) {
639}
640function ssrHydrationKey() {
641}
642function resolveSSRNode(node) {
643}
644function escape(html) {
645}
646function ssrSpread(props, isSVG, skipChildren) {
647}
648var isServer = false;
649var isDev = false;
650var SVG_NAMESPACE = "http://www.w3.org/2000/svg";
651function createElement(tagName, isSVG = false) {
652  return isSVG ? document.createElementNS(SVG_NAMESPACE, tagName) : document.createElement(tagName);
653}
654var hydrate = (...args) => {
655  enableHydration();
656  return hydrate$1(...args);
657};
658function Portal(props) {
659  const {
660    useShadow
661  } = props, marker = document.createTextNode(""), mount = () => props.mount || document.body, owner = getOwner();
662  let content;
663  let hydrating = !!sharedConfig.context;
664  createEffect(() => {
665    if (hydrating) getOwner().user = hydrating = false;
666    content || (content = runWithOwner(owner, () => props.children));
667    const el = mount();
668    if (el instanceof HTMLHeadElement) {
669      const [clean, setClean] = createSignal(false);
670      const cleanup = () => setClean(true);
671      createRoot((dispose) => insert(el, () => !clean() ? content : dispose(), null));
672      onCleanup(cleanup);
673    } else {
674      const container = createElement(props.isSVG ? "g" : "div", props.isSVG), renderRoot = useShadow && container.attachShadow ? c
674ontainer.attachShadow({
675        mode: "open"
676      }) : container;
677      Object.defineProperty(container, "_$host", {
678        get() {
679          return marker.parentNode;
680        },
681        configurable: true
682      });
683      insert(renderRoot, content);
684      el.appendChild(container);
685      props.ref && props.ref(container);
686      onCleanup(() => el.removeChild(container));
687    }
688  }, void 0, {
689    render: !hydrating
690  });
691  return marker;
692}
693function Dynamic(props) {
694  const [p, others] = splitProps(props, ["component"]);
695  const cached = createMemo(() => p.component);
696  return createMemo(() => {
697    const component = cached();
698    switch (typeof component) {
699      case "function":
700        Object.assign(component, {
701          [$DEVCOMP]: true
702        });
703        return untrack(() => component(others));
704      case "string":
705        const isSvg = SVGElements.has(component);
706        const el = sharedConfig.context ? getNextElement() : createElement(component, isSvg);
707        spread(el, others, isSvg);
708        return el;
709    }
710  });
711}
712
713export {
714  Properties,
715  ChildProperties,
716  Aliases,
717  getPropAlias,
718  DelegatedEvents,
719  SVGElements,
720  SVGNamespace,
721  DOMElements,
722  render,
723  template,
724  delegateEvents,
725  clearDelegatedEvents,
726  setAttribute,
727  setAttributeNS,
728  className,
729  addEventListener,
730  classList,
731  style,
732  spread,
733  dynamicProperty,
734  innerHTML,
735  use,
736  insert,
737  assign,
738  getNextElement,
739  getNextMatch,
740  getNextMarker,
741  runHydrationEvents,
742  getHydrationKey,
743  NoHydration,
744  Hydration,
745  voidFn,
746  renderToString,
747  renderToStringAsync,
748  renderToStream,
749  ssr,
750  ssrElement,
751  ssrClassList,
752  ssrStyle,
753  ssrAttribute,
754  ssrHydrationKey,
755  resolveSSRNode,
756  escape,
757  ssrSpread,
758  isServer,
759  isDev,
760  hydrate,
761  Portal,
762  Dynamic
763};

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.