diff --git a/Target/chunks/Base_SqKZX8cr.mjs.map b/Target/chunks/Base_B56OaquG.mjs.map similarity index 99% rename from Target/chunks/Base_SqKZX8cr.mjs.map rename to Target/chunks/Base_B56OaquG.mjs.map index 81e4a95d..f2f23423 100644 --- a/Target/chunks/Base_SqKZX8cr.mjs.map +++ b/Target/chunks/Base_B56OaquG.mjs.map @@ -1 +1 @@ -{"version":3,"file":"Base_SqKZX8cr.mjs","sources":["../../Source/Component/Footer.astro","../../Source/Asset/PlayForm.svg?raw","../../Source/Asset/Dark/PlayForm.svg?raw","../../Source/Component/Header.astro","../../../../../node_modules/astro-capo/src/capo/rules.ts","../../../../../node_modules/astro-capo/src/capo/index.ts","../../../../../node_modules/astro-capo/src/Head.ts","../../../../../node_modules/astro/components/ViewTransitions.astro","../../Source/Layout/Base.astro"],"sourcesContent":["\n\n\n","export default \"\\n \\n\\n\"","export default \"\\n \\n\\n\"","---\nconst Index = Astro.url.pathname === \"/\" ? \"-1\" : \"\";\n\nimport PlayForm from \"@Asset/PlayForm.svg?raw\";\nimport DarkPlayForm from \"@Asset/Dark/PlayForm.svg?raw\";\n---\n\n
\n\t
\n\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\n\t
\n
\n\n\n","import type { ElementNode } from \"ultrahtml\";\nimport { renderSync } from 'ultrahtml';\n\ntype Attributes = Record;\n\nfunction has(value: unknown): value is string {\n return typeof value === 'string';\n}\nfunction is(a: unknown, b: T): a is T {\n return a === b;\n}\nfunction any(a: string | undefined, b: string[]): a is string {\n return has(a) && b.includes(a.toLowerCase());\n}\n\nexport const ElementWeights: Record = {\n META: 10,\n TITLE: 9,\n PRECONNECT: 8,\n ASYNC_SCRIPT: 7,\n IMPORT_STYLES: 6,\n SYNC_SCRIPT: 5,\n SYNC_STYLES: 4,\n PRELOAD: 3,\n DEFER_SCRIPT: 2,\n PREFETCH_PRERENDER: 1,\n OTHER: 0\n};\n\nexport const ElementDetectors = {\n META: isMeta,\n TITLE: isTitle,\n PRECONNECT: isPreconnect,\n DEFER_SCRIPT: isDeferScript,\n ASYNC_SCRIPT: isAsyncScript,\n IMPORT_STYLES: isImportStyles,\n SYNC_SCRIPT: isSyncScript,\n SYNC_STYLES: isSyncStyles,\n PRELOAD: isPreload,\n PREFETCH_PRERENDER: isPrefetchPrerender\n}\n\nexport const META_HTTP_EQUIV_KEYWORDS = [\n 'accept-ch',\n 'content-security-policy',\n 'content-type',\n 'default-style',\n 'delegate-ch',\n 'origin-trial',\n 'x-dns-prefetch-control'\n];\n\n// meta:is([charset], ${httpEquivSelector}, [name=viewport]), base\nexport function isMeta(name: string, a: Attributes) {\n if (name === 'base') return true;\n if (name !== 'meta') return false;\n return has(a.charset) || is(a.name, 'viewport') || any(a['http-equiv'], META_HTTP_EQUIV_KEYWORDS)\n}\n\n// title\nexport function isTitle(name: string) {\n return name === 'title';\n}\n\n// link[rel=preconnect]\nexport function isPreconnect(name: string, { rel }: Attributes) {\n return name === 'link' && is(rel, 'preconnect');\n}\n\n// script[src][async]\nexport function isAsyncScript(name: string, { src, async }: Attributes) {\n return name === 'script' && has(src) && has(async);\n}\n\n// style that contains @import\nexport function isImportStyles(name: string, a: Attributes, children: string) {\n const importRe = /@import/;\n\n if (name === 'style') {\n return importRe.test(children);\n }\n\n // Can't support external stylesheets on the server\n return false;\n}\n\n// script:not([src][defer],[src][type=module],[src][async],[type*=json])\nexport function isSyncScript(name: string, { src, defer, async, type = '' }: Attributes) {\n if (name !== 'script') return false;\n return !(has(src) && (has(defer) || has(async) || is(type, 'module')) || type.includes('json'))\n}\n\n// link[rel=stylesheet],style\nexport function isSyncStyles(name: string, { rel }: Attributes) {\n if (name === 'style') return true;\n return name === 'link' && is(rel, 'stylesheet')\n}\n\n// link:is([rel=preload], [rel=modulepreload])\nexport function isPreload(name: string, { rel }: Attributes) {\n return name === 'link' && any(rel, ['preload', 'modulepreload']);\n}\n\n// script[src][defer], script:not([src][async])[src][type=module]\nexport function isDeferScript(name: string, { src, defer, async, type }: Attributes) {\n if (name !== 'script') return false;\n return (has(src) && has(defer)) || (has(src) && is(type, 'module') && !has(async));\n}\n\n// link:is([rel=prefetch], [rel=dns-prefetch], [rel=prerender])\nexport function isPrefetchPrerender(name: string, { rel }: Attributes) {\n return name === 'link' && any(rel, ['prefetch', 'dns-prefetch', 'prerender'])\n}\n\n// meta[http-equiv=\"origin-trial\"i]\nexport function isOriginTrial(name: string, { 'http-equiv': http }: Attributes) {\n return name === 'meta' && is(http, 'origin-trial');\n}\n\n// meta[http-equiv=\"Content-Security-Policy\" i]\nexport function isMetaCSP(name: string, { 'http-equiv': http }: Attributes) {\n return name === 'meta' && is(http, 'Content-Security-Policy');\n}\n\nexport function getWeight(element: ElementNode) {\n for (const [id, detector] of Object.entries(ElementDetectors)) {\n const children = (element.name === 'style' && element.children.length > 0) ? renderSync(element) : '';\n if (detector(element.name, element.attributes, children)) {\n return ElementWeights[id];\n }\n }\n return ElementWeights.OTHER;\n}\n","import type { ElementNode } from 'ultrahtml';\nimport { parse, walkSync, renderSync, ELEMENT_NODE } from 'ultrahtml';\nimport { getWeight } from './rules.ts';\n\nexport default function capo(html: string) {\n const ast = parse(html);\n try {\n walkSync(ast, (node, parent, index) => {\n if (node.type === ELEMENT_NODE && node.name === 'head') {\n if (parent) {\n parent.children.splice(index, 1, getSortedHead(node));\n throw 'done' // short-circuit\n }\n }\n })\n } catch (e) {\n if (e !== 'done') throw e;\n }\n return renderSync(ast);\n}\n\nfunction getSortedHead(head: ElementNode): ElementNode {\n const weightedChildren = head.children.map((node) => {\n if (node.type === ELEMENT_NODE) {\n const weight = getWeight(node);\n return [weight, node];\n }\n }).filter(Boolean) as [number, ElementNode][]\n const children = weightedChildren.sort((a, b) => b[0] - a[0]).map(([_, element]) => element)\n return { ...head, children };\n}\n","import type { SSRResult } from \"astro\";\n// @ts-expect-error using astro internals\nimport { renderAllHeadContent } from \"astro/runtime/server/render/head.js\";\n// @ts-expect-error using astro internals\nimport { createComponent, unescapeHTML, renderSlotToString, spreadAttributes } from \"astro/runtime/server/index.js\";\nimport capo from \"./capo/index.ts\";\n\nexport const Head = createComponent({\n factory: async (result: SSRResult, props: Record, slots: Record) => {\n let head = '';\n head += ``\n head += await renderSlotToString(result, slots.default);\n head += renderAllHeadContent(result);\n head += '';\n return unescapeHTML(capo(head));\n }\n})\n","---\ntype Fallback = 'none' | 'animate' | 'swap';\n\nexport interface Props {\n\tfallback?: Fallback;\n\t/** @deprecated handleForms is enabled by default in Astro 4.0\n\t *\n\t * Set `data-astro-reload` on your form to opt-out of the default behavior.\n\t */\n\thandleForms?: boolean;\n}\n\nconst { fallback = 'animate' } = Astro.props;\n---\n\n\n\n\n\n","---\nimport Footer from \"@Component/Footer.astro\";\nimport Header from \"@Component/Header.astro\";\n\nimport \"@Stylesheet/Base.css\";\n\nconst {\n\tFont = [],\n\tTitle = \"☁️ PlayForm —\",\n\tDescription = \"☁️ Cloud —\",\n} = Astro.props;\n\ninterface Props {\n\tFont?: string[];\n\tTitle?: string;\n\tDescription?: string;\n}\n\nconst Link = (Link: string[] = []) =>\n\tLink.map(\n\t\t(Link) => ``,\n\t).join(\"\\n\");\n\nimport { Head } from \"astro-capo\";\nimport { ViewTransitions } from \"astro:transitions\";\n---\n\n\n\n\t\n\t\t\n\n\t\t\n\t\t{Title}\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\n\t\t\n\n\t\t Font))} />\n\n\t\t\n\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\t\n\t\n\t\t
\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t
\n\t\t
\n\t\t\n\t\t\n\t\n\n"],"names":["$$maybeRenderHead","$$renderSlot","$$Astro","$$createAstro","$$createComponent","Astro","$$render","$$addAttribute","$$renderComponent","$$result","$$unescapeHTML","$$renderScript","Link","Font","ViewTransitions","Header","Footer"],"mappings":";;;;;;;0BAAAA,eAAA,CAAA,CAAA,CAAA,qdAAA,EAAAC,UAAA,CAAA,UAAA,OAAA,CAAA,SAAA,CAyBE,CAAA,CAAA,wVAAA,CAAA,CAAA;AAzBF,CAAA,EAAA,2EAAA,KAAA,CAAA,CAAA;;ACAA,iBAAe;;ACAf,qBAAe;;ACAf,MAAAC,SAAA,GAAAC,YAAA,wBAAA,CAAA,CAAA;AAAA,MAAA,QAAA,GAAAC,eAAA,CAAA,CAAA,QAAA,EAAA,SAAA,OAAA,KAAA;AAAA,EAAA,MAAAC,MAAA,GAAA,QAAA,CAAA,WAAA,CAAAH,SAAA,EAAA,SAAA,OAAA,CAAA,CAAA;AAAA,EAAAG,OAAA,IAAA,GAAA,QAAA,CAAA;AACA,EAAA,MAAM,KAAQA,GAAAA,MAAAA,CAAM,GAAI,CAAA,QAAA,KAAa,MAAM,IAAO,GAAA,EAAA,CAAA;AADlD,EAAA,OAAAC,cAAA,CAAA,EAAAN,gBAAA,CAAA,0JAAAO,YAaa,CAAA,KAAA,EAbb,UAAA,CAAA,CAAA,mCAAA,EAAAC,gBAAA,QAAA,EAAA,UAAA,EAAA,UAAA,EAAA,EAAA,EAAA,SAAA,EAAA,CAAAC,cAAAH,cAAA,CAAA,EAAAI,YAAA,CACW,QADX,CAAA,CAAA,CAAA,EAeK,CAAA,CAAA,yCAAA,EAfLF,gBAAA,QAAA,EAAA,UAAA,EAAA,UAAA,EAAA,EAAA,EAAA,SAAA,EAAA,CAAAC,cAAAH,cAAA,CAAA,EAAAI,YAAA,CACW,YADX,CAAA,CAAA,CAAA,EAkBK,CAAA,CAAA,8BAAA,CAAA,CAAA;AAlBL,CAAA,EAAA,2EAAA,KAAA,CAAA,CAAA;;ACKA,SAAS,IAAI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,CAAA,CAAA,EA/EHR,WAAAQ,SAAA,EAAA,OAAA,CAmFc,SAAA,CAAX,CAAA,CAAA,u4BAAA,EAnFHD,gBAAAC,SAAA,EAAA,iBAAA,EAAAK,iBAAA,EAAA,EAqIG,CAAA,IACA,CAAA,CAtIH,EAAAd,eAAA,CAAA,CAAA,oEAAAQ,eAAA,CAAA,QAAA,EAAA,QAAA,EAAAO,QAAA,EAAA,EAyII,CAAA,CAzIJ,qCAAA,EAAAd,UAAA,CAAA,QAAA,EAAA,OAAA,CAAA,SAAA,CA4II,CAAA,CA5IJ,yCAAA,EAAAO,eAAA,CAAA,QAAA,EAAA,QAAA,EAAAQ,QAAA,EAAA,EA+II,CAAA,CAED,QAAA,EAAAL,YAAA,CAAA,QAAA,EAAA,sGAAA,CAAA,CAAA,mHAAA,CAAA,CAAA;AAjJH,CAAA,EAAA,sEAAA,KAAA,CAAA;;;;","x_google_ignoreList":[4,5,6,7]} \ No newline at end of file +{"version":3,"file":"Base_B56OaquG.mjs","sources":["../../Source/Component/Footer.astro","../../Source/Asset/PlayForm.svg?raw","../../Source/Asset/Dark/PlayForm.svg?raw","../../Source/Component/Header.astro","../../../../../node_modules/astro-capo/src/capo/rules.ts","../../../../../node_modules/astro-capo/src/capo/index.ts","../../../../../node_modules/astro-capo/src/Head.ts","../../../../../node_modules/astro/components/ViewTransitions.astro","../../Source/Layout/Base.astro"],"sourcesContent":["\n\n\n","export default \"\\n \\n\\n\"","export default \"\\n \\n\\n\"","---\nconst Index = Astro.url.pathname === \"/\" ? \"-1\" : \"\";\n\nimport PlayForm from \"@Asset/PlayForm.svg?raw\";\nimport DarkPlayForm from \"@Asset/Dark/PlayForm.svg?raw\";\n---\n\n
\n\t
\n\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\n\t
\n
\n\n\n","import type { ElementNode } from \"ultrahtml\";\nimport { renderSync } from 'ultrahtml';\n\ntype Attributes = Record;\n\nfunction has(value: unknown): value is string {\n return typeof value === 'string';\n}\nfunction is(a: unknown, b: T): a is T {\n return a === b;\n}\nfunction any(a: string | undefined, b: string[]): a is string {\n return has(a) && b.includes(a.toLowerCase());\n}\n\nexport const ElementWeights: Record = {\n META: 10,\n TITLE: 9,\n PRECONNECT: 8,\n ASYNC_SCRIPT: 7,\n IMPORT_STYLES: 6,\n SYNC_SCRIPT: 5,\n SYNC_STYLES: 4,\n PRELOAD: 3,\n DEFER_SCRIPT: 2,\n PREFETCH_PRERENDER: 1,\n OTHER: 0\n};\n\nexport const ElementDetectors = {\n META: isMeta,\n TITLE: isTitle,\n PRECONNECT: isPreconnect,\n DEFER_SCRIPT: isDeferScript,\n ASYNC_SCRIPT: isAsyncScript,\n IMPORT_STYLES: isImportStyles,\n SYNC_SCRIPT: isSyncScript,\n SYNC_STYLES: isSyncStyles,\n PRELOAD: isPreload,\n PREFETCH_PRERENDER: isPrefetchPrerender\n}\n\nexport const META_HTTP_EQUIV_KEYWORDS = [\n 'accept-ch',\n 'content-security-policy',\n 'content-type',\n 'default-style',\n 'delegate-ch',\n 'origin-trial',\n 'x-dns-prefetch-control'\n];\n\n// meta:is([charset], ${httpEquivSelector}, [name=viewport]), base\nexport function isMeta(name: string, a: Attributes) {\n if (name === 'base') return true;\n if (name !== 'meta') return false;\n return has(a.charset) || is(a.name, 'viewport') || any(a['http-equiv'], META_HTTP_EQUIV_KEYWORDS)\n}\n\n// title\nexport function isTitle(name: string) {\n return name === 'title';\n}\n\n// link[rel=preconnect]\nexport function isPreconnect(name: string, { rel }: Attributes) {\n return name === 'link' && is(rel, 'preconnect');\n}\n\n// script[src][async]\nexport function isAsyncScript(name: string, { src, async }: Attributes) {\n return name === 'script' && has(src) && has(async);\n}\n\n// style that contains @import\nexport function isImportStyles(name: string, a: Attributes, children: string) {\n const importRe = /@import/;\n\n if (name === 'style') {\n return importRe.test(children);\n }\n\n // Can't support external stylesheets on the server\n return false;\n}\n\n// script:not([src][defer],[src][type=module],[src][async],[type*=json])\nexport function isSyncScript(name: string, { src, defer, async, type = '' }: Attributes) {\n if (name !== 'script') return false;\n return !(has(src) && (has(defer) || has(async) || is(type, 'module')) || type.includes('json'))\n}\n\n// link[rel=stylesheet],style\nexport function isSyncStyles(name: string, { rel }: Attributes) {\n if (name === 'style') return true;\n return name === 'link' && is(rel, 'stylesheet')\n}\n\n// link:is([rel=preload], [rel=modulepreload])\nexport function isPreload(name: string, { rel }: Attributes) {\n return name === 'link' && any(rel, ['preload', 'modulepreload']);\n}\n\n// script[src][defer], script:not([src][async])[src][type=module]\nexport function isDeferScript(name: string, { src, defer, async, type }: Attributes) {\n if (name !== 'script') return false;\n return (has(src) && has(defer)) || (has(src) && is(type, 'module') && !has(async));\n}\n\n// link:is([rel=prefetch], [rel=dns-prefetch], [rel=prerender])\nexport function isPrefetchPrerender(name: string, { rel }: Attributes) {\n return name === 'link' && any(rel, ['prefetch', 'dns-prefetch', 'prerender'])\n}\n\n// meta[http-equiv=\"origin-trial\"i]\nexport function isOriginTrial(name: string, { 'http-equiv': http }: Attributes) {\n return name === 'meta' && is(http, 'origin-trial');\n}\n\n// meta[http-equiv=\"Content-Security-Policy\" i]\nexport function isMetaCSP(name: string, { 'http-equiv': http }: Attributes) {\n return name === 'meta' && is(http, 'Content-Security-Policy');\n}\n\nexport function getWeight(element: ElementNode) {\n for (const [id, detector] of Object.entries(ElementDetectors)) {\n const children = (element.name === 'style' && element.children.length > 0) ? renderSync(element) : '';\n if (detector(element.name, element.attributes, children)) {\n return ElementWeights[id];\n }\n }\n return ElementWeights.OTHER;\n}\n","import type { ElementNode } from 'ultrahtml';\nimport { parse, walkSync, renderSync, ELEMENT_NODE } from 'ultrahtml';\nimport { getWeight } from './rules.ts';\n\nexport default function capo(html: string) {\n const ast = parse(html);\n try {\n walkSync(ast, (node, parent, index) => {\n if (node.type === ELEMENT_NODE && node.name === 'head') {\n if (parent) {\n parent.children.splice(index, 1, getSortedHead(node));\n throw 'done' // short-circuit\n }\n }\n })\n } catch (e) {\n if (e !== 'done') throw e;\n }\n return renderSync(ast);\n}\n\nfunction getSortedHead(head: ElementNode): ElementNode {\n const weightedChildren = head.children.map((node) => {\n if (node.type === ELEMENT_NODE) {\n const weight = getWeight(node);\n return [weight, node];\n }\n }).filter(Boolean) as [number, ElementNode][]\n const children = weightedChildren.sort((a, b) => b[0] - a[0]).map(([_, element]) => element)\n return { ...head, children };\n}\n","import type { SSRResult } from \"astro\";\n// @ts-expect-error using astro internals\nimport { renderAllHeadContent } from \"astro/runtime/server/render/head.js\";\n// @ts-expect-error using astro internals\nimport { createComponent, unescapeHTML, renderSlotToString, spreadAttributes } from \"astro/runtime/server/index.js\";\nimport capo from \"./capo/index.ts\";\n\nexport const Head = createComponent({\n factory: async (result: SSRResult, props: Record, slots: Record) => {\n let head = '';\n head += ``\n head += await renderSlotToString(result, slots.default);\n head += renderAllHeadContent(result);\n head += '';\n return unescapeHTML(capo(head));\n }\n})\n","---\ntype Fallback = 'none' | 'animate' | 'swap';\n\nexport interface Props {\n\tfallback?: Fallback;\n\t/** @deprecated handleForms is enabled by default in Astro 4.0\n\t *\n\t * Set `data-astro-reload` on your form to opt-out of the default behavior.\n\t */\n\thandleForms?: boolean;\n}\n\nconst { fallback = 'animate' } = Astro.props;\n---\n\n\n\n\n\n","---\nimport Footer from \"@Component/Footer.astro\";\nimport Header from \"@Component/Header.astro\";\n\nimport \"@Stylesheet/Base.css\";\n\nconst {\n\tFont = [],\n\tTitle = \"☁️ PlayForm —\",\n\tDescription = \"☁️ Cloud —\",\n} = Astro.props;\n\ninterface Props {\n\tFont?: string[];\n\tTitle?: string;\n\tDescription?: string;\n}\n\nconst Link = (Link: string[] = []) =>\n\tLink.map(\n\t\t(Link) => ``,\n\t).join(\"\\n\");\n\nimport { Head } from \"astro-capo\";\nimport { ViewTransitions } from \"astro:transitions\";\n---\n\n\n\n\t\n\t\t\n\n\t\t\n\t\t{Title}\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\n\t\t\n\n\t\t Font))} />\n\n\t\t\n\n\t\t\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t\n\t\n\t\n\t\t
\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t
\n\t\t
\n\t\t\n\t\t\n\t\n\n"],"names":["$$maybeRenderHead","$$renderSlot","$$Astro","$$createAstro","$$createComponent","Astro","$$render","$$addAttribute","$$renderComponent","$$result","$$unescapeHTML","$$renderScript","Link","Font","ViewTransitions","Header","Footer"],"mappings":";;;;;;;0BAAAA,eAAA,CAAA,CAAA,CAAA,qdAAA,EAAAC,UAAA,CAAA,UAAA,OAAA,CAAA,SAAA,CAyBE,CAAA,CAAA,wVAAA,CAAA,CAAA;AAzBF,CAAA,EAAA,2EAAA,KAAA,CAAA,CAAA;;ACAA,iBAAe;;ACAf,qBAAe;;ACAf,MAAAC,SAAA,GAAAC,YAAA,wBAAA,CAAA,CAAA;AAAA,MAAA,QAAA,GAAAC,eAAA,CAAA,CAAA,QAAA,EAAA,SAAA,OAAA,KAAA;AAAA,EAAA,MAAAC,MAAA,GAAA,QAAA,CAAA,WAAA,CAAAH,SAAA,EAAA,SAAA,OAAA,CAAA,CAAA;AAAA,EAAAG,OAAA,IAAA,GAAA,QAAA,CAAA;AACA,EAAA,MAAM,KAAQA,GAAAA,MAAAA,CAAM,GAAI,CAAA,QAAA,KAAa,MAAM,IAAO,GAAA,EAAA,CAAA;AADlD,EAAA,OAAAC,cAAA,CAAA,EAAAN,gBAAA,CAAA,0JAAAO,YAaa,CAAA,KAAA,EAbb,UAAA,CAAA,CAAA,mCAAA,EAAAC,gBAAA,QAAA,EAAA,UAAA,EAAA,UAAA,EAAA,EAAA,E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AA,83BAAA,EAAAN,UAAAQ,CAAAA,SAAAA,EAAA,QA2Ec,QAAA,CAAX,CAAA,CAAA,EA3EHD,eAAAC,CAAAA,SAAAA,EAAA,YAAA,QAAA,EAAA,EAAA,EAAA,EAAA,SAAA,EAAA,CAAAA,cAAAH,cAAA,CAAA,EAAAI,YAAA,CACW,IAAK,CAAA,IAAA,CAAK,GAAI,CAAA,CAACG,UAAcA,KAAI,CAAC,CAD7C,CAAA,CAAA,CAAA,EA6EG,CAAA,CAEA,EAAAF,YAAA,CAAAF,SAAA,EAAA,sGAAA,CAAA,CAAA,EA/EHR,WAAAQ,SAAA,EAAA,OAAA,CAmFc,SAAA,CAAX,CAAA,CAAA,u4BAAA,EAnFHD,gBAAAC,SAAA,EAAA,iBAAA,EAAAK,iBAAA,EAAA,EAqIG,CAAA,IACA,CAAA,CAtIH,EAAAd,eAAA,CAAA,CAAA,oEAAAQ,eAAA,CAAA,QAAA,EAAA,QAAA,EAAAO,QAAA,EAAA,EAyII,CAAA,CAzIJ,qCAAA,EAAAd,UAAA,CAAA,QAAA,EAAA,OAAA,CAAA,SAAA,CA4II,CAAA,CA5IJ,yCAAA,EAAAO,eAAA,CAAA,QAAA,EAAA,QAAA,EAAAQ,QAAA,EAAA,EA+II,CAAA,CAED,QAAA,EAAAL,YAAA,CAAA,QAAA,EAAA,sGAAA,CAAA,CAAA,mHAAA,CAAA,CAAA;AAjJH,CAAA,EAAA,sEAAA,KAAA,CAAA;;;;","x_google_ignoreList":[4,5,6,7]} \ No newline at end of file diff --git a/Target/manifest_DpzdZRUj.mjs.map b/Target/manifest_DHUsQbht.mjs.map similarity index 99% rename from Target/manifest_DpzdZRUj.mjs.map rename to Target/manifest_DHUsQbht.mjs.map index 5ade92cf..7840f8c8 100644 --- a/Target/manifest_DpzdZRUj.mjs.map +++ b/Target/manifest_DHUsQbht.mjs.map @@ -1 +1 @@ -{"version":3,"file":"manifest_DpzdZRUj.mjs","sources":["../../../../node_modules/astro/dist/core/logger/core.js","../../../../node_modules/astro/dist/core/routing/manifest/generator.js","../../../../node_modules/astro/dist/core/routing/manifest/serialization.js","../../../../node_modules/astro/dist/core/app/common.js"],"sourcesContent":["import { blue, bold, dim, red, yellow } from \"kleur/colors\";\nimport stringWidth from \"string-width\";\nconst dateTimeFormat = new Intl.DateTimeFormat([], {\n hour: \"2-digit\",\n minute: \"2-digit\",\n second: \"2-digit\",\n hour12: false\n});\nconst levels = {\n debug: 20,\n info: 30,\n warn: 40,\n error: 50,\n silent: 90\n};\nfunction log(opts, level, label, message, newLine = true) {\n const logLevel = opts.level;\n const dest = opts.dest;\n const event = {\n label,\n level,\n message,\n newLine\n };\n if (!isLogLevelEnabled(logLevel, level)) {\n return;\n }\n dest.write(event);\n}\nfunction isLogLevelEnabled(configuredLogLevel, level) {\n return levels[configuredLogLevel] <= levels[level];\n}\nfunction info(opts, label, message, newLine = true) {\n return log(opts, \"info\", label, message, newLine);\n}\nfunction warn(opts, label, message, newLine = true) {\n return log(opts, \"warn\", label, message, newLine);\n}\nfunction error(opts, label, message, newLine = true) {\n return log(opts, \"error\", label, message, newLine);\n}\nfunction table(opts, columns) {\n return function logTable(logFn, ...input) {\n const message = columns.map((len, i) => padStr(input[i].toString(), len)).join(\" \");\n logFn(opts, null, message);\n };\n}\nfunction debug(...args) {\n if (\"_astroGlobalDebug\" in globalThis) {\n globalThis._astroGlobalDebug(...args);\n }\n}\nfunction padStr(str, len) {\n const strLen = stringWidth(str);\n if (strLen > len) {\n return str.substring(0, len - 3) + \"...\";\n }\n const spaces = Array.from({ length: len - strLen }, () => \" \").join(\"\");\n return str + spaces;\n}\nfunction getEventPrefix({ level, label }) {\n const timestamp = `${dateTimeFormat.format(/* @__PURE__ */ new Date())}`;\n const prefix = [];\n if (level === \"error\" || level === \"warn\") {\n prefix.push(bold(timestamp));\n prefix.push(`[${level.toUpperCase()}]`);\n } else {\n prefix.push(timestamp);\n }\n if (label) {\n prefix.push(`[${label}]`);\n }\n if (level === \"error\") {\n return red(prefix.join(\" \"));\n }\n if (level === \"warn\") {\n return yellow(prefix.join(\" \"));\n }\n if (prefix.length === 1) {\n return dim(prefix[0]);\n }\n return dim(prefix[0]) + \" \" + blue(prefix.splice(1).join(\" \"));\n}\nlet defaultLogLevel;\nif (typeof process !== \"undefined\") {\n let proc = process;\n if (\"argv\" in proc && Array.isArray(proc.argv)) {\n if (proc.argv.includes(\"--verbose\")) {\n defaultLogLevel = \"debug\";\n } else if (proc.argv.includes(\"--silent\")) {\n defaultLogLevel = \"silent\";\n } else {\n defaultLogLevel = \"info\";\n }\n } else {\n defaultLogLevel = \"info\";\n }\n} else {\n defaultLogLevel = \"info\";\n}\nfunction timerMessage(message, startTime = Date.now()) {\n let timeDiff = Date.now() - startTime;\n let timeDisplay = timeDiff < 750 ? `${Math.round(timeDiff)}ms` : `${(timeDiff / 1e3).toFixed(1)}s`;\n return `${message} ${dim(timeDisplay)}`;\n}\nclass Logger {\n options;\n constructor(options) {\n this.options = options;\n }\n info(label, message, newLine = true) {\n info(this.options, label, message, newLine);\n }\n warn(label, message, newLine = true) {\n warn(this.options, label, message, newLine);\n }\n error(label, message, newLine = true) {\n error(this.options, label, message, newLine);\n }\n debug(label, ...messages) {\n debug(label, ...messages);\n }\n level() {\n return this.options.level;\n }\n forkIntegrationLogger(label) {\n return new AstroIntegrationLogger(this.options, label);\n }\n}\nclass AstroIntegrationLogger {\n options;\n label;\n constructor(logging, label) {\n this.options = logging;\n this.label = label;\n }\n /**\n * Creates a new logger instance with a new label, but the same log options.\n */\n fork(label) {\n return new AstroIntegrationLogger(this.options, label);\n }\n info(message) {\n info(this.options, this.label, message);\n }\n warn(message) {\n warn(this.options, this.label, message);\n }\n error(message) {\n error(this.options, this.label, message);\n }\n debug(message) {\n debug(this.label, message);\n }\n}\nexport {\n AstroIntegrationLogger,\n Logger,\n dateTimeFormat,\n debug,\n defaultLogLevel,\n error,\n getEventPrefix,\n info,\n isLogLevelEnabled,\n levels,\n log,\n table,\n timerMessage,\n warn\n};\n","import { compile } from \"path-to-regexp\";\nfunction sanitizeParams(params) {\n return Object.fromEntries(\n Object.entries(params).map(([key, value]) => {\n if (typeof value === \"string\") {\n return [key, value.normalize().replace(/#/g, \"%23\").replace(/\\?/g, \"%3F\")];\n }\n return [key, value];\n })\n );\n}\nfunction getRouteGenerator(segments, addTrailingSlash) {\n const template = segments.map((segment) => {\n return \"/\" + segment.map((part) => {\n if (part.spread) {\n return `:${part.content.slice(3)}(.*)?`;\n } else if (part.dynamic) {\n return `:${part.content}`;\n } else {\n return part.content.normalize().replace(/\\?/g, \"%3F\").replace(/#/g, \"%23\").replace(/%5B/g, \"[\").replace(/%5D/g, \"]\").replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n }\n }).join(\"\");\n }).join(\"\");\n let trailing = \"\";\n if (addTrailingSlash === \"always\" && segments.length) {\n trailing = \"/\";\n }\n const toPath = compile(template + trailing);\n return (params) => {\n const sanitizedParams = sanitizeParams(params);\n const path = toPath(sanitizedParams);\n return path || \"/\";\n };\n}\nexport {\n getRouteGenerator\n};\n","import { getRouteGenerator } from \"./generator.js\";\nfunction serializeRouteData(routeData, trailingSlash) {\n return {\n ...routeData,\n generate: void 0,\n pattern: routeData.pattern.source,\n redirectRoute: routeData.redirectRoute ? serializeRouteData(routeData.redirectRoute, trailingSlash) : void 0,\n fallbackRoutes: routeData.fallbackRoutes.map((fallbackRoute) => {\n return serializeRouteData(fallbackRoute, trailingSlash);\n }),\n _meta: { trailingSlash }\n };\n}\nfunction deserializeRouteData(rawRouteData) {\n return {\n route: rawRouteData.route,\n type: rawRouteData.type,\n pattern: new RegExp(rawRouteData.pattern),\n params: rawRouteData.params,\n component: rawRouteData.component,\n generate: getRouteGenerator(rawRouteData.segments, rawRouteData._meta.trailingSlash),\n pathname: rawRouteData.pathname || void 0,\n segments: rawRouteData.segments,\n prerender: rawRouteData.prerender,\n redirect: rawRouteData.redirect,\n redirectRoute: rawRouteData.redirectRoute ? deserializeRouteData(rawRouteData.redirectRoute) : void 0,\n fallbackRoutes: rawRouteData.fallbackRoutes.map((fallback) => {\n return deserializeRouteData(fallback);\n }),\n isIndex: rawRouteData.isIndex\n };\n}\nexport {\n deserializeRouteData,\n serializeRouteData\n};\n","import { deserializeRouteData } from \"../routing/manifest/serialization.js\";\nfunction deserializeManifest(serializedManifest) {\n const routes = [];\n for (const serializedRoute of serializedManifest.routes) {\n routes.push({\n ...serializedRoute,\n routeData: deserializeRouteData(serializedRoute.routeData)\n });\n const route = serializedRoute;\n route.routeData = deserializeRouteData(serializedRoute.routeData);\n }\n const assets = new Set(serializedManifest.assets);\n const componentMetadata = new Map(serializedManifest.componentMetadata);\n const inlinedScripts = new Map(serializedManifest.inlinedScripts);\n const clientDirectives = new Map(serializedManifest.clientDirectives);\n const serverIslandNameMap = new Map(serializedManifest.serverIslandNameMap);\n return {\n // in case user middleware exists, this no-op middleware will be reassigned (see plugin-ssr.ts)\n middleware(_, next) {\n return next();\n },\n ...serializedManifest,\n assets,\n componentMetadata,\n inlinedScripts,\n clientDirectives,\n routes,\n serverIslandNameMap\n };\n}\nexport {\n deserializeManifest\n};\n"],"names":[],"mappings":";;;;;;;;AAoFA,IAAI,OAAO,OAAO,KAAK,WAAW,EAAE;AACpC,EAAE,IAAI,IAAI,GAAG,OAAO,CAAC;AACrB,EAAE,IAAI,MAAM,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;AAClD,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAEpC,MAAM,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAE1C,MAAM,CAEN;AACL,GAEG;AACH;;AChGA,SAAS,cAAc,CAAC,MAAM,EAAE;AAChC,EAAE,OAAO,MAAM,CAAC,WAAW;AAC3B,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAA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,MAAM;AACV,IAAI,mBAAmB;AACvB,GAAG,CAAC;AACJ;;;;;;","x_google_ignoreList":[0,1,2,3]} \ No newline at end of file +{"version":3,"file":"manifest_DHUsQbht.mjs","sources":["../../../../node_modules/astro/dist/core/logger/core.js","../../../../node_modules/astro/dist/core/routing/manifest/generator.js","../../../../node_modules/astro/dist/core/routing/manifest/serialization.js","../../../../node_modules/astro/dist/core/app/common.js"],"sourcesContent":["import { blue, bold, dim, red, yellow } from \"kleur/colors\";\nimport stringWidth from \"string-width\";\nconst dateTimeFormat = new Intl.DateTimeFormat([], {\n hour: \"2-digit\",\n minute: \"2-digit\",\n second: \"2-digit\",\n hour12: false\n});\nconst levels = {\n debug: 20,\n info: 30,\n warn: 40,\n error: 50,\n silent: 90\n};\nfunction log(opts, level, label, message, newLine = true) {\n const logLevel = opts.level;\n const dest = opts.dest;\n const event = {\n label,\n level,\n message,\n newLine\n };\n if (!isLogLevelEnabled(logLevel, level)) {\n return;\n }\n dest.write(event);\n}\nfunction isLogLevelEnabled(configuredLogLevel, level) {\n return levels[configuredLogLevel] <= levels[level];\n}\nfunction info(opts, label, message, newLine = true) {\n return log(opts, \"info\", label, message, newLine);\n}\nfunction warn(opts, label, message, newLine = true) {\n return log(opts, \"warn\", label, message, newLine);\n}\nfunction error(opts, label, message, newLine = true) {\n return log(opts, \"error\", label, message, newLine);\n}\nfunction table(opts, columns) {\n return function logTable(logFn, ...input) {\n const message = columns.map((len, i) => padStr(input[i].toString(), len)).join(\" \");\n logFn(opts, null, message);\n };\n}\nfunction debug(...args) {\n if (\"_astroGlobalDebug\" in globalThis) {\n globalThis._astroGlobalDebug(...args);\n }\n}\nfunction padStr(str, len) {\n const strLen = stringWidth(str);\n if (strLen > len) {\n return str.substring(0, len - 3) + \"...\";\n }\n const spaces = Array.from({ length: len - strLen }, () => \" \").join(\"\");\n return str + spaces;\n}\nfunction getEventPrefix({ level, label }) {\n const timestamp = `${dateTimeFormat.format(/* @__PURE__ */ new Date())}`;\n const prefix = [];\n if (level === \"error\" || level === \"warn\") {\n prefix.push(bold(timestamp));\n prefix.push(`[${level.toUpperCase()}]`);\n } else {\n prefix.push(timestamp);\n }\n if (label) {\n prefix.push(`[${label}]`);\n }\n if (level === \"error\") {\n return red(prefix.join(\" \"));\n }\n if (level === \"warn\") {\n return yellow(prefix.join(\" \"));\n }\n if (prefix.length === 1) {\n return dim(prefix[0]);\n }\n return dim(prefix[0]) + \" \" + blue(prefix.splice(1).join(\" \"));\n}\nlet defaultLogLevel;\nif (typeof process !== \"undefined\") {\n let proc = process;\n if (\"argv\" in proc && Array.isArray(proc.argv)) {\n if (proc.argv.includes(\"--verbose\")) {\n defaultLogLevel = \"debug\";\n } else if (proc.argv.includes(\"--silent\")) {\n defaultLogLevel = \"silent\";\n } else {\n defaultLogLevel = \"info\";\n }\n } else {\n defaultLogLevel = \"info\";\n }\n} else {\n defaultLogLevel = \"info\";\n}\nfunction timerMessage(message, startTime = Date.now()) {\n let timeDiff = Date.now() - startTime;\n let timeDisplay = timeDiff < 750 ? `${Math.round(timeDiff)}ms` : `${(timeDiff / 1e3).toFixed(1)}s`;\n return `${message} ${dim(timeDisplay)}`;\n}\nclass Logger {\n options;\n constructor(options) {\n this.options = options;\n }\n info(label, message, newLine = true) {\n info(this.options, label, message, newLine);\n }\n warn(label, message, newLine = true) {\n warn(this.options, label, message, newLine);\n }\n error(label, message, newLine = true) {\n error(this.options, label, message, newLine);\n }\n debug(label, ...messages) {\n debug(label, ...messages);\n }\n level() {\n return this.options.level;\n }\n forkIntegrationLogger(label) {\n return new AstroIntegrationLogger(this.options, label);\n }\n}\nclass AstroIntegrationLogger {\n options;\n label;\n constructor(logging, label) {\n this.options = logging;\n this.label = label;\n }\n /**\n * Creates a new logger instance with a new label, but the same log options.\n */\n fork(label) {\n return new AstroIntegrationLogger(this.options, label);\n }\n info(message) {\n info(this.options, this.label, message);\n }\n warn(message) {\n warn(this.options, this.label, message);\n }\n error(message) {\n error(this.options, this.label, message);\n }\n debug(message) {\n debug(this.label, message);\n }\n}\nexport {\n AstroIntegrationLogger,\n Logger,\n dateTimeFormat,\n debug,\n defaultLogLevel,\n error,\n getEventPrefix,\n info,\n isLogLevelEnabled,\n levels,\n log,\n table,\n timerMessage,\n warn\n};\n","import { compile } from \"path-to-regexp\";\nfunction sanitizeParams(params) {\n return Object.fromEntries(\n Object.entries(params).map(([key, value]) => {\n if (typeof value === \"string\") {\n return [key, value.normalize().replace(/#/g, \"%23\").replace(/\\?/g, \"%3F\")];\n }\n return [key, value];\n })\n );\n}\nfunction getRouteGenerator(segments, addTrailingSlash) {\n const template = segments.map((segment) => {\n return \"/\" + segment.map((part) => {\n if (part.spread) {\n return `:${part.content.slice(3)}(.*)?`;\n } else if (part.dynamic) {\n return `:${part.content}`;\n } else {\n return part.content.normalize().replace(/\\?/g, \"%3F\").replace(/#/g, \"%23\").replace(/%5B/g, \"[\").replace(/%5D/g, \"]\").replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n }\n }).join(\"\");\n }).join(\"\");\n let trailing = \"\";\n if (addTrailingSlash === \"always\" && segments.length) {\n trailing = \"/\";\n }\n const toPath = compile(template + trailing);\n return (params) => {\n const sanitizedParams = sanitizeParams(params);\n const path = toPath(sanitizedParams);\n return path || \"/\";\n };\n}\nexport {\n getRouteGenerator\n};\n","import { getRouteGenerator } from \"./generator.js\";\nfunction serializeRouteData(routeData, trailingSlash) {\n return {\n ...routeData,\n generate: void 0,\n pattern: routeData.pattern.source,\n redirectRoute: routeData.redirectRoute ? serializeRouteData(routeData.redirectRoute, trailingSlash) : void 0,\n fallbackRoutes: routeData.fallbackRoutes.map((fallbackRoute) => {\n return serializeRouteData(fallbackRoute, trailingSlash);\n }),\n _meta: { trailingSlash }\n };\n}\nfunction deserializeRouteData(rawRouteData) {\n return {\n route: rawRouteData.route,\n type: rawRouteData.type,\n pattern: new RegExp(rawRouteData.pattern),\n params: rawRouteData.params,\n component: rawRouteData.component,\n generate: getRouteGenerator(rawRouteData.segments, rawRouteData._meta.trailingSlash),\n pathname: rawRouteData.pathname || void 0,\n segments: rawRouteData.segments,\n prerender: rawRouteData.prerender,\n redirect: rawRouteData.redirect,\n redirectRoute: rawRouteData.redirectRoute ? deserializeRouteData(rawRouteData.redirectRoute) : void 0,\n fallbackRoutes: rawRouteData.fallbackRoutes.map((fallback) => {\n return deserializeRouteData(fallback);\n }),\n isIndex: rawRouteData.isIndex\n };\n}\nexport {\n deserializeRouteData,\n serializeRouteData\n};\n","import { deserializeRouteData } from \"../routing/manifest/serialization.js\";\nfunction deserializeManifest(serializedManifest) {\n const routes = [];\n for (const serializedRoute of serializedManifest.routes) {\n routes.push({\n ...serializedRoute,\n routeData: deserializeRouteData(serializedRoute.routeData)\n });\n const route = serializedRoute;\n route.routeData = deserializeRouteData(serializedRoute.routeData);\n }\n const assets = new Set(serializedManifest.assets);\n const componentMetadata = new Map(serializedManifest.componentMetadata);\n const inlinedScripts = new Map(serializedManifest.inlinedScripts);\n const clientDirectives = new Map(serializedManifest.clientDirectives);\n const serverIslandNameMap = new Map(serializedManifest.serverIslandNameMap);\n return {\n // in case user middleware exists, this no-op middleware will be reassigned (see plugin-ssr.ts)\n middleware(_, next) {\n return next();\n },\n ...serializedManifest,\n assets,\n componentMetadata,\n inlinedScripts,\n clientDirectives,\n routes,\n serverIslandNameMap\n };\n}\nexport {\n deserializeManifest\n};\n"],"names":[],"mappings":";;;;;;;;AAoFA,IAAI,OAAO,OAAO,KAAK,WAAW,EAAE;AACpC,EAAE,IAAI,IAAI,GAAG,OAAO,CAAC;AACrB,EAAE,IAAI,MAAM,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;AAClD,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAEpC,MAAM,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAE1C,MAAM,CAEN;AACL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B,MAAM,OAAO,IAAI,EAAE,CAAC;AACpB,KAAK;AACL,IAAI,GAAG,kBAAkB;AACzB,IAAI,MAAM;AACV,IAAI,iBAAiB;AACrB,IAAI,cAAc;AAClB,IAAI,gBAAgB;AACpB,IAAI,MAAM;AACV,IAAI,mBAAmB;AACvB,GAAG,CAAC;AACJ;;;;;;","x_google_ignoreList":[0,1,2,3]} \ No newline at end of file diff --git a/package.json b/package.json index baba4488..8da8720e 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "postcss-url": "10.1.3", "swup": "4.7.0", "tailwindcss": "*", - "typescript": "5.6.0-dev.20240721", + "typescript": "*", "zod": "*" }, "publishConfig": {