@pablopunk/webr 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -4
- package/dist/client/_astro/App.1PYvyCIo.css +1 -0
- package/dist/client/_astro/App.C-zDvcHl.js +2 -0
- package/dist/server/chunks/{App_BmsGAwGf.mjs → App_Caoot2xr.mjs} +13 -10
- package/dist/server/chunks/{_id__u0ueX6GO.mjs → _id__CGVhhfbw.mjs} +7 -6
- package/dist/server/chunks/{_tab__DL6wyr-j.mjs → _tab__CKnH7YTh.mjs} +7 -6
- package/dist/server/chunks/_virtual_astro_session-driver_Dp7RXjOf.mjs +123 -0
- package/dist/server/chunks/{compiler_CpXox_xS.mjs → compiler_BiU10Vds.mjs} +1 -1
- package/dist/server/chunks/{console_CucE1SwS.mjs → console_BOi2ismd.mjs} +6 -6
- package/dist/server/chunks/dist_CpTFMtqT.mjs +9199 -0
- package/dist/server/chunks/{index_DyyPce_k.mjs → index_DRfLd22k.mjs} +5 -4
- package/dist/server/chunks/{new_G7XChx5p.mjs → new_CFN790OC.mjs} +7 -6
- package/dist/server/chunks/{node_BlixNyYV.mjs → node_BcIF-BVp.mjs} +461 -14
- package/dist/server/chunks/rolldown-runtime_BMI-E3GI.mjs +44 -0
- package/dist/server/chunks/{server_DS45LC4q.mjs → server_CnGYDmxV.mjs} +271 -15
- package/dist/server/chunks/{settings_DLV2Js3e.mjs → settings_D_k-bZgn.mjs} +7 -6
- package/dist/server/chunks/{sharp_CgNvPCpY.mjs → sharp_qIaxzsTp.mjs} +2 -2
- package/dist/server/chunks/vnode-children_BSi0H4PL.mjs +213 -0
- package/dist/server/entry.mjs +18980 -5126
- package/package.json +1 -1
- package/server/cli.ts +10 -5
- package/server/plugin/probe.ts +3 -3
- package/server/port.ts +53 -4
- package/server/run.ts +2 -2
- package/server/where.ts +22 -0
- package/src/server/directories.ts +12 -5
- package/src/server/host.ts +3 -4
- package/src/server/runtime/target.ts +1 -0
- package/src/server/transport/herdr-target.ts +21 -7
- package/src/server/transport/registry.ts +1 -1
- package/src/server/transport/saved-machines.ts +41 -0
- package/dist/client/_astro/App.BxlQhLhN.css +0 -1
- package/dist/client/_astro/App.CzxEZ_Dw.js +0 -2
- package/dist/server/chunks/_virtual_astro_session-driver_DS5V7T-N.mjs +0 -6
- package/dist/server/chunks/vnode-children_CRmaSs5G.mjs +0 -24
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
+
import { S as createAstro } from "./server_CnGYDmxV.mjs";
|
|
3
|
+
import { t as createComponent } from "./compiler_BiU10Vds.mjs";
|
|
3
4
|
//#region src/pages/index.astro
|
|
4
5
|
var pages_exports = /* @__PURE__ */ __exportAll({
|
|
5
6
|
default: () => $$Index,
|
|
@@ -13,8 +14,8 @@ var $$Index = createComponent(($$result, $$props, $$slots) => {
|
|
|
13
14
|
const { threads } = Astro.locals.runtime.bootstrap();
|
|
14
15
|
const agent = threads.find((thread) => thread.panes.some((pane) => pane.kind === "agent"));
|
|
15
16
|
return Astro.redirect(agent ? `/threads/${encodeURIComponent(agent.id)}` : "/new");
|
|
16
|
-
}, "/
|
|
17
|
-
var $$file = "/
|
|
17
|
+
}, "/home/runner/work/webr/webr/src/pages/index.astro", void 0);
|
|
18
|
+
var $$file = "/home/runner/work/webr/webr/src/pages/index.astro";
|
|
18
19
|
//#endregion
|
|
19
20
|
//#region \0virtual:astro:page:src/pages/index@_@astro
|
|
20
21
|
var page = () => pages_exports;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_CnGYDmxV.mjs";
|
|
3
|
+
import { t as createComponent } from "./compiler_BiU10Vds.mjs";
|
|
4
|
+
import { n as $$Base, t as App } from "./App_Caoot2xr.mjs";
|
|
4
5
|
//#region src/pages/new.astro
|
|
5
6
|
var new_exports = /* @__PURE__ */ __exportAll({
|
|
6
7
|
default: () => $$New,
|
|
@@ -20,11 +21,11 @@ var $$New = createComponent(($$result, $$props, $$slots) => {
|
|
|
20
21
|
"client:load": true,
|
|
21
22
|
"data-astro-transition-persist": "webr-app",
|
|
22
23
|
"client:component-hydration": "load",
|
|
23
|
-
"client:component-path": "/
|
|
24
|
+
"client:component-path": "/home/runner/work/webr/webr/src/components/App.tsx",
|
|
24
25
|
"client:component-export": "default"
|
|
25
26
|
})}` })}`;
|
|
26
|
-
}, "/
|
|
27
|
-
var $$file = "/
|
|
27
|
+
}, "/home/runner/work/webr/webr/src/pages/new.astro", void 0);
|
|
28
|
+
var $$file = "/home/runner/work/webr/webr/src/pages/new.astro";
|
|
28
29
|
var $$url = "/new";
|
|
29
30
|
//#endregion
|
|
30
31
|
//#region \0virtual:astro:page:src/pages/new@_@astro
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { $ as UnsupportedImageFormat, A as MissingGetFontFileRequestUrl, F as NoImageMetadata, Q as UnsupportedImageConversion, T as LocalImageUsedWrongly, W as RemoteImageNotAllowed, b as IncompatibleDescriptorOptions, d as ExpectedNotESMImage, f as FailedToFetchRemoteImageDimensions, j as MissingImageDimension, l as ExpectedImage, p as FontFamilyNotFound, t as AstroError, u as ExpectedImageOptions, w as InvalidImageService, y as ImageMissingAlt } from "./errors_BgIp4W2B.mjs";
|
|
3
|
+
import { S as createAstro, b as unescapeHTML, d as maybeRenderHead, p as addAttribute, t as spreadAttributes, u as renderTemplate } from "./server_CnGYDmxV.mjs";
|
|
3
4
|
import { d as isRemotePath, f as joinPaths, h as removeQueryString, t as isRemoteAllowed, u as isParentDirectory } from "./remote_BxuVLM0r.mjs";
|
|
4
|
-
import { t as createComponent } from "./
|
|
5
|
-
import { t as createConsoleLogger } from "./
|
|
5
|
+
import { t as createComponent } from "./compiler_BiU10Vds.mjs";
|
|
6
|
+
import { t as createConsoleLogger } from "./console_BOi2ismd.mjs";
|
|
6
7
|
import path from "node:path";
|
|
7
8
|
import { fileURLToPath } from "node:url";
|
|
8
|
-
import * as mime from "mrmime";
|
|
9
9
|
import { readFile } from "node:fs/promises";
|
|
10
10
|
//#region \0virtual:astro:logger
|
|
11
11
|
var level = "info";
|
|
@@ -999,7 +999,7 @@ function detector(input) {
|
|
|
999
999
|
}
|
|
1000
1000
|
//#endregion
|
|
1001
1001
|
//#region node_modules/.pnpm/astro@7.3.5_@types+node@22.20.4_tsx@4.23.15_yaml@2.9.1/node_modules/astro/dist/assets/utils/vendor/image-size/lookup.js
|
|
1002
|
-
function lookup(input) {
|
|
1002
|
+
function lookup$1(input) {
|
|
1003
1003
|
const type = detector(input);
|
|
1004
1004
|
if (typeof type !== "undefined") {
|
|
1005
1005
|
const size = typeHandlers.get(type).calculate(input);
|
|
@@ -1015,7 +1015,7 @@ function lookup(input) {
|
|
|
1015
1015
|
async function imageMetadata(data, src) {
|
|
1016
1016
|
let result;
|
|
1017
1017
|
try {
|
|
1018
|
-
result = lookup(data);
|
|
1018
|
+
result = lookup$1(data);
|
|
1019
1019
|
} catch {
|
|
1020
1020
|
throw new AstroError({
|
|
1021
1021
|
...NoImageMetadata,
|
|
@@ -1343,7 +1343,7 @@ var cssFitValues = [
|
|
|
1343
1343
|
];
|
|
1344
1344
|
async function getConfiguredImageService() {
|
|
1345
1345
|
if (!globalThis?.astroAsset?.imageService) {
|
|
1346
|
-
const { default: service } = await import("./
|
|
1346
|
+
const { default: service } = await import("./sharp_qIaxzsTp.mjs").catch((e) => {
|
|
1347
1347
|
const error = new AstroError(InvalidImageService);
|
|
1348
1348
|
error.cause = e;
|
|
1349
1349
|
throw error;
|
|
@@ -1524,7 +1524,454 @@ var $$Image = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1524
1524
|
...image.attributes
|
|
1525
1525
|
};
|
|
1526
1526
|
return renderTemplate`${maybeRenderHead($$result)}<img${addAttribute(image.src, "src")}${spreadAttributes(attributes)}${addAttribute(className, "class")}>`;
|
|
1527
|
-
}, "/
|
|
1527
|
+
}, "/home/runner/work/webr/webr/node_modules/.pnpm/astro@7.3.5_@types+node@22.20.4_tsx@4.23.15_yaml@2.9.1/node_modules/astro/components/Image.astro", void 0);
|
|
1528
|
+
//#endregion
|
|
1529
|
+
//#region node_modules/.pnpm/mrmime@2.0.1/node_modules/mrmime/index.mjs
|
|
1530
|
+
var mimes = {
|
|
1531
|
+
"3g2": "video/3gpp2",
|
|
1532
|
+
"3gp": "video/3gpp",
|
|
1533
|
+
"3gpp": "video/3gpp",
|
|
1534
|
+
"3mf": "model/3mf",
|
|
1535
|
+
"aac": "audio/aac",
|
|
1536
|
+
"ac": "application/pkix-attr-cert",
|
|
1537
|
+
"adp": "audio/adpcm",
|
|
1538
|
+
"adts": "audio/aac",
|
|
1539
|
+
"ai": "application/postscript",
|
|
1540
|
+
"aml": "application/automationml-aml+xml",
|
|
1541
|
+
"amlx": "application/automationml-amlx+zip",
|
|
1542
|
+
"amr": "audio/amr",
|
|
1543
|
+
"apng": "image/apng",
|
|
1544
|
+
"appcache": "text/cache-manifest",
|
|
1545
|
+
"appinstaller": "application/appinstaller",
|
|
1546
|
+
"appx": "application/appx",
|
|
1547
|
+
"appxbundle": "application/appxbundle",
|
|
1548
|
+
"asc": "application/pgp-keys",
|
|
1549
|
+
"atom": "application/atom+xml",
|
|
1550
|
+
"atomcat": "application/atomcat+xml",
|
|
1551
|
+
"atomdeleted": "application/atomdeleted+xml",
|
|
1552
|
+
"atomsvc": "application/atomsvc+xml",
|
|
1553
|
+
"au": "audio/basic",
|
|
1554
|
+
"avci": "image/avci",
|
|
1555
|
+
"avcs": "image/avcs",
|
|
1556
|
+
"avif": "image/avif",
|
|
1557
|
+
"aw": "application/applixware",
|
|
1558
|
+
"bdoc": "application/bdoc",
|
|
1559
|
+
"bin": "application/octet-stream",
|
|
1560
|
+
"bmp": "image/bmp",
|
|
1561
|
+
"bpk": "application/octet-stream",
|
|
1562
|
+
"btf": "image/prs.btif",
|
|
1563
|
+
"btif": "image/prs.btif",
|
|
1564
|
+
"buffer": "application/octet-stream",
|
|
1565
|
+
"ccxml": "application/ccxml+xml",
|
|
1566
|
+
"cdfx": "application/cdfx+xml",
|
|
1567
|
+
"cdmia": "application/cdmi-capability",
|
|
1568
|
+
"cdmic": "application/cdmi-container",
|
|
1569
|
+
"cdmid": "application/cdmi-domain",
|
|
1570
|
+
"cdmio": "application/cdmi-object",
|
|
1571
|
+
"cdmiq": "application/cdmi-queue",
|
|
1572
|
+
"cer": "application/pkix-cert",
|
|
1573
|
+
"cgm": "image/cgm",
|
|
1574
|
+
"cjs": "application/node",
|
|
1575
|
+
"class": "application/java-vm",
|
|
1576
|
+
"coffee": "text/coffeescript",
|
|
1577
|
+
"conf": "text/plain",
|
|
1578
|
+
"cpl": "application/cpl+xml",
|
|
1579
|
+
"cpt": "application/mac-compactpro",
|
|
1580
|
+
"crl": "application/pkix-crl",
|
|
1581
|
+
"css": "text/css",
|
|
1582
|
+
"csv": "text/csv",
|
|
1583
|
+
"cu": "application/cu-seeme",
|
|
1584
|
+
"cwl": "application/cwl",
|
|
1585
|
+
"cww": "application/prs.cww",
|
|
1586
|
+
"davmount": "application/davmount+xml",
|
|
1587
|
+
"dbk": "application/docbook+xml",
|
|
1588
|
+
"deb": "application/octet-stream",
|
|
1589
|
+
"def": "text/plain",
|
|
1590
|
+
"deploy": "application/octet-stream",
|
|
1591
|
+
"dib": "image/bmp",
|
|
1592
|
+
"disposition-notification": "message/disposition-notification",
|
|
1593
|
+
"dist": "application/octet-stream",
|
|
1594
|
+
"distz": "application/octet-stream",
|
|
1595
|
+
"dll": "application/octet-stream",
|
|
1596
|
+
"dmg": "application/octet-stream",
|
|
1597
|
+
"dms": "application/octet-stream",
|
|
1598
|
+
"doc": "application/msword",
|
|
1599
|
+
"dot": "application/msword",
|
|
1600
|
+
"dpx": "image/dpx",
|
|
1601
|
+
"drle": "image/dicom-rle",
|
|
1602
|
+
"dsc": "text/prs.lines.tag",
|
|
1603
|
+
"dssc": "application/dssc+der",
|
|
1604
|
+
"dtd": "application/xml-dtd",
|
|
1605
|
+
"dump": "application/octet-stream",
|
|
1606
|
+
"dwd": "application/atsc-dwd+xml",
|
|
1607
|
+
"ear": "application/java-archive",
|
|
1608
|
+
"ecma": "application/ecmascript",
|
|
1609
|
+
"elc": "application/octet-stream",
|
|
1610
|
+
"emf": "image/emf",
|
|
1611
|
+
"eml": "message/rfc822",
|
|
1612
|
+
"emma": "application/emma+xml",
|
|
1613
|
+
"emotionml": "application/emotionml+xml",
|
|
1614
|
+
"eps": "application/postscript",
|
|
1615
|
+
"epub": "application/epub+zip",
|
|
1616
|
+
"exe": "application/octet-stream",
|
|
1617
|
+
"exi": "application/exi",
|
|
1618
|
+
"exp": "application/express",
|
|
1619
|
+
"exr": "image/aces",
|
|
1620
|
+
"ez": "application/andrew-inset",
|
|
1621
|
+
"fdf": "application/fdf",
|
|
1622
|
+
"fdt": "application/fdt+xml",
|
|
1623
|
+
"fits": "image/fits",
|
|
1624
|
+
"g3": "image/g3fax",
|
|
1625
|
+
"gbr": "application/rpki-ghostbusters",
|
|
1626
|
+
"geojson": "application/geo+json",
|
|
1627
|
+
"gif": "image/gif",
|
|
1628
|
+
"glb": "model/gltf-binary",
|
|
1629
|
+
"gltf": "model/gltf+json",
|
|
1630
|
+
"gml": "application/gml+xml",
|
|
1631
|
+
"gpx": "application/gpx+xml",
|
|
1632
|
+
"gram": "application/srgs",
|
|
1633
|
+
"grxml": "application/srgs+xml",
|
|
1634
|
+
"gxf": "application/gxf",
|
|
1635
|
+
"gz": "application/gzip",
|
|
1636
|
+
"h261": "video/h261",
|
|
1637
|
+
"h263": "video/h263",
|
|
1638
|
+
"h264": "video/h264",
|
|
1639
|
+
"heic": "image/heic",
|
|
1640
|
+
"heics": "image/heic-sequence",
|
|
1641
|
+
"heif": "image/heif",
|
|
1642
|
+
"heifs": "image/heif-sequence",
|
|
1643
|
+
"hej2": "image/hej2k",
|
|
1644
|
+
"held": "application/atsc-held+xml",
|
|
1645
|
+
"hjson": "application/hjson",
|
|
1646
|
+
"hlp": "application/winhlp",
|
|
1647
|
+
"hqx": "application/mac-binhex40",
|
|
1648
|
+
"hsj2": "image/hsj2",
|
|
1649
|
+
"htm": "text/html",
|
|
1650
|
+
"html": "text/html",
|
|
1651
|
+
"ics": "text/calendar",
|
|
1652
|
+
"ief": "image/ief",
|
|
1653
|
+
"ifb": "text/calendar",
|
|
1654
|
+
"iges": "model/iges",
|
|
1655
|
+
"igs": "model/iges",
|
|
1656
|
+
"img": "application/octet-stream",
|
|
1657
|
+
"in": "text/plain",
|
|
1658
|
+
"ini": "text/plain",
|
|
1659
|
+
"ink": "application/inkml+xml",
|
|
1660
|
+
"inkml": "application/inkml+xml",
|
|
1661
|
+
"ipfix": "application/ipfix",
|
|
1662
|
+
"iso": "application/octet-stream",
|
|
1663
|
+
"its": "application/its+xml",
|
|
1664
|
+
"jade": "text/jade",
|
|
1665
|
+
"jar": "application/java-archive",
|
|
1666
|
+
"jhc": "image/jphc",
|
|
1667
|
+
"jls": "image/jls",
|
|
1668
|
+
"jp2": "image/jp2",
|
|
1669
|
+
"jpe": "image/jpeg",
|
|
1670
|
+
"jpeg": "image/jpeg",
|
|
1671
|
+
"jpf": "image/jpx",
|
|
1672
|
+
"jpg": "image/jpeg",
|
|
1673
|
+
"jpg2": "image/jp2",
|
|
1674
|
+
"jpgm": "image/jpm",
|
|
1675
|
+
"jpgv": "video/jpeg",
|
|
1676
|
+
"jph": "image/jph",
|
|
1677
|
+
"jpm": "image/jpm",
|
|
1678
|
+
"jpx": "image/jpx",
|
|
1679
|
+
"js": "text/javascript",
|
|
1680
|
+
"json": "application/json",
|
|
1681
|
+
"json5": "application/json5",
|
|
1682
|
+
"jsonld": "application/ld+json",
|
|
1683
|
+
"jsonml": "application/jsonml+json",
|
|
1684
|
+
"jsx": "text/jsx",
|
|
1685
|
+
"jt": "model/jt",
|
|
1686
|
+
"jxl": "image/jxl",
|
|
1687
|
+
"jxr": "image/jxr",
|
|
1688
|
+
"jxra": "image/jxra",
|
|
1689
|
+
"jxrs": "image/jxrs",
|
|
1690
|
+
"jxs": "image/jxs",
|
|
1691
|
+
"jxsc": "image/jxsc",
|
|
1692
|
+
"jxsi": "image/jxsi",
|
|
1693
|
+
"jxss": "image/jxss",
|
|
1694
|
+
"kar": "audio/midi",
|
|
1695
|
+
"ktx": "image/ktx",
|
|
1696
|
+
"ktx2": "image/ktx2",
|
|
1697
|
+
"less": "text/less",
|
|
1698
|
+
"lgr": "application/lgr+xml",
|
|
1699
|
+
"list": "text/plain",
|
|
1700
|
+
"litcoffee": "text/coffeescript",
|
|
1701
|
+
"log": "text/plain",
|
|
1702
|
+
"lostxml": "application/lost+xml",
|
|
1703
|
+
"lrf": "application/octet-stream",
|
|
1704
|
+
"m1v": "video/mpeg",
|
|
1705
|
+
"m21": "application/mp21",
|
|
1706
|
+
"m2a": "audio/mpeg",
|
|
1707
|
+
"m2t": "video/mp2t",
|
|
1708
|
+
"m2ts": "video/mp2t",
|
|
1709
|
+
"m2v": "video/mpeg",
|
|
1710
|
+
"m3a": "audio/mpeg",
|
|
1711
|
+
"m4a": "audio/mp4",
|
|
1712
|
+
"m4p": "application/mp4",
|
|
1713
|
+
"m4s": "video/iso.segment",
|
|
1714
|
+
"ma": "application/mathematica",
|
|
1715
|
+
"mads": "application/mads+xml",
|
|
1716
|
+
"maei": "application/mmt-aei+xml",
|
|
1717
|
+
"man": "text/troff",
|
|
1718
|
+
"manifest": "text/cache-manifest",
|
|
1719
|
+
"map": "application/json",
|
|
1720
|
+
"mar": "application/octet-stream",
|
|
1721
|
+
"markdown": "text/markdown",
|
|
1722
|
+
"mathml": "application/mathml+xml",
|
|
1723
|
+
"mb": "application/mathematica",
|
|
1724
|
+
"mbox": "application/mbox",
|
|
1725
|
+
"md": "text/markdown",
|
|
1726
|
+
"mdx": "text/mdx",
|
|
1727
|
+
"me": "text/troff",
|
|
1728
|
+
"mesh": "model/mesh",
|
|
1729
|
+
"meta4": "application/metalink4+xml",
|
|
1730
|
+
"metalink": "application/metalink+xml",
|
|
1731
|
+
"mets": "application/mets+xml",
|
|
1732
|
+
"mft": "application/rpki-manifest",
|
|
1733
|
+
"mid": "audio/midi",
|
|
1734
|
+
"midi": "audio/midi",
|
|
1735
|
+
"mime": "message/rfc822",
|
|
1736
|
+
"mj2": "video/mj2",
|
|
1737
|
+
"mjp2": "video/mj2",
|
|
1738
|
+
"mjs": "text/javascript",
|
|
1739
|
+
"mml": "text/mathml",
|
|
1740
|
+
"mods": "application/mods+xml",
|
|
1741
|
+
"mov": "video/quicktime",
|
|
1742
|
+
"mp2": "audio/mpeg",
|
|
1743
|
+
"mp21": "application/mp21",
|
|
1744
|
+
"mp2a": "audio/mpeg",
|
|
1745
|
+
"mp3": "audio/mpeg",
|
|
1746
|
+
"mp4": "video/mp4",
|
|
1747
|
+
"mp4a": "audio/mp4",
|
|
1748
|
+
"mp4s": "application/mp4",
|
|
1749
|
+
"mp4v": "video/mp4",
|
|
1750
|
+
"mpd": "application/dash+xml",
|
|
1751
|
+
"mpe": "video/mpeg",
|
|
1752
|
+
"mpeg": "video/mpeg",
|
|
1753
|
+
"mpf": "application/media-policy-dataset+xml",
|
|
1754
|
+
"mpg": "video/mpeg",
|
|
1755
|
+
"mpg4": "video/mp4",
|
|
1756
|
+
"mpga": "audio/mpeg",
|
|
1757
|
+
"mpp": "application/dash-patch+xml",
|
|
1758
|
+
"mrc": "application/marc",
|
|
1759
|
+
"mrcx": "application/marcxml+xml",
|
|
1760
|
+
"ms": "text/troff",
|
|
1761
|
+
"mscml": "application/mediaservercontrol+xml",
|
|
1762
|
+
"msh": "model/mesh",
|
|
1763
|
+
"msi": "application/octet-stream",
|
|
1764
|
+
"msix": "application/msix",
|
|
1765
|
+
"msixbundle": "application/msixbundle",
|
|
1766
|
+
"msm": "application/octet-stream",
|
|
1767
|
+
"msp": "application/octet-stream",
|
|
1768
|
+
"mtl": "model/mtl",
|
|
1769
|
+
"mts": "video/mp2t",
|
|
1770
|
+
"musd": "application/mmt-usd+xml",
|
|
1771
|
+
"mxf": "application/mxf",
|
|
1772
|
+
"mxmf": "audio/mobile-xmf",
|
|
1773
|
+
"mxml": "application/xv+xml",
|
|
1774
|
+
"n3": "text/n3",
|
|
1775
|
+
"nb": "application/mathematica",
|
|
1776
|
+
"nq": "application/n-quads",
|
|
1777
|
+
"nt": "application/n-triples",
|
|
1778
|
+
"obj": "model/obj",
|
|
1779
|
+
"oda": "application/oda",
|
|
1780
|
+
"oga": "audio/ogg",
|
|
1781
|
+
"ogg": "audio/ogg",
|
|
1782
|
+
"ogv": "video/ogg",
|
|
1783
|
+
"ogx": "application/ogg",
|
|
1784
|
+
"omdoc": "application/omdoc+xml",
|
|
1785
|
+
"onepkg": "application/onenote",
|
|
1786
|
+
"onetmp": "application/onenote",
|
|
1787
|
+
"onetoc": "application/onenote",
|
|
1788
|
+
"onetoc2": "application/onenote",
|
|
1789
|
+
"opf": "application/oebps-package+xml",
|
|
1790
|
+
"opus": "audio/ogg",
|
|
1791
|
+
"otf": "font/otf",
|
|
1792
|
+
"owl": "application/rdf+xml",
|
|
1793
|
+
"oxps": "application/oxps",
|
|
1794
|
+
"p10": "application/pkcs10",
|
|
1795
|
+
"p7c": "application/pkcs7-mime",
|
|
1796
|
+
"p7m": "application/pkcs7-mime",
|
|
1797
|
+
"p7s": "application/pkcs7-signature",
|
|
1798
|
+
"p8": "application/pkcs8",
|
|
1799
|
+
"pdf": "application/pdf",
|
|
1800
|
+
"pfr": "application/font-tdpfr",
|
|
1801
|
+
"pgp": "application/pgp-encrypted",
|
|
1802
|
+
"pkg": "application/octet-stream",
|
|
1803
|
+
"pki": "application/pkixcmp",
|
|
1804
|
+
"pkipath": "application/pkix-pkipath",
|
|
1805
|
+
"pls": "application/pls+xml",
|
|
1806
|
+
"png": "image/png",
|
|
1807
|
+
"prc": "model/prc",
|
|
1808
|
+
"prf": "application/pics-rules",
|
|
1809
|
+
"provx": "application/provenance+xml",
|
|
1810
|
+
"ps": "application/postscript",
|
|
1811
|
+
"pskcxml": "application/pskc+xml",
|
|
1812
|
+
"pti": "image/prs.pti",
|
|
1813
|
+
"qt": "video/quicktime",
|
|
1814
|
+
"raml": "application/raml+yaml",
|
|
1815
|
+
"rapd": "application/route-apd+xml",
|
|
1816
|
+
"rdf": "application/rdf+xml",
|
|
1817
|
+
"relo": "application/p2p-overlay+xml",
|
|
1818
|
+
"rif": "application/reginfo+xml",
|
|
1819
|
+
"rl": "application/resource-lists+xml",
|
|
1820
|
+
"rld": "application/resource-lists-diff+xml",
|
|
1821
|
+
"rmi": "audio/midi",
|
|
1822
|
+
"rnc": "application/relax-ng-compact-syntax",
|
|
1823
|
+
"rng": "application/xml",
|
|
1824
|
+
"roa": "application/rpki-roa",
|
|
1825
|
+
"roff": "text/troff",
|
|
1826
|
+
"rq": "application/sparql-query",
|
|
1827
|
+
"rs": "application/rls-services+xml",
|
|
1828
|
+
"rsat": "application/atsc-rsat+xml",
|
|
1829
|
+
"rsd": "application/rsd+xml",
|
|
1830
|
+
"rsheet": "application/urc-ressheet+xml",
|
|
1831
|
+
"rss": "application/rss+xml",
|
|
1832
|
+
"rtf": "text/rtf",
|
|
1833
|
+
"rtx": "text/richtext",
|
|
1834
|
+
"rusd": "application/route-usd+xml",
|
|
1835
|
+
"s3m": "audio/s3m",
|
|
1836
|
+
"sbml": "application/sbml+xml",
|
|
1837
|
+
"scq": "application/scvp-cv-request",
|
|
1838
|
+
"scs": "application/scvp-cv-response",
|
|
1839
|
+
"sdp": "application/sdp",
|
|
1840
|
+
"senmlx": "application/senml+xml",
|
|
1841
|
+
"sensmlx": "application/sensml+xml",
|
|
1842
|
+
"ser": "application/java-serialized-object",
|
|
1843
|
+
"setpay": "application/set-payment-initiation",
|
|
1844
|
+
"setreg": "application/set-registration-initiation",
|
|
1845
|
+
"sgi": "image/sgi",
|
|
1846
|
+
"sgm": "text/sgml",
|
|
1847
|
+
"sgml": "text/sgml",
|
|
1848
|
+
"shex": "text/shex",
|
|
1849
|
+
"shf": "application/shf+xml",
|
|
1850
|
+
"shtml": "text/html",
|
|
1851
|
+
"sieve": "application/sieve",
|
|
1852
|
+
"sig": "application/pgp-signature",
|
|
1853
|
+
"sil": "audio/silk",
|
|
1854
|
+
"silo": "model/mesh",
|
|
1855
|
+
"siv": "application/sieve",
|
|
1856
|
+
"slim": "text/slim",
|
|
1857
|
+
"slm": "text/slim",
|
|
1858
|
+
"sls": "application/route-s-tsid+xml",
|
|
1859
|
+
"smi": "application/smil+xml",
|
|
1860
|
+
"smil": "application/smil+xml",
|
|
1861
|
+
"snd": "audio/basic",
|
|
1862
|
+
"so": "application/octet-stream",
|
|
1863
|
+
"spdx": "text/spdx",
|
|
1864
|
+
"spp": "application/scvp-vp-response",
|
|
1865
|
+
"spq": "application/scvp-vp-request",
|
|
1866
|
+
"spx": "audio/ogg",
|
|
1867
|
+
"sql": "application/sql",
|
|
1868
|
+
"sru": "application/sru+xml",
|
|
1869
|
+
"srx": "application/sparql-results+xml",
|
|
1870
|
+
"ssdl": "application/ssdl+xml",
|
|
1871
|
+
"ssml": "application/ssml+xml",
|
|
1872
|
+
"stk": "application/hyperstudio",
|
|
1873
|
+
"stl": "model/stl",
|
|
1874
|
+
"stpx": "model/step+xml",
|
|
1875
|
+
"stpxz": "model/step-xml+zip",
|
|
1876
|
+
"stpz": "model/step+zip",
|
|
1877
|
+
"styl": "text/stylus",
|
|
1878
|
+
"stylus": "text/stylus",
|
|
1879
|
+
"svg": "image/svg+xml",
|
|
1880
|
+
"svgz": "image/svg+xml",
|
|
1881
|
+
"swidtag": "application/swid+xml",
|
|
1882
|
+
"t": "text/troff",
|
|
1883
|
+
"t38": "image/t38",
|
|
1884
|
+
"td": "application/urc-targetdesc+xml",
|
|
1885
|
+
"tei": "application/tei+xml",
|
|
1886
|
+
"teicorpus": "application/tei+xml",
|
|
1887
|
+
"text": "text/plain",
|
|
1888
|
+
"tfi": "application/thraud+xml",
|
|
1889
|
+
"tfx": "image/tiff-fx",
|
|
1890
|
+
"tif": "image/tiff",
|
|
1891
|
+
"tiff": "image/tiff",
|
|
1892
|
+
"toml": "application/toml",
|
|
1893
|
+
"tr": "text/troff",
|
|
1894
|
+
"trig": "application/trig",
|
|
1895
|
+
"ts": "video/mp2t",
|
|
1896
|
+
"tsd": "application/timestamped-data",
|
|
1897
|
+
"tsv": "text/tab-separated-values",
|
|
1898
|
+
"ttc": "font/collection",
|
|
1899
|
+
"ttf": "font/ttf",
|
|
1900
|
+
"ttl": "text/turtle",
|
|
1901
|
+
"ttml": "application/ttml+xml",
|
|
1902
|
+
"txt": "text/plain",
|
|
1903
|
+
"u3d": "model/u3d",
|
|
1904
|
+
"u8dsn": "message/global-delivery-status",
|
|
1905
|
+
"u8hdr": "message/global-headers",
|
|
1906
|
+
"u8mdn": "message/global-disposition-notification",
|
|
1907
|
+
"u8msg": "message/global",
|
|
1908
|
+
"ubj": "application/ubjson",
|
|
1909
|
+
"uri": "text/uri-list",
|
|
1910
|
+
"uris": "text/uri-list",
|
|
1911
|
+
"urls": "text/uri-list",
|
|
1912
|
+
"vcard": "text/vcard",
|
|
1913
|
+
"vrml": "model/vrml",
|
|
1914
|
+
"vtt": "text/vtt",
|
|
1915
|
+
"vxml": "application/voicexml+xml",
|
|
1916
|
+
"war": "application/java-archive",
|
|
1917
|
+
"wasm": "application/wasm",
|
|
1918
|
+
"wav": "audio/wav",
|
|
1919
|
+
"weba": "audio/webm",
|
|
1920
|
+
"webm": "video/webm",
|
|
1921
|
+
"webmanifest": "application/manifest+json",
|
|
1922
|
+
"webp": "image/webp",
|
|
1923
|
+
"wgsl": "text/wgsl",
|
|
1924
|
+
"wgt": "application/widget",
|
|
1925
|
+
"wif": "application/watcherinfo+xml",
|
|
1926
|
+
"wmf": "image/wmf",
|
|
1927
|
+
"woff": "font/woff",
|
|
1928
|
+
"woff2": "font/woff2",
|
|
1929
|
+
"wrl": "model/vrml",
|
|
1930
|
+
"wsdl": "application/wsdl+xml",
|
|
1931
|
+
"wspolicy": "application/wspolicy+xml",
|
|
1932
|
+
"x3d": "model/x3d+xml",
|
|
1933
|
+
"x3db": "model/x3d+fastinfoset",
|
|
1934
|
+
"x3dbz": "model/x3d+binary",
|
|
1935
|
+
"x3dv": "model/x3d-vrml",
|
|
1936
|
+
"x3dvz": "model/x3d+vrml",
|
|
1937
|
+
"x3dz": "model/x3d+xml",
|
|
1938
|
+
"xaml": "application/xaml+xml",
|
|
1939
|
+
"xav": "application/xcap-att+xml",
|
|
1940
|
+
"xca": "application/xcap-caps+xml",
|
|
1941
|
+
"xcs": "application/calendar+xml",
|
|
1942
|
+
"xdf": "application/xcap-diff+xml",
|
|
1943
|
+
"xdssc": "application/dssc+xml",
|
|
1944
|
+
"xel": "application/xcap-el+xml",
|
|
1945
|
+
"xenc": "application/xenc+xml",
|
|
1946
|
+
"xer": "application/patch-ops-error+xml",
|
|
1947
|
+
"xfdf": "application/xfdf",
|
|
1948
|
+
"xht": "application/xhtml+xml",
|
|
1949
|
+
"xhtml": "application/xhtml+xml",
|
|
1950
|
+
"xhvml": "application/xv+xml",
|
|
1951
|
+
"xlf": "application/xliff+xml",
|
|
1952
|
+
"xm": "audio/xm",
|
|
1953
|
+
"xml": "text/xml",
|
|
1954
|
+
"xns": "application/xcap-ns+xml",
|
|
1955
|
+
"xop": "application/xop+xml",
|
|
1956
|
+
"xpl": "application/xproc+xml",
|
|
1957
|
+
"xsd": "application/xml",
|
|
1958
|
+
"xsf": "application/prs.xsf+xml",
|
|
1959
|
+
"xsl": "application/xml",
|
|
1960
|
+
"xslt": "application/xml",
|
|
1961
|
+
"xspf": "application/xspf+xml",
|
|
1962
|
+
"xvm": "application/xv+xml",
|
|
1963
|
+
"xvml": "application/xv+xml",
|
|
1964
|
+
"yaml": "text/yaml",
|
|
1965
|
+
"yang": "application/yang",
|
|
1966
|
+
"yin": "application/yin+xml",
|
|
1967
|
+
"yml": "text/yaml",
|
|
1968
|
+
"zip": "application/zip"
|
|
1969
|
+
};
|
|
1970
|
+
function lookup(extn) {
|
|
1971
|
+
let tmp = ("" + extn).trim().toLowerCase();
|
|
1972
|
+
let idx = tmp.lastIndexOf(".");
|
|
1973
|
+
return mimes[!~idx ? tmp : tmp.substring(++idx)];
|
|
1974
|
+
}
|
|
1528
1975
|
//#endregion
|
|
1529
1976
|
//#region node_modules/.pnpm/astro@7.3.5_@types+node@22.20.4_tsx@4.23.15_yaml@2.9.1/node_modules/astro/components/Picture.astro
|
|
1530
1977
|
createAstro("https://astro.build");
|
|
@@ -1589,9 +2036,9 @@ var $$Picture = createComponent(async ($$result, $$props, $$slots) => {
|
|
|
1589
2036
|
};
|
|
1590
2037
|
return renderTemplate`${maybeRenderHead($$result)}<picture${spreadAttributes(pictureAttributes)}>${Object.entries(optimizedImages).map(([_, image]) => {
|
|
1591
2038
|
const srcsetAttribute = props.densities || !props.densities && !props.widths && !useResponsive ? `${image.src}${image.srcSet.values.length > 0 ? ", " + image.srcSet.attribute : ""}` : image.srcSet.attribute;
|
|
1592
|
-
return renderTemplate`<source${addAttribute(srcsetAttribute, "srcset")}${addAttribute(
|
|
2039
|
+
return renderTemplate`<source${addAttribute(srcsetAttribute, "srcset")}${addAttribute(lookup(image.options.format ?? image.src) ?? `image/${image.options.format}`, "type")}${spreadAttributes(sourceAdditionalAttributes)}>`;
|
|
1593
2040
|
})}<img${addAttribute(fallbackImage.src, "src")}${spreadAttributes(attributes)}${addAttribute(className, "class")}></picture>`;
|
|
1594
|
-
}, "/
|
|
2041
|
+
}, "/home/runner/work/webr/webr/node_modules/.pnpm/astro@7.3.5_@types+node@22.20.4_tsx@4.23.15_yaml@2.9.1/node_modules/astro/components/Picture.astro", void 0);
|
|
1595
2042
|
//#endregion
|
|
1596
2043
|
//#region \0virtual:astro:assets/fonts/internal
|
|
1597
2044
|
var componentDataByCssVariable = /* @__PURE__ */ new Map([]);
|
|
@@ -1631,7 +2078,7 @@ var $$Font = createComponent(($$result, $$props, $$slots) => {
|
|
|
1631
2078
|
});
|
|
1632
2079
|
const filteredPreloadData = filterPreloads(data.preloads, preload);
|
|
1633
2080
|
return renderTemplate`<style>${unescapeHTML(data.css)}</style>${filteredPreloadData?.map(({ url, type }) => renderTemplate`<link rel="preload"${addAttribute(url, "href")} as="font"${addAttribute(`font/${type}`, "type")} crossorigin>`)}`;
|
|
1634
|
-
}, "/
|
|
2081
|
+
}, "/home/runner/work/webr/webr/node_modules/.pnpm/astro@7.3.5_@types+node@22.20.4_tsx@4.23.15_yaml@2.9.1/node_modules/astro/components/Font.astro", void 0);
|
|
1635
2082
|
//#endregion
|
|
1636
2083
|
//#region node_modules/.pnpm/astro@7.3.5_@types+node@22.20.4_tsx@4.23.15_yaml@2.9.1/node_modules/astro/dist/assets/fonts/infra/ssr-runtime-font-file-url-resolver.js
|
|
1637
2084
|
var SsrRuntimeFontFileUrlResolver = class {
|
|
@@ -1678,8 +2125,8 @@ Object.defineProperty(imageConfig, "assetQueryParams", {
|
|
|
1678
2125
|
var inferRemoteSize = async (url) => {
|
|
1679
2126
|
return (await getConfiguredImageService()).getRemoteSize?.(url, imageConfig, _runtimeLogger) ?? inferRemoteSize$1(url, imageConfig);
|
|
1680
2127
|
};
|
|
1681
|
-
var outDir = /* #__PURE__ */ new URL("file:///
|
|
1682
|
-
var serverDir = /* #__PURE__ */ new URL("file:///
|
|
2128
|
+
var outDir = /* #__PURE__ */ new URL("file:///home/runner/work/webr/webr/dist/client/");
|
|
2129
|
+
var serverDir = /* #__PURE__ */ new URL("file:///home/runner/work/webr/webr/dist/server/");
|
|
1683
2130
|
var getImage = async (options) => await getImage$1(options, imageConfig, _runtimeLogger);
|
|
1684
2131
|
//#endregion
|
|
1685
2132
|
//#region node_modules/.pnpm/astro@7.3.5_@types+node@22.20.4_tsx@4.23.15_yaml@2.9.1/node_modules/astro/dist/assets/utils/etag.js
|
|
@@ -1752,7 +2199,7 @@ var handleImageRequest = async ({ request, loadLocalImage, logger }) => {
|
|
|
1752
2199
|
return new Response(data, {
|
|
1753
2200
|
status: 200,
|
|
1754
2201
|
headers: {
|
|
1755
|
-
"Content-Type":
|
|
2202
|
+
"Content-Type": lookup(format) ?? `image/${format}`,
|
|
1756
2203
|
"Cache-Control": "public, max-age=31536000",
|
|
1757
2204
|
ETag: etag(data.toString()),
|
|
1758
2205
|
Date: (/* @__PURE__ */ new Date()).toUTCString()
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __esmMin = (fn, res, err) => () => {
|
|
10
|
+
if (err) throw err[0];
|
|
11
|
+
try {
|
|
12
|
+
return fn && (res = fn(fn = 0)), res;
|
|
13
|
+
} catch (e) {
|
|
14
|
+
throw err = [e], e;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
18
|
+
var __exportAll = (all, no_symbols) => {
|
|
19
|
+
let target = {};
|
|
20
|
+
for (var name in all) __defProp(target, name, {
|
|
21
|
+
get: all[name],
|
|
22
|
+
enumerable: true
|
|
23
|
+
});
|
|
24
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
25
|
+
return target;
|
|
26
|
+
};
|
|
27
|
+
var __copyProps = (to, from, except, desc) => {
|
|
28
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
29
|
+
key = keys[i];
|
|
30
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
31
|
+
get: ((k) => from[k]).bind(null, key),
|
|
32
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
return to;
|
|
36
|
+
};
|
|
37
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
38
|
+
value: mod,
|
|
39
|
+
enumerable: true
|
|
40
|
+
}) : target, mod));
|
|
41
|
+
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
42
|
+
var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
43
|
+
//#endregion
|
|
44
|
+
export { __toCommonJS as a, __require as i, __esmMin as n, __toESM as o, __exportAll as r, __commonJSMin as t };
|