Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(hog): add error-tracking release, download and extract (#124581)

Rafael Audibertd8178f086986
diff --git a/.gitattributes b/.gitattributes
index 385b4dd1a00a..87efd5489b25 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -46,3 +46,4 @@ common/hogql_parser/HogQLParserBaseVisitor.h linguist-generated
hog/test/parity/bundles/** linguist-generated -text
hog/test/parity/golden/** linguist-generated
hog/test/parity/native/bin/** binary linguist-generated
+hog/test/parity/real/** -text linguist-generated
diff --git a/.oxfmtrc.json b/.oxfmtrc.json
index 05d1623b0505..d10171651f82 100644
--- a/.oxfmtrc.json
+++ b/.oxfmtrc.json
@@ -165,6 +165,7 @@
"products/metrics/agent/tests/**/golden/**",
"hog/test/parity/bundles/**",
"hog/test/parity/native/bin/**",
+ "hog/test/parity/real/**",
"hog/test/parity/golden/**",
"frontend/dist/",
"frontend/**/*LogicType.ts",
diff --git a/hog/README.md b/hog/README.md
index 3fbae1fe05ee..9af7353287c7 100644
--- a/hog/README.md
+++ b/hog/README.md
@@ -22,6 +22,9 @@ The commands `posthog-cli` keeps under `exp` (`query`, `endpoints`, `logs`, `tas
| `hog error-tracking clone <from> <to>` | Copies the chunk ID from Metro's map to the map Hermes composed, for React Native. |
| `hog error-tracking upload [paths...]` | Uploads symbols for readable stack traces: JavaScript sourcemaps, Hermes maps, ProGuard mappings, dSYMs and ELF files. |
| `hog error-tracking process [paths...]` | Runs `inject`, then `upload`. Use it in CI after the build. |
+| `hog error-tracking release` | Finds or creates the release for this build. `-o text` prints just its ID. |
+| `hog error-tracking download <id/ref>` | Downloads a symbol set from PostHog and unpacks it. |
+| `hog error-tracking extract <file>` | Unpacks a symbol set file. |
| `hog config check`, `hog config schema` | Check `posthog.json` against its schema, or print the schema. |
| `hog commands` | Lists every command, its arguments, options and scopes. |
| Everything else | Not ported yet. Exits with code 1 and prints the `posthog-cli` command to run instead, with the same arguments. |
diff --git a/hog/src/cli.test.ts b/hog/src/cli.test.ts
index 2fa2c07a0fa6..d9433301ec02 100644
--- a/hog/src/cli.test.ts
+++ b/hog/src/cli.test.ts
@@ -103,6 +103,9 @@ describe('hog', () => {
'error-tracking clone',
'error-tracking upload',
'error-tracking process',
+ 'error-tracking release',
+ 'error-tracking download',
+ 'error-tracking extract',
'config check',
'config schema',
'commands',
diff --git a/hog/src/cli.ts b/hog/src/cli.ts
index 6ebf1881a56b..a2e4e06b1278 100644
--- a/hog/src/cli.ts
+++ b/hog/src/cli.ts
@@ -277,6 +277,14 @@ const RENAMED: Record<string, { to: string; hint: string }> = {
to: 'error-tracking upload',
hint: 'Pass the folder as an argument instead of --directory, as in `hog error-tracking upload build/Release-iphoneos`.',
},
+ 'symbol-sets': {
+ to: 'error-tracking upload|download|extract',
+ hint: 'Pass paths and the symbol set as arguments: `hog error-tracking download <id or ref>` replaces --id and --ref.',
+ },
+ release: {
+ to: 'error-tracking release',
+ hint: '`hog error-tracking release -o text` prints just the release ID, like `posthog-cli release resolve`.',
+ },
proguard: {
to: 'error-tracking upload',
hint: 'Pass the mapping as an argument instead of --path, as in `hog error-tracking upload mapping.txt --map-id <id>`.',
diff --git a/hog/src/commands/error-tracking/download.ts b/hog/src/commands/error-tracking/download.ts
new file mode 100644
index 000000000000..0d0a983ff45d
--- /dev/null
+++ b/hog/src/commands/error-tracking/download.ts
@@ -0,0 +1,52 @@
+import { defineCommand } from '@/core/command'
+import {
+ downloadSymbolSet,
+ deriveBaseName,
+ extractSymbolSet,
+ isSymbolSetId,
+ resolveRef,
+} from '@/error-tracking/symbols'
+import { SymbolSetClient } from '@/error-tracking/upload'
+
+import { renderExtracted } from './extract'
+
+export default defineCommand({
+ description: 'Download a symbol set from PostHog and unpack it',
+ args: {
+ symbolSet: { description: 'The symbol set ID, or its ref, such as static/chunks/app.js.map' },
+ },
+ options: {
+ outputDir: { type: 'string', placeholder: 'folder', description: 'Where to write the files (default .)' },
+ ref: {
+ type: 'boolean',
+ description: 'Look the argument up as a ref, for refs that look like IDs, such as chunk IDs and debug IDs',
+ },
+ },
+ scopes: ['error_tracking:read'],
+ notes: 'A sourcemap becomes a .js and a .js.map file, a Hermes map a .hbc.map file, a ProGuard mapping a .txt file, and a dSYM or ELF symbol set a folder.',
+ examples: [
+ 'hog error-tracking download static/chunks/app.js.map',
+ 'hog et download 0192f0a0-0000-7000-8000-000000000001 --output-dir symbols',
+ 'hog et download 3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15 --ref',
+ ],
+
+ async run({ args, options, ctx }) {
+ const client = new SymbolSetClient(ctx.runtime, await ctx.credentials())
+ const byId = !options.ref && isSymbolSetId(args.symbolSet)
+ const id = byId ? args.symbolSet : await resolveRef(client, args.symbolSet)
+ const data = await downloadSymbolSet(client, id, ctx.runtime.fetch)
+ return {
+ id,
+ ...extractSymbolSet(
+ data,
+ byId ? id : deriveBaseName(args.symbolSet),
+ options.outputDir ?? '.',
+ ctx.runtime.cwd()
+ ),
+ }
+ },
+
+ human({ result, out }) {
+ renderExtracted(out, result)
+ },
+})
diff --git a/hog/src/commands/error-tracking/error-tracking.test.ts b/hog/src/commands/error-tracking/error-tracking.test.ts
index d1500a30033f..17e419af028e 100644
--- a/hog/src/commands/error-tracking/error-tracking.test.ts
+++ b/hog/src/commands/error-tracking/error-tracking.test.ts
@@ -15,7 +15,10 @@ import { join } from 'node:path'
import { cleanUp, cssTargets } from '@/error-tracking/cleanup'
import { contentHash, SymbolDataType, writeSymbolData } from '@/error-tracking/container'
-import { runHog } from '@/testing'
+import { nativeCandidates } from '@/error-tracking/native/package'
+import { ZipWriter } from '@/error-tracking/native/zip'
+import { deriveBaseName } from '@/error-tracking/symbols'
+import { runHog, TEST_CREDENTIALS } from '@/testing'
import { GIT_REPO, SMALL_MAPPING } from '../../../test/parity/fixtures'
import { HERMES_BUILD } from '../../../test/parity/hermes-fixtures'
@@ -72,7 +75,7 @@ describe('hog error-tracking upload', () => {
})
})
- test('--dry-run leaves bundles and maps untouched, and ignore globs skip files', async () => {
+ test('--dry-run leaves bundles and maps untouched, ignore globs skip files, and unreadable folders are skipped', async () => {
const bundle = 'a();\n//# sourceMappingURL=a.js.map\n'
const map = JSON.stringify({ version: 3, sources: ['a.ts'], names: [], mappings: 'AAAA' })
const folder = project({
@@ -81,7 +84,10 @@ describe('hog error-tracking upload', () => {
'dist/a.js.map': map,
'dist/vendor/b.js': bundle.replace('a.js.map', 'b.js.map'),
'dist/vendor/b.js.map': map,
+ 'dist/vendor/cache/c.js': bundle,
})
+ chmodSync(join(folder, 'dist/vendor/cache'), 0o000)
+
const result = await runHog(['et', 'process', '--dry-run'], {
env: { CLAUDECODE: '1' },
cwd: folder,
@@ -173,6 +179,32 @@ describe('hog error-tracking upload', () => {
expect(readFileSync(join(folder, 'dist/a.js'), 'utf8')).toBe(bundle)
})
+ test('a universal binary with a slice that does not parse keeps its other slices', () => {
+ const slice = readFileSync(join(import.meta.dir, '../../../test/parity/native/bin/apple/Shop.dwarf'))
+ const header = Buffer.alloc(48)
+ header.writeUInt32BE(0xcafebabe, 0)
+ header.writeUInt32BE(2, 4)
+ const arches: [number, number, number][] = [
+ [0x0100000c, 4096, slice.length],
+ [0x01000007, 4096 + slice.length, 8],
+ ]
+ for (const [index, [cputype, offset, size]] of arches.entries()) {
+ header.writeUInt32BE(cputype, 8 + index * 20)
+ header.writeUInt32BE(offset, 16 + index * 20)
+ header.writeUInt32BE(size, 20 + index * 20)
+ }
+ const folder = project({})
+ const path = join(folder, 'Shop')
+ writeFileSync(path, Buffer.concat([header, Buffer.alloc(4096 - 48), slice, Buffer.alloc(8)]))
+
+ const candidates = nativeCandidates(path)
+
+ expect(candidates).toEqual([
+ { file: expect.objectContaining({ format: 'macho', debugId: expect.any(String) }) },
+ { path, problem: 'unparseable_slice' },
+ ])
+ })
+
test('--dry-run plans a Hermes map once when two paths overlap', async () => {
const composed = 'android/hbc/index.android.bundle.hbc.composed.map'
const folder = project({
@@ -346,4 +378,88 @@ describe('hog error-tracking upload', () => {
expect(result.exitCode).toBe(exitCode)
expect(result.error()).toMatchObject({ code, hint: expect.any(String) })
})
+
+ function dsymWithBadChecksum(): Buffer {
+ const zip = new ZipWriter()
+ zip.add('dwarf', Buffer.from('not really dwarf, but bytes all the same'))
+ const archive = zip.finish()
+ const central = archive.indexOf(Buffer.from([0x50, 0x4b, 0x01, 0x02]))
+ archive.writeUInt32LE((archive.readUInt32LE(central + 16) ^ 1) >>> 0, central + 16)
+ return writeSymbolData(SymbolDataType.AppleDsym, archive)
+ }
+
+ test.each([
+ ['a zip entry whose checksum is wrong', dsymWithBadChecksum, "doesn't match its recorded size and checksum"],
+ [
+ 'a Hermes map that is not UTF-8, by its type rather than as unknown',
+ () => writeSymbolData(SymbolDataType.HermesMap, Buffer.from([0xff, 0xfe])),
+ 'HermesMap whose payload',
+ ],
+ ])('extract rejects %s', async (_name, build, message) => {
+ const folder = project({})
+ writeFileSync(join(folder, 'Shop.dSYM'), build())
+ const result = await runHog(['et', 'extract', 'Shop.dSYM'], {
+ env: { CLAUDECODE: '1' },
+ cwd: folder,
+ useDisk: true,
+ })
+ expect(result.exitCode).toBe(1)
+ expect(result.error()).toMatchObject({ code: 'invalid_symbol_set', message: expect.stringContaining(message) })
+ })
+
+ test('extract escapes control characters in the file names it prints', async () => {
+ const zip = new ZipWriter()
+ zip.add('evil\u001b]52;c;cGF5\u0007', Buffer.from('dwarf'))
+ const folder = project({})
+ writeFileSync(join(folder, 'Shop.dSYM'), writeSymbolData(SymbolDataType.AppleDsym, zip.finish()))
+
+ const result = await runHog(['et', 'extract', 'Shop.dSYM'], {
+ env: { NO_COLOR: '1' },
+ stdoutIsTTY: true,
+ cwd: folder,
+ useDisk: true,
+ })
+
+ expect(result.exitCode).toBe(0)
+ expect(result.stdout).not.toContain('\u001b')
+ expect(result.stdout).toContain('evil\\x1b]52;c;cGF5\\x07')
+ })
+
+ test.each(['<!DOCTYPE plist', ' <?xml version="1.0"', ' <!-- a comment'])(
+ 'an Info.plist starting with the unterminated markup %p fails to parse',
+ async (plist) => {
+ const folder = project({ 'Info.plist': plist })
+
+ const result = await runHog(['et', 'release', '--info-plist', 'Info.plist'], {
+ env: { ...TEST_CREDENTIALS, CLAUDECODE: '1' },
+ cwd: folder,
+ useDisk: true,
+ })
+
+ expect(result.exitCode).toBe(1)
+ expect(result.error()).toMatchObject({ code: 'invalid_info_plist' })
+ }
+ )
+
+ test.each([
+ ['a key without access', ['0192f0a0-0000-7000-8000-000000000001'], 403, 'access_denied'],
+ ['a ref lookup with a key without access', ['app.js.map'], 403, 'access_denied'],
+ ['an ID PostHog does not have', ['0192f0a0-0000-7000-8000-000000000001'], 404, 'symbol_set_not_found'],
+ ])('download fails with a hint for %s', async (_name, args, status, code) => {
+ const result = await runHog(['et', 'download', ...args], {
+ env: { ...TEST_CREDENTIALS, CLAUDECODE: '1' },
+ respond: () => ({ status, body: { detail: 'Not allowed.' } }),
+ })
+
+ expect(result.exitCode).toBe(1)
+ expect(result.error()).toMatchObject({ code, hint: expect.any(String) })
+ })
+
+ test.each([
+ ['...dSYM', 'linux', 'symbol_set'],
+ ['C:\\build\\symbols.bin', 'win32', 'symbols.bin'],
+ ['static/chunks/app.js.map', 'linux', 'app'],
+ ] as const)('the base name of %s on %s is %s', (reference, platform, expected) => {
+ expect(deriveBaseName(reference, platform)).toBe(expected)
+ })
})
diff --git a/hog/src/commands/error-tracking/extract.ts b/hog/src/commands/error-tracking/extract.ts
new file mode 100644
index 000000000000..1a6a180e062f
--- /dev/null
+++ b/hog/src/commands/error-tracking/extract.ts
@@ -0,0 +1,54 @@
+import { readFileSync } from 'node:fs'
+import { basename, resolve } from 'node:path'
+
+import { defineCommand } from '@/core/command'
+import { HogError } from '@/core/errors'
+import { escapeControls, type Output } from '@/core/output'
+import { deriveBaseName, extractSymbolSet, type ExtractReport } from '@/error-tracking/symbols'
+
+const KIND_LABELS: Record<ExtractReport['kind'], string> = {
+ sourcemap: 'JavaScript',
+ hermes: 'Hermes',
+ proguard: 'ProGuard',
+ elf: 'ELF',
+ dsym: 'dSYM',
+}
+
+export function renderExtracted(out: Output, result: ExtractReport): void {
+ for (const file of result.files) {
+ out.line(escapeControls(file))
+ }
+ out.line(
+ out.style(`Extracted the ${KIND_LABELS[result.kind]} symbol set to ${escapeControls(result.output)}.`, 'dim')
+ )
+}
+
+export default defineCommand({
+ description: 'Unpack a symbol set file, such as one PostHog stored',
+ args: {
+ file: { description: 'The symbol set file' },
+ },
+ options: {
+ outputDir: { type: 'string', placeholder: 'folder', description: 'Where to write the files (default .)' },
+ },
+ examples: ['hog error-tracking extract symbol-set.bin --output-dir symbols'],
+
+ async run({ args, options, ctx }) {
+ let data: Uint8Array
+ try {
+ data = readFileSync(resolve(ctx.runtime.cwd(), args.file))
+ } catch (error) {
+ throw new HogError('file_unreadable', `hog couldn't read ${args.file}: ${(error as Error).message}`)
+ }
+ return extractSymbolSet(
+ data,
+ deriveBaseName(basename(args.file) || 'symbol_set'),
+ options.outputDir ?? '.',
+ ctx.runtime.cwd()
+ )
+ },
+
+ human({ result, out }) {
+ renderExtracted(out, result)
+ },
+})
diff --git a/hog/src/commands/error-tracking/index.ts b/hog/src/commands/error-tracking/index.ts
index 010a23e9f118..692a5976c410 100644
--- a/hog/src/commands/error-tracking/index.ts
+++ b/hog/src/commands/error-tracking/index.ts
@@ -1,12 +1,15 @@
import { defineGroup } from '@/core/command'
import clone from './clone'
+import download from './download'
+import extract from './extract'
import inject from './inject'
import process from './process'
+import release from './release'
import upload from './upload'
export default defineGroup({
description: 'Upload symbols for readable stack traces in error tracking',
aliases: ['et'],
- commands: { inject, clone, upload, process },
+ commands: { inject, clone, upload, process, release, download, extract },
})
diff --git a/hog/src/commands/error-tracking/release.ts b/hog/src/commands/error-tracking/release.ts
new file mode 100644
index 000000000000..a85f52047f41
--- /dev/null
+++ b/hog/src/commands/error-tracking/release.ts
@@ -0,0 +1,59 @@
+import { defineCommand } from '@/core/command'
+import { resolveJsRelease } from '@/error-tracking/js-flow'
+import { fetchOrCreateRelease, type Release } from '@/error-tracking/release'
+import { releaseFields } from '@/error-tracking/run'
+import { SymbolSetClient } from '@/error-tracking/upload'
+
+import { readOptions, RELEASE_OPTIONS } from './shared'
+
+export default defineCommand({
+ description: 'Find or create the release this build belongs to',
+ options: {
+ releaseName: {
+ type: 'string',
+ placeholder: 'name',
+ description: 'The release name. Defaults to the git repository name',
+ },
+ releaseVersion: {
+ type: 'string',
+ placeholder: 'version',
+ description: 'The release version. Defaults to the git commit',
+ },
+ build: RELEASE_OPTIONS.build,
+ infoPlist: RELEASE_OPTIONS.infoPlist,
+ },
+ scopes: ['error_tracking:write'],
+ notes: [
+ 'Build tools that set the release ID themselves use this to get the same release `hog error-tracking inject` would use.',
+ 'Without a name and a version from the flags, posthog.json or git, there is no release, and the result is null.',
+ ].join('\n'),
+ examples: [
+ 'RELEASE_ID=$(hog error-tracking release -o text)',
+ 'hog et release --release-name web --release-version 2.1.0',
+ 'hog et release --info-plist ios/App/Info.plist',
+ ],
+
+ async run({ options, ctx }): Promise<Release | null> {
+ const settings = readOptions(options, ctx.runtime.env)
+ const fields = await releaseFields(ctx, settings)
+ const resolved = resolveJsRelease(fields, ctx.runtime.env, ctx.runtime.cwd(), [])
+ if (!resolved) {
+ return null
+ }
+ const client = new SymbolSetClient(ctx.runtime, await ctx.credentials())
+ const release = await fetchOrCreateRelease(
+ client,
+ resolved.name,
+ resolved.version,
+ resolved.git ? { git: resolved.git } : {}
+ )
+ return { id: release.id, hash_id: release.hash_id, version: release.version, project: release.project }
+ },
+
+ // Just the ID, so `$(hog error-tracking release -o text)` gives what a build script needs.
+ human({ result, out }) {
+ if (result) {
+ out.line(result.id)
+ }
+ },
+})
diff --git a/hog/src/commands/error-tracking/shared.ts b/hog/src/commands/error-tracking/shared.ts
index 20bc79069592..cca687c6be99 100644
--- a/hog/src/commands/error-tracking/shared.ts
+++ b/hog/src/commands/error-tracking/shared.ts
@@ -45,6 +45,11 @@ export const RELEASE_OPTIONS = {
placeholder: 'build',
description: 'A build number, added to the version as version+build',
},
+ infoPlist: {
+ type: 'string',
+ placeholder: 'path',
+ description: 'iOS: read the name, version and build the flags leave unset from this Info.plist',
+ },
releaseMode: {
type: 'string',
choices: ['event', 'symbol-set'],
@@ -90,6 +95,7 @@ interface RawOptions {
releaseName?: string
releaseVersion?: string
build?: string
+ infoPlist?: string
releaseMode?: 'event' | 'symbol-set'
mapId?: string
force?: boolean
@@ -140,6 +146,7 @@ export function readOptions(options: RawOptions, env: Env): ErrorTrackingOptions
kind: options.kind,
mapId: options.mapId,
release: { name: options.releaseName, version: options.releaseVersion, build: options.build },
+ infoPlist: options.infoPlist,
releaseMode,
publicPathPrefix: options.publicPathPrefix,
force: options.force === true,
diff --git a/hog/src/commands/legacy.ts b/hog/src/commands/legacy.ts
index e713bb5a8a40..f337c7015812 100644
--- a/hog/src/commands/legacy.ts
+++ b/hog/src/commands/legacy.ts
@@ -12,10 +12,5 @@ export const LEGACY_COMMANDS: CommandTree = {
description: 'Download event definitions and generate a typed SDK',
use: 'posthog-cli exp schema',
}),
- 'symbol-sets': defineLegacy({
- description: 'Upload, download, and manage symbol sets',
- use: 'posthog-cli symbol-sets',
- }),
- release: defineLegacy({ description: 'Look up the release a build belongs to', use: 'posthog-cli release' }),
update: defineLegacy({ description: 'Update hog to the latest version', use: 'posthog-cli update' }),
}
diff --git a/hog/src/error-tracking/cleanup.ts b/hog/src/error-tracking/cleanup.ts
index f275064368d9..0d7ce214fb11 100644
--- a/hog/src/error-tracking/cleanup.ts
+++ b/hog/src/error-tracking/cleanup.ts
@@ -1,4 +1,16 @@
-import { existsSync, readFileSync, realpathSync, rmSync, statSync, writeFileSync } from 'node:fs'
+import {
+ closeSync,
+ existsSync,
+ ftruncateSync,
+ linkSync,
+ openSync,
+ readFileSync,
+ realpathSync,
+ renameSync,
+ rmSync,
+ statSync,
+ writeSync,
+} from 'node:fs'
import { dirname, isAbsolute, relative } from 'node:path'
import { contentHash } from './container'
@@ -190,20 +202,8 @@ export function cleanUp(targets: CleanupTarget[]): CleanupResult {
maps.set(canonicalMap, new Set())
}
maps.get(canonicalMap)!.add(target.mapFingerprint)
- if (!existsSync(target.sourcePath)) {
- warnings.push(`Skipping cleanup for ${target.sourcePath}: the file no longer exists.`)
- skippedMaps.add(canonicalMap)
- continue
- }
- const content = decodeUtf8(readFileSync(target.sourcePath))
- if (contentHash(content) !== target.sourceFingerprint) {
- warnings.push(`Skipping cleanup for ${target.sourcePath}: the file changed since it was uploaded.`)
+ if (!stripVerifiedSource(target, warnings)) {
skippedMaps.add(canonicalMap)
- continue
- }
- const range = target.kind === 'js' ? jsReferenceRange(content) : cssRemovalRange(content)
- if (range) {
- writeFileSync(target.sourcePath, content.slice(0, range[0]) + content.slice(range[1]))
}
}
const deletedMaps: string[] = []
@@ -212,21 +212,103 @@ export function cleanUp(targets: CleanupTarget[]): CleanupResult {
warnings.push(`Skipping sourcemap deletion for ${path}: a source referencing it was skipped.`)
continue
}
- if (!existsSync(path)) {
- continue
+ if (deleteVerifiedMap(path, fingerprints, warnings)) {
+ deletedMaps.push(path)
}
- let current: string
+ }
+ return { deletedMaps, warnings }
+}
+
+const isMissing = (error: unknown): boolean => (error as NodeJS.ErrnoException).code === 'ENOENT'
+
+// A source that needs no change is only read, so it needs no write access. A bundler can replace
+// a file while hog cleans up (write new, rename over the path), so the write goes through a handle
+// that is verified again, and a replacement is never overwritten with old bytes.
+function stripVerifiedSource(target: CleanupTarget, warnings: string[]): boolean {
+ const verified = (read: () => Buffer): string | undefined => {
+ let content: string
try {
- current = contentHash(serializeMapContent(loadMapContent(decodeUtf8(readFileSync(path)))))
- } catch {
- current = ''
+ content = decodeUtf8(read())
+ } catch (error) {
+ if (!isMissing(error)) {
+ throw error
+ }
+ warnings.push(`Skipping cleanup for ${target.sourcePath}: the file no longer exists.`)
+ return undefined
}
- if (!fingerprints.has(current)) {
- warnings.push(`Skipping sourcemap deletion for ${path}: the map changed since it was uploaded.`)
- continue
+ if (contentHash(content) !== target.sourceFingerprint) {
+ warnings.push(`Skipping cleanup for ${target.sourcePath}: the file changed since it was uploaded.`)
+ return undefined
}
- rmSync(path)
- deletedMaps.push(path)
+ return content
}
- return { deletedMaps, warnings }
+ const content = verified(() => readFileSync(target.sourcePath))
+ if (content === undefined) {
+ return false
+ }
+ const range = target.kind === 'js' ? jsReferenceRange(content) : cssRemovalRange(content)
+ if (!range) {
+ return true
+ }
+ let descriptor: number
+ try {
+ descriptor = openSync(target.sourcePath, 'r+')
+ } catch (error) {
+ if (!isMissing(error)) {
+ throw error
+ }
+ warnings.push(`Skipping cleanup for ${target.sourcePath}: the file no longer exists.`)
+ return false
+ }
+ try {
+ if (verified(() => readFileSync(descriptor)) === undefined) {
+ return false
+ }
+ ftruncateSync(descriptor, 0)
+ const stripped = Buffer.from(content.slice(0, range[0]) + content.slice(range[1]))
+ // writeSync can write fewer bytes than asked, so it runs until every byte is written.
+ for (let written = 0; written < stripped.length; ) {
+ written += writeSync(descriptor, stripped, written, stripped.length - written, written)
+ }
+ return true
+ } finally {
+ closeSync(descriptor)
+ }
+}
+
+// The map is renamed aside before it is verified, so the check and the removal see the same file,
+// and a map the bundler writes to the path in between stays.
+function deleteVerifiedMap(path: string, fingerprints: Set<string>, warnings: string[]): boolean {
+ const staged = `${path}.${process.pid}.posthog-delete`
+ try {
+ renameSync(path, staged)
+ } catch (error) {
+ if (isMissing(error)) {
+ return false
+ }
+ throw error
+ }
+ let current: string
+ try {
+ current = contentHash(serializeMapContent(loadMapContent(decodeUtf8(readFileSync(staged)))))
+ } catch {
+ current = ''
+ }
+ if (fingerprints.has(current)) {
+ rmSync(staged)
+ return true
+ }
+ warnings.push(`Skipping sourcemap deletion for ${path}: the map changed since it was uploaded.`)
+ // A link fails when a newer map already sits at the path. That map wins.
+ try {
+ linkSync(staged, path)
+ } catch (error) {
+ if ((error as NodeJS.ErrnoException).code !== 'EEXIST') {
+ renameSync(staged, path)
+ return false
+ }
+ warnings.push(`A newer sourcemap appeared at ${path}. Discarding the displaced copy.`)
+ }
+ rmSync(staged)
+ return false
}
diff --git a/hog/src/error-tracking/discover.ts b/hog/src/error-tracking/discover.ts
index 67bc86666325..a202fccb34e2 100644
--- a/hog/src/error-tracking/discover.ts
+++ b/hog/src/error-tracking/discover.ts
@@ -106,9 +106,16 @@ function detect(
// Sorted, so runs on different machines visit files in the same order. Symlinks are skipped, as
// in posthog-cli, so a link can't make hog rewrite files outside the folder. A dSYM bundle is one
-// artifact, so the walk doesn't look inside it.
+// artifact, so the walk doesn't look inside it. A folder that can't be read is skipped, as in
+// posthog-cli, which drops the walk errors.
function walk(folder: string, out: { files: string[]; bundles: string[] }): void {
- for (const entry of readdirSync(folder, { withFileTypes: true }).sort((a, b) => (a.name < b.name ? -1 : 1))) {
+ let entries
+ try {
+ entries = readdirSync(folder, { withFileTypes: true })
+ } catch {
+ return
+ }
+ for (const entry of entries.sort((a, b) => (a.name < b.name ? -1 : 1))) {
if (entry.name === 'node_modules' || entry.name === '.git') {
continue
}
diff --git a/hog/src/error-tracking/js-flow.ts b/hog/src/error-tracking/js-flow.ts
index 1505f06d02d1..54998fb63631 100644
--- a/hog/src/error-tracking/js-flow.ts
+++ b/hog/src/error-tracking/js-flow.ts
@@ -1,5 +1,15 @@
import { randomUUID } from 'node:crypto'
-import { accessSync, chmodSync, constants, realpathSync, renameSync, rmSync, statSync, writeFileSync } from 'node:fs'
+import {
+ accessSync,
+ chmodSync,
+ constants,
+ readFileSync,
+ realpathSync,
+ renameSync,
+ rmSync,
+ statSync,
+ writeFileSync,
+} from 'node:fs'
import { HogError } from '@/core/errors'
import type { Env } from '@/core/runtime'
@@ -91,28 +101,35 @@ export function savePairs(pairs: SourcePair[], serialize: (pair: SourcePair) =>
// Writes every file next to its target first, then renames them all into place. A full disk or a
// read-only target then fails before any target changes, instead of leaving a bundle injected
-// while its map keeps the old offsets, which a rerun can't repair.
+// while its map keeps the old offsets, which a rerun can't repair. A rename can still fail, for
+// example on a file another Windows process holds open, so the files already replaced get their
+// old contents back.
function replaceFiles(files: [string, string][]): void {
- const staged: [string, string][] = []
+ const staged: { temporary: string; target: string; original: Buffer }[] = []
+ let renamed = 0
try {
for (const [path, contents] of files) {
const target = realpathSync(path)
// A rename would replace a read-only file, where posthog-cli's write fails.
accessSync(target, constants.W_OK)
const temporary = `${target}.${randomUUID()}.tmp`
- staged.push([temporary, target])
+ staged.push({ temporary, target, original: readFileSync(target) })
writeFileSync(temporary, contents, { flag: 'wx' })
chmodSync(temporary, statSync(target).mode & 0o7777)
}
+ for (const { temporary, target } of staged) {
+ renameSync(temporary, target)
+ renamed++
+ }
} catch (error) {
- for (const [temporary] of staged) {
+ for (const { target, original } of staged.slice(0, renamed)) {
+ writeFileSync(target, original)
+ }
+ for (const { temporary } of staged.slice(renamed)) {
rmSync(temporary, { force: true })
}
throw error
}
- for (const [temporary, target] of staged) {
- renameSync(temporary, target)
- }
}
export interface PreparedPairs {
diff --git a/hog/src/error-tracking/native/object.ts b/hog/src/error-tracking/native/object.ts
index b53888c04afe..b0a8a8934e1b 100644
--- a/hog/src/error-tracking/native/object.ts
+++ b/hog/src/error-tracking/native/object.ts
@@ -154,6 +154,17 @@ export function fatArches(source: Source, options: { fat64?: boolean } = {}): Fa
// symbolic `Archive::parse(..).objects()`: throws where symbolic returns an error, and returns
// one object per fat slice.
export function openArchive(source: Source, options: { fat64?: boolean } = {}): NativeObject[] {
+ return archiveObjects(source, options).map((object) => {
+ if (object instanceof DwarfError) {
+ throw object
+ }
+ return object
+ })
+}
+
+// Like `openArchive`, but a fat slice that can't be parsed is a `DwarfError` in its place, as
+// symbolic's iterator yields it, so the other slices stay usable.
+export function archiveObjects(source: Source, options: { fat64?: boolean } = {}): (NativeObject | DwarfError)[] {
const head = source.read(0, 8)
if (head.length >= 4 && head[0] === 0x7f && head[1] === 0x45 && head[2] === 0x4c && head[3] === 0x46) {
return [new ElfObject(source)]
@@ -169,9 +180,16 @@ export function openArchive(source: Source, options: { fat64?: boolean } = {}):
if (arches) {
return arches.map((arch) => {
if (arch.offset + arch.size > source.size) {
- throw new DwarfError('fat arch out of bounds')
+ return new DwarfError('fat arch out of bounds')
+ }
+ try {
+ return new MachObject(new SubSource(source, arch.offset, arch.size))
+ } catch (error) {
+ if (error instanceof DwarfError) {
+ return error
+ }
+ throw error
}
- return new MachObject(new SubSource(source, arch.offset, arch.size))
})
}
throw new DwarfError('unsupported object file format')
diff --git a/hog/src/error-tracking/native/package.ts b/hog/src/error-tracking/native/package.ts
index 82d2bcdb32dd..5fc46c5ad18d 100644
--- a/hog/src/error-tracking/native/package.ts
+++ b/hog/src/error-tracking/native/package.ts
@@ -3,10 +3,11 @@ import { join } from 'node:path'
import { SymbolDataType, writeSymbolData } from '../container'
import { MAX_FILE_SIZE, type SymbolSetUpload } from '../upload'
-import { BufferSource, fatArches, openArchive, type NativeObject } from './object'
+import { DwarfError } from './bytes'
+import { archiveObjects, BufferSource, fatArches, openArchive, type NativeObject } from './object'
import { ZipWriter } from './zip'
-export type NativeProblem = 'no_debug_info' | 'no_build_id' | 'missing_uuid' | 'compressed_dwarf'
+export type NativeProblem = 'no_debug_info' | 'no_build_id' | 'missing_uuid' | 'compressed_dwarf' | 'unparseable_slice'
export interface NativeFile {
path: string
@@ -49,7 +50,11 @@ const isLoadable = (object: NativeObject): boolean =>
export function nativeCandidates(path: string): NativeCandidate[] {
const bytes = readFileSync(path)
const candidates: NativeCandidate[] = []
- for (const object of openArchive(new BufferSource(bytes))) {
+ for (const object of archiveObjects(new BufferSource(bytes))) {
+ if (object instanceof DwarfError) {
+ candidates.push({ path, problem: 'unparseable_slice' })
+ continue
+ }
if (!isLoadable(object)) {
continue
}
diff --git a/hog/src/error-tracking/native/zip.ts b/hog/src/error-tracking/native/zip.ts
index 4c4d26947886..2f865440ea3e 100644
--- a/hog/src/error-tracking/native/zip.ts
+++ b/hog/src/error-tracking/native/zip.ts
@@ -26,7 +26,7 @@ const CRC_TABLE = (() => {
return table
})()
-function crc32(bytes: Uint8Array): number {
+export function crc32(bytes: Uint8Array): number {
let crc = 0xffffffff
for (const byte of bytes) {
crc = CRC_TABLE[(crc ^ byte) & 0xff]! ^ (crc >>> 8)
diff --git a/hog/src/error-tracking/plist.ts b/hog/src/error-tracking/plist.ts
new file mode 100644
index 000000000000..9506cffd7bdf
--- /dev/null
+++ b/hog/src/error-tracking/plist.ts
@@ -0,0 +1,314 @@
+import { readFileSync } from 'node:fs'
+
+import { HogError } from '@/core/errors'
+import type { Env } from '@/core/runtime'
+
+import type { ReleaseFields } from './release'
+
+// `--info-plist`: posthog-cli's utils/xcode.rs. The release name, version and build come from an
+// iOS Info.plist, XML or binary, where the flags leave them unset.
+
+type PlistValue = string | { other: true } | Map<string, PlistValue>
+
+const OTHER = { other: true } as const
+
+class PlistError extends Error {}
+
+const ENTITIES: Record<string, string> = { amp: '&', lt: '<', gt: '>', quot: '"', apos: "'" }
+
+function unescapeXml(text: string): string {
+ return text.replace(/&(#x[0-9a-f]+|#\d+|[a-z]+);/gi, (entity, name: string) => {
+ if (name.startsWith('#x') || name.startsWith('#X')) {
+ return String.fromCodePoint(Number.parseInt(name.slice(2), 16))
+ }
+ if (name.startsWith('#')) {
+ return String.fromCodePoint(Number.parseInt(name.slice(1), 10))
+ }
+ const value = ENTITIES[name]
+ if (value === undefined) {
+ throw new PlistError(`unknown entity ${entity}`)
+ }
+ return value
+ })
+}
+
+class XmlReader {
+ private index = 0
+
+ constructor(private readonly text: string) {}
+
+ // Skips whitespace, comments, the XML declaration and the doctype between elements.
+ private skip(): void {
+ for (;;) {
+ while (/\s/.test(this.text[this.index] ?? '')) {
+ this.index++
+ }
+ const delimiter = this.text.startsWith('<!--', this.index)
+ ? '-->'
+ : this.text.startsWith('<?', this.index)
+ ? '?>'
+ : this.text.startsWith('<!DOCTYPE', this.index)
+ ? '>'
+ : undefined
+ if (delimiter === undefined) {
+ return
+ }
+ const end = this.text.indexOf(delimiter, this.index)
+ if (end < 0) {
+ throw new PlistError('unterminated markup')
+ }
+ this.index = end + delimiter.length
+ }
+ }
+
+ private tag(): { name: string; closing: boolean; empty: boolean } {
+ this.skip()
+ if (this.text[this.index] !== '<') {
+ throw new PlistError(`expected an element at offset ${this.index}`)
+ }
+ const end = this.text.indexOf('>', this.index)
+ if (end < 0) {
+ throw new PlistError('unterminated element')
+ }
+ const inner = this.text.slice(this.index + 1, end)
+ this.index = end + 1
+ const closing = inner.startsWith('/')
+ const empty = inner.endsWith('/')
+ const name = inner.replace(/^\//, '').replace(/\/$/, '').trim().split(/\s/)[0] ?? ''
+ return { name, closing, empty }
+ }
+
+ private content(name: string): string {
+ let out = ''
+ for (;;) {
+ if (this.text.startsWith('<![CDATA[', this.index)) {
+ const end = this.text.indexOf(']]>', this.index)
+ if (end < 0) {
+ throw new PlistError('unterminated CDATA')
+ }
+ out += this.text.slice(this.index + 9, end)
+ this.index = end + 3
+ continue
+ }
+ if (this.text.startsWith('<!--', this.index)) {
+ const end = this.text.indexOf('-->', this.index)
+ if (end < 0) {
+ throw new PlistError('unterminated comment')
+ }
+ this.index = end + 3
+ continue
+ }
+ const next = this.text.indexOf('<', this.index)
+ if (next < 0) {
+ throw new PlistError(`unterminated <${name}>`)
+ }
+ out += unescapeXml(this.text.slice(this.index, next))
+ this.index = next
+ if (!this.text.startsWith('<![CDATA[', next) && !this.text.startsWith('<!--', next)) {
+ const close = this.tag()
+ if (!close.closing || close.name !== name) {
+ throw new PlistError(`expected </${name}>`)
+ }
+ return out
+ }
+ }
+ }
+
+ value(open = this.tag()): PlistValue {
+ if (open.closing) {
+ throw new PlistError(`unexpected </${open.name}>`)
+ }
+ switch (open.name) {
+ case 'string':
+ return open.empty ? '' : this.content('string')
+ case 'dict': {
+ const dict = new Map<string, PlistValue>()
+ if (open.empty) {
+ return dict
+ }
+ for (;;) {
+ const key = this.tag()
+ if (key.closing && key.name === 'dict') {
+ return dict
+ }
+ if (key.name !== 'key') {
+ throw new PlistError(`expected <key>, got <${key.name}>`)
+ }
+ const name = key.empty ? '' : this.content('key')
+ dict.set(name, this.value())
+ }
+ }
+ case 'array': {
+ if (open.empty) {
+ return OTHER
+ }
+ for (;;) {
+ const item = this.tag()
+ if (item.closing && item.name === 'array') {
+ return OTHER
+ }
+ this.value(item)
+ }
+ }
+ case 'true':
+ case 'false':
+ if (!open.empty) {
+ this.content(open.name)
+ }
+ return OTHER
+ case 'integer':
+ case 'real':
+ case 'date':
+ case 'data':
+ if (!open.empty) {
+ this.content(open.name)
+ }
+ return OTHER
+ default:
+ throw new PlistError(`unknown element <${open.name}>`)
+ }
+ }
+
+ document(): PlistValue {
+ const first = this.tag()
+ if (first.name !== 'plist') {
+ return this.value(first)
+ }
+ const value = this.value()
+ const close = this.tag()
+ if (!close.closing || close.name !== 'plist') {
+ throw new PlistError('expected </plist>')
+ }
+ return value
+ }
+}
+
+// The binary format: a trailer of sizes and offsets, an offset table, and tagged objects.
+function readBinary(bytes: Buffer): PlistValue {
+ if (bytes.length < 40) {
+ throw new PlistError('binary plist too short')
+ }
+ const trailer = bytes.length - 32
+ const offsetSize = bytes[trailer + 6]!
+ const refSize = bytes[trailer + 7]!
+ const count = Number(bytes.readBigUInt64BE(trailer + 8))
+ const top = Number(bytes.readBigUInt64BE(trailer + 16))
+ const table = Number(bytes.readBigUInt64BE(trailer + 24))
+ if (offsetSize < 1 || offsetSize > 8 || refSize < 1 || refSize > 8 || table + count * offsetSize > trailer) {
+ throw new PlistError('invalid binary plist trailer')
+ }
+ const uint = (at: number, size: number): number => {
+ if (at + size > bytes.length) {
+ throw new PlistError('binary plist offset out of bounds')
+ }
+ let value = 0
+ for (let index = 0; index < size; index++) {
+ value = value * 256 + bytes[at + index]!
+ }
+ return value
+ }
+ const visiting = new Set<number>()
+ const object = (ref: number): PlistValue => {
+ if (ref >= count || visiting.has(ref)) {
+ throw new PlistError('invalid binary plist reference')
+ }
+ let at = uint(table + ref * offsetSize, offsetSize)
+ const marker = bytes[at]
+ if (marker === undefined) {
+ throw new PlistError('binary plist offset out of bounds')
+ }
+ at++
+ const kind = marker >> 4
+ let length = marker & 0xf
+ if (length === 0xf && [0x4, 0x5, 0x6, 0xa, 0xd].includes(kind)) {
+ const intMarker = bytes[at]
+ if (intMarker === undefined || intMarker >> 4 !== 0x1) {
+ throw new PlistError('invalid binary plist length')
+ }
+ const size = 1 << (intMarker & 0xf)
+ length = uint(at + 1, size)
+ at += 1 + size
+ }
+ switch (kind) {
+ case 0x5:
+ if (at + length > bytes.length) {
+ throw new PlistError('binary plist string out of bounds')
+ }
+ return bytes.toString('latin1', at, at + length)
+ case 0x6: {
+ if (at + length * 2 > bytes.length) {
+ throw new PlistError('binary plist string out of bounds')
+ }
+ const swapped = Buffer.from(bytes.subarray(at, at + length * 2))
+ swapped.swap16()
+ return swapped.toString('utf16le')
+ }
+ case 0xd: {
+ visiting.add(ref)
+ const dict = new Map<string, PlistValue>()
+ for (let index = 0; index < length; index++) {
+ const key = object(uint(at + index * refSize, refSize))
+ if (typeof key !== 'string') {
+ throw new PlistError('binary plist dictionary key is not a string')
+ }
+ dict.set(key, object(uint(at + (length + index) * refSize, refSize)))
+ }
+ visiting.delete(ref)
+ return dict
+ }
+ default:
+ return OTHER
+ }
+ }
+ return object(top)
+}
+
+export function readInfoPlist(path: string): Map<string, PlistValue> {
+ let bytes: Buffer
+ try {
+ bytes = readFileSync(path)
+ } catch {
+ throw new HogError('info_plist_not_found', `Info.plist not found at ${path}`, 'Check the --info-plist path.')
+ }
+ let value: PlistValue
+ try {
+ value =
+ bytes.subarray(0, 8).toString('latin1') === 'bplist00'
+ ? readBinary(bytes)
+ : new XmlReader(bytes.toString('utf8')).document()
+ } catch (error) {
+ throw new HogError('invalid_info_plist', `Failed to parse Info.plist: ${(error as Error).message}`)
+ }
+ if (!(value instanceof Map)) {
+ throw new HogError('invalid_info_plist', 'Info.plist is not a dictionary')
+ }
+ return value
+}
+
+// An empty value, or one that still holds an Xcode `$(...)` or `${...}` reference, is unset.
+function literal(value: string | undefined): string | undefined {
+ return value && !value.includes('$(') && !value.includes('${') ? value : undefined
+}
+
+// A value that is exactly one build setting reference, like `$(MARKETING_VERSION)`, reads that
+// setting from the environment, as it is during an Xcode build phase.
+function resolveSetting(value: string | undefined, env: Env): string | undefined {
+ if (value === undefined) {
+ return undefined
+ }
+ const reference = /^\$\(([A-Za-z0-9_]+)\)$/.exec(value) ?? /^\$\{([A-Za-z0-9_]+)\}$/.exec(value)
+ return reference ? literal(env[reference[1]!]) : literal(value)
+}
+
+export function plistRelease(path: string, env: Env): ReleaseFields {
+ const dict = readInfoPlist(path)
+ const string = (key: string): string | undefined => {
+ const value = dict.get(key)
+ return typeof value === 'string' ? value : undefined
+ }
+ return {
+ name: resolveSetting(string('CFBundleIdentifier'), env) ?? literal(env.PRODUCT_BUNDLE_IDENTIFIER),
+ version: resolveSetting(string('CFBundleShortVersionString'), env) ?? literal(env.MARKETING_VERSION),
+ build: resolveSetting(string('CFBundleVersion'), env) ?? literal(env.CURRENT_PROJECT_VERSION),
+ }
+}
diff --git a/hog/src/error-tracking/run.ts b/hog/src/error-tracking/run.ts
index dbea4818e623..7e06ddafe58a 100644
--- a/hog/src/error-tracking/run.ts
+++ b/hog/src/error-tracking/run.ts
@@ -42,6 +42,7 @@ import {
type NativeProblem,
} from './native/package'
import { sourceStep } from './native/sources'
+import { plistRelease } from './plist'
import { fetchOrCreateRelease, resolveRelease, type Release, type ReleaseFields } from './release'
import { SymbolSetClient, type SymbolSetUpload, type UploadStatus } from './upload'
@@ -49,6 +50,7 @@ export interface ErrorTrackingOptions {
kind?: ArtifactKind
mapId?: string
release: ReleaseFields
+ infoPlist?: string
releaseMode: ReleaseMode
publicPathPrefix?: string
force: boolean
@@ -112,12 +114,14 @@ export async function select(ctx: Context, paths: string[], options: ErrorTracki
return { artifacts: discover(roots, cwd, { publicPathPrefix: options.publicPathPrefix }), roots, cwd }
}
+// The flags first, then --info-plist, then posthog.json.
export async function releaseFields(ctx: Context, options: ErrorTrackingOptions): Promise<ReleaseFields> {
const configured = (await ctx.config())?.config.errorTracking?.release
+ const plist = options.infoPlist ? plistRelease(resolve(ctx.runtime.cwd(), options.infoPlist), ctx.runtime.env) : {}
return {
- name: options.release.name ?? configured?.name,
- version: options.release.version ?? configured?.version,
- build: options.release.build,
+ name: options.release.name ?? plist.name ?? configured?.name,
+ version: options.release.version ?? plist.version ?? configured?.version,
+ build: options.release.build ?? plist.build,
}
}
@@ -692,6 +696,7 @@ const NATIVE_PROBLEMS: Record<NativeProblem, string> = {
missing_uuid: "it has no LC_UUID, so crashes can't be matched to it. Link without `-no_uuid`.",
compressed_dwarf:
"its DWARF is compressed (`__zdebug` sections), which PostHog can't read yet. Go needs `-ldflags=-compressdwarf=false` on macOS.",
+ unparseable_slice: "one of its architectures can't be parsed, so hog skips that architecture.",
}
// A path the DWARF names can reach the source folder through a symlink, or the folder can be one,
diff --git a/hog/src/error-tracking/symbols.ts b/hog/src/error-tracking/symbols.ts
new file mode 100644
index 000000000000..e4efef21c69d
--- /dev/null
+++ b/hog/src/error-tracking/symbols.ts
@@ -0,0 +1,360 @@
+import { mkdirSync, writeFileSync } from 'node:fs'
+import { dirname, isAbsolute, join, relative, resolve } from 'node:path'
+import { inflateRawSync, zstdDecompressSync } from 'node:zlib'
+
+import { HogError } from '@/core/errors'
+
+import { SymbolDataType } from './container'
+import { decodeUtf8 } from './json'
+import { crc32 } from './native/zip'
+import { ApiFailure, type SymbolSetClient } from './upload'
+
+const MAGIC = Buffer.from('posthog_error_tracking', 'latin1')
+// Uploads are at most 100 MB compressed. These caps stop a crafted symbol set from inflating
+// until the process runs out of memory.
+const MAX_PAYLOAD_BYTES = 2 * 1024 * 1024 * 1024
+const MAX_ARCHIVE_BYTES = 2 * 1024 * 1024 * 1024
+const DOWNLOAD_TIMEOUT_MS = 10 * 60 * 1000
+
+export type ExtractedKind = 'sourcemap' | 'hermes' | 'proguard' | 'elf' | 'dsym'
+
+export interface ExtractReport {
+ kind: ExtractedKind
+ output: string
+ files: string[]
+}
+
+// Rust's `Path` splits on `\` too on Windows.
+const pathParts = (path: string, platform: NodeJS.Platform): string[] =>
+ path.split(platform === 'win32' ? /[\\/]/ : '/')
+
+// `derive_base_name`: the last path component, without the extension the extracted files get back.
+// posthog-cli checks for `.` and `..` before it strips the extension, so `...dSYM` becomes `..`
+// there. hog checks after too, so the files never land above the output folder.
+export function deriveBaseName(reference: string, platform: NodeJS.Platform = process.platform): string {
+ const parts = pathParts(reference, platform).filter((part) => part !== '' && part !== '.')
+ let name = parts.length === 0 ? reference : parts[parts.length - 1]!
+ if (name === '..' || name === '.') {
+ name = 'symbol_set'
+ }
+ for (const suffix of ['.js.map', '.hbc.map', '.map', '.js', '.txt', '.dSYM']) {
+ if (name.endsWith(suffix)) {
+ name = name.slice(0, -suffix.length)
+ break
+ }
+ }
+ return name === '' || name === '.' || name === '..' ? 'symbol_set' : name
+}
+
+class SymbolDataError extends Error {
+ constructor(
+ message: string,
+ readonly wrongType?: number
+ ) {
+ super(message)
+ }
+}
+
+// posthog-symbol-data's `read_symbol_data` for one expected type: the header, then the type, then
+// the payload, which decides whether this type fits.
+function readPayload(data: Buffer, expected: SymbolDataType): Buffer {
+ if (data.length < MAGIC.length + 4) {
+ throw new SymbolDataError(`Data too short, expected ${MAGIC.length + 4}, got ${data.length}`)
+ }
+ if (!data.subarray(0, MAGIC.length).equals(MAGIC)) {
+ throw new SymbolDataError('Invalid magic')
+ }
+ const version = data.readUInt32LE(MAGIC.length)
+ if (version !== 1 && version !== 2) {
+ throw new SymbolDataError(`Wrong version: ${version}, expected 2`)
+ }
+ const headerLength = MAGIC.length + (version === 1 ? 8 : 9)
+ if (data.length < headerLength) {
+ throw new SymbolDataError(`Data too short, expected ${headerLength}, got ${data.length}`)
+ }
+ const type = data.readUInt32LE(MAGIC.length + 4)
+ if (type !== expected) {
+ throw new SymbolDataError(`Invalid data type ${type}`, type)
+ }
+ const body = data.subarray(headerLength)
+ if (version === 1) {
+ return body
+ }
+ const compression = data[headerLength - 1]
+ if (compression === 0) {
+ return body
+ }
+ if (compression !== 1) {
+ throw new SymbolDataError(`Unknown compression ${compression}`)
+ }
+ try {
+ return zstdDecompressSync(body, { maxOutputLength: MAX_PAYLOAD_BYTES })
+ } catch (error) {
+ throw new SymbolDataError(`The payload doesn't decompress: ${(error as Error).message}`)
+ }
+}
+
+function sourceAndMap(payload: Buffer): { source: Buffer; map: Buffer } {
+ const read = (at: number): { bytes: Buffer; end: number } => {
+ if (at + 8 > payload.length) {
+ throw new SymbolDataError('Truncated payload')
+ }
+ const length = payload.readBigUInt64LE(at)
+ const end = BigInt(at + 8) + length
+ if (end > BigInt(payload.length)) {
+ throw new SymbolDataError('Truncated payload')
+ }
+ return { bytes: payload.subarray(at + 8, Number(end)), end: Number(end) }
+ }
+ const source = read(0)
+ const map = read(source.end)
+ if (map.end !== payload.length) {
+ throw new SymbolDataError('Trailing bytes in payload')
+ }
+ decodeUtf8(source.bytes)
+ decodeUtf8(map.bytes)
+ return { source: source.bytes, map: map.bytes }
+}
+
+interface ZipEntry {
+ name: string
+ data: Buffer
+}
+
+function readZip(zip: Buffer): ZipEntry[] {
+ const unreadable = (why: string): HogError =>
+ new HogError('invalid_symbol_set', `The symbol set's zip archive is unreadable: ${why}.`)
+ const end = zip.lastIndexOf(Buffer.from([0x50, 0x4b, 0x05, 0x06]))
+ if (end < 0 || end + 22 > zip.length) {
+ throw unreadable('no end of central directory')
+ }
+ const count = zip.readUInt16LE(end + 10)
+ let offset = zip.readUInt32LE(end + 16)
+ let total = 0
+ const entries: ZipEntry[] = []
+ for (let index = 0; index < count; index++) {
+ if (offset + 46 > zip.length || zip.readUInt32LE(offset) !== 0x02014b50) {
+ throw unreadable('a central directory entry is out of bounds')
+ }
+ const method = zip.readUInt16LE(offset + 10)
+ const crc = zip.readUInt32LE(offset + 16)
+ const compressedSize = zip.readUInt32LE(offset + 20)
+ const size = zip.readUInt32LE(offset + 24)
+ const nameLength = zip.readUInt16LE(offset + 28)
+ const extraLength = zip.readUInt16LE(offset + 30)
+ const commentLength = zip.readUInt16LE(offset + 32)
+ const local = zip.readUInt32LE(offset + 42)
+ const name = zip.subarray(offset + 46, offset + 46 + nameLength).toString('utf8')
+ if (local + 30 > zip.length) {
+ throw unreadable(`${name} is out of bounds`)
+ }
+ const dataStart = local + 30 + zip.readUInt16LE(local + 26) + zip.readUInt16LE(local + 28)
+ if (dataStart + compressedSize > zip.length) {
+ throw unreadable(`${name} is out of bounds`)
+ }
+ if (method !== 0 && method !== 8) {
+ throw new HogError(
+ 'invalid_symbol_set',
+ `The symbol set's zip uses compression method ${method}, which hog can't read.`
+ )
+ }
+ total += size
+ if (total > MAX_ARCHIVE_BYTES) {
+ throw unreadable('it unpacks to more than 2 GiB')
+ }
+ const raw = zip.subarray(dataStart, dataStart + compressedSize)
+ let data: Buffer
+ try {
+ data = method === 8 ? inflateRawSync(raw, { maxOutputLength: Math.max(1, size) }) : raw
+ } catch (error) {
+ throw unreadable(`${name} doesn't decompress: ${(error as Error).message}`)
+ }
+ if (data.length !== size || crc32(data) !== crc) {
+ throw unreadable(`${name} doesn't match its recorded size and checksum`)
+ }
+ entries.push({ name, data })
+ offset += 46 + nameLength + extraLength + commentLength
+ }
+ return entries
+}
+
+// `extract_dsym_zip`: entries go under `{output}/{base}/`, keeping only normal path components so
+// an entry can't escape the folder.
+function extractZip(zip: Buffer, baseName: string, output: string, cwd: string): string[] {
+ const folder = join(output, baseName)
+ const root = resolve(cwd, folder)
+ mkdirSync(root, { recursive: true })
+ const written: string[] = []
+ for (const entry of readZip(zip)) {
+ const parts = pathParts(entry.name, process.platform).filter(
+ (part) =>
+ part !== '' &&
+ part !== '.' &&
+ part !== '..' &&
+ !(process.platform === 'win32' && /^[a-z]:$/i.test(part))
+ )
+ if (parts.length === 0) {
+ continue
+ }
+ const path = join(folder, ...parts)
+ const within = relative(root, resolve(cwd, path))
+ if (within.startsWith('..') || isAbsolute(within)) {
+ throw new HogError(
+ 'invalid_symbol_set',
+ `The symbol set's zip has an entry outside its folder: ${entry.name}`
+ )
+ }
+ mkdirSync(dirname(resolve(cwd, path)), { recursive: true })
+ writeFileSync(resolve(cwd, path), entry.data)
+ written.push(path)
+ }
+ return written
+}
+
+// `extract_symbol_data`: tries each type in posthog-cli's order. A container whose payload fails
+// to decode falls through to the next type, as in posthog-cli.
+// Paths in the report are as the caller gave them. Files are written relative to `cwd`.
+export function extractSymbolSet(bytes: Uint8Array, baseName: string, output: string, cwd: string): ExtractReport {
+ const data = Buffer.from(bytes.buffer, bytes.byteOffset, bytes.byteLength)
+ mkdirSync(resolve(cwd, output), { recursive: true })
+ const write = (path: string, data: Uint8Array): void => writeFileSync(resolve(cwd, path), data)
+ // A container of a known type whose payload fails to decode: posthog-cli reports it as an
+ // unknown type, which sends people after the wrong cause.
+ let decodeError: { type: number; message: string } | undefined
+ const attempt = <T>(read: () => T, type: SymbolDataType): T | undefined => {
+ try {
+ return read()
+ } catch (error) {
+ if (!(error instanceof SymbolDataError && error.wrongType !== undefined)) {
+ decodeError ??= { type, message: (error as Error).message }
+ }
+ return undefined
+ }
+ }
+ const pair = attempt(
+ () => sourceAndMap(readPayload(data, SymbolDataType.SourceAndMap)),
+ SymbolDataType.SourceAndMap
+ )
+ if (pair) {
+ const files = [join(output, `${baseName}.js`), join(output, `${baseName}.js.map`)]
+ write(files[0]!, pair.source)
+ write(files[1]!, pair.map)
+ return { kind: 'sourcemap', output, files }
+ }
+ const single = (type: SymbolDataType, extension: string, kind: ExtractedKind): ExtractReport | undefined => {
+ const payload = attempt(() => {
+ const read = readPayload(data, type)
+ decodeUtf8(read)
+ return read
+ }, type)
+ if (!payload) {
+ return undefined
+ }
+ const file = join(output, `${baseName}${extension}`)
+ write(file, payload)
+ return { kind, output, files: [file] }
+ }
+ const text =
+ single(SymbolDataType.HermesMap, '.hbc.map', 'hermes') ??
+ single(SymbolDataType.ProguardMapping, '.txt', 'proguard')
+ if (text) {
+ return text
+ }
+ const elf = attempt(() => readPayload(data, SymbolDataType.ElfDebugInfo), SymbolDataType.ElfDebugInfo)
+ if (elf) {
+ return { kind: 'elf', output: join(output, baseName), files: extractZip(elf, baseName, output, cwd) }
+ }
+ let dsym: Buffer
+ try {
+ dsym = readPayload(data, SymbolDataType.AppleDsym)
+ } catch (error) {
+ if (error instanceof SymbolDataError && error.wrongType !== undefined) {
+ if (decodeError?.type === error.wrongType) {
+ throw new HogError(
+ 'invalid_symbol_set',
+ `The symbol set is a ${SymbolDataType[decodeError.type]} whose payload hog couldn't read: ${decodeError.message}`
+ )
+ }
+ throw new HogError('unknown_symbol_set', `Unknown symbol data type: ${error.wrongType}`)
+ }
+ throw new HogError('invalid_symbol_set', `hog couldn't read the symbol set: ${(error as Error).message}`)
+ }
+ return { kind: 'dsym', output: join(output, baseName), files: extractZip(dsym, baseName, output, cwd) }
+}
+
+// `urlencoding::encode`: everything except A-Z, a-z, 0-9 and `-._~` is percent-encoded.
+function encodeComponent(text: string): string {
+ return [...Buffer.from(text, 'utf8')]
+ .map((byte) =>
+ /[A-Za-z0-9\-._~]/.test(String.fromCharCode(byte)) && byte < 0x80
+ ? String.fromCharCode(byte)
+ : `%${byte.toString(16).toUpperCase().padStart(2, '0')}`
+ )
+ .join('')
+}
+
+const UUID = /^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$/i
+
+export const isSymbolSetId = (text: string): boolean => UUID.test(text)
+
+// Turns the answers people can act on into errors with a next step. Others keep their message.
+async function lookup(request: () => Promise<unknown>, notFound?: string): Promise<unknown> {
+ try {
+ return await request()
+ } catch (error) {
+ if (error instanceof ApiFailure && (error.status === 401 || error.status === 403)) {
+ throw new HogError(
+ 'access_denied',
+ `PostHog answered ${error.status} to the symbol set lookup.`,
+ 'Check that the personal API key has the error_tracking:read scope and access to this project.'
+ )
+ }
+ if (notFound && error instanceof ApiFailure && error.status === 404) {
+ throw new HogError('symbol_set_not_found', notFound, 'Check the ID, or pass --ref to look it up as a ref.')
+ }
+ throw error
+ }
+}
+
+export async function resolveRef(client: SymbolSetClient, reference: string): Promise<string> {
+ const found = (await lookup(() =>
+ client.api('GET', `error_tracking/symbol_sets/?ref=${encodeComponent(reference)}&limit=1`)
+ )) as {
+ results?: { id?: string }[]
+ }
+ const id = found?.results?.[0]?.id
+ if (!id) {
+ throw new HogError(
+ 'symbol_set_not_found',
+ `No symbol set has the ref ${reference}.`,
+ 'Check the ref, or pass the symbol set ID.'
+ )
+ }
+ return id
+}
+
+export async function downloadSymbolSet(
+ client: SymbolSetClient,
+ id: string,
+ fetcher: typeof fetch
+): Promise<Uint8Array> {
+ if (!isSymbolSetId(id)) {
+ throw new HogError('invalid_symbol_set_id', `${id} isn't a symbol set ID.`, 'Symbol set IDs are UUIDs.')
+ }
+ const { url } = (await lookup(
+ () => client.api('GET', `error_tracking/symbol_sets/${id}/download/`),
+ `No symbol set has the ID ${id}.`
+ )) as { url: string }
+ try {
+ const response = await fetcher(url, { signal: AbortSignal.timeout(DOWNLOAD_TIMEOUT_MS) })
+ if (!response.ok) {
+ throw new HogError('download_failed', `The symbol set download failed with status ${response.status}.`)
+ }
+ return new Uint8Array(await response.arrayBuffer())
+ } catch (error) {
+ if (error instanceof HogError) {
+ throw error
+ }
+ throw new HogError('download_failed', `The symbol set download failed: ${(error as Error).message}`)
+ }
+}
diff --git a/hog/src/error-tracking/upload.ts b/hog/src/error-tracking/upload.ts
index 43e940fa716b..f822c657b536 100644
--- a/hog/src/error-tracking/upload.ts
+++ b/hog/src/error-tracking/upload.ts
@@ -440,14 +440,24 @@ function startFailure(error: unknown): Error {
return new HogError('upload_failed', `PostHog didn't start the upload: ${describe(error)}`)
}
+// Like posthog-cli's thread pool: after the first failure no new item starts, and the call returns
+// that failure once the items in flight are done.
async function runWithConcurrency<T>(items: T[], limit: number, work: (item: T) => Promise<void>): Promise<void> {
let next = 0
+ let failure: { error: unknown } | undefined
const workers = Array.from({ length: Math.min(limit, items.length) }, async () => {
- while (next < items.length) {
- await work(items[next++]!)
+ while (failure === undefined && next < items.length) {
+ try {
+ await work(items[next++]!)
+ } catch (error) {
+ failure ??= { error }
+ }
}
})
await Promise.all(workers)
+ if (failure !== undefined) {
+ throw failure.error
+ }
}
export { ApiFailure }
diff --git a/hog/test/parity/README.md b/hog/test/parity/README.md
index 89a842e0ed19..e3904b2da9a0 100644
--- a/hog/test/parity/README.md
+++ b/hog/test/parity/README.md
@@ -29,6 +29,10 @@ Native scenarios compare `hog error-tracking upload` with `posthog-cli symbol-se
The fixtures cover a fat dSYM, loose Mach-O DWARF files, files without debug info or a build ID, and two files that share a build ID.
The `--include-source` scenarios put `native/src/` back in that folder first with the `setup` hook, and one scenario leaves it empty to cover sources that can't be read.
+The `release`, `extract` and `download` scenarios compare requests and the files each CLI writes. The fake server stores symbol sets for download, built with hog's writers, which the upload scenarios already hold to posthog-cli's bytes.
+
+`real/` holds real Xcode, Rust and React Native output from getsentry/symbolic's test fixtures, with their MIT license. The `real-` scenarios run uploads, `--include-source`, `inject` and `clone` on them.
+
Hermes scenarios run the React Native steps in order with `before`: inject the Metro bundle, clone into the composed map, then upload.
The files in `hermes-fixtures.ts` are hand-written, with the Metro and Hermes keys, odd numbers and escapes that the serializer has to reproduce.
@@ -41,6 +45,9 @@ The files in `hermes-fixtures.ts` are hand-written, with the Metro and Hermes ke
- the order of `symbol_sets` in request bodies, which follows posthog-cli's unsorted folder walk
- the order of object-storage uploads within one batch, which run in parallel
- random UUIDv7 chunk IDs in files, for scenarios marked `randomIds`
+
+A golden lists only the files a run created, changed or deleted. Files over 2 KB are stored as their SHA-512, so goldens stay small and still catch every changed byte. A scenario that another one starts from sets `fullSnapshot` to keep whole files.
+
- the multipart boundary
- the user agent: hog sends `hog/<version>`, posthog-cli sends `posthog-cli`
diff --git a/hog/test/parity/fake-server.ts b/hog/test/parity/fake-server.ts
index b92f44bea6e9..d9af70e257f8 100644
--- a/hog/test/parity/fake-server.ts
+++ b/hog/test/parity/fake-server.ts
@@ -20,6 +20,8 @@ export interface FakeServer {
url: string
requests: RecordedRequest[]
seed(entries: { chunkId: string; contentHash: string; releaseId?: string | null }[]): void
+ // Stored symbol sets that the download endpoints serve.
+ store(objects: StoredObject[]): void
stop(): void
}
@@ -33,6 +35,12 @@ function uuid5(name: string): string {
return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`
}
+export interface StoredObject {
+ id: string
+ ref: string
+ data: Uint8Array
+}
+
interface StoredSymbolSet {
id: string
hash: string | null
@@ -45,6 +53,7 @@ export function startFakeServer(scenario: Scenario): FakeServer {
const requests: RecordedRequest[] = []
const symbolSets = new Map<string, StoredSymbolSet>()
const releases = new Map<string, unknown>()
+ const objects: StoredObject[] = []
let startCalls = 0
const json = (status: number, body: unknown): Response =>
@@ -55,7 +64,7 @@ export function startFakeServer(scenario: Scenario): FakeServer {
const server = Bun.serve({
port: 0,
hostname: '127.0.0.1',
- async fetch(request) {
+ async fetch(request): Promise<Response> {
const url = new URL(request.url)
const headers: Record<string, string> = {}
for (const name of RECORDED_HEADERS) {
@@ -76,6 +85,14 @@ export function startFakeServer(scenario: Scenario): FakeServer {
return response
}
+ if (url.pathname.startsWith('/s3/get/')) {
+ const object = objects.find((candidate) => url.pathname === `/s3/get/${candidate.id}`)
+ return respond(
+ object
+ ? new Response(Buffer.from(object.data))
+ : new Response('<Error>NoSuchKey</Error>', { status: 404 })
+ )
+ }
if (url.pathname.startsWith('/s3/')) {
return respond(await storeObject(request, url, entry))
}
@@ -111,6 +128,19 @@ export function startFakeServer(scenario: Scenario): FakeServer {
releases.set(parsed.hash_id, release)
return respond(json(201, release))
}
+ if (/^\/api\/projects\/\d+\/error_tracking\/symbol_sets$/.test(path) && request.method === 'GET') {
+ const found = objects.filter((object) => object.ref === url.searchParams.get('ref'))
+ return respond(
+ json(200, { results: found.slice(0, 1).map((object) => ({ id: object.id, ref: object.ref })) })
+ )
+ }
+ if ((match = path.match(/^\/api\/projects\/\d+\/error_tracking\/symbol_sets\/([^/]+)\/download$/))) {
+ const id = match[1]
+ const object = objects.find((candidate) => candidate.id === id)
+ return respond(
+ object ? json(200, { url: `${base}/s3/get/${object.id}` }) : json(404, { detail: 'Not found.' })
+ )
+ }
if (path.endsWith('/symbol_sets/bulk_check_upload')) {
if (scenario === 'check-403') {
return respond(
@@ -210,6 +240,9 @@ export function startFakeServer(scenario: Scenario): FakeServer {
})
}
},
+ store(stored) {
+ objects.push(...stored)
+ },
stop: () => server.stop(true),
}
}
diff --git a/hog/test/parity/golden/e2e/download-by-id.json b/hog/test/parity/golden/e2e/download-by-id.json
new file mode 100644
index 000000000000..3e1880498787
--- /dev/null
+++ b/hog/test/parity/golden/e2e/download-by-id.json
@@ -0,0 +1,26 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/symbol_sets/0192f0a0-0000-7000-8000-00000000000b/download/",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 200
+ },
+ {
+ "method": "GET",
+ "path": "/s3/get/0192f0a0-0000-7000-8000-00000000000b",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "status": 200
+ }
+ ],
+ "files": {
+ "out/0192f0a0-0000-7000-8000-00000000000b/__source/main.c": "utf8:int main;\n",
+ "out/0192f0a0-0000-7000-8000-00000000000b/dwarf": "utf8:mach-o bytes"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/download-by-ref.json b/hog/test/parity/golden/e2e/download-by-ref.json
new file mode 100644
index 000000000000..0c43d43fc4d6
--- /dev/null
+++ b/hog/test/parity/golden/e2e/download-by-ref.json
@@ -0,0 +1,35 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/symbol_sets/?ref=static%2Fchunks%2Fapp.js.map&limit=1",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 200
+ },
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/symbol_sets/0192f0a0-0000-7000-8000-00000000000a/download/",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 200
+ },
+ {
+ "method": "GET",
+ "path": "/s3/get/0192f0a0-0000-7000-8000-00000000000a",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "status": 200
+ }
+ ],
+ "files": {
+ "out/app.js": "utf8:a();\n//# chunkId=x",
+ "out/app.js.map": "utf8:{\"version\":3,\"sources\":[\"a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/download-dsym-by-ref.json b/hog/test/parity/golden/e2e/download-dsym-by-ref.json
new file mode 100644
index 000000000000..eb358c922ae5
--- /dev/null
+++ b/hog/test/parity/golden/e2e/download-dsym-by-ref.json
@@ -0,0 +1,35 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/symbol_sets/?ref=Shop.dSYM&limit=1",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 200
+ },
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/symbol_sets/0192f0a0-0000-7000-8000-00000000000b/download/",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 200
+ },
+ {
+ "method": "GET",
+ "path": "/s3/get/0192f0a0-0000-7000-8000-00000000000b",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "status": 200
+ }
+ ],
+ "files": {
+ "out/Shop/__source/main.c": "utf8:int main;\n",
+ "out/Shop/dwarf": "utf8:mach-o bytes"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/download-unknown-ref.json b/hog/test/parity/golden/e2e/download-unknown-ref.json
new file mode 100644
index 000000000000..f72464b49281
--- /dev/null
+++ b/hog/test/parity/golden/e2e/download-unknown-ref.json
@@ -0,0 +1,15 @@
+{
+ "exitCode": 1,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/symbol_sets/?ref=missing.js.map&limit=1",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 200
+ }
+ ],
+ "files": {}
+}
diff --git a/hog/test/parity/golden/e2e/download-uuid-shaped-ref.json b/hog/test/parity/golden/e2e/download-uuid-shaped-ref.json
new file mode 100644
index 000000000000..2af224364bdd
--- /dev/null
+++ b/hog/test/parity/golden/e2e/download-uuid-shaped-ref.json
@@ -0,0 +1,35 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/symbol_sets/?ref=3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15&limit=1",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 200
+ },
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/symbol_sets/0192f0a0-0000-7000-8000-00000000000c/download/",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 200
+ },
+ {
+ "method": "GET",
+ "path": "/s3/get/0192f0a0-0000-7000-8000-00000000000c",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "status": 200
+ }
+ ],
+ "files": {
+ "out/3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15.js": "utf8:a();\n//# chunkId=x",
+ "out/3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15.js.map": "utf8:{\"version\":3,\"sources\":[\"a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/extract-Shop-dSYM.json b/hog/test/parity/golden/e2e/extract-Shop-dSYM.json
new file mode 100644
index 000000000000..f9265b3b2b1d
--- /dev/null
+++ b/hog/test/parity/golden/e2e/extract-Shop-dSYM.json
@@ -0,0 +1,8 @@
+{
+ "exitCode": 0,
+ "requests": [],
+ "files": {
+ "out/Shop/__source/main.c": "utf8:int main;\n",
+ "out/Shop/dwarf": "utf8:mach-o bytes"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/extract-app-js-map-bin.json b/hog/test/parity/golden/e2e/extract-app-js-map-bin.json
new file mode 100644
index 000000000000..273f4d5f0a34
--- /dev/null
+++ b/hog/test/parity/golden/e2e/extract-app-js-map-bin.json
@@ -0,0 +1,8 @@
+{
+ "exitCode": 0,
+ "requests": [],
+ "files": {
+ "out/app.js.map.bin.js": "utf8:a();\n//# chunkId=x",
+ "out/app.js.map.bin.js.map": "utf8:{\"version\":3,\"sources\":[\"a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/extract-bad-magic-bin.json b/hog/test/parity/golden/e2e/extract-bad-magic-bin.json
new file mode 100644
index 000000000000..bff0fef36aa9
--- /dev/null
+++ b/hog/test/parity/golden/e2e/extract-bad-magic-bin.json
@@ -0,0 +1,5 @@
+{
+ "exitCode": 1,
+ "requests": [],
+ "files": {}
+}
diff --git a/hog/test/parity/golden/e2e/extract-index-hbc-map-bin.json b/hog/test/parity/golden/e2e/extract-index-hbc-map-bin.json
new file mode 100644
index 000000000000..a15665968657
--- /dev/null
+++ b/hog/test/parity/golden/e2e/extract-index-hbc-map-bin.json
@@ -0,0 +1,7 @@
+{
+ "exitCode": 0,
+ "requests": [],
+ "files": {
+ "out/index.hbc.map.bin.hbc.map": "utf8:{\"chunk_id\":\"x\",\"x_hermes_function_offsets\":{}}"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/extract-legacy-bin.json b/hog/test/parity/golden/e2e/extract-legacy-bin.json
new file mode 100644
index 000000000000..3a6bcefc5fac
--- /dev/null
+++ b/hog/test/parity/golden/e2e/extract-legacy-bin.json
@@ -0,0 +1,7 @@
+{
+ "exitCode": 0,
+ "requests": [],
+ "files": {
+ "out/legacy.bin.txt": "utf8:# compiler: R8\n# compiler_version: 8.2.47\ncom.example.app.MainActivity -> com.example.app.MainActivity:\n 1:1:void <init>():12:12 -> <init>\n 1:4:void onCreate(android.os.Bundle):16:19 -> onCreate\ncom.example.app.Model -> a.a:\n java.lang.String name -> a\n 1:1:java.lang.String getName():8:8 -> a\n"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/extract-libbadge-bin.json b/hog/test/parity/golden/e2e/extract-libbadge-bin.json
new file mode 100644
index 000000000000..eb5e41ca090c
--- /dev/null
+++ b/hog/test/parity/golden/e2e/extract-libbadge-bin.json
@@ -0,0 +1,10 @@
+{
+ "exitCode": 0,
+ "requests": [],
+ "files": {
+ "out/libbadge.bin/__source/badge.c": "utf8:int badge;\n",
+ "out/libbadge.bin/__source/escape.c": "utf8:nope",
+ "out/libbadge.bin/__source/manifest.json": "utf8:{}",
+ "out/libbadge.bin/dwarf": "utf8:elf bytes"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/extract-mapping-txt-bin.json b/hog/test/parity/golden/e2e/extract-mapping-txt-bin.json
new file mode 100644
index 000000000000..cb1c1343e18d
--- /dev/null
+++ b/hog/test/parity/golden/e2e/extract-mapping-txt-bin.json
@@ -0,0 +1,7 @@
+{
+ "exitCode": 0,
+ "requests": [],
+ "files": {
+ "out/mapping.txt.bin.txt": "utf8:# compiler: R8\n# compiler_version: 8.2.47\ncom.example.app.MainActivity -> com.example.app.MainActivity:\n 1:1:void <init>():12:12 -> <init>\n 1:4:void onCreate(android.os.Bundle):16:19 -> onCreate\ncom.example.app.Model -> a.a:\n java.lang.String name -> a\n 1:1:java.lang.String getName():8:8 -> a\n"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/extract-short-bin.json b/hog/test/parity/golden/e2e/extract-short-bin.json
new file mode 100644
index 000000000000..bff0fef36aa9
--- /dev/null
+++ b/hog/test/parity/golden/e2e/extract-short-bin.json
@@ -0,0 +1,5 @@
+{
+ "exitCode": 1,
+ "requests": [],
+ "files": {}
+}
diff --git a/hog/test/parity/golden/e2e/extract-unknown-type-bin.json b/hog/test/parity/golden/e2e/extract-unknown-type-bin.json
new file mode 100644
index 000000000000..bff0fef36aa9
--- /dev/null
+++ b/hog/test/parity/golden/e2e/extract-unknown-type-bin.json
@@ -0,0 +1,5 @@
+{
+ "exitCode": 1,
+ "requests": [],
+ "files": {}
+}
diff --git a/hog/test/parity/golden/e2e/hermes-clone-debug-id.json b/hog/test/parity/golden/e2e/hermes-clone-debug-id.json
index 91a8d75c7e01..6f2d95f1bbc1 100644
--- a/hog/test/parity/golden/e2e/hermes-clone-debug-id.json
+++ b/hog/test/parity/golden/e2e/hermes-clone-debug-id.json
@@ -2,7 +2,6 @@
"exitCode": 0,
"requests": [],
"files": {
- "ios/hbc/main.jsbundle.hbc.composed.map": "utf8:{\"chunk_id\":\"c96bfa94-ca84-4f98-8d5e-f15adba692ca\",\"mappings\":\"AAAA,SACA,cAAAC\",\"names\":[\"App\",\"<global>\"],\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"version\":3,\"x_facebook_sources\":[[{\"mappings\":\"AAA,CCC\",\"names\":[\"<global>\",\"App\"]}],null],\"x_google_ignoreList\":[1],\"x_hermes_function_offsets\":{\"0\":[0,28],\"1\":[0]},\"x_unicode\":\"😀 </script> \\\"q\\\" \\\\ \\t\"}",
- "ios/main.jsbundle.map": "utf8:{\"version\": 3, \"sources\": [\"src/App.js\", \"node_modules/react-native/Libraries/polyfill.js\"], \"sourcesContent\": [\"function App() {\\n return \\\"h\\u00e9llo\\\";\\n}\\nApp();\\n\", null], \"x_facebook_sources\": [[{\"names\": [\"<global>\", \"App\"], \"mappings\": \"AAA,CCC\"}], null], \"names\": [\"App\"], \"mappings\": \"AACA;AAAA,SAAUA\", \"x_google_ignoreList\": [1], \"debugId\": \"c96bfa94-ca84-4f98-8d5e-f15adba692ca\"}"
+ "ios/hbc/main.jsbundle.hbc.composed.map": "utf8:{\"chunk_id\":\"c96bfa94-ca84-4f98-8d5e-f15adba692ca\",\"mappings\":\"AAAA,SACA,cAAAC\",\"names\":[\"App\",\"<global>\"],\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"version\":3,\"x_facebook_sources\":[[{\"mappings\":\"AAA,CCC\",\"names\":[\"<global>\",\"App\"]}],null],\"x_google_ignoreList\":[1],\"x_hermes_function_offsets\":{\"0\":[0,28],\"1\":[0]},\"x_unicode\":\"😀 </script> \\\"q\\\" \\\\ \\t\"}"
}
}
diff --git a/hog/test/parity/golden/e2e/hermes-inject-symbol-set.json b/hog/test/parity/golden/e2e/hermes-inject-symbol-set.json
index 36fe4d38587f..18400206f2e0 100644
--- a/hog/test/parity/golden/e2e/hermes-inject-symbol-set.json
+++ b/hog/test/parity/golden/e2e/hermes-inject-symbol-set.json
@@ -22,11 +22,11 @@
}
],
"files": {
- "android/index.android.bundle": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18083-5d59-7422-9e10-c88db2b0a3e7\")}catch(e){}}();var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now();\nfunction App(){return \"héllo\"}App();\n//# sourceMappingURL=index.android.bundle.map\n//# chunkId=01a18083-5d59-7422-9e10-c88db2b0a3e7",
- "android/index.android.bundle.map": "utf8:{\"release_id\":\"3fd4c79f-4dd7-53b7-b5f3-e51dce5a9e80\",\"chunk_id\":\"01a18083-5d59-7422-9e10-c88db2b0a3e7\",\"mappings\":\"qTACA;AAAA,SAAUA\",\"names\":[\"App\"],\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"version\":3,\"x_facebook_sources\":[[{\"mappings\":\"AAA,CCC\",\"names\":[\"<global>\",\"App\"]}],null],\"x_google_ignoreList\":[1],\"x_test\":{\"a\":\"
/é\\u0001\",\"b\":1.0,\"big\":1.8446744073709552e19,\"n\":-0.0,\"z\":1e21}}",
- "ios/main.jsbundle": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18083-5d59-7422-9e10-c87d3c63afef\")}catch(e){}}();var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now();\nfunction App(){return \"héllo\"}App();\n//# sourceMappingURL=main.jsbundle.map\n//# debugId=C96BFA94CA844F988D5EF15ADBA692CA\n//# chunkId=01a18083-5d59-7422-9e10-c87d3c63afef",
- "ios/main.jsbundle.map": "utf8:{\"release_id\":\"3fd4c79f-4dd7-53b7-b5f3-e51dce5a9e80\",\"chunk_id\":\"01a18083-5d59-7422-9e10-c87d3c63afef\",\"debugId\":\"c96bfa94-ca84-4f98-8d5e-f15adba692ca\",\"debug_id\":\"c96bfa94-ca84-4f98-8d5e-f15adba692ca\",\"mappings\":\"qTACA;AAAA,SAAUA\",\"names\":[\"App\"],\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"version\":3,\"x_facebook_sources\":[[{\"mappings\":\"AAA,CCC\",\"names\":[\"<global>\",\"App\"]}],null],\"x_google_ignoreList\":[1]}",
- "short/x.bundle": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18083-5d59-7422-9e10-c86c6376d8bd\")}catch(e){}}();a\n\n//# chunkId=01a18083-5d59-7422-9e10-c86c6376d8bd",
- "short/x.bundle.map": "utf8:{\"release_id\":\"3fd4c79f-4dd7-53b7-b5f3-e51dce5a9e80\",\"chunk_id\":\"01a18083-5d59-7422-9e10-c86c6376d8bd\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"s.js\"],\"version\":3}"
+ "android/index.android.bundle": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"<v7-1>\")}catch(e){}}();var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now();\nfunction App(){return \"héllo\"}App();\n//# sourceMappingURL=index.android.bundle.map\n//# chunkId=<v7-1>",
+ "android/index.android.bundle.map": "utf8:{\"release_id\":\"3fd4c79f-4dd7-53b7-b5f3-e51dce5a9e80\",\"chunk_id\":\"<v7-1>\",\"mappings\":\"qTACA;AAAA,SAAUA\",\"names\":[\"App\"],\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"version\":3,\"x_facebook_sources\":[[{\"mappings\":\"AAA,CCC\",\"names\":[\"<global>\",\"App\"]}],null],\"x_google_ignoreList\":[1],\"x_test\":{\"a\":\"
/é\\u0001\",\"b\":1.0,\"big\":1.8446744073709552e19,\"n\":-0.0,\"z\":1e21}}",
+ "ios/main.jsbundle": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"<v7-2>\")}catch(e){}}();var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now();\nfunction App(){return \"héllo\"}App();\n//# sourceMappingURL=main.jsbundle.map\n//# debugId=C96BFA94CA844F988D5EF15ADBA692CA\n//# chunkId=<v7-2>",
+ "ios/main.jsbundle.map": "utf8:{\"release_id\":\"3fd4c79f-4dd7-53b7-b5f3-e51dce5a9e80\",\"chunk_id\":\"<v7-2>\",\"debugId\":\"c96bfa94-ca84-4f98-8d5e-f15adba692ca\",\"debug_id\":\"c96bfa94-ca84-4f98-8d5e-f15adba692ca\",\"mappings\":\"qTACA;AAAA,SAAUA\",\"names\":[\"App\"],\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"version\":3,\"x_facebook_sources\":[[{\"mappings\":\"AAA,CCC\",\"names\":[\"<global>\",\"App\"]}],null],\"x_google_ignoreList\":[1]}",
+ "short/x.bundle": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"<v7-3>\")}catch(e){}}();a\n\n//# chunkId=<v7-3>",
+ "short/x.bundle.map": "utf8:{\"release_id\":\"3fd4c79f-4dd7-53b7-b5f3-e51dce5a9e80\",\"chunk_id\":\"<v7-3>\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"s.js\"],\"version\":3}"
}
}
diff --git a/hog/test/parity/golden/e2e/hermes-real-clone-symbol-set.json b/hog/test/parity/golden/e2e/hermes-real-clone-symbol-set.json
new file mode 100644
index 000000000000..52bc54607cb3
--- /dev/null
+++ b/hog/test/parity/golden/e2e/hermes-real-clone-symbol-set.json
@@ -0,0 +1,29 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/5bc1ff01b0e9ecb77f4ad91c1730de63676cab0a9d97ea60035260aa03a17ef3285528dc929279ba232254dfad7b9aba2726a64018044b4d65060641ab631eee",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"5bc1ff01b0e9ecb77f4ad91c1730de63676cab0a9d97ea60035260aa03a17ef3285528dc929279ba232254dfad7b9aba2726a64018044b4d65060641ab631eee\",\"version\":\"4.0.0\",\"project\":\"com.example.app\"}",
+ "status": 201
+ }
+ ],
+ "files": {
+ "rn/index.android.bundle": "sha512:7a288200bed529fe6441685bdb0299122749177803ffb8a2c453cd65d026022188ba61494a47729875eb593abf017971805bb8a7927055111a2baa7ec05df8f0",
+ "rn/react-native-hermes.map": "sha512:aa6405878079437c3cd45e570014a7ad34fa9e09b1d32797ff58d5f086f09d7cb23b88f330d2d8d34ae936b74c072d299de31b1909cc9291ee405c344e938513",
+ "rn/react-native-metro.js.map": "sha512:dc2eb8eb5ed1419d643ab454ba73f91e820eba8dbc4bfa2f4cf05b21afec7fdcddd31dd3993021de04ae08830c74ee801835aebbb7a8336825df3bd2f27cdb06"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/hermes-real-clone.json b/hog/test/parity/golden/e2e/hermes-real-clone.json
new file mode 100644
index 000000000000..cfa32a592989
--- /dev/null
+++ b/hog/test/parity/golden/e2e/hermes-real-clone.json
@@ -0,0 +1,9 @@
+{
+ "exitCode": 0,
+ "requests": [],
+ "files": {
+ "rn/index.android.bundle": "sha512:7a288200bed529fe6441685bdb0299122749177803ffb8a2c453cd65d026022188ba61494a47729875eb593abf017971805bb8a7927055111a2baa7ec05df8f0",
+ "rn/react-native-hermes.map": "sha512:e8d1df0eec6f7aa2cdb88801cd8616c4c31d244dd7fa5f30ef7b8ece640f66f9340b575a62e27f101296ea71a179211dfde6427ac3ee266ceb887b67a632232b",
+ "rn/react-native-metro.js.map": "sha512:5ba632cd41b16e47e58f08a52a6a52f215ff2a18d68c53eaed2d05529e35ab437efabcb98aed425467b9f3e08368b3b05d2b87220ddbeb916cf8e913b8e64ab2"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/hermes-real-inject-symbol-set.json b/hog/test/parity/golden/e2e/hermes-real-inject-symbol-set.json
new file mode 100644
index 000000000000..71831febf414
--- /dev/null
+++ b/hog/test/parity/golden/e2e/hermes-real-inject-symbol-set.json
@@ -0,0 +1,28 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/5bc1ff01b0e9ecb77f4ad91c1730de63676cab0a9d97ea60035260aa03a17ef3285528dc929279ba232254dfad7b9aba2726a64018044b4d65060641ab631eee",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"5bc1ff01b0e9ecb77f4ad91c1730de63676cab0a9d97ea60035260aa03a17ef3285528dc929279ba232254dfad7b9aba2726a64018044b4d65060641ab631eee\",\"version\":\"4.0.0\",\"project\":\"com.example.app\"}",
+ "status": 201
+ }
+ ],
+ "files": {
+ "rn/index.android.bundle": "sha512:22c6c3d0147ca24bb2146a622cff7013023d1f21fb8454155534afc57eb03ae89fd0e71c3c3d6a099d8eea1e69fa15a273a79a085cfc51f0ab5bd094554d1648",
+ "rn/react-native-metro.js.map": "sha512:09abccad97abe6b1a5293f49b5a50974a5f3ec0f60ef04029b950c22fb907fff1c89093d750a82ada87a0b86b38758b4aa22664899e84b837afd6778bfb4037a"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/hermes-real-inject.json b/hog/test/parity/golden/e2e/hermes-real-inject.json
new file mode 100644
index 000000000000..8470d483e29b
--- /dev/null
+++ b/hog/test/parity/golden/e2e/hermes-real-inject.json
@@ -0,0 +1,8 @@
+{
+ "exitCode": 0,
+ "requests": [],
+ "files": {
+ "rn/index.android.bundle": "sha512:7a288200bed529fe6441685bdb0299122749177803ffb8a2c453cd65d026022188ba61494a47729875eb593abf017971805bb8a7927055111a2baa7ec05df8f0",
+ "rn/react-native-metro.js.map": "sha512:5ba632cd41b16e47e58f08a52a6a52f215ff2a18d68c53eaed2d05529e35ab437efabcb98aed425467b9f3e08368b3b05d2b87220ddbeb916cf8e913b8e64ab2"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/hermes-upload-debug-id.json b/hog/test/parity/golden/e2e/hermes-upload-debug-id.json
index 87eb19aec086..4b3c508853b7 100644
--- a/hog/test/parity/golden/e2e/hermes-upload-debug-id.json
+++ b/hog/test/parity/golden/e2e/hermes-upload-debug-id.json
@@ -64,7 +64,6 @@
}
],
"files": {
- "ios/hbc/main.jsbundle.hbc.composed.map": "utf8:{\"chunk_id\":\"c96bfa94-ca84-4f98-8d5e-f15adba692ca\",\"mappings\":\"AAAA,SACA,cAAAC\",\"names\":[\"App\",\"<global>\"],\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"version\":3,\"x_facebook_sources\":[[{\"mappings\":\"AAA,CCC\",\"names\":[\"<global>\",\"App\"]}],null],\"x_google_ignoreList\":[1],\"x_hermes_function_offsets\":{\"0\":[0,28],\"1\":[0]},\"x_unicode\":\"😀 </script> \\\"q\\\" \\\\ \\t\"}",
- "ios/main.jsbundle.map": "utf8:{\"version\": 3, \"sources\": [\"src/App.js\", \"node_modules/react-native/Libraries/polyfill.js\"], \"sourcesContent\": [\"function App() {\\n return \\\"h\\u00e9llo\\\";\\n}\\nApp();\\n\", null], \"x_facebook_sources\": [[{\"names\": [\"<global>\", \"App\"], \"mappings\": \"AAA,CCC\"}], null], \"names\": [\"App\"], \"mappings\": \"AACA;AAAA,SAAUA\", \"x_google_ignoreList\": [1], \"debugId\": \"c96bfa94-ca84-4f98-8d5e-f15adba692ca\"}"
+ "ios/hbc/main.jsbundle.hbc.composed.map": "utf8:{\"chunk_id\":\"c96bfa94-ca84-4f98-8d5e-f15adba692ca\",\"mappings\":\"AAAA,SACA,cAAAC\",\"names\":[\"App\",\"<global>\"],\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"version\":3,\"x_facebook_sources\":[[{\"mappings\":\"AAA,CCC\",\"names\":[\"<global>\",\"App\"]}],null],\"x_google_ignoreList\":[1],\"x_hermes_function_offsets\":{\"0\":[0,28],\"1\":[0]},\"x_unicode\":\"😀 </script> \\\"q\\\" \\\\ \\t\"}"
}
}
diff --git a/hog/test/parity/golden/e2e/hermes-upload-from-git.json b/hog/test/parity/golden/e2e/hermes-upload-from-git.json
index 4fad90597598..6b5073de1101 100644
--- a/hog/test/parity/golden/e2e/hermes-upload-from-git.json
+++ b/hog/test/parity/golden/e2e/hermes-upload-from-git.json
@@ -64,6 +64,9 @@
}
],
"files": {
+ ".git/HEAD": null,
+ ".git/config": null,
+ ".git/refs/heads/main": null,
"android/hbc/index.android.bundle.hbc.composed.map": "utf8:{\"chunk_id\":\"26ad4cc5-09ee-599e-8a76-35ae37bf8c39\",\"mappings\":\"AAAA,SACA,cAAAC\",\"names\":[\"App\",\"<global>\"],\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"version\":3,\"x_facebook_sources\":[[{\"mappings\":\"AAA,CCC\",\"names\":[\"<global>\",\"App\"]}],null],\"x_google_ignoreList\":[1],\"x_hermes_function_offsets\":{\"0\":[0,28],\"1\":[0]},\"x_unicode\":\"😀 </script> \\\"q\\\" \\\\ \\t\"}",
"android/index.android.bundle": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"26ad4cc5-09ee-599e-8a76-35ae37bf8c39\")}catch(e){}}();var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now();\nfunction App(){return \"héllo\"}App();\n//# sourceMappingURL=index.android.bundle.map\n//# chunkId=26ad4cc5-09ee-599e-8a76-35ae37bf8c39",
"android/index.android.bundle.map": "utf8:{\"chunk_id\":\"26ad4cc5-09ee-599e-8a76-35ae37bf8c39\",\"mappings\":\"qTACA;AAAA,SAAUA\",\"names\":[\"App\"],\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"version\":3,\"x_facebook_sources\":[[{\"mappings\":\"AAA,CCC\",\"names\":[\"<global>\",\"App\"]}],null],\"x_google_ignoreList\":[1],\"x_test\":{\"a\":\"
/é\\u0001\",\"b\":1.0,\"big\":1.8446744073709552e19,\"n\":-0.0,\"z\":1e21}}"
diff --git a/hog/test/parity/golden/e2e/hermes-upload-no-chunk-id.json b/hog/test/parity/golden/e2e/hermes-upload-no-chunk-id.json
index 37a9d53d062a..bff0fef36aa9 100644
--- a/hog/test/parity/golden/e2e/hermes-upload-no-chunk-id.json
+++ b/hog/test/parity/golden/e2e/hermes-upload-no-chunk-id.json
@@ -1,9 +1,5 @@
{
"exitCode": 1,
"requests": [],
- "files": {
- "android/hbc/index.android.bundle.hbc.composed.map": "utf8:{\"version\":3,\"sources\":[\"src/App.js\",\"node_modules/react-native/Libraries/polyfill.js\"],\"sourcesContent\":[\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\",null],\"names\":[\"App\",\"<global>\"],\"mappings\":\"AAAA,SACA,cAAAC\",\"x_facebook_sources\":[[{\"names\":[\"<global>\",\"App\"],\"mappings\":\"AAA,CCC\"}],null],\"x_hermes_function_offsets\":{\"0\":[0,28],\"1\":[0]},\"x_google_ignoreList\":[1],\"release_id\":\"11111111-2222-4333-8444-555555555555\",\"x_unicode\":\"😀 </script> \\\"q\\\" \\\\ \\t\"}\n",
- "android/index.android.bundle": "utf8:var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now();\nfunction App(){return \"héllo\"}App();\n//# sourceMappingURL=index.android.bundle.map",
- "android/index.android.bundle.map": "utf8:{\n \"version\": 3,\n \"sources\": [\"src/App.js\", \"node_modules/react-native/Libraries/polyfill.js\"],\n \"sourcesContent\": [\"function App() {\\n return \\\"héllo\\\";\\n}\\nApp();\\n\", null],\n \"x_facebook_sources\": [[{\"names\": [\"<global>\", \"App\"], \"mappings\": \"AAA,CCC\"}], null],\n \"names\": [\"App\"],\n \"mappings\": \"AACA;AAAA,SAAUA\",\n \"x_google_ignoreList\": [1],\n \"x_test\": {\"b\": 1.0, \"a\": \"
/é\\u0001\\u007f\", \"z\": 1e21, \"n\": -0, \"big\": 18446744073709551616}\n}\n"
- }
+ "files": {}
}
diff --git a/hog/test/parity/golden/e2e/js-inject-bundles.json b/hog/test/parity/golden/e2e/js-inject-bundles.json
index 292e7e3145ce..0fcc7f73380f 100644
--- a/hog/test/parity/golden/e2e/js-inject-bundles.json
+++ b/hog/test/parity/golden/e2e/js-inject-bundles.json
@@ -2,21 +2,21 @@
"exitCode": 0,
"requests": [],
"files": {
+ "esbuild-cjs/index.cjs": "sha512:7b24bfa3dabd68bf2fc8783da2357d9ab69537a40c2b5b38b3645fb7cc17cfe4f62051bc95bbb0d4666529177bb3c8ea2983f59134d1f71aa549c6c3bb0b9b28",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"qTAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"qTAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"qTAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:2530c4d8f240dc5a0b1024b1f701d5487e5e57f833ea97fd81df6d91a7cf9d376ce757eaf9ba446e180084c1e710f813f61aa736f49401937c3d8a8b74902091",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"qTAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"6WAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"oYAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-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AA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:66b9c4a91d5d3809701f3a4a3c7318653109f9e0068c7d4f7ce7fbb909c7579f50eafb9ec1ef0ea25c91463fbdfdd2b0f47027df2616d46008b8d5518073d3e8",
+ "webpack/main.24954514.js.map": "sha512:50cd0b6f0d4c9adc795734926514286d478e56366ce2117e7783097c84ab5d9f74e6dd120d6f12aad45f2ff44dfa6974a9c23b81a8e708da0914b7c2c4bc0da2"
}
}
diff --git a/hog/test/parity/golden/e2e/js-inject-edge-cases.json b/hog/test/parity/golden/e2e/js-inject-edge-cases.json
index a445549b7d17..50ee2388ff40 100644
--- a/hog/test/parity/golden/e2e/js-inject-edge-cases.json
+++ b/hog/test/parity/golden/e2e/js-inject-edge-cases.json
@@ -8,15 +8,13 @@
"cjs/a.cjs.map": "utf8:{\"chunk_id\":\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"crlf/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"f2491f38-1d56-5a08-bc20-a9c1a0787811\")}catch(e){}}();a();\r\nb();\r\n//# sourceMappingURL=a.js.map\r\n\n//# chunkId=f2491f38-1d56-5a08-bc20-a9c1a0787811",
"crlf/a.js.map": "utf8:{\"chunk_id\":\"f2491f38-1d56-5a08-bc20-a9c1a0787811\",\"mappings\":\"qTAAA;AACA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "debugid/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"11111111-2222-4333-8444-555555555555\")}catch(e){}}();a();\n//# debugId=11111111-2222-4333-8444-555555555555\n//# sourceMappingURL=a.js.map\n\n//# chunkId=11111111-2222-4333-8444-555555555555",
- "debugid/a.js.map": "utf8:{\"chunk_id\":\"11111111-2222-4333-8444-555555555555\",\"debugId\":\"11111111-2222-4333-8444-555555555555\",\"debug_id\":\"11111111-2222-4333-8444-555555555555\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"debugid-malformed-source/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b34c85ba-4619-5a69-b07b-0e18491efdaa\")}catch(e){}}();a();\n//# debugId=not-a-uuid\n//# sourceMappingURL=a.js.map\n\n//# chunkId=b34c85ba-4619-5a69-b07b-0e18491efdaa",
"debugid-malformed-source/a.js.map": "utf8:{\"chunk_id\":\"b34c85ba-4619-5a69-b07b-0e18491efdaa\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"debugid-simple/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"1111111122224333844455555555555F\")}catch(e){}}();a();\n//# debugId=1111111122224333844455555555555F\n//# sourceMappingURL=a.js.map\n\n//# chunkId=1111111122224333844455555555555F",
"debugid-simple/a.js.map": "utf8:{\"chunk_id\":\"1111111122224333844455555555555F\",\"mappings\":\"iTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "dotfile/.js": "utf8:a();\n",
- "dotfile/.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "empty-large/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"944858eb-3416-5b63-9533-d33c8260b7bc\")}catch(e){}}();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=944858eb-3416-5b63-9533-d33c8260b7bc",
+ "debugid/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"11111111-2222-4333-8444-555555555555\")}catch(e){}}();a();\n//# debugId=11111111-2222-4333-8444-555555555555\n//# sourceMappingURL=a.js.map\n\n//# chunkId=11111111-2222-4333-8444-555555555555",
+ "debugid/a.js.map": "utf8:{\"chunk_id\":\"11111111-2222-4333-8444-555555555555\",\"debugId\":\"11111111-2222-4333-8444-555555555555\",\"debug_id\":\"11111111-2222-4333-8444-555555555555\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
+ "empty-large/a.js": "sha512:cf19d98ef834e6ab107b4e6fb24ff86c48954da36d9ef2442c375c2c0046d79fe37ee78abca91fa5502084c5dbf65edbe73675e8408360840fd58740fcc626b0",
"empty-large/a.js.map": "utf8:{\"chunk_id\":\"944858eb-3416-5b63-9533-d33c8260b7bc\",\"mappings\":\"\",\"names\":[],\"sources\":[],\"version\":3}",
"empty-small/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15\")}catch(e){}}();a();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15",
"empty-small/a.js.map": "utf8:{\"chunk_id\":\"3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15\",\"mappings\":\"\",\"names\":[],\"sources\":[],\"version\":3}",
@@ -32,25 +30,17 @@
"file-paths/a.js.map": "utf8:{\"chunk_id\":\"dee6105f-fd4f-5a94-8280-3d6c5b8c3808\",\"file\":\"https://cdn.example.com/a/b-X_1.mjs\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"index-map/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"f6c70089-17a8-5804-8f40-88d1de05004d\")}catch(e){}}();a();\nb();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=f6c70089-17a8-5804-8f40-88d1de05004d",
"index-map/a.js.map": "utf8:{\"chunk_id\":\"f6c70089-17a8-5804-8f40-88d1de05004d\",\"file\":\"a.js\",\"mappings\":\"qTAAAA;ECAAA,CCAA\",\"names\":[\"n\"],\"sources\":[\"webpack://one.ts\",\"two.ts\",\"one.ts\"],\"sourcesContent\":[\"one\",null,null],\"version\":3,\"x_custom\":1}",
- "inline/a.js": "utf8:a();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=\n",
- "jsx/a.jsx": "utf8:a();\n",
- "jsx/a.jsx.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "latin1/a.js": "base64:YSgn6ScpOwovLyMgc291cmNlTWFwcGluZ1VSTD1hLmpzLm1hcAo=",
- "latin1/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
"legacy/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"23a25919-c8e3-5062-9ca1-898f72d5632a\")}catch(e){}}();a();\n//@ sourceMappingURL=a.js.map\n\n//# chunkId=23a25919-c8e3-5062-9ca1-898f72d5632a",
"legacy/a.js.map": "utf8:{\"chunk_id\":\"aaaaaaaa-0000-4000-8000-000000000000\",\"mappings\":\"AAAA\",\"names\":[],\"sources\":[\"a\"],\"version\":3}",
"mjs/a.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"12304257-7089-53fd-a46c-6d8506a9025c\")}catch(e){}}();a();\n//# sourceMappingURL=a.mjs.map\n\n//# chunkId=12304257-7089-53fd-a46c-6d8506a9025c",
"mjs/a.mjs.map": "utf8:{\"chunk_id\":\"12304257-7089-53fd-a46c-6d8506a9025c\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"multibyte/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"c833ebd5-8c8a-54d8-b847-ad3fd0466fa4\")}catch(e){}}();var s='é日😀';f();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=c833ebd5-8c8a-54d8-b847-ad3fd0466fa4",
"multibyte/a.js.map": "utf8:{\"chunk_id\":\"c833ebd5-8c8a-54d8-b847-ad3fd0466fa4\",\"mappings\":\"qTAAA,UAAU,QAAQ\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "nomap/a.js": "utf8:a();\n",
"nonl/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"2da66511-eb44-58d8-a251-078984980c67\")}catch(e){}}();a();\nb();\n//# sourceMappingURL=a.js.map\n//# chunkId=2da66511-eb44-58d8-a251-078984980c67",
"nonl/a.js.map": "utf8:{\"chunk_id\":\"2da66511-eb44-58d8-a251-078984980c67\",\"mappings\":\"qTAAA,EAAE;AACA;AACA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"sourcesContent\":[\"x\"],\"version\":3}",
"reference-not-last/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"5d6600e6-8c95-50ca-a844-0bf783ee24de\")}catch(e){}}();a();\n//# sourceMappingURL=a.js.map\nb();\n\n//# chunkId=5d6600e6-8c95-50ca-a844-0bf783ee24de",
"reference-not-last/a.js.map": "utf8:{\"chunk_id\":\"5d6600e6-8c95-50ca-a844-0bf783ee24de\",\"mappings\":\"qTAAA;AACA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"sibling/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\")}catch(e){}}();a();\n\n//# chunkId=0510e957-b1a3-50ed-b158-0a426e8dc1a4",
- "sibling/a.js.map": "utf8:{\"chunk_id\":\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "xssi/a.js": "utf8:a();\n//# sourceMappingURL=a.js.map\n",
- "xssi/a.js.map": "utf8:)]}'\n{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}"
+ "sibling/a.js.map": "utf8:{\"chunk_id\":\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}"
}
}
diff --git a/hog/test/parity/golden/e2e/js-inject-file-root.json b/hog/test/parity/golden/e2e/js-inject-file-root.json
index 381cb3dc2a10..9107271caba6 100644
--- a/hog/test/parity/golden/e2e/js-inject-file-root.json
+++ b/hog/test/parity/golden/e2e/js-inject-file-root.json
@@ -2,21 +2,7 @@
"exitCode": 0,
"requests": [],
"files": {
- "esbuild/chunk-QCGVITVN.js": "utf8:function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n",
- "esbuild/chunk-QCGVITVN.js.map": "utf8:{\n \"version\": 3,\n \"sources\": [\"../../src/reviews.js\"],\n \"sourcesContent\": [\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\n \"mappings\": \"AAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\n \"names\": [\"fetchReviews\", \"productId\"]\n}\n",
- "esbuild/index-DLM2YCDD.js": "utf8:function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n",
- "esbuild/index-DLM2YCDD.js.map": "utf8:{\n \"version\": 3,\n \"sources\": [\"../../src/cart.js\", \"../../src/ui/badge.js\", \"../../src/index.js\"],\n \"sourcesContent\": [\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\", \"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: '\\u00E9\\u65E5\\uD83D\\uDE00' }\\n return JSON.stringify(badge)\\n}\\n\", \"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\n \"mappings\": \"AAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\n \"names\": [\"formatPrice\", \"cents\", \"parseQuantity\", \"value\", \"parsed\", \"renderBadge\", \"label\", \"checkout\", \"items\", \"total\", \"item\", \"parseQuantity\", \"renderBadge\", \"formatPrice\", \"loadReviews\", \"fetchReviews\"]\n}\n",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
- "rollup/index-W25VBdhh.mjs": "utf8:function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"version\":3,\"file\":\"index-W25VBdhh.mjs\",\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"names\":[],\"mappings\":\"AAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC;;;;\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\"}",
- "rollup/reviews-nJfzDM_Q.mjs": "utf8:function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n",
- "rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"version\":3,\"file\":\"reviews-nJfzDM_Q.mjs\",\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"names\":[],\"mappings\":\"AAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D;;;;\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\"}",
- "terser/badge.min.js": "utf8:var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map",
- "terser/badge.min.js.map": "utf8:{\"version\":3,\"file\":\"badge.min.js\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"mappings\":\"wDAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\"}",
- "webpack/213.eef13598.js": "utf8:\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map",
- "webpack/213.eef13598.js.map": "utf8:{\"version\":3,\"file\":\"213.eef13598.js\",\"mappings\":\"+EAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\"}",
- "webpack/main.24954514.js": "utf8:(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map",
- "webpack/main.24954514.js.map": "utf8:{\"version\":3,\"file\":\"main.24954514.js\",\"mappings\":\"uBAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,MCJzCV,EAAAgB,EAAA,GAGAhB,EAAAiB,EAAAC,GACAC,QAAAC,IAAAR,OAAAS,KAAArB,EAAAgB,GAAAM,OAAA,CAAAC,EAAAb,KACAV,EAAAgB,EAAAN,GAAAQ,EAAAK,GACAA,GACE,KCNFvB,EAAAwB,EAAAN,GAEAA,EAAA,eCHAlB,EAAAyB,EAAA,WACA,oBAAAC,W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ACAF,EAAAI,KAAA,iBACAJ,EAAApB,KAAAqB,EACAD,EAAAK,QAAAH,EACAN,EAAA,GAAAI,EACA,GAGA,SAAArE,EAAAA,EAEA,GAeA,IAAA2E,EAAA,CAAAC,EAAAC,KACA,IAGA9F,EAAAiB,GAHA8E,EAAAC,EAAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\"}"
+ "esbuild-cjs/index.cjs": "sha512:7b24bfa3dabd68bf2fc8783da2357d9ab69537a40c2b5b38b3645fb7cc17cfe4f62051bc95bbb0d4666529177bb3c8ea2983f59134d1f71aa549c6c3bb0b9b28",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc"
}
}
diff --git a/hog/test/parity/golden/e2e/js-inject-info-plist.json b/hog/test/parity/golden/e2e/js-inject-info-plist.json
new file mode 100644
index 000000000000..afc17f1695e4
--- /dev/null
+++ b/hog/test/parity/golden/e2e/js-inject-info-plist.json
@@ -0,0 +1,42 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/0839ce1947672e69e338658613c3fdb4644b0a89affaa5617f739bc0617c1da4f08508f59c53a59acabd4877e90e19eeb18fa5b3ae08a5c3d148d6b27e6562d3",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"0839ce1947672e69e338658613c3fdb4644b0a89affaa5617f739bc0617c1da4f08508f59c53a59acabd4877e90e19eeb18fa5b3ae08a5c3d148d6b27e6562d3\",\"version\":\"3.4.0-réc+57\",\"project\":\"com.example.shop\"}",
+ "status": 201
+ }
+ ],
+ "files": {
+ "esbuild-cjs/index.cjs": "sha512:c45599d7d770b088599564c0cda6c4448da0af4f6cc08d3c85daf196ab4663e8350a5413e212c310e9174e5a24c73ef165d8a16bfe394745e36b780ac463b94c",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
+ "esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"1a244b3a-9dd5-5185-9e28-3f582a44dfd7\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
+ "esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
+ "esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"1a244b3a-9dd5-5185-9e28-3f582a44dfd7\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
+ "esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"1a244b3a-9dd5-5185-9e28-3f582a44dfd7\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
+ "rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"1a244b3a-9dd5-5185-9e28-3f582a44dfd7\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
+ "rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
+ "terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"1a244b3a-9dd5-5185-9e28-3f582a44dfd7\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
+ "terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
+ "webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"1a244b3a-9dd5-5185-9e28-3f582a44dfd7\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
+ "webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
+ "webpack/main.24954514.js": "sha512:bcddc542281313c5f643f053d2ac7867b1bbea40b7d37f837084e75baea5169fa8ec1a2a4c736db7a3d3e110248adbc6ccf21237f330a3a0bcfde28b5e460a2a",
+ "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
+ }
+}
diff --git a/hog/test/parity/golden/e2e/js-inject-malformed-map-debug-id.json b/hog/test/parity/golden/e2e/js-inject-malformed-map-debug-id.json
index c8e1cc133cc1..bff0fef36aa9 100644
--- a/hog/test/parity/golden/e2e/js-inject-malformed-map-debug-id.json
+++ b/hog/test/parity/golden/e2e/js-inject-malformed-map-debug-id.json
@@ -1,10 +1,5 @@
{
"exitCode": 1,
"requests": [],
- "files": {
- "bad/a.js": "utf8:a();\n//# sourceMappingURL=a.js.map\n",
- "bad/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\",\"debugId\":\"not-a-uuid\"}",
- "ok/a.js": "utf8:a();\n//# sourceMappingURL=a.js.map\n",
- "ok/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}"
- }
+ "files": {}
}
diff --git a/hog/test/parity/golden/e2e/js-inject-release-change.json b/hog/test/parity/golden/e2e/js-inject-release-change.json
index 948c38ea1606..895518211890 100644
--- a/hog/test/parity/golden/e2e/js-inject-release-change.json
+++ b/hog/test/parity/golden/e2e/js-inject-release-change.json
@@ -22,21 +22,21 @@
}
],
"files": {
+ "esbuild-cjs/index.cjs": "sha512:f7e16bb82e243efd75f385813d0ea97831ecdb51918c6617edb033ca193fcea0044ef023daeee3d5ac92fa5f9a981e51941669f95e3b2442e43c224385f873d6",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"da53b9fa-5ecc-502a-b6da-4219b4324c0d\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"da53b9fa-5ecc-502a-b6da-4219b4324c0d\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"da53b9fa-5ecc-502a-b6da-4219b4324c0d\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"da53b9fa-5ecc-502a-b6da-4219b4324c0d\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"yYAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"da53b9fa-5ecc-502a-b6da-4219b4324c0d\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"da53b9fa-5ecc-502a-b6da-4219b4324c0d\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"da53b9fa-5ecc-502a-b6da-4219b4324c0d\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"da53b9fa-5ecc-502a-b6da-4219b4324c0d\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"gaAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,MCJzCV,EAAAgB,EAAA,GAGAhB,EAAAiB,EAAAC,GACAC,QAAAC,IAAAR,OAAAS,KAAArB,EAAAgB,GAAAM,OAAA,CAAAC,EAAAb,KACAV,EAAAgB,EAAAN,GAAAQ,EAAAK,GACAA,GACE,KCNFvB,EAAAwB,EAAAN,GAEAA,EAAA,eCHAlB,EAAAyB,EAAA,WACA,oBAAAC,WAAA,OAAAA,WACA,IACA,OAAAC,MAAA,IAAAC,SAAA,gBACA,CAAG,MAAAX,GACH,oBAAAY,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,EACA,GAGA,SAAArE,EAAAA,EAEA,GAeA,IAAA2E,EAAA,CAAAC,EAAAC,KACA,IAGA9F,EAAAiB,GAHA8E,EAAAC,EAAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:28675564efbc66e6b99cf648a9ba75d35aa600a3f2394f22d50fe08a5c8d4c277607ea35d0c8b67ab726bfd561f3dcbd73e4d2b756cf35b82cb802893c802656",
+ "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
}
}
diff --git a/hog/test/parity/golden/e2e/js-inject-release-from-git.json b/hog/test/parity/golden/e2e/js-inject-release-from-git.json
index f8fc4c6a7fe1..fa30db1febd0 100644
--- a/hog/test/parity/golden/e2e/js-inject-release-from-git.json
+++ b/hog/test/parity/golden/e2e/js-inject-release-from-git.json
@@ -22,21 +22,24 @@
}
],
"files": {
+ ".git/HEAD": null,
+ ".git/config": null,
+ ".git/refs/heads/main": null,
+ "esbuild-cjs/index.cjs": "sha512:94ad0c2940a8679a99e9be35b95fd1333628a674d138f949895ca33a24fa661891a428591202d6515e352e07740e960861c38e80289cdc1831c57b5b513110e1",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"yYAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"36a34f25-35f2-5a0c-9248-4587b214cebe\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"gaAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IA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EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:1039a51b6dda0ad0192633e7c074229ca46fc284627aeaa10d751311b6af429cb67aa9a2f62b01dc3437e173902dff0550049f99aec0eebae665c16befc430cf",
+ "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
}
}
diff --git a/hog/test/parity/golden/e2e/js-inject-release.json b/hog/test/parity/golden/e2e/js-inject-release.json
index db9dfe9cc71a..49e4c1723eef 100644
--- a/hog/test/parity/golden/e2e/js-inject-release.json
+++ b/hog/test/parity/golden/e2e/js-inject-release.json
@@ -22,21 +22,21 @@
}
],
"files": {
+ "esbuild-cjs/index.cjs": "sha512:5c5a3205d61deba47f5e78da8310b96164d85549f68966c72fbf592446a511488b38ca932310b277754eee314fc91de04b86a57b0347efa16c15f4dde4f3db85",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"yYAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"gaAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,MCJzCV,EAAAgB,EAAA,GAGAhB,EAAAiB,EAAAC,GACAC,QAAAC,IAAAR,OAAAS,KAAArB,EAAAgB,GAAAM,OAAA,CAAAC,EAAAb,KACAV,EAAAgB,EAAAN,GAAAQ,EAAAK,GACAA,GACE,KCNFvB,EAAAwB,EAAAN,GAEAA,EAAA,eCHAlB,EAAAyB,EAAA,W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AAAC,EAAA,IACAF,EAAAI,KAAA,iBACAJ,EAAApB,KAAAqB,EACAD,EAAAK,QAAAH,EACAN,EAAA,GAAAI,EACA,GAGA,SAAArE,EAAAA,EAEA,GAeA,IAAA2E,EAAA,CAAAC,EAAAC,KACA,IAGA9F,EAAAiB,GAHA8E,EAAAC,EAAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:637a70c7e7d9e960c9576bd3851748cd657928836d0c0576cc2aa7e40a9c7ad504c49f69302e04014b712e3272c19784246619824bdeefc11b3dd66a9bec0e3c",
+ "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
}
}
diff --git a/hog/test/parity/golden/e2e/js-inject-symbol-set.json b/hog/test/parity/golden/e2e/js-inject-symbol-set.json
index 23bf856434db..1f69328871c9 100644
--- a/hog/test/parity/golden/e2e/js-inject-symbol-set.json
+++ b/hog/test/parity/golden/e2e/js-inject-symbol-set.json
@@ -22,21 +22,21 @@
}
],
"files": {
- "esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b912854e5ac8\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=01a18076-fac6-7451-9926-b912854e5ac8",
- "esbuild/chunk-QCGVITVN.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b912854e5ac8\",\"mappings\":\"qTAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b909bcc83e83\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=01a18076-fac6-7451-9926-b909bcc83e83",
- "esbuild/index-DLM2YCDD.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b909bcc83e83\",\"mappings\":\"qTAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-96661f92e937\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=01a18076-fac5-7b13-8bc8-96661f92e937",
- "esbuild-cjs/index.cjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96661f92e937\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
- "rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-9641d1b71a02\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=01a18076-fac5-7b13-8bc8-9641d1b71a02",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-9641d1b71a02\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"qTAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-96566ceee837\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=01a18076-fac5-7b13-8bc8-96566ceee837",
- "rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96566ceee837\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"qTAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b92472346456\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=01a18076-fac6-7451-9926-b92472346456",
- "terser/badge.min.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b92472346456\",\"file\":\"badge.min.js\",\"mappings\":\"6WAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
- "webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=01a18076-fac5-7b13-8bc8-963cb54bc5ec",
- "webpack/213.eef13598.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"oYAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=01a18076-fac5-7b13-8bc8-962a8c8c9b13",
- "webpack/main.24954514.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"4UAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,MCJzCV,EAAAgB,EAAA,GAGAhB,EAAAiB,EAAAC,GACAC,QAAAC,IAAAR,OAAAS,KAAArB,EAAAgB,GAAAM,OAAA,CAAAC,EAAAb,KACAV,EAAAgB,EAAAN,GAAAQ,EAAAK,GACAA,GACE,KCNFvB,EA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ACAmC,EAAAG,QAAA,iBAAAxE,EAAA,cAAAsE,EAAA,KAAAC,EAAA,IACAF,EAAAI,KAAA,iBACAJ,EAAApB,KAAAqB,EACAD,EAAAK,QAAAH,EACAN,EAAA,GAAAI,EACA,GAGA,SAAArE,EAAAA,EAEA,GAeA,IAAA2E,EAAA,CAAAC,EAAAC,KACA,IAGA9F,EAAAiB,GAHA8E,EAAAC,EAAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a180d4-21c4-7ec0-9883-dfcd58e1bd89\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=01a180d4-21c4-7ec0-9883-dfcd58e1bd89",
+ "esbuild-cjs/index.cjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfcd58e1bd89\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
+ "esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a180d4-21c4-7ec0-9883-dfe60a6eb3ed\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=01a180d4-21c4-7ec0-9883-dfe60a6eb3ed",
+ "esbuild/chunk-QCGVITVN.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfe60a6eb3ed\",\"mappings\":\"qTAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
+ "esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a180d4-21c4-7ec0-9883-dfdc6d656d5b\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=01a180d4-21c4-7ec0-9883-dfdc6d656d5b",
+ "esbuild/index-DLM2YCDD.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfdc6d656d5b\",\"mappings\":\"qTAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a180d4-21c4-7ec0-9883-dfad1ab523b8\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=01a180d4-21c4-7ec0-9883-dfad1ab523b8",
+ "rollup/index-W25VBdhh.mjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfad1ab523b8\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"qTAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a180d4-21c4-7ec0-9883-dfbc9a3d83e9\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=01a180d4-21c4-7ec0-9883-dfbc9a3d83e9",
+ "rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfbc9a3d83e9\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"qTAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
+ "terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a180d4-21c4-7ec0-9883-dff4510a83f7\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=01a180d4-21c4-7ec0-9883-dff4510a83f7",
+ "terser/badge.min.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dff4510a83f7\",\"file\":\"badge.min.js\",\"mappings\":\"6WAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
+ "webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a180d4-21c4-7ec0-9883-df9a38ba6ae7\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=01a180d4-21c4-7ec0-9883-df9a38ba6ae7",
+ "webpack/213.eef13598.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a180d4-21c4-7ec0-9883-df9a38ba6ae7\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"oYAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
+ "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a180d4-21c3-7ac3-9cb3-a29eeaeff167\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=01a180d4-21c3-7ac3-9cb3-a29eeaeff167",
+ "webpack/main.24954514.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a180d4-21c3-7ac3-9cb3-a29eeaeff167\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"4UAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,MCJzCV,EAAAgB,EAAA,GAGAhB,EAAAiB,EAAAC,GACAC,QAAAC,IAAAR,OAAAS,KAAArB,EAAAgB,GAAAM,OAAA,CAAAC,EAAAb,KACAV,EAAAgB,EAAAN,GAAAQ,EAAAK,GACAA,GACE,KCNFvB,EAAAwB,EAAAN,GAEAA,EAAA,eCHAlB,EAAAyB,EAAA,WACA,oBAAAC,WAAA,OAAAA,WACA,IACA,OAAAC,MAAA,IAAAC,SAAA,gBACA,CAAG,MAAAX,GACH,oBAAAY,OAAA,OAAAA,MACA,CACC,CAPD,GCAA7B,EAAAW,EAAA,CAAAmB,EAAAC,IAAAnB,OAAAoB,UAAAC,eAAAC,KAAAJ,EAAAC,GNAAjC,EAAA,GAGAE,EAAAmC,EAAA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AAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
}
}
diff --git a/hog/test/parity/golden/e2e/js-inject-twice.json b/hog/test/parity/golden/e2e/js-inject-twice.json
index a445549b7d17..50ee2388ff40 100644
--- a/hog/test/parity/golden/e2e/js-inject-twice.json
+++ b/hog/test/parity/golden/e2e/js-inject-twice.json
@@ -8,15 +8,13 @@
"cjs/a.cjs.map": "utf8:{\"chunk_id\":\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"crlf/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"f2491f38-1d56-5a08-bc20-a9c1a0787811\")}catch(e){}}();a();\r\nb();\r\n//# sourceMappingURL=a.js.map\r\n\n//# chunkId=f2491f38-1d56-5a08-bc20-a9c1a0787811",
"crlf/a.js.map": "utf8:{\"chunk_id\":\"f2491f38-1d56-5a08-bc20-a9c1a0787811\",\"mappings\":\"qTAAA;AACA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "debugid/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"11111111-2222-4333-8444-555555555555\")}catch(e){}}();a();\n//# debugId=11111111-2222-4333-8444-555555555555\n//# sourceMappingURL=a.js.map\n\n//# chunkId=11111111-2222-4333-8444-555555555555",
- "debugid/a.js.map": "utf8:{\"chunk_id\":\"11111111-2222-4333-8444-555555555555\",\"debugId\":\"11111111-2222-4333-8444-555555555555\",\"debug_id\":\"11111111-2222-4333-8444-555555555555\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"debugid-malformed-source/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b34c85ba-4619-5a69-b07b-0e18491efdaa\")}catch(e){}}();a();\n//# debugId=not-a-uuid\n//# sourceMappingURL=a.js.map\n\n//# chunkId=b34c85ba-4619-5a69-b07b-0e18491efdaa",
"debugid-malformed-source/a.js.map": "utf8:{\"chunk_id\":\"b34c85ba-4619-5a69-b07b-0e18491efdaa\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"debugid-simple/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"1111111122224333844455555555555F\")}catch(e){}}();a();\n//# debugId=1111111122224333844455555555555F\n//# sourceMappingURL=a.js.map\n\n//# chunkId=1111111122224333844455555555555F",
"debugid-simple/a.js.map": "utf8:{\"chunk_id\":\"1111111122224333844455555555555F\",\"mappings\":\"iTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "dotfile/.js": "utf8:a();\n",
- "dotfile/.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "empty-large/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"944858eb-3416-5b63-9533-d33c8260b7bc\")}catch(e){}}();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=944858eb-3416-5b63-9533-d33c8260b7bc",
+ "debugid/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"11111111-2222-4333-8444-555555555555\")}catch(e){}}();a();\n//# debugId=11111111-2222-4333-8444-555555555555\n//# sourceMappingURL=a.js.map\n\n//# chunkId=11111111-2222-4333-8444-555555555555",
+ "debugid/a.js.map": "utf8:{\"chunk_id\":\"11111111-2222-4333-8444-555555555555\",\"debugId\":\"11111111-2222-4333-8444-555555555555\",\"debug_id\":\"11111111-2222-4333-8444-555555555555\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
+ "empty-large/a.js": "sha512:cf19d98ef834e6ab107b4e6fb24ff86c48954da36d9ef2442c375c2c0046d79fe37ee78abca91fa5502084c5dbf65edbe73675e8408360840fd58740fcc626b0",
"empty-large/a.js.map": "utf8:{\"chunk_id\":\"944858eb-3416-5b63-9533-d33c8260b7bc\",\"mappings\":\"\",\"names\":[],\"sources\":[],\"version\":3}",
"empty-small/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15\")}catch(e){}}();a();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15",
"empty-small/a.js.map": "utf8:{\"chunk_id\":\"3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15\",\"mappings\":\"\",\"names\":[],\"sources\":[],\"version\":3}",
@@ -32,25 +30,17 @@
"file-paths/a.js.map": "utf8:{\"chunk_id\":\"dee6105f-fd4f-5a94-8280-3d6c5b8c3808\",\"file\":\"https://cdn.example.com/a/b-X_1.mjs\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"index-map/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"f6c70089-17a8-5804-8f40-88d1de05004d\")}catch(e){}}();a();\nb();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=f6c70089-17a8-5804-8f40-88d1de05004d",
"index-map/a.js.map": "utf8:{\"chunk_id\":\"f6c70089-17a8-5804-8f40-88d1de05004d\",\"file\":\"a.js\",\"mappings\":\"qTAAAA;ECAAA,CCAA\",\"names\":[\"n\"],\"sources\":[\"webpack://one.ts\",\"two.ts\",\"one.ts\"],\"sourcesContent\":[\"one\",null,null],\"version\":3,\"x_custom\":1}",
- "inline/a.js": "utf8:a();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=\n",
- "jsx/a.jsx": "utf8:a();\n",
- "jsx/a.jsx.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "latin1/a.js": "base64:YSgn6ScpOwovLyMgc291cmNlTWFwcGluZ1VSTD1hLmpzLm1hcAo=",
- "latin1/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
"legacy/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"23a25919-c8e3-5062-9ca1-898f72d5632a\")}catch(e){}}();a();\n//@ sourceMappingURL=a.js.map\n\n//# chunkId=23a25919-c8e3-5062-9ca1-898f72d5632a",
"legacy/a.js.map": "utf8:{\"chunk_id\":\"aaaaaaaa-0000-4000-8000-000000000000\",\"mappings\":\"AAAA\",\"names\":[],\"sources\":[\"a\"],\"version\":3}",
"mjs/a.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"12304257-7089-53fd-a46c-6d8506a9025c\")}catch(e){}}();a();\n//# sourceMappingURL=a.mjs.map\n\n//# chunkId=12304257-7089-53fd-a46c-6d8506a9025c",
"mjs/a.mjs.map": "utf8:{\"chunk_id\":\"12304257-7089-53fd-a46c-6d8506a9025c\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"multibyte/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"c833ebd5-8c8a-54d8-b847-ad3fd0466fa4\")}catch(e){}}();var s='é日😀';f();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=c833ebd5-8c8a-54d8-b847-ad3fd0466fa4",
"multibyte/a.js.map": "utf8:{\"chunk_id\":\"c833ebd5-8c8a-54d8-b847-ad3fd0466fa4\",\"mappings\":\"qTAAA,UAAU,QAAQ\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "nomap/a.js": "utf8:a();\n",
"nonl/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"2da66511-eb44-58d8-a251-078984980c67\")}catch(e){}}();a();\nb();\n//# sourceMappingURL=a.js.map\n//# chunkId=2da66511-eb44-58d8-a251-078984980c67",
"nonl/a.js.map": "utf8:{\"chunk_id\":\"2da66511-eb44-58d8-a251-078984980c67\",\"mappings\":\"qTAAA,EAAE;AACA;AACA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"sourcesContent\":[\"x\"],\"version\":3}",
"reference-not-last/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"5d6600e6-8c95-50ca-a844-0bf783ee24de\")}catch(e){}}();a();\n//# sourceMappingURL=a.js.map\nb();\n\n//# chunkId=5d6600e6-8c95-50ca-a844-0bf783ee24de",
"reference-not-last/a.js.map": "utf8:{\"chunk_id\":\"5d6600e6-8c95-50ca-a844-0bf783ee24de\",\"mappings\":\"qTAAA;AACA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"sibling/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\")}catch(e){}}();a();\n\n//# chunkId=0510e957-b1a3-50ed-b158-0a426e8dc1a4",
- "sibling/a.js.map": "utf8:{\"chunk_id\":\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "xssi/a.js": "utf8:a();\n//# sourceMappingURL=a.js.map\n",
- "xssi/a.js.map": "utf8:)]}'\n{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}"
+ "sibling/a.js.map": "utf8:{\"chunk_id\":\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\",\"mappings\":\"qTAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}"
}
}
diff --git a/hog/test/parity/golden/e2e/js-process-already-present.json b/hog/test/parity/golden/e2e/js-process-already-present.json
index 07fd8b32cf69..3153426cbb21 100644
--- a/hog/test/parity/golden/e2e/js-process-already-present.json
+++ b/hog/test/parity/golden/e2e/js-process-already-present.json
@@ -22,21 +22,21 @@
}
],
"files": {
+ "esbuild-cjs/index.cjs": "sha512:5c5a3205d61deba47f5e78da8310b96164d85549f68966c72fbf592446a511488b38ca932310b277754eee314fc91de04b86a57b0347efa16c15f4dde4f3db85",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"yYAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"gaAAAA,OCCAC,EAAA,GAGA,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A,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:637a70c7e7d9e960c9576bd3851748cd657928836d0c0576cc2aa7e40a9c7ad504c49f69302e04014b712e3272c19784246619824bdeefc11b3dd66a9bec0e3c",
+ "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
}
}
diff --git a/hog/test/parity/golden/e2e/js-process-bundles.json b/hog/test/parity/golden/e2e/js-process-bundles.json
index da4c0027439f..81fa67e0c067 100644
--- a/hog/test/parity/golden/e2e/js-process-bundles.json
+++ b/hog/test/parity/golden/e2e/js-process-bundles.json
@@ -148,21 +148,21 @@
}
],
"files": {
+ "esbuild-cjs/index.cjs": "sha512:5c5a3205d61deba47f5e78da8310b96164d85549f68966c72fbf592446a511488b38ca932310b277754eee314fc91de04b86a57b0347efa16c15f4dde4f3db85",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"yYAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"gaAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,MCJzCV,EAAAgB,EAAA,GAGAhB,EAAAiB,EAAAC,GACAC,QAAAC,IAAAR,OAAAS,KAAArB,EAAAgB,GAAAM,OAAA,CAAAC,EAAAb,KACAV,EAAAgB,EAAAN,GAAAQ,EAAAK,GACAA,GACE,KCNFvB,EAAAwB,EAAAN,GAEAA,E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AAAxE,EAAA,cAAAsE,EAAA,KAAAC,EAAA,IACAF,EAAAI,KAAA,iBACAJ,EAAApB,KAAAqB,EACAD,EAAAK,QAAAH,EACAN,EAAA,GAAAI,EACA,GAGA,SAAArE,EAAAA,EAEA,GAeA,IAAA2E,EAAA,CAAAC,EAAAC,KACA,IAGA9F,EAAAiB,GAHA8E,EAAAC,EAAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:637a70c7e7d9e960c9576bd3851748cd657928836d0c0576cc2aa7e40a9c7ad504c49f69302e04014b712e3272c19784246619824bdeefc11b3dd66a9bec0e3c",
+ "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
}
}
diff --git a/hog/test/parity/golden/e2e/js-process-delete-after-css-lookup.json b/hog/test/parity/golden/e2e/js-process-delete-after-css-lookup.json
index b9dfffc55d01..64293da01f30 100644
--- a/hog/test/parity/golden/e2e/js-process-delete-after-css-lookup.json
+++ b/hog/test/parity/golden/e2e/js-process-delete-after-css-lookup.json
@@ -65,7 +65,10 @@
],
"files": {
"dist/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15\")}catch(e){}}();a();\n\n//# chunkId=3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15",
+ "dist/a.js.map": null,
"dist/cdn.css": "utf8:.a{}\n",
- "dist/stale.css": "utf8:.b{}\n"
+ "dist/cdn.css.map": null,
+ "dist/stale.css": "utf8:.b{}\n",
+ "dist/stale.css.map": null
}
}
diff --git a/hog/test/parity/golden/e2e/js-process-delete-after.json b/hog/test/parity/golden/e2e/js-process-delete-after.json
index f0b558e7e255..50f9cef4ea14 100644
--- a/hog/test/parity/golden/e2e/js-process-delete-after.json
+++ b/hog/test/parity/golden/e2e/js-process-delete-after.json
@@ -161,15 +161,26 @@
],
"files": {
"dist/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15\")}catch(e){}}();a();\n\n//# chunkId=3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15",
+ "dist/a.js.map": null,
"dist/inline.css": "utf8:.b{} .c{}\n",
+ "dist/inline.css.map": null,
"dist/site.css": "utf8:.a{color:red}\n",
+ "dist/site.css.map": null,
+ "esbuild-cjs/index.cjs": "sha512:5c5a3205d61deba47f5e78da8310b96164d85549f68966c72fbf592446a511488b38ca932310b277754eee314fc91de04b86a57b0347efa16c15f4dde4f3db85",
+ "esbuild-cjs/index.cjs.map": null,
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
+ "esbuild/chunk-QCGVITVN.js.map": null,
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
+ "esbuild/index-DLM2YCDD.js.map": null,
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
+ "rollup/index-W25VBdhh.mjs.map": null,
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
+ "rollup/reviews-nJfzDM_Q.mjs.map": null,
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
+ "terser/badge.min.js.map": null,
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3"
+ "webpack/213.eef13598.js.map": null,
+ "webpack/main.24954514.js": "sha512:8abe67dad22e068bc24ead8c5c783b95c070f06ba02956745ac1f4b4b470fd9873dce03dc04ef2c3b2a82059159525981697bf4c03ebda15bd8450a38378156c",
+ "webpack/main.24954514.js.map": null
}
}
diff --git a/hog/test/parity/golden/e2e/js-process-edge-cases.json b/hog/test/parity/golden/e2e/js-process-edge-cases.json
index 0e55f3d8f493..5533e73831c6 100644
--- a/hog/test/parity/golden/e2e/js-process-edge-cases.json
+++ b/hog/test/parity/golden/e2e/js-process-edge-cases.json
@@ -262,15 +262,13 @@
"cjs/a.cjs.map": "utf8:{\"chunk_id\":\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\",\"mappings\":\"yYAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"crlf/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"f2491f38-1d56-5a08-bc20-a9c1a0787811\")}catch(e){}}();a();\r\nb();\r\n//# sourceMappingURL=a.js.map\r\n\n//# chunkId=f2491f38-1d56-5a08-bc20-a9c1a0787811",
"crlf/a.js.map": "utf8:{\"chunk_id\":\"f2491f38-1d56-5a08-bc20-a9c1a0787811\",\"mappings\":\"yYAAA;AACA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "debugid/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"11111111-2222-4333-8444-555555555555\")}catch(e){}}();a();\n//# debugId=11111111-2222-4333-8444-555555555555\n//# sourceMappingURL=a.js.map\n\n//# chunkId=11111111-2222-4333-8444-555555555555",
- "debugid/a.js.map": "utf8:{\"chunk_id\":\"11111111-2222-4333-8444-555555555555\",\"debugId\":\"11111111-2222-4333-8444-555555555555\",\"debug_id\":\"11111111-2222-4333-8444-555555555555\",\"mappings\":\"yYAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"debugid-malformed-source/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b34c85ba-4619-5a69-b07b-0e18491efdaa\")}catch(e){}}();a();\n//# debugId=not-a-uuid\n//# sourceMappingURL=a.js.map\n\n//# chunkId=b34c85ba-4619-5a69-b07b-0e18491efdaa",
"debugid-malformed-source/a.js.map": "utf8:{\"chunk_id\":\"b34c85ba-4619-5a69-b07b-0e18491efdaa\",\"mappings\":\"yYAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"debugid-simple/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"1111111122224333844455555555555F\")}catch(e){}}();a();\n//# debugId=1111111122224333844455555555555F\n//# sourceMappingURL=a.js.map\n\n//# chunkId=1111111122224333844455555555555F",
"debugid-simple/a.js.map": "utf8:{\"chunk_id\":\"1111111122224333844455555555555F\",\"mappings\":\"qYAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "dotfile/.js": "utf8:a();\n",
- "dotfile/.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "empty-large/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"944858eb-3416-5b63-9533-d33c8260b7bc\")}catch(e){}}();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=944858eb-3416-5b63-9533-d33c8260b7bc",
+ "debugid/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"11111111-2222-4333-8444-555555555555\")}catch(e){}}();a();\n//# debugId=11111111-2222-4333-8444-555555555555\n//# sourceMappingURL=a.js.map\n\n//# chunkId=11111111-2222-4333-8444-555555555555",
+ "debugid/a.js.map": "utf8:{\"chunk_id\":\"11111111-2222-4333-8444-555555555555\",\"debugId\":\"11111111-2222-4333-8444-555555555555\",\"debug_id\":\"11111111-2222-4333-8444-555555555555\",\"mappings\":\"yYAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
+ "empty-large/a.js": "sha512:2dd85a2fb2f4af5e59ce11efb4d9abe8f2bfcb276908d7464c10a6f82a9c3acd63395d4c59a889dabbc6951e50f04fe2d88218591325d83d8f22743384e021b0",
"empty-large/a.js.map": "utf8:{\"chunk_id\":\"944858eb-3416-5b63-9533-d33c8260b7bc\",\"mappings\":\"\",\"names\":[],\"sources\":[],\"version\":3}",
"empty-small/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15\")}catch(e){}}();a();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15",
"empty-small/a.js.map": "utf8:{\"chunk_id\":\"3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15\",\"mappings\":\"\",\"names\":[],\"sources\":[],\"version\":3}",
@@ -286,25 +284,17 @@
"file-paths/a.js.map": "utf8:{\"chunk_id\":\"dee6105f-fd4f-5a94-8280-3d6c5b8c3808\",\"file\":\"https://cdn.example.com/a/b-X_1.mjs\",\"mappings\":\"yYAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"index-map/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"f6c70089-17a8-5804-8f40-88d1de05004d\")}catch(e){}}();a();\nb();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=f6c70089-17a8-5804-8f40-88d1de05004d",
"index-map/a.js.map": "utf8:{\"chunk_id\":\"f6c70089-17a8-5804-8f40-88d1de05004d\",\"file\":\"a.js\",\"mappings\":\"yYAAAA;ECAAA,CCAA\",\"names\":[\"n\"],\"sources\":[\"webpack://one.ts\",\"two.ts\",\"one.ts\"],\"sourcesContent\":[\"one\",null,null],\"version\":3,\"x_custom\":1}",
- "inline/a.js": "utf8:a();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=\n",
- "jsx/a.jsx": "utf8:a();\n",
- "jsx/a.jsx.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "latin1/a.js": "base64:YSgn6ScpOwovLyMgc291cmNlTWFwcGluZ1VSTD1hLmpzLm1hcAo=",
- "latin1/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
"legacy/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"23a25919-c8e3-5062-9ca1-898f72d5632a\")}catch(e){}}();a();\n//@ sourceMappingURL=a.js.map\n\n//# chunkId=23a25919-c8e3-5062-9ca1-898f72d5632a",
"legacy/a.js.map": "utf8:{\"chunk_id\":\"aaaaaaaa-0000-4000-8000-000000000000\",\"mappings\":\"AAAA\",\"names\":[],\"sources\":[\"a\"],\"version\":3}",
"mjs/a.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"12304257-7089-53fd-a46c-6d8506a9025c\")}catch(e){}}();a();\n//# sourceMappingURL=a.mjs.map\n\n//# chunkId=12304257-7089-53fd-a46c-6d8506a9025c",
"mjs/a.mjs.map": "utf8:{\"chunk_id\":\"12304257-7089-53fd-a46c-6d8506a9025c\",\"mappings\":\"yYAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"multibyte/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"c833ebd5-8c8a-54d8-b847-ad3fd0466fa4\")}catch(e){}}();var s='é日😀';f();\n//# sourceMappingURL=a.js.map\n\n//# chunkId=c833ebd5-8c8a-54d8-b847-ad3fd0466fa4",
"multibyte/a.js.map": "utf8:{\"chunk_id\":\"c833ebd5-8c8a-54d8-b847-ad3fd0466fa4\",\"mappings\":\"yYAAA,UAAU,QAAQ\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "nomap/a.js": "utf8:a();\n",
"nonl/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"2da66511-eb44-58d8-a251-078984980c67\")}catch(e){}}();a();\nb();\n//# sourceMappingURL=a.js.map\n//# chunkId=2da66511-eb44-58d8-a251-078984980c67",
"nonl/a.js.map": "utf8:{\"chunk_id\":\"2da66511-eb44-58d8-a251-078984980c67\",\"mappings\":\"yYAAA,EAAE;AACA;AACA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"sourcesContent\":[\"x\"],\"version\":3}",
"reference-not-last/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"5d6600e6-8c95-50ca-a844-0bf783ee24de\")}catch(e){}}();a();\n//# sourceMappingURL=a.js.map\nb();\n\n//# chunkId=5d6600e6-8c95-50ca-a844-0bf783ee24de",
"reference-not-last/a.js.map": "utf8:{\"chunk_id\":\"5d6600e6-8c95-50ca-a844-0bf783ee24de\",\"mappings\":\"yYAAA;AACA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
"sibling/a.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\")}catch(e){}}();a();\n\n//# chunkId=0510e957-b1a3-50ed-b158-0a426e8dc1a4",
- "sibling/a.js.map": "utf8:{\"chunk_id\":\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\",\"mappings\":\"yYAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}",
- "xssi/a.js": "utf8:a();\n//# sourceMappingURL=a.js.map\n",
- "xssi/a.js.map": "utf8:)]}'\n{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}"
+ "sibling/a.js.map": "utf8:{\"chunk_id\":\"0510e957-b1a3-50ed-b158-0a426e8dc1a4\",\"mappings\":\"yYAAA\",\"names\":[],\"sources\":[\"src/a.ts\"],\"version\":3}"
}
}
diff --git a/hog/test/parity/golden/e2e/js-process-hash-mismatch.json b/hog/test/parity/golden/e2e/js-process-hash-mismatch.json
index da4c0027439f..81fa67e0c067 100644
--- a/hog/test/parity/golden/e2e/js-process-hash-mismatch.json
+++ b/hog/test/parity/golden/e2e/js-process-hash-mismatch.json
@@ -148,21 +148,21 @@
}
],
"files": {
+ "esbuild-cjs/index.cjs": "sha512:5c5a3205d61deba47f5e78da8310b96164d85549f68966c72fbf592446a511488b38ca932310b277754eee314fc91de04b86a57b0347efa16c15f4dde4f3db85",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"yYAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"gaAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,MCJzCV,EAAAgB,EAAA,GAGAhB,EAAAiB,EAAAC,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GACAgF,GAAA,CACA,IAAAK,EAAAjC,IAAA,SAAAA,EAAAY,KAAA,UAAAZ,EAAAY,MACAsB,EAAAlC,GAAAA,EAAAa,QAAAb,EAAAa,OAAAhB,IACAmC,EAAAG,QAAA,iBAAAxE,EAAA,cAAAsE,EAAA,KAAAC,EAAA,IACAF,EAAAI,KAAA,iBACAJ,EAAApB,KAAAqB,EACAD,EAAAK,QAAAH,EACAN,EAAA,GAAAI,EACA,GAGA,SAAArE,EAAAA,EAEA,GAeA,IAAA2E,EAAA,CAAAC,EAAAC,KACA,IAGA9F,EAAAiB,GAHA8E,EAAAC,EAAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:637a70c7e7d9e960c9576bd3851748cd657928836d0c0576cc2aa7e40a9c7ad504c49f69302e04014b712e3272c19784246619824bdeefc11b3dd66a9bec0e3c",
+ "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
}
}
diff --git a/hog/test/parity/golden/e2e/js-process-no-release.json b/hog/test/parity/golden/e2e/js-process-no-release.json
index a2ee28a69416..defdd9e90b6d 100644
--- a/hog/test/parity/golden/e2e/js-process-no-release.json
+++ b/hog/test/parity/golden/e2e/js-process-no-release.json
@@ -129,21 +129,21 @@
}
],
"files": {
+ "esbuild-cjs/index.cjs": "sha512:7b24bfa3dabd68bf2fc8783da2357d9ab69537a40c2b5b38b3645fb7cc17cfe4f62051bc95bbb0d4666529177bb3c8ea2983f59134d1f71aa549c6c3bb0b9b28",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"qTAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"qTAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"qTAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:2530c4d8f240dc5a0b1024b1f701d5487e5e57f833ea97fd81df6d91a7cf9d376ce757eaf9ba446e180084c1e710f813f61aa736f49401937c3d8a8b74902091",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"qTAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"6WAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"oYAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"4UAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,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,EAAAN,GAEAqE,EAAA,IAAAT,MAgBA9E,EAAAmC,EAAAC,EAfAmB,IACA,GAAAvD,EAAAW,EAAAsE,EAAA/D,KAEA,KADAiE,EAAAF,EAAA/D,MACA+D,EAAA/D,QAAAf,GACAgF,GAAA,CACA,IAAAK,EAAAjC,IAAA,SAAAA,EAAAY,KAAA,UAAAZ,EAAAY,MACAsB,EAAAlC,GAAAA,EAAAa,QAAAb,EAAAa,OAAAhB,IACAmC,EAAAG,QAAA,iBAAAxE,EAAA,cAAAsE,EAAA,KAAAC,EAAA,IACAF,EAAAI,KAAA,iBACAJ,EAAApB,KAAAqB,EACAD,EAAAK,QAAAH,EACAN,EAAA,GAAAI,EACA,GAGA,SAAArE,EAAAA,EAEA,GAeA,IAAA2E,EAAA,CAAAC,EAAAC,KACA,IAGA9F,EAAAiB,GAHA8E,EAAAC,EAAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:66b9c4a91d5d3809701f3a4a3c7318653109f9e0068c7d4f7ce7fbb909c7579f50eafb9ec1ef0ea25c91463fbdfdd2b0f47027df2616d46008b8d5518073d3e8",
+ "webpack/main.24954514.js.map": "sha512:50cd0b6f0d4c9adc795734926514286d478e56366ce2117e7783097c84ab5d9f74e6dd120d6f12aad45f2ff44dfa6974a9c23b81a8e708da0914b7c2c4bc0da2"
}
}
diff --git a/hog/test/parity/golden/e2e/js-process-post-only.json b/hog/test/parity/golden/e2e/js-process-post-only.json
index 295d9f9ba302..fc441e612b95 100644
--- a/hog/test/parity/golden/e2e/js-process-post-only.json
+++ b/hog/test/parity/golden/e2e/js-process-post-only.json
@@ -196,21 +196,21 @@
}
],
"files": {
+ "esbuild-cjs/index.cjs": "sha512:5c5a3205d61deba47f5e78da8310b96164d85549f68966c72fbf592446a511488b38ca932310b277754eee314fc91de04b86a57b0347efa16c15f4dde4f3db85",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"yYAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"gaAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,MCJzCV,EAAAgB,EAAA,GAGAhB,EAAAiB,EAAAC,GACAC,QAAAC,IAAAR,OAAAS,KAAArB,EAAAgB,GAAAM,OAAA,CAAAC,EAAAb,KACAV,EAAAgB,EAAAN,GAAAQ,EAAAK,GACAA,GACE,KCNFvB,EAAAwB,EAAAN,GAEAA,EAAA,eCHAlB,EAAAyB,EAAA,WACA,oBAAAC,WAAA,OAAAA,WACA,IACA,OAAAC,MAAA,IAAAC,SAAA,gBACA,CAAG,MAAAX,GACH,oBAAAY,OAAA,OAAAA,MACA,CACC,CAPD,GCAA7B,EAAAW,EAAA,CAAAmB,EAAAC,IAAAnB,OAAAoB,UAAAC,eAAAC,KAAAJ,EAAAC,GNAAjC,EAAA,GAGAE,EAAAmC,EAAA,CAAAC,EA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C,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:637a70c7e7d9e960c9576bd3851748cd657928836d0c0576cc2aa7e40a9c7ad504c49f69302e04014b712e3272c19784246619824bdeefc11b3dd66a9bec0e3c",
+ "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
}
}
diff --git a/hog/test/parity/golden/e2e/js-process-release-mismatch.json b/hog/test/parity/golden/e2e/js-process-release-mismatch.json
index da4c0027439f..81fa67e0c067 100644
--- a/hog/test/parity/golden/e2e/js-process-release-mismatch.json
+++ b/hog/test/parity/golden/e2e/js-process-release-mismatch.json
@@ -148,21 +148,21 @@
}
],
"files": {
+ "esbuild-cjs/index.cjs": "sha512:5c5a3205d61deba47f5e78da8310b96164d85549f68966c72fbf592446a511488b38ca932310b277754eee314fc91de04b86a57b0347efa16c15f4dde4f3db85",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"yYAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"gaAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAA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AAA,GAAAC,GAGA,IAAAhD,EAAApC,EAAAgF,EAAAhF,EAAAwB,EAAAN,GAEAqE,EAAA,IAAAT,MAgBA9E,EAAAmC,EAAAC,EAfAmB,IACA,GAAAvD,EAAAW,EAAAsE,EAAA/D,KAEA,KADAiE,EAAAF,EAAA/D,MACA+D,EAAA/D,QAAAf,GACAgF,GAAA,CACA,IAAAK,EAAAjC,IAAA,SAAAA,EAAAY,KAAA,UAAAZ,EAAAY,MACAsB,EAAAlC,GAAAA,EAAAa,QAAAb,EAAAa,OAAAhB,IACAmC,EAAAG,QAAA,iBAAAxE,EAAA,cAAAsE,EAAA,KAAAC,EAAA,IACAF,EAAAI,KAAA,iBACAJ,EAAApB,KAAAqB,EACAD,EAAAK,QAAAH,EACAN,EAAA,GAAAI,EACA,GAGA,SAAArE,EAAAA,EAEA,GAeA,IAAA2E,EAAA,CAAAC,EAAAC,KACA,IAGA9F,EAAAiB,GAHA8E,EAAAC,EAAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:637a70c7e7d9e960c9576bd3851748cd657928836d0c0576cc2aa7e40a9c7ad504c49f69302e04014b712e3272c19784246619824bdeefc11b3dd66a9bec0e3c",
+ "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
}
}
diff --git a/hog/test/parity/golden/e2e/js-upload-after-inject.json b/hog/test/parity/golden/e2e/js-upload-after-inject.json
index feea4c050cf3..2c0cc94de8df 100644
--- a/hog/test/parity/golden/e2e/js-upload-after-inject.json
+++ b/hog/test/parity/golden/e2e/js-upload-after-inject.json
@@ -129,21 +129,21 @@
}
],
"files": {
+ "esbuild-cjs/index.cjs": "sha512:5c5a3205d61deba47f5e78da8310b96164d85549f68966c72fbf592446a511488b38ca932310b277754eee314fc91de04b86a57b0347efa16c15f4dde4f3db85",
+ "esbuild-cjs/index.cjs.map": "sha512:66f9e06dd3db41543ff26f633a6b8887fa2759fc302c336337dc0b2c4ee180bfbdab754eb4232b1209b193d0740e92fd18e8aee419ac167e6677b468de9d28fc",
"esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=7f049abd-6283-5ecf-925b-d4ce9b1a514d",
"esbuild/chunk-QCGVITVN.js.map": "utf8:{\"chunk_id\":\"7f049abd-6283-5ecf-925b-d4ce9b1a514d\",\"mappings\":\"yYAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"97e874eb-b143-5723-bb41-695f14c0d557\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=97e874eb-b143-5723-bb41-695f14c0d557",
"esbuild/index-DLM2YCDD.js.map": "utf8:{\"chunk_id\":\"97e874eb-b143-5723-bb41-695f14c0d557\",\"mappings\":\"yYAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=bb9d599f-3e44-5c89-bd8f-745d085a30a0",
- "esbuild-cjs/index.cjs.map": "utf8:{\"chunk_id\":\"bb9d599f-3e44-5c89-bd8f-745d085a30a0\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"b7e07b27-43b5-41de-9196-855306cb5e17\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=b7e07b27-43b5-41de-9196-855306cb5e17",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"chunk_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"yYAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
+ "rollup/index-W25VBdhh.mjs.map": "sha512:6003118ca3121a2eacc01deb5f0dbe20de431c9c201fb3042a59e3acf7f6130229f2f047bcca4aaaa2bea100083dbe2d82009d75ffb68f621db995b26b34d2f6",
"rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31",
"rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"chunk_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"yYAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
"terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"99aebe21-13ee-51da-a4aa-940e274f080f\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=99aebe21-13ee-51da-a4aa-940e274f080f",
"terser/badge.min.js.map": "utf8:{\"chunk_id\":\"99aebe21-13ee-51da-a4aa-940e274f080f\",\"file\":\"badge.min.js\",\"mappings\":\"icAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
"webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4",
"webpack/213.eef13598.js.map": "utf8:{\"chunk_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"wdAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||\"e7ccdce0-e172-5444-b00e-bec22162f00f\";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3",
- "webpack/main.24954514.js.map": "utf8:{\"chunk_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"gaAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,MCJzCV,EAAAgB,EAAA,GAGAhB,EAAAiB,EAAAC,GACAC,QAAAC,IAAAR,OAAAS,KAAArB,EAAAgB,GAAAM,OAAA,CAAAC,EAAAb,KACAV,EAAAgB,EAAAN,GAAAQ,EAAAK,GACAA,GACE,KCNFvB,EAAAwB,EAAAN,GAEAA,EAAA,eCHAlB,EAAAyB,EAAA,WACA,oBAAAC,WAAA,OAAAA,WACA,IACA,OAAAC,MAAA,IAAAC,SAAA,gBACA,CAAG,MAAAX,GACH,oBAAAY,OAAA,OAAAA,MACA,CACC,CAPD,GCAA7B,EAAAW,EAAA,CAAAmB,EAAAC,IAAAnB,OAAAoB,UAAAC,eAAAC,KAAAJ,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AAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
+ "webpack/main.24954514.js": "sha512:637a70c7e7d9e960c9576bd3851748cd657928836d0c0576cc2aa7e40a9c7ad504c49f69302e04014b712e3272c19784246619824bdeefc11b3dd66a9bec0e3c",
+ "webpack/main.24954514.js.map": "sha512:b38a062d5ea75a3723d3ca677d58abde5f9ccba18e7095cd0387c3cc90cc99ceb9ea202de7943558af79a781b20ff66408319bd53bc0340b946e9043f190b2bb"
}
}
diff --git a/hog/test/parity/golden/e2e/js-upload-native-debug-ids.json b/hog/test/parity/golden/e2e/js-upload-native-debug-ids.json
index 9055de9576b7..14ea540b5313 100644
--- a/hog/test/parity/golden/e2e/js-upload-native-debug-ids.json
+++ b/hog/test/parity/golden/e2e/js-upload-native-debug-ids.json
@@ -80,22 +80,5 @@
"status": 201
}
],
- "files": {
- "esbuild/chunk-QCGVITVN.js": "utf8:function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n",
- "esbuild/chunk-QCGVITVN.js.map": "utf8:{\n \"version\": 3,\n \"sources\": [\"../../src/reviews.js\"],\n \"sourcesContent\": [\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\n \"mappings\": \"AAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\n \"names\": [\"fetchReviews\", \"productId\"]\n}\n",
- "esbuild/index-DLM2YCDD.js": "utf8:function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n",
- "esbuild/index-DLM2YCDD.js.map": "utf8:{\n \"version\": 3,\n \"sources\": [\"../../src/cart.js\", \"../../src/ui/badge.js\", \"../../src/index.js\"],\n \"sourcesContent\": [\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\", \"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: '\\u00E9\\u65E5\\uD83D\\uDE00' }\\n return JSON.stringify(badge)\\n}\\n\", \"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\n \"mappings\": \"AAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\n \"names\": [\"formatPrice\", \"cents\", \"parseQuantity\", \"value\", \"parsed\", \"renderBadge\", \"label\", \"checkout\", \"items\", \"total\", \"item\", \"parseQuantity\", \"renderBadge\", \"formatPrice\", \"loadReviews\", \"fetchReviews\"]\n}\n",
- "esbuild-cjs/index.cjs": "utf8:var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n",
- "esbuild-cjs/index.cjs.map": "utf8:{\n \"version\": 3,\n \"sources\": [\"../../src/reviews.js\", \"../../src/index.js\", \"../../src/cart.js\", \"../../src/ui/badge.js\"],\n \"sourcesContent\": [\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\", \"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\", \"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\", \"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: '\\u00E9\\u65E5\\uD83D\\uDE00' }\\n return JSON.stringify(badge)\\n}\\n\"],\n \"mappings\": \";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC;\",\n \"names\": [\"fetchReviews\"]\n}\n",
- "rollup/index-W25VBdhh.mjs": "utf8:function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"version\":3,\"file\":\"index-W25VBdhh.mjs\",\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"names\":[],\"mappings\":\"AAAO,SAA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if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n",
- "rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"version\":3,\"file\":\"reviews-nJfzDM_Q.mjs\",\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"names\":[],\"mappings\":\"AAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D;;;;\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\"}",
- "terser/badge.min.js": "utf8:var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map",
- "terser/badge.min.js.map": "utf8:{\"version\":3,\"file\":\"badge.min.js\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"mappings\":\"wDAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\"}",
- "webpack/213.eef13598.js": "utf8:\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map",
- "webpack/213.eef13598.js.map": "utf8:{\"version\":3,\"file\":\"213.eef13598.js\",\"mappings\":\"+EAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\"}",
- "webpack/main.24954514.js": "utf8:(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-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AC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\"}"
- }
+ "files": {}
}
diff --git a/hog/test/parity/golden/e2e/js-upload-not-injected.json b/hog/test/parity/golden/e2e/js-upload-not-injected.json
index baf98e405b59..da29c0af16b5 100644
--- a/hog/test/parity/golden/e2e/js-upload-not-injected.json
+++ b/hog/test/parity/golden/e2e/js-upload-not-injected.json
@@ -68,56 +68,5 @@
"status": 201
}
],
- "files": {
- "bom/a.js": "utf8:a();\n//# sourceMappingURL=a.js.map\n",
- "bom/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"CAAA\"}",
- "cjs/a.cjs": "utf8:a();\n",
- "cjs/a.cjs.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "crlf/a.js": "utf8:a();\r\nb();\r\n//# sourceMappingURL=a.js.map\r\n",
- "crlf/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA;AACA\"}",
- "debugid/a.js": "utf8:a();\n//# debugId=11111111-2222-4333-8444-555555555555\n//# sourceMappingURL=a.js.map\n",
- "debugid/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\",\"debugId\":\"11111111-2222-4333-8444-555555555555\"}",
- "debugid-malformed-source/a.js": "utf8:a();\n//# debugId=not-a-uuid\n//# sourceMappingURL=a.js.map\n",
- "debugid-malformed-source/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "debugid-simple/a.js": "utf8:a();\n//# debugId=1111111122224333844455555555555F\n//# sourceMappingURL=a.js.map\n",
- "debugid-simple/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "dotfile/.js": "utf8:a();\n",
- "dotfile/.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "empty-large/a.js": "utf8:a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();\n//# sourceMappingURL=a.js.map\n",
- "empty-large/a.js.map": "utf8:{\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\"}",
- "empty-small/a.js": "utf8:a();\n//# sourceMappingURL=a.js.map\n",
- "empty-small/a.js.map": "utf8:{\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\"}",
- "empty-source/a.js": "utf8:",
- "empty-source/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"\"}",
- "encoded/maps/my map.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\",\"file\":\"a.js\"}",
- "encoded/sub/a.js": "utf8:a();\n//# sourceMappingURL=../maps/my%20map.js.map\n",
- "facebook/a.js": "utf8:a();\n//# sourceMappingURL=a.js.map\n",
- "facebook/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\",\"x_facebook_sources\":[[{\"names\":[\"<global>\"],\"mappings\":\"AAA\"}]]}",
- "fields/a.js": "utf8:abc();\n//# sourceMappingURL=a.js.map\n",
- "fields/a.js.map": "utf8:{\"version\":3,\"sourceRoot\":\"/root/\",\"sources\":[null,\"b.ts\"],\"names\":[1,null,\"x\",2.5],\"mappings\":\"AAAAA,CCAAC,CAAAC\",\"x_google_ignoreList\":[1],\"ignoreList\":[1,1,0],\"x_float\":1.0,\"x_big\":1e21,\"x_neg0\":-0.0,\"x_small\":1e-7,\"x_huge\":18446744073709551615,\"x_neg\":-9223372036854775808,\"x_unicode\":\"\\u00e9\\u2028/\\/\\u0001\",\"file\":42,\"sourcesContent\":[null,null,\"extra\"]}",
- "file-paths/a.js": "utf8:import(\"./one-BrAf3own.js\");x.js.map;\n//# sourceMappingURL=a.js.map\n",
- "file-paths/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\",\"file\":\"https://cdn.example.com/a/b-X_1.mjs\"}",
- "index-map/a.js": "utf8:a();\nb();\n//# sourceMappingURL=a.js.map\n",
- "index-map/a.js.map": "utf8:{\"version\":3,\"file\":\"a.js\",\"sources\":[],\"x_custom\":1,\"sections\":[{\"offset\":{\"line\":0,\"column\":0},\"map\":{\"version\":3,\"sources\":[\"one.ts\"],\"sourceRoot\":\"webpack://\",\"names\":[\"n\"],\"mappings\":\"AAAAA\",\"sourcesContent\":[\"one\"]}},{\"offset\":{\"line\":1,\"column\":2},\"map\":{\"version\":3,\"sources\":[\"two.ts\",\"one.ts\"],\"names\":[\"n\"],\"mappings\":\"AAAAA,CCAA\"}}]}",
- "inline/a.js": "utf8:a();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=\n",
- "jsx/a.jsx": "utf8:a();\n",
- "jsx/a.jsx.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "latin1/a.js": "base64:YSgn6ScpOwovLyMgc291cmNlTWFwcGluZ1VSTD1hLmpzLm1hcAo=",
- "latin1/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "legacy/a.js": "utf8:a();\n//@ sourceMappingURL=a.js.map\n",
- "legacy/a.js.map": "utf8:{\"version\":3,\"sources\":[\"a\"],\"names\":[],\"mappings\":\"AAAA\",\"chunkId\":\"aaaaaaaa-0000-4000-8000-000000000000\"}",
- "mjs/a.mjs": "utf8:a();\n//# sourceMappingURL=a.mjs.map\n",
- "mjs/a.mjs.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "multibyte/a.js": "utf8:var s='é日😀';f();\n//# sourceMappingURL=a.js.map\n",
- "multibyte/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA,UAAU,QAAQ\"}",
- "nomap/a.js": "utf8:a();\n",
- "nonl/a.js": "utf8:a();\nb();\n//# sourceMappingURL=a.js.map",
- "nonl/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA,EAAE;AACA;AACA;AACA\",\"sourcesContent\":[\"x\"]}",
- "reference-not-last/a.js": "utf8:a();\n//# sourceMappingURL=a.js.map\nb();\n",
- "reference-not-last/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA;AACA\"}",
- "sibling/a.js": "utf8:a();\n",
- "sibling/a.js.map": "utf8:{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}",
- "xssi/a.js": "utf8:a();\n//# sourceMappingURL=a.js.map\n",
- "xssi/a.js.map": "utf8:)]}'\n{\"version\":3,\"sources\":[\"src/a.ts\"],\"names\":[],\"mappings\":\"AAAA\"}"
- }
+ "files": {}
}
diff --git a/hog/test/parity/golden/e2e/js-upload-symbol-set-hash-mismatch.json b/hog/test/parity/golden/e2e/js-upload-symbol-set-hash-mismatch.json
index 9cd75fe1849e..e5616c2d32bd 100644
--- a/hog/test/parity/golden/e2e/js-upload-symbol-set-hash-mismatch.json
+++ b/hog/test/parity/golden/e2e/js-upload-symbol-set-hash-mismatch.json
@@ -27,7 +27,7 @@
"authorization": "Bearer phx_<key>",
"content-type": "application/json"
},
- "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"d57559a03fbd4261ce4e3e24246bb416b7aee6937bbc38ff4ddca18dd53a31d894ee0cf2de0203e29e527c9ec29ca2ec5ef47481c2bce90133ec9c189f831780\",\"content_length\":6035},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"2b65bb7dcee7907dc6c53938bb081b894470879aad7c9987ba1f2564b3271f96f0da680cbd8d3158841a361c10dd68d151f299fb442cc3823efdbb127cc0f378\",\"content_length\":772},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-9641d1b71a02\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"46f338e963271faebb5c1e84cb6bba611d7487651b93e937d85863d2354816a39bc63fc2bdf7379b565d19a7ea5d6e560d635df6ddf14eba602de16940367edd\",\"content_length\":1419},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96566ceee837\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"ef8257743ec6a87b4040a1ff47ba1b7066f14813ddd3723144298ab9a11decec553d769340e7646e37589cd5afe481141f2827db5499698beb926e89f3db3f90\",\"content_length\":717},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96661f92e937\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"3c3c5e6e10de71a1af29e005432bbfa9a0caff5e5e2632a48e7433d612063ca6866bd5bebfcc1b8fc798bb7e852f8e394dc81acd2d76dc16bf18b39e463d3dc8\",\"content_length\":2001},{\"chunk_id\":\"01a18076-fac6-7451-9926-b909bcc83e83\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"18568002e35a6f1711e70134ac25b225ec7edb8bc8cb15ce86322ded82b71b0e946786ce1f4036e6568c1881857d4b7a14b9d21f7a905a228010e49cf5e43430\",\"content_length\":1460},{\"chunk_id\":\"01a18076-fac6-7451-9926-b912854e5ac8\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"de62c315c811c3d31f66b4554ad0debe724864ca20fb726b5062b8e893f86d94fc3fc82a213183f5d955ab2d412dca5b81148f4adc77ca9c09e3f11fc1c06db5\",\"content_length\":653},{\"chunk_id\":\"01a18076-fac6-7451-9926-b92472346456\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"58fe5f77c44ad93c74b4cc145cb71140f2e554274615be3295a99c590f77a0da7dcdb67ca2c4d524e3b448a764d33721c0c7f2e271af5d23a903247a0fc1b602\",\"content_length\":675}],\"force\":false,\"skip_on_conflict\":true}",
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a180d4-21c3-7ac3-9cb3-a29eeaeff167\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"002c8e8bf9d494c6c03d350029902a68cd4d0f747de79f1494e7cbe904e9572d55df8169b00d99557e1f5a0eeb5ca3dacd85f5eb824b06772c07a384bd412d45\",\"content_length\":6033},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-df9a38ba6ae7\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"f64bdb1f4070484deb171febbf71c1b40317cb6cf0b96b3ae4b540dbccf4ff679be9e231351b2adf2bb21e7122d6e7484230a04e4afe7679ce498fa730c3c08b\",\"content_length\":772},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfad1ab523b8\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"8a8d4d77948fa199cf741c51ada7629a87a647b04cea11df451b0a6640a63cc4fe69d92acd1c0977da105922b64810621509b7881fe51d70f07f48b8cf5452b1\",\"content_length\":1418},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfbc9a3d83e9\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"49068bb3cd1a3410477d22fb49bf91735f3540fd8486a576555874b211caf0faa84e84bf141a7712450fd9db683049635702c39051ff813b6323c7f1ae2e351d\",\"content_length\":716},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfcd58e1bd89\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"f733b826fa019c6717416bde4d3fbd24650d57fb65eeebcfd263e259988708c93431fb31ee0af83361cb4502d14f3bf194c3d3d9dc953382030aeaaa6bfbc965\",\"content_length\":2001},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfdc6d656d5b\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"448c17cb0af11dec3eb5e93ba9d24496e9c8ad629bf1a0ed0958c0837418bcbbdc537d858469cf3e81b086d047a16ce11417814ac6f759bd92c8ff485bbdebdf\",\"content_length\":1460},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfe60a6eb3ed\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"50138294edfe790f14432a5c40c6c9b273a26f62d133abdb1048ab03292f104b850db993533c1030084cea6bc4a96a290436454ec71b599a25b0f0ae77c3e746\",\"content_length\":651},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dff4510a83f7\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"9e4ec02a7494ee06fdf03fa42a50221ce5c83afe4f29faf80d665dd2d53258d24aae5825219b3d3683e9ba5dfe422153928220f8a43703df3d875b6d036a1999\",\"content_length\":672}],\"force\":false,\"skip_on_conflict\":true}",
"status": 200
},
{
@@ -37,26 +37,9 @@
"authorization": "Bearer phx_<key>",
"content-type": "application/json"
},
- "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"d57559a03fbd4261ce4e3e24246bb416b7aee6937bbc38ff4ddca18dd53a31d894ee0cf2de0203e29e527c9ec29ca2ec5ef47481c2bce90133ec9c189f831780\",\"content_length\":6035},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"2b65bb7dcee7907dc6c53938bb081b894470879aad7c9987ba1f2564b3271f96f0da680cbd8d3158841a361c10dd68d151f299fb442cc3823efdbb127cc0f378\",\"content_length\":772},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-9641d1b71a02\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"46f338e963271faebb5c1e84cb6bba611d7487651b93e937d85863d2354816a39bc63fc2bdf7379b565d19a7ea5d6e560d635df6ddf14eba602de16940367edd\",\"content_length\":1419},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96566ceee837\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"ef8257743ec6a87b4040a1ff47ba1b7066f14813ddd3723144298ab9a11decec553d769340e7646e37589cd5afe481141f2827db5499698beb926e89f3db3f90\",\"content_length\":717},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96661f92e937\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"3c3c5e6e10de71a1af29e005432bbfa9a0caff5e5e2632a48e7433d612063ca6866bd5bebfcc1b8fc798bb7e852f8e394dc81acd2d76dc16bf18b39e463d3dc8\",\"content_length\":2001},{\"chunk_id\":\"01a18076-fac6-7451-9926-b909bcc83e83\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"18568002e35a6f1711e70134ac25b225ec7edb8bc8cb15ce86322ded82b71b0e946786ce1f4036e6568c1881857d4b7a14b9d21f7a905a228010e49cf5e43430\",\"content_length\":1460},{\"chunk_id\":\"01a18076-fac6-7451-9926-b912854e5ac8\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"de62c315c811c3d31f66b4554ad0debe724864ca20fb726b5062b8e893f86d94fc3fc82a213183f5d955ab2d412dca5b81148f4adc77ca9c09e3f11fc1c06db5\",\"content_length\":653},{\"chunk_id\":\"01a18076-fac6-7451-9926-b92472346456\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"58fe5f77c44ad93c74b4cc145cb71140f2e554274615be3295a99c590f77a0da7dcdb67ca2c4d524e3b448a764d33721c0c7f2e271af5d23a903247a0fc1b602\",\"content_length\":675}],\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\",\"force\":false,\"skip_on_conflict\":true}",
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a180d4-21c3-7ac3-9cb3-a29eeaeff167\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"002c8e8bf9d494c6c03d350029902a68cd4d0f747de79f1494e7cbe904e9572d55df8169b00d99557e1f5a0eeb5ca3dacd85f5eb824b06772c07a384bd412d45\",\"content_length\":6033},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-df9a38ba6ae7\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"f64bdb1f4070484deb171febbf71c1b40317cb6cf0b96b3ae4b540dbccf4ff679be9e231351b2adf2bb21e7122d6e7484230a04e4afe7679ce498fa730c3c08b\",\"content_length\":772},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfad1ab523b8\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"8a8d4d77948fa199cf741c51ada7629a87a647b04cea11df451b0a6640a63cc4fe69d92acd1c0977da105922b64810621509b7881fe51d70f07f48b8cf5452b1\",\"content_length\":1418},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfbc9a3d83e9\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"49068bb3cd1a3410477d22fb49bf91735f3540fd8486a576555874b211caf0faa84e84bf141a7712450fd9db683049635702c39051ff813b6323c7f1ae2e351d\",\"content_length\":716},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfcd58e1bd89\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"f733b826fa019c6717416bde4d3fbd24650d57fb65eeebcfd263e259988708c93431fb31ee0af83361cb4502d14f3bf194c3d3d9dc953382030aeaaa6bfbc965\",\"content_length\":2001},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfdc6d656d5b\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"448c17cb0af11dec3eb5e93ba9d24496e9c8ad629bf1a0ed0958c0837418bcbbdc537d858469cf3e81b086d047a16ce11417814ac6f759bd92c8ff485bbdebdf\",\"content_length\":1460},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfe60a6eb3ed\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"50138294edfe790f14432a5c40c6c9b273a26f62d133abdb1048ab03292f104b850db993533c1030084cea6bc4a96a290436454ec71b599a25b0f0ae77c3e746\",\"content_length\":651},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dff4510a83f7\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"9e4ec02a7494ee06fdf03fa42a50221ce5c83afe4f29faf80d665dd2d53258d24aae5825219b3d3683e9ba5dfe422153928220f8a43703df3d875b6d036a1999\",\"content_length\":672}],\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\",\"force\":false,\"skip_on_conflict\":true}",
"status": 201
}
],
- "files": {
- "esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b912854e5ac8\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=01a18076-fac6-7451-9926-b912854e5ac8",
- "esbuild/chunk-QCGVITVN.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b912854e5ac8\",\"mappings\":\"qTAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b909bcc83e83\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=01a18076-fac6-7451-9926-b909bcc83e83",
- "esbuild/index-DLM2YCDD.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b909bcc83e83\",\"mappings\":\"qTAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-96661f92e937\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=01a18076-fac5-7b13-8bc8-96661f92e937",
- "esbuild-cjs/index.cjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96661f92e937\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
- "rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-9641d1b71a02\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=01a18076-fac5-7b13-8bc8-9641d1b71a02",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-9641d1b71a02\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"qTAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-96566ceee837\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=01a18076-fac5-7b13-8bc8-96566ceee837",
- "rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96566ceee837\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"qTAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b92472346456\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=01a18076-fac6-7451-9926-b92472346456",
- "terser/badge.min.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b92472346456\",\"file\":\"badge.min.js\",\"mappings\":\"6WAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
- "webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=01a18076-fac5-7b13-8bc8-963cb54bc5ec",
- "webpack/213.eef13598.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"oYAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=01a18076-fac5-7b13-8bc8-962a8c8c9b13",
- "webpack/main.24954514.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"4UAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,M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KADAiE,EAAAF,EAAA/D,MACA+D,EAAA/D,QAAAf,GACAgF,GAAA,CACA,IAAAK,EAAAjC,IAAA,SAAAA,EAAAY,KAAA,UAAAZ,EAAAY,MACAsB,EAAAlC,GAAAA,EAAAa,QAAAb,EAAAa,OAAAhB,IACAmC,EAAAG,QAAA,iBAAAxE,EAAA,cAAAsE,EAAA,KAAAC,EAAA,IACAF,EAAAI,KAAA,iBACAJ,EAAApB,KAAAqB,EACAD,EAAAK,QAAAH,EACAN,EAAA,GAAAI,EACA,GAGA,SAAArE,EAAAA,EAEA,GAeA,IAAA2E,EAAA,CAAAC,EAAAC,KACA,IAGA9F,EAAAiB,GAHA8E,EAAAC,EAAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
- }
+ "files": {}
}
diff --git a/hog/test/parity/golden/e2e/js-upload-symbol-set-new-release.json b/hog/test/parity/golden/e2e/js-upload-symbol-set-new-release.json
index 3e28dab492c8..338475af81c7 100644
--- a/hog/test/parity/golden/e2e/js-upload-symbol-set-new-release.json
+++ b/hog/test/parity/golden/e2e/js-upload-symbol-set-new-release.json
@@ -27,7 +27,7 @@
"authorization": "Bearer phx_<key>",
"content-type": "application/json"
},
- "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"41583f28fcdb5d231b94f580dceafbef32d2448a2ad6ee23d790cb342aa7494e3c6c656ae94a1fd7587ae752ca4f141c04bbebc5c4b4bee1b76d2da05e4e5744\",\"content_length\":6034},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"1c253574d7cb126fddea00b96a659f5d514337f73a06e6ed08764aa8709c8dbd0b9a53676928bb7fac9512f4a6d3e7f56f60bd784d97e7db77c8ac1784cfd027\",\"content_length\":773},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-9641d1b71a02\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"ab409679c7af37a29661cec84ccf0127b310b59b7dd28ae2935a8b13c2a86c2da9856c648e016b0a2ed5cf2f51a2a5ac3aa7af6b3a478a9b0956596174a09520\",\"content_length\":1421},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96566ceee837\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"03c5616164d82fe5c5b48eb64013dd938b85d7e93bc86a5a5c3d1a34fd3e3cd290ba2f179e35e561cc39a30049c05aa4f254d004fc42d3c3d5d4467a17e756bd\",\"content_length\":719},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96661f92e937\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"466a3dafa4f1351f84018632345c3cf4c2cf51f2705069a764bfd6ac65aa447cc2cd336f6ba55fc872a5046cfe29c5c2d21bf68811f3edaa1668283245a19b0f\",\"content_length\":2003},{\"chunk_id\":\"01a18076-fac6-7451-9926-b909bcc83e83\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"0213869f9eb9f3cb08e652314bc09ec9e1fb770d0239d5a70a4966943f1a1bf0dee28f1ba8991c8ec66069affef00157a33c6b0eef951f6c529fad5ead3ddf70\",\"content_length\":1464},{\"chunk_id\":\"01a18076-fac6-7451-9926-b912854e5ac8\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"d39c8bb4fd3c75765adb260770aa4570fa798dd9e3c0e36cca4abaa79b11238e2194b695eaebdecf55c07f03082df2cecbdd5dd74a1522f39a80862778b2c289\",\"content_length\":654},{\"chunk_id\":\"01a18076-fac6-7451-9926-b92472346456\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"152e42ca158e73eddd369474d997d6ca9f3e2a9721e26f40a2a229bb8c14d3f6f4218261adfe1c65c737df21a4202f6d11e7d9788e660fa20fb87c2c29608b33\",\"content_length\":675}],\"force\":false,\"skip_on_conflict\":false}",
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a180d4-21c3-7ac3-9cb3-a29eeaeff167\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"d7c49204296f8c2ad4a8ff0de29b5860238918ceca0750deddfd2bdc70c7df7b7931fbdc6389d9e4e59b6c34d568abcc68733282edcbc6768fd6ece31994d782\",\"content_length\":6032},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-df9a38ba6ae7\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"ef333127dfeb5c250021d6c792507a399e2e4adca647dcf4c73752c53373d36ce20450446c062679ec5b2034ce23674d1d56e53998ce65ea1f8c4bf95cbb6721\",\"content_length\":773},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfad1ab523b8\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"85af5258fc18f25b4db601b364e491caf943c671da8f071bd0cf6e9ea4d9015f84fa6aabd0e084d0edf998d6d51b0a26e9e9a9a9bd448c680815eca033cdb708\",\"content_length\":1420},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfbc9a3d83e9\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"dcf6a439c96c73b35b41328169624f0023123249e7ac6b6f1ec253aefc9674f7acd3186d4849bba76cc883649507e9349a3c4f19dda8c946e2588f98c6988085\",\"content_length\":719},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfcd58e1bd89\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"70e5b24108d759731f91a6ed059e7145a55af2284b0d35b71f0e57e465bb13d4891e866733b1cd02fce62bda34dbd50ca39396e9f1fdcf525b5150baf1148cbc\",\"content_length\":2001},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfdc6d656d5b\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"0bf7ac446aa7f2113f66f87246336a5c00c2634793d2216ff97d1baae66c4e80f580c7786f561073904fa2a3ec09ecc678428ce2fb2dcc17e38192bf9ad41cc5\",\"content_length\":1462},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfe60a6eb3ed\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"9068243b2118bd67913475afcb5c94256adc75c734d2f6941acff127368bdb5e2866184763abbdeba5ee372f9f27abfc9dfe71c6dc8373826e7c4d7156ad5510\",\"content_length\":652},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dff4510a83f7\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"28a63a1b43f37a2e874c9ac1df79af3a6290883b7976c7d748a31514a025eabd8b9d033a55b025cdbeaebfe2305db5b471daff0559b18e030f686a1bc6326e32\",\"content_length\":675}],\"force\":false,\"skip_on_conflict\":false}",
"status": 200
},
{
@@ -37,102 +37,102 @@
"authorization": "Bearer phx_<key>",
"content-type": "application/json"
},
- "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"41583f28fcdb5d231b94f580dceafbef32d2448a2ad6ee23d790cb342aa7494e3c6c656ae94a1fd7587ae752ca4f141c04bbebc5c4b4bee1b76d2da05e4e5744\",\"content_length\":6034},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"1c253574d7cb126fddea00b96a659f5d514337f73a06e6ed08764aa8709c8dbd0b9a53676928bb7fac9512f4a6d3e7f56f60bd784d97e7db77c8ac1784cfd027\",\"content_length\":773},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-9641d1b71a02\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"ab409679c7af37a29661cec84ccf0127b310b59b7dd28ae2935a8b13c2a86c2da9856c648e016b0a2ed5cf2f51a2a5ac3aa7af6b3a478a9b0956596174a09520\",\"content_length\":1421},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96566ceee837\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"03c5616164d82fe5c5b48eb64013dd938b85d7e93bc86a5a5c3d1a34fd3e3cd290ba2f179e35e561cc39a30049c05aa4f254d004fc42d3c3d5d4467a17e756bd\",\"content_length\":719},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96661f92e937\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"466a3dafa4f1351f84018632345c3cf4c2cf51f2705069a764bfd6ac65aa447cc2cd336f6ba55fc872a5046cfe29c5c2d21bf68811f3edaa1668283245a19b0f\",\"content_length\":2003},{\"chunk_id\":\"01a18076-fac6-7451-9926-b909bcc83e83\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"0213869f9eb9f3cb08e652314bc09ec9e1fb770d0239d5a70a4966943f1a1bf0dee28f1ba8991c8ec66069affef00157a33c6b0eef951f6c529fad5ead3ddf70\",\"content_length\":1464},{\"chunk_id\":\"01a18076-fac6-7451-9926-b912854e5ac8\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"d39c8bb4fd3c75765adb260770aa4570fa798dd9e3c0e36cca4abaa79b11238e2194b695eaebdecf55c07f03082df2cecbdd5dd74a1522f39a80862778b2c289\",\"content_length\":654},{\"chunk_id\":\"01a18076-fac6-7451-9926-b92472346456\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"152e42ca158e73eddd369474d997d6ca9f3e2a9721e26f40a2a229bb8c14d3f6f4218261adfe1c65c737df21a4202f6d11e7d9788e660fa20fb87c2c29608b33\",\"content_length\":675}],\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\",\"force\":false,\"skip_on_conflict\":false}",
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a180d4-21c3-7ac3-9cb3-a29eeaeff167\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"d7c49204296f8c2ad4a8ff0de29b5860238918ceca0750deddfd2bdc70c7df7b7931fbdc6389d9e4e59b6c34d568abcc68733282edcbc6768fd6ece31994d782\",\"content_length\":6032},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-df9a38ba6ae7\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"ef333127dfeb5c250021d6c792507a399e2e4adca647dcf4c73752c53373d36ce20450446c062679ec5b2034ce23674d1d56e53998ce65ea1f8c4bf95cbb6721\",\"content_length\":773},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfad1ab523b8\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"85af5258fc18f25b4db601b364e491caf943c671da8f071bd0cf6e9ea4d9015f84fa6aabd0e084d0edf998d6d51b0a26e9e9a9a9bd448c680815eca033cdb708\",\"content_length\":1420},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfbc9a3d83e9\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"dcf6a439c96c73b35b41328169624f0023123249e7ac6b6f1ec253aefc9674f7acd3186d4849bba76cc883649507e9349a3c4f19dda8c946e2588f98c6988085\",\"content_length\":719},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfcd58e1bd89\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"70e5b24108d759731f91a6ed059e7145a55af2284b0d35b71f0e57e465bb13d4891e866733b1cd02fce62bda34dbd50ca39396e9f1fdcf525b5150baf1148cbc\",\"content_length\":2001},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfdc6d656d5b\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"0bf7ac446aa7f2113f66f87246336a5c00c2634793d2216ff97d1baae66c4e80f580c7786f561073904fa2a3ec09ecc678428ce2fb2dcc17e38192bf9ad41cc5\",\"content_length\":1462},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfe60a6eb3ed\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"9068243b2118bd67913475afcb5c94256adc75c734d2f6941acff127368bdb5e2866184763abbdeba5ee372f9f27abfc9dfe71c6dc8373826e7c4d7156ad5510\",\"content_length\":652},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dff4510a83f7\",\"release_id\":\"074d25d5-c524-52f9-8a99-084e68252a9a\",\"content_hash\":\"28a63a1b43f37a2e874c9ac1df79af3a6290883b7976c7d748a31514a025eabd8b9d033a55b025cdbeaebfe2305db5b471daff0559b18e030f686a1bc6326e32\",\"content_length\":675}],\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\",\"force\":false,\"skip_on_conflict\":false}",
"status": 201
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/0c477c5c-f01a-52ee-a62c-5255246547b6?length=654",
+ "path": "/s3/put/symbolsets/0b59f052-0b14-52f8-a636-4668c0b879f9?length=773",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "d39c8bb4fd3c75765adb260770aa4570fa798dd9e3c0e36cca4abaa79b11238e2194b695eaebdecf55c07f03082df2cecbdd5dd74a1522f39a80862778b2c289",
- "length": 654
+ "sha512": "ef333127dfeb5c250021d6c792507a399e2e4adca647dcf4c73752c53373d36ce20450446c062679ec5b2034ce23674d1d56e53998ce65ea1f8c4bf95cbb6721",
+ "length": 773
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/244a14b2-b1c9-5d81-b516-7eb7bcb29d25?length=773",
+ "path": "/s3/put/symbolsets/2d571805-a61f-534b-b2d6-ba38e0ba8776?length=6032",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "1c253574d7cb126fddea00b96a659f5d514337f73a06e6ed08764aa8709c8dbd0b9a53676928bb7fac9512f4a6d3e7f56f60bd784d97e7db77c8ac1784cfd027",
- "length": 773
+ "sha512": "d7c49204296f8c2ad4a8ff0de29b5860238918ceca0750deddfd2bdc70c7df7b7931fbdc6389d9e4e59b6c34d568abcc68733282edcbc6768fd6ece31994d782",
+ "length": 6032
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/412bf2c9-d9d2-5b35-b015-ae30c23f524f?length=719",
+ "path": "/s3/put/symbolsets/3681254e-5457-5ffe-95c7-f78fc79dde1b?length=1462",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "03c5616164d82fe5c5b48eb64013dd938b85d7e93bc86a5a5c3d1a34fd3e3cd290ba2f179e35e561cc39a30049c05aa4f254d004fc42d3c3d5d4467a17e756bd",
- "length": 719
+ "sha512": "0bf7ac446aa7f2113f66f87246336a5c00c2634793d2216ff97d1baae66c4e80f580c7786f561073904fa2a3ec09ecc678428ce2fb2dcc17e38192bf9ad41cc5",
+ "length": 1462
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/5c0f89cb-3e11-5072-996c-0ff8b49cd140?length=675",
+ "path": "/s3/put/symbolsets/402607b4-34f1-5bf3-8c03-f59fd81c4474?length=1420",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "152e42ca158e73eddd369474d997d6ca9f3e2a9721e26f40a2a229bb8c14d3f6f4218261adfe1c65c737df21a4202f6d11e7d9788e660fa20fb87c2c29608b33",
- "length": 675
+ "sha512": "85af5258fc18f25b4db601b364e491caf943c671da8f071bd0cf6e9ea4d9015f84fa6aabd0e084d0edf998d6d51b0a26e9e9a9a9bd448c680815eca033cdb708",
+ "length": 1420
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/75bf4be6-9520-5714-9d32-ebfbf6ef840c?length=1464",
+ "path": "/s3/put/symbolsets/53f2b023-c65c-5adf-97b6-0a8ba16b28d2?length=652",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "0213869f9eb9f3cb08e652314bc09ec9e1fb770d0239d5a70a4966943f1a1bf0dee28f1ba8991c8ec66069affef00157a33c6b0eef951f6c529fad5ead3ddf70",
- "length": 1464
+ "sha512": "9068243b2118bd67913475afcb5c94256adc75c734d2f6941acff127368bdb5e2866184763abbdeba5ee372f9f27abfc9dfe71c6dc8373826e7c4d7156ad5510",
+ "length": 652
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/a0592776-65b8-5a9d-8c5c-881a8fb19930?length=2003",
+ "path": "/s3/put/symbolsets/968d105b-b2ce-5546-9820-864318704614?length=675",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "466a3dafa4f1351f84018632345c3cf4c2cf51f2705069a764bfd6ac65aa447cc2cd336f6ba55fc872a5046cfe29c5c2d21bf68811f3edaa1668283245a19b0f",
- "length": 2003
+ "sha512": "28a63a1b43f37a2e874c9ac1df79af3a6290883b7976c7d748a31514a025eabd8b9d033a55b025cdbeaebfe2305db5b471daff0559b18e030f686a1bc6326e32",
+ "length": 675
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/a266424d-7fd2-56c8-a114-4d1b3e98a47b?length=1421",
+ "path": "/s3/put/symbolsets/ac20d296-1d77-5542-9570-f78db07177b6?length=2001",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "ab409679c7af37a29661cec84ccf0127b310b59b7dd28ae2935a8b13c2a86c2da9856c648e016b0a2ed5cf2f51a2a5ac3aa7af6b3a478a9b0956596174a09520",
- "length": 1421
+ "sha512": "70e5b24108d759731f91a6ed059e7145a55af2284b0d35b71f0e57e465bb13d4891e866733b1cd02fce62bda34dbd50ca39396e9f1fdcf525b5150baf1148cbc",
+ "length": 2001
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/da2548a0-3a4a-5562-9442-aef7c507af35?length=6034",
+ "path": "/s3/put/symbolsets/e2efee7f-d450-5bd5-a375-ecb61dc0d8e1?length=719",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "41583f28fcdb5d231b94f580dceafbef32d2448a2ad6ee23d790cb342aa7494e3c6c656ae94a1fd7587ae752ca4f141c04bbebc5c4b4bee1b76d2da05e4e5744",
- "length": 6034
+ "sha512": "dcf6a439c96c73b35b41328169624f0023123249e7ac6b6f1ec253aefc9674f7acd3186d4849bba76cc883649507e9349a3c4f19dda8c946e2588f98c6988085",
+ "length": 719
},
"status": 200
},
@@ -143,26 +143,9 @@
"authorization": "Bearer phx_<key>",
"content-type": "application/json"
},
- "body": "{\"content_hashes\":{\"0c477c5c-f01a-52ee-a62c-5255246547b6\":\"d39c8bb4fd3c75765adb260770aa4570fa798dd9e3c0e36cca4abaa79b11238e2194b695eaebdecf55c07f03082df2cecbdd5dd74a1522f39a80862778b2c289\",\"244a14b2-b1c9-5d81-b516-7eb7bcb29d25\":\"1c253574d7cb126fddea00b96a659f5d514337f73a06e6ed08764aa8709c8dbd0b9a53676928bb7fac9512f4a6d3e7f56f60bd784d97e7db77c8ac1784cfd027\",\"412bf2c9-d9d2-5b35-b015-ae30c23f524f\":\"03c5616164d82fe5c5b48eb64013dd938b85d7e93bc86a5a5c3d1a34fd3e3cd290ba2f179e35e561cc39a30049c05aa4f254d004fc42d3c3d5d4467a17e756bd\",\"5c0f89cb-3e11-5072-996c-0ff8b49cd140\":\"152e42ca158e73eddd369474d997d6ca9f3e2a9721e26f40a2a229bb8c14d3f6f4218261adfe1c65c737df21a4202f6d11e7d9788e660fa20fb87c2c29608b33\",\"75bf4be6-9520-5714-9d32-ebfbf6ef840c\":\"0213869f9eb9f3cb08e652314bc09ec9e1fb770d0239d5a70a4966943f1a1bf0dee28f1ba8991c8ec66069affef00157a33c6b0eef951f6c529fad5ead3ddf70\",\"a0592776-65b8-5a9d-8c5c-881a8fb19930\":\"466a3dafa4f1351f84018632345c3cf4c2cf51f2705069a764bfd6ac65aa447cc2cd336f6ba55fc872a5046cfe29c5c2d21bf68811f3edaa1668283245a19b0f\",\"a266424d-7fd2-56c8-a114-4d1b3e98a47b\":\"ab409679c7af37a29661cec84ccf0127b310b59b7dd28ae2935a8b13c2a86c2da9856c648e016b0a2ed5cf2f51a2a5ac3aa7af6b3a478a9b0956596174a09520\",\"da2548a0-3a4a-5562-9442-aef7c507af35\":\"41583f28fcdb5d231b94f580dceafbef32d2448a2ad6ee23d790cb342aa7494e3c6c656ae94a1fd7587ae752ca4f141c04bbebc5c4b4bee1b76d2da05e4e5744\"},\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\"}",
+ "body": "{\"content_hashes\":{\"0b59f052-0b14-52f8-a636-4668c0b879f9\":\"ef333127dfeb5c250021d6c792507a399e2e4adca647dcf4c73752c53373d36ce20450446c062679ec5b2034ce23674d1d56e53998ce65ea1f8c4bf95cbb6721\",\"2d571805-a61f-534b-b2d6-ba38e0ba8776\":\"d7c49204296f8c2ad4a8ff0de29b5860238918ceca0750deddfd2bdc70c7df7b7931fbdc6389d9e4e59b6c34d568abcc68733282edcbc6768fd6ece31994d782\",\"3681254e-5457-5ffe-95c7-f78fc79dde1b\":\"0bf7ac446aa7f2113f66f87246336a5c00c2634793d2216ff97d1baae66c4e80f580c7786f561073904fa2a3ec09ecc678428ce2fb2dcc17e38192bf9ad41cc5\",\"402607b4-34f1-5bf3-8c03-f59fd81c4474\":\"85af5258fc18f25b4db601b364e491caf943c671da8f071bd0cf6e9ea4d9015f84fa6aabd0e084d0edf998d6d51b0a26e9e9a9a9bd448c680815eca033cdb708\",\"53f2b023-c65c-5adf-97b6-0a8ba16b28d2\":\"9068243b2118bd67913475afcb5c94256adc75c734d2f6941acff127368bdb5e2866184763abbdeba5ee372f9f27abfc9dfe71c6dc8373826e7c4d7156ad5510\",\"968d105b-b2ce-5546-9820-864318704614\":\"28a63a1b43f37a2e874c9ac1df79af3a6290883b7976c7d748a31514a025eabd8b9d033a55b025cdbeaebfe2305db5b471daff0559b18e030f686a1bc6326e32\",\"ac20d296-1d77-5542-9570-f78db07177b6\":\"70e5b24108d759731f91a6ed059e7145a55af2284b0d35b71f0e57e465bb13d4891e866733b1cd02fce62bda34dbd50ca39396e9f1fdcf525b5150baf1148cbc\",\"e2efee7f-d450-5bd5-a375-ecb61dc0d8e1\":\"dcf6a439c96c73b35b41328169624f0023123249e7ac6b6f1ec253aefc9674f7acd3186d4849bba76cc883649507e9349a3c4f19dda8c946e2588f98c6988085\"},\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\"}",
"status": 201
}
],
- "files": {
- "esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b912854e5ac8\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=01a18076-fac6-7451-9926-b912854e5ac8",
- "esbuild/chunk-QCGVITVN.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b912854e5ac8\",\"mappings\":\"qTAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b909bcc83e83\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=01a18076-fac6-7451-9926-b909bcc83e83",
- "esbuild/index-DLM2YCDD.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b909bcc83e83\",\"mappings\":\"qTAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-96661f92e937\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=01a18076-fac5-7b13-8bc8-96661f92e937",
- "esbuild-cjs/index.cjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96661f92e937\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
- "rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-9641d1b71a02\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=01a18076-fac5-7b13-8bc8-9641d1b71a02",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-9641d1b71a02\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"qTAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-96566ceee837\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=01a18076-fac5-7b13-8bc8-96566ceee837",
- "rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96566ceee837\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"qTAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b92472346456\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=01a18076-fac6-7451-9926-b92472346456",
- "terser/badge.min.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b92472346456\",\"file\":\"badge.min.js\",\"mappings\":\"6WAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
- "webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=01a18076-fac5-7b13-8bc8-963cb54bc5ec",
- "webpack/213.eef13598.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"oYAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=01a18076-fac5-7b13-8bc8-962a8c8c9b13",
- "webpack/main.24954514.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"4UAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,KAAAD,EACAT,EAAAW,EAAAF,EAAAC,KAAAV,EAAAW,EAAAP,EAAAM,IACAE,OAAAC,eAAAT,EAAAM,EAAA,CAAyCI,YAAA,EAAAC,IAAAN,EAAAC,MCJzCV,EAAAgB,EAAA,GAGAhB,EAAAiB,EAAAC,GACAC,QAAAC,IAAAR,OAAAS,KAAArB,EAAAgB,GAAAM,OAAA,CAAAC,EAAAb,KACAV,EAAAgB,EAAAN,GAAAQ,EAAAK,GACAA,GACE,KCNFvB,EAAAwB,EAAAN,GAEAA,EAAA,eCHAlB,EAAAyB,EAAA,WACA,oBAAAC,WAAA,OAAAA,WACA,IACA,OAAAC,MAAA,IAAAC,SAAA,gBACA,CAAG,MAAAX,GACH,oBAAAY,OAAA,OAAAA,MACA,CACC,CAPD,GCAA7B,EAAAW,EAAA,CAAAmB,EAAAC,IAAAnB,OAAAoB,UAAAC,eAAAC,KAAAJ,EAAAC,GNAAjC,EAAA,GAGAE,EAAAmC,EAAA,CA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G,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
- }
+ "files": {}
}
diff --git a/hog/test/parity/golden/e2e/js-upload-symbol-set.json b/hog/test/parity/golden/e2e/js-upload-symbol-set.json
index 366711c6a1c0..56adfd82eaa7 100644
--- a/hog/test/parity/golden/e2e/js-upload-symbol-set.json
+++ b/hog/test/parity/golden/e2e/js-upload-symbol-set.json
@@ -27,7 +27,7 @@
"authorization": "Bearer phx_<key>",
"content-type": "application/json"
},
- "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"d57559a03fbd4261ce4e3e24246bb416b7aee6937bbc38ff4ddca18dd53a31d894ee0cf2de0203e29e527c9ec29ca2ec5ef47481c2bce90133ec9c189f831780\",\"content_length\":6035},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"2b65bb7dcee7907dc6c53938bb081b894470879aad7c9987ba1f2564b3271f96f0da680cbd8d3158841a361c10dd68d151f299fb442cc3823efdbb127cc0f378\",\"content_length\":772},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-9641d1b71a02\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"46f338e963271faebb5c1e84cb6bba611d7487651b93e937d85863d2354816a39bc63fc2bdf7379b565d19a7ea5d6e560d635df6ddf14eba602de16940367edd\",\"content_length\":1419},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96566ceee837\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"ef8257743ec6a87b4040a1ff47ba1b7066f14813ddd3723144298ab9a11decec553d769340e7646e37589cd5afe481141f2827db5499698beb926e89f3db3f90\",\"content_length\":717},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96661f92e937\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"3c3c5e6e10de71a1af29e005432bbfa9a0caff5e5e2632a48e7433d612063ca6866bd5bebfcc1b8fc798bb7e852f8e394dc81acd2d76dc16bf18b39e463d3dc8\",\"content_length\":2001},{\"chunk_id\":\"01a18076-fac6-7451-9926-b909bcc83e83\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"18568002e35a6f1711e70134ac25b225ec7edb8bc8cb15ce86322ded82b71b0e946786ce1f4036e6568c1881857d4b7a14b9d21f7a905a228010e49cf5e43430\",\"content_length\":1460},{\"chunk_id\":\"01a18076-fac6-7451-9926-b912854e5ac8\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"de62c315c811c3d31f66b4554ad0debe724864ca20fb726b5062b8e893f86d94fc3fc82a213183f5d955ab2d412dca5b81148f4adc77ca9c09e3f11fc1c06db5\",\"content_length\":653},{\"chunk_id\":\"01a18076-fac6-7451-9926-b92472346456\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"58fe5f77c44ad93c74b4cc145cb71140f2e554274615be3295a99c590f77a0da7dcdb67ca2c4d524e3b448a764d33721c0c7f2e271af5d23a903247a0fc1b602\",\"content_length\":675}],\"force\":false,\"skip_on_conflict\":false}",
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a180d4-21c3-7ac3-9cb3-a29eeaeff167\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"002c8e8bf9d494c6c03d350029902a68cd4d0f747de79f1494e7cbe904e9572d55df8169b00d99557e1f5a0eeb5ca3dacd85f5eb824b06772c07a384bd412d45\",\"content_length\":6033},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-df9a38ba6ae7\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"f64bdb1f4070484deb171febbf71c1b40317cb6cf0b96b3ae4b540dbccf4ff679be9e231351b2adf2bb21e7122d6e7484230a04e4afe7679ce498fa730c3c08b\",\"content_length\":772},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfad1ab523b8\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"8a8d4d77948fa199cf741c51ada7629a87a647b04cea11df451b0a6640a63cc4fe69d92acd1c0977da105922b64810621509b7881fe51d70f07f48b8cf5452b1\",\"content_length\":1418},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfbc9a3d83e9\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"49068bb3cd1a3410477d22fb49bf91735f3540fd8486a576555874b211caf0faa84e84bf141a7712450fd9db683049635702c39051ff813b6323c7f1ae2e351d\",\"content_length\":716},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfcd58e1bd89\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"f733b826fa019c6717416bde4d3fbd24650d57fb65eeebcfd263e259988708c93431fb31ee0af83361cb4502d14f3bf194c3d3d9dc953382030aeaaa6bfbc965\",\"content_length\":2001},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfdc6d656d5b\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"448c17cb0af11dec3eb5e93ba9d24496e9c8ad629bf1a0ed0958c0837418bcbbdc537d858469cf3e81b086d047a16ce11417814ac6f759bd92c8ff485bbdebdf\",\"content_length\":1460},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfe60a6eb3ed\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"50138294edfe790f14432a5c40c6c9b273a26f62d133abdb1048ab03292f104b850db993533c1030084cea6bc4a96a290436454ec71b599a25b0f0ae77c3e746\",\"content_length\":651},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dff4510a83f7\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"9e4ec02a7494ee06fdf03fa42a50221ce5c83afe4f29faf80d665dd2d53258d24aae5825219b3d3683e9ba5dfe422153928220f8a43703df3d875b6d036a1999\",\"content_length\":672}],\"force\":false,\"skip_on_conflict\":false}",
"status": 200
},
{
@@ -37,102 +37,102 @@
"authorization": "Bearer phx_<key>",
"content-type": "application/json"
},
- "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"d57559a03fbd4261ce4e3e24246bb416b7aee6937bbc38ff4ddca18dd53a31d894ee0cf2de0203e29e527c9ec29ca2ec5ef47481c2bce90133ec9c189f831780\",\"content_length\":6035},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"2b65bb7dcee7907dc6c53938bb081b894470879aad7c9987ba1f2564b3271f96f0da680cbd8d3158841a361c10dd68d151f299fb442cc3823efdbb127cc0f378\",\"content_length\":772},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-9641d1b71a02\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"46f338e963271faebb5c1e84cb6bba611d7487651b93e937d85863d2354816a39bc63fc2bdf7379b565d19a7ea5d6e560d635df6ddf14eba602de16940367edd\",\"content_length\":1419},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96566ceee837\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"ef8257743ec6a87b4040a1ff47ba1b7066f14813ddd3723144298ab9a11decec553d769340e7646e37589cd5afe481141f2827db5499698beb926e89f3db3f90\",\"content_length\":717},{\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96661f92e937\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"3c3c5e6e10de71a1af29e005432bbfa9a0caff5e5e2632a48e7433d612063ca6866bd5bebfcc1b8fc798bb7e852f8e394dc81acd2d76dc16bf18b39e463d3dc8\",\"content_length\":2001},{\"chunk_id\":\"01a18076-fac6-7451-9926-b909bcc83e83\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"18568002e35a6f1711e70134ac25b225ec7edb8bc8cb15ce86322ded82b71b0e946786ce1f4036e6568c1881857d4b7a14b9d21f7a905a228010e49cf5e43430\",\"content_length\":1460},{\"chunk_id\":\"01a18076-fac6-7451-9926-b912854e5ac8\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"de62c315c811c3d31f66b4554ad0debe724864ca20fb726b5062b8e893f86d94fc3fc82a213183f5d955ab2d412dca5b81148f4adc77ca9c09e3f11fc1c06db5\",\"content_length\":653},{\"chunk_id\":\"01a18076-fac6-7451-9926-b92472346456\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"58fe5f77c44ad93c74b4cc145cb71140f2e554274615be3295a99c590f77a0da7dcdb67ca2c4d524e3b448a764d33721c0c7f2e271af5d23a903247a0fc1b602\",\"content_length\":675}],\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\",\"force\":false,\"skip_on_conflict\":false}",
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"01a180d4-21c3-7ac3-9cb3-a29eeaeff167\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"002c8e8bf9d494c6c03d350029902a68cd4d0f747de79f1494e7cbe904e9572d55df8169b00d99557e1f5a0eeb5ca3dacd85f5eb824b06772c07a384bd412d45\",\"content_length\":6033},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-df9a38ba6ae7\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"f64bdb1f4070484deb171febbf71c1b40317cb6cf0b96b3ae4b540dbccf4ff679be9e231351b2adf2bb21e7122d6e7484230a04e4afe7679ce498fa730c3c08b\",\"content_length\":772},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfad1ab523b8\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"8a8d4d77948fa199cf741c51ada7629a87a647b04cea11df451b0a6640a63cc4fe69d92acd1c0977da105922b64810621509b7881fe51d70f07f48b8cf5452b1\",\"content_length\":1418},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfbc9a3d83e9\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"49068bb3cd1a3410477d22fb49bf91735f3540fd8486a576555874b211caf0faa84e84bf141a7712450fd9db683049635702c39051ff813b6323c7f1ae2e351d\",\"content_length\":716},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfcd58e1bd89\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"f733b826fa019c6717416bde4d3fbd24650d57fb65eeebcfd263e259988708c93431fb31ee0af83361cb4502d14f3bf194c3d3d9dc953382030aeaaa6bfbc965\",\"content_length\":2001},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfdc6d656d5b\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"448c17cb0af11dec3eb5e93ba9d24496e9c8ad629bf1a0ed0958c0837418bcbbdc537d858469cf3e81b086d047a16ce11417814ac6f759bd92c8ff485bbdebdf\",\"content_length\":1460},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dfe60a6eb3ed\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"50138294edfe790f14432a5c40c6c9b273a26f62d133abdb1048ab03292f104b850db993533c1030084cea6bc4a96a290436454ec71b599a25b0f0ae77c3e746\",\"content_length\":651},{\"chunk_id\":\"01a180d4-21c4-7ec0-9883-dff4510a83f7\",\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"content_hash\":\"9e4ec02a7494ee06fdf03fa42a50221ce5c83afe4f29faf80d665dd2d53258d24aae5825219b3d3683e9ba5dfe422153928220f8a43703df3d875b6d036a1999\",\"content_length\":672}],\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\",\"force\":false,\"skip_on_conflict\":false}",
"status": 201
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/0c477c5c-f01a-52ee-a62c-5255246547b6?length=653",
+ "path": "/s3/put/symbolsets/0b59f052-0b14-52f8-a636-4668c0b879f9?length=772",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "de62c315c811c3d31f66b4554ad0debe724864ca20fb726b5062b8e893f86d94fc3fc82a213183f5d955ab2d412dca5b81148f4adc77ca9c09e3f11fc1c06db5",
- "length": 653
+ "sha512": "f64bdb1f4070484deb171febbf71c1b40317cb6cf0b96b3ae4b540dbccf4ff679be9e231351b2adf2bb21e7122d6e7484230a04e4afe7679ce498fa730c3c08b",
+ "length": 772
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/244a14b2-b1c9-5d81-b516-7eb7bcb29d25?length=772",
+ "path": "/s3/put/symbolsets/2d571805-a61f-534b-b2d6-ba38e0ba8776?length=6033",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "2b65bb7dcee7907dc6c53938bb081b894470879aad7c9987ba1f2564b3271f96f0da680cbd8d3158841a361c10dd68d151f299fb442cc3823efdbb127cc0f378",
- "length": 772
+ "sha512": "002c8e8bf9d494c6c03d350029902a68cd4d0f747de79f1494e7cbe904e9572d55df8169b00d99557e1f5a0eeb5ca3dacd85f5eb824b06772c07a384bd412d45",
+ "length": 6033
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/412bf2c9-d9d2-5b35-b015-ae30c23f524f?length=717",
+ "path": "/s3/put/symbolsets/3681254e-5457-5ffe-95c7-f78fc79dde1b?length=1460",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "ef8257743ec6a87b4040a1ff47ba1b7066f14813ddd3723144298ab9a11decec553d769340e7646e37589cd5afe481141f2827db5499698beb926e89f3db3f90",
- "length": 717
+ "sha512": "448c17cb0af11dec3eb5e93ba9d24496e9c8ad629bf1a0ed0958c0837418bcbbdc537d858469cf3e81b086d047a16ce11417814ac6f759bd92c8ff485bbdebdf",
+ "length": 1460
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/5c0f89cb-3e11-5072-996c-0ff8b49cd140?length=675",
+ "path": "/s3/put/symbolsets/402607b4-34f1-5bf3-8c03-f59fd81c4474?length=1418",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "58fe5f77c44ad93c74b4cc145cb71140f2e554274615be3295a99c590f77a0da7dcdb67ca2c4d524e3b448a764d33721c0c7f2e271af5d23a903247a0fc1b602",
- "length": 675
+ "sha512": "8a8d4d77948fa199cf741c51ada7629a87a647b04cea11df451b0a6640a63cc4fe69d92acd1c0977da105922b64810621509b7881fe51d70f07f48b8cf5452b1",
+ "length": 1418
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/75bf4be6-9520-5714-9d32-ebfbf6ef840c?length=1460",
+ "path": "/s3/put/symbolsets/53f2b023-c65c-5adf-97b6-0a8ba16b28d2?length=651",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "18568002e35a6f1711e70134ac25b225ec7edb8bc8cb15ce86322ded82b71b0e946786ce1f4036e6568c1881857d4b7a14b9d21f7a905a228010e49cf5e43430",
- "length": 1460
+ "sha512": "50138294edfe790f14432a5c40c6c9b273a26f62d133abdb1048ab03292f104b850db993533c1030084cea6bc4a96a290436454ec71b599a25b0f0ae77c3e746",
+ "length": 651
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/a0592776-65b8-5a9d-8c5c-881a8fb19930?length=2001",
+ "path": "/s3/put/symbolsets/968d105b-b2ce-5546-9820-864318704614?length=672",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "3c3c5e6e10de71a1af29e005432bbfa9a0caff5e5e2632a48e7433d612063ca6866bd5bebfcc1b8fc798bb7e852f8e394dc81acd2d76dc16bf18b39e463d3dc8",
- "length": 2001
+ "sha512": "9e4ec02a7494ee06fdf03fa42a50221ce5c83afe4f29faf80d665dd2d53258d24aae5825219b3d3683e9ba5dfe422153928220f8a43703df3d875b6d036a1999",
+ "length": 672
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/a266424d-7fd2-56c8-a114-4d1b3e98a47b?length=1419",
+ "path": "/s3/put/symbolsets/ac20d296-1d77-5542-9570-f78db07177b6?length=2001",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "46f338e963271faebb5c1e84cb6bba611d7487651b93e937d85863d2354816a39bc63fc2bdf7379b565d19a7ea5d6e560d635df6ddf14eba602de16940367edd",
- "length": 1419
+ "sha512": "f733b826fa019c6717416bde4d3fbd24650d57fb65eeebcfd263e259988708c93431fb31ee0af83361cb4502d14f3bf194c3d3d9dc953382030aeaaa6bfbc965",
+ "length": 2001
},
"status": 200
},
{
"method": "PUT",
- "path": "/s3/put/symbolsets/da2548a0-3a4a-5562-9442-aef7c507af35?length=6035",
+ "path": "/s3/put/symbolsets/e2efee7f-d450-5bd5-a375-ecb61dc0d8e1?length=716",
"headers": {
"authorization": "<none>"
},
"upload": {
- "sha512": "d57559a03fbd4261ce4e3e24246bb416b7aee6937bbc38ff4ddca18dd53a31d894ee0cf2de0203e29e527c9ec29ca2ec5ef47481c2bce90133ec9c189f831780",
- "length": 6035
+ "sha512": "49068bb3cd1a3410477d22fb49bf91735f3540fd8486a576555874b211caf0faa84e84bf141a7712450fd9db683049635702c39051ff813b6323c7f1ae2e351d",
+ "length": 716
},
"status": 200
},
@@ -143,26 +143,9 @@
"authorization": "Bearer phx_<key>",
"content-type": "application/json"
},
- "body": "{\"content_hashes\":{\"0c477c5c-f01a-52ee-a62c-5255246547b6\":\"de62c315c811c3d31f66b4554ad0debe724864ca20fb726b5062b8e893f86d94fc3fc82a213183f5d955ab2d412dca5b81148f4adc77ca9c09e3f11fc1c06db5\",\"244a14b2-b1c9-5d81-b516-7eb7bcb29d25\":\"2b65bb7dcee7907dc6c53938bb081b894470879aad7c9987ba1f2564b3271f96f0da680cbd8d3158841a361c10dd68d151f299fb442cc3823efdbb127cc0f378\",\"412bf2c9-d9d2-5b35-b015-ae30c23f524f\":\"ef8257743ec6a87b4040a1ff47ba1b7066f14813ddd3723144298ab9a11decec553d769340e7646e37589cd5afe481141f2827db5499698beb926e89f3db3f90\",\"5c0f89cb-3e11-5072-996c-0ff8b49cd140\":\"58fe5f77c44ad93c74b4cc145cb71140f2e554274615be3295a99c590f77a0da7dcdb67ca2c4d524e3b448a764d33721c0c7f2e271af5d23a903247a0fc1b602\",\"75bf4be6-9520-5714-9d32-ebfbf6ef840c\":\"18568002e35a6f1711e70134ac25b225ec7edb8bc8cb15ce86322ded82b71b0e946786ce1f4036e6568c1881857d4b7a14b9d21f7a905a228010e49cf5e43430\",\"a0592776-65b8-5a9d-8c5c-881a8fb19930\":\"3c3c5e6e10de71a1af29e005432bbfa9a0caff5e5e2632a48e7433d612063ca6866bd5bebfcc1b8fc798bb7e852f8e394dc81acd2d76dc16bf18b39e463d3dc8\",\"a266424d-7fd2-56c8-a114-4d1b3e98a47b\":\"46f338e963271faebb5c1e84cb6bba611d7487651b93e937d85863d2354816a39bc63fc2bdf7379b565d19a7ea5d6e560d635df6ddf14eba602de16940367edd\",\"da2548a0-3a4a-5562-9442-aef7c507af35\":\"d57559a03fbd4261ce4e3e24246bb416b7aee6937bbc38ff4ddca18dd53a31d894ee0cf2de0203e29e527c9ec29ca2ec5ef47481c2bce90133ec9c189f831780\"},\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\"}",
+ "body": "{\"content_hashes\":{\"0b59f052-0b14-52f8-a636-4668c0b879f9\":\"f64bdb1f4070484deb171febbf71c1b40317cb6cf0b96b3ae4b540dbccf4ff679be9e231351b2adf2bb21e7122d6e7484230a04e4afe7679ce498fa730c3c08b\",\"2d571805-a61f-534b-b2d6-ba38e0ba8776\":\"002c8e8bf9d494c6c03d350029902a68cd4d0f747de79f1494e7cbe904e9572d55df8169b00d99557e1f5a0eeb5ca3dacd85f5eb824b06772c07a384bd412d45\",\"3681254e-5457-5ffe-95c7-f78fc79dde1b\":\"448c17cb0af11dec3eb5e93ba9d24496e9c8ad629bf1a0ed0958c0837418bcbbdc537d858469cf3e81b086d047a16ce11417814ac6f759bd92c8ff485bbdebdf\",\"402607b4-34f1-5bf3-8c03-f59fd81c4474\":\"8a8d4d77948fa199cf741c51ada7629a87a647b04cea11df451b0a6640a63cc4fe69d92acd1c0977da105922b64810621509b7881fe51d70f07f48b8cf5452b1\",\"53f2b023-c65c-5adf-97b6-0a8ba16b28d2\":\"50138294edfe790f14432a5c40c6c9b273a26f62d133abdb1048ab03292f104b850db993533c1030084cea6bc4a96a290436454ec71b599a25b0f0ae77c3e746\",\"968d105b-b2ce-5546-9820-864318704614\":\"9e4ec02a7494ee06fdf03fa42a50221ce5c83afe4f29faf80d665dd2d53258d24aae5825219b3d3683e9ba5dfe422153928220f8a43703df3d875b6d036a1999\",\"ac20d296-1d77-5542-9570-f78db07177b6\":\"f733b826fa019c6717416bde4d3fbd24650d57fb65eeebcfd263e259988708c93431fb31ee0af83361cb4502d14f3bf194c3d3d9dc953382030aeaaa6bfbc965\",\"e2efee7f-d450-5bd5-a375-ecb61dc0d8e1\":\"49068bb3cd1a3410477d22fb49bf91735f3540fd8486a576555874b211caf0faa84e84bf141a7712450fd9db683049635702c39051ff813b6323c7f1ae2e351d\"},\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\"}",
"status": 201
}
],
- "files": {
- "esbuild/chunk-QCGVITVN.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b912854e5ac8\")}catch(e){}}();function e(r){if(!r)throw new Error(\"Missing product\");return[{productId:r,stars:5,text:\"Works as described\"}]}export{e as fetchReviews};\n//# sourceMappingURL=chunk-QCGVITVN.js.map\n\n//# chunkId=01a18076-fac6-7451-9926-b912854e5ac8",
- "esbuild/chunk-QCGVITVN.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b912854e5ac8\",\"mappings\":\"qTAAO,SAASA,EAAaC,EAAW,CACpC,GAAI,CAACA,EACD,MAAM,IAAI,MAAM,iBAAiB,EAErC,MAAO,CAAC,CAAE,UAAAA,EAAW,MAAO,EAAG,KAAM,oBAAqB,CAAC,CAC/D\",\"names\":[\"fetchReviews\",\"productId\"],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "esbuild/index-DLM2YCDD.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b909bcc83e83\")}catch(e){}}();function o(t){return`$${(t/100).toFixed(2)}`}function n(t){let r=Number.parseInt(t,10);if(Number.isNaN(r))throw new TypeError(`Invalid quantity: ${t}`);return r}function i(t){return JSON.stringify({kind:\"badge\",label:t,createdAt:\"\\xE9\\u65E5\\u{1F600}\"})}function f(t){let r=0;for(let e of t)r+=e.price*n(e.quantity);if(r<=0)throw new Error(\"Cart total must be positive\");return i(`Total: ${o(r)}`)}async function s(){let{fetchReviews:t}=await import(\"./chunk-QCGVITVN.js\");return t(\"example-product\")}export{f as checkout,s as loadReviews};\n//# sourceMappingURL=index-DLM2YCDD.js.map\n\n//# chunkId=01a18076-fac6-7451-9926-b909bcc83e83",
- "esbuild/index-DLM2YCDD.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b909bcc83e83\",\"mappings\":\"qTAAO,SAASA,EAAYC,EAAO,CAC/B,MAAO,KAAKA,EAAQ,KAAK,QAAQ,CAAC,CAAC,EACvC,CAEO,SAASC,EAAcC,EAAO,CACjC,IAAMC,EAAS,OAAO,SAASD,EAAO,EAAE,EACxC,GAAI,OAAO,MAAMC,CAAM,EACnB,MAAM,IAAI,UAAU,qBAAqBD,CAAK,EAAE,EAEpD,OAAOC,CACX,CCVO,SAASC,EAAYC,EAAO,CAE/B,OAAO,KAAK,UADE,CAAE,KAAM,QAAS,MAAAA,EAAO,UAAW,qBAAO,CAC7B,CAC/B,CCAO,SAASC,EAASC,EAAO,CAC5B,IAAIC,EAAQ,EACZ,QAAWC,KAAQF,EACfC,GAASC,EAAK,MAAQC,EAAcD,EAAK,QAAQ,EAErD,GAAID,GAAS,EACT,MAAM,IAAI,MAAM,6BAA6B,EAEjD,OAAOG,EAAY,UAAUC,EAAYJ,CAAK,CAAC,EAAE,CACrD,CAEA,eAAsBK,GAAc,CAChC,GAAM,CAAE,aAAAC,CAAa,EAAI,KAAM,QAAO,qBAAc,EACpD,OAAOA,EAAa,iBAAiB,CACzC\",\"names\":[\"formatPrice\",\"cents\",\"parseQuantity\",\"value\",\"parsed\",\"renderBadge\",\"label\",\"checkout\",\"items\",\"total\",\"item\",\"parseQuantity\",\"renderBadge\",\"formatPrice\",\"loadReviews\",\"fetchReviews\"],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "esbuild-cjs/index.cjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-96661f92e937\")}catch(e){}}();var __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res, err) => function __init() {\n if (err) throw err[0];\n try {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n } catch (e) {\n throw err = [e], e;\n }\n};\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/reviews.js\nvar reviews_exports = {};\n__export(reviews_exports, {\n fetchReviews: () => fetchReviews\n});\nfunction fetchReviews(productId) {\n if (!productId) {\n throw new Error(\"Missing product\");\n }\n return [{ productId, stars: 5, text: \"Works as described\" }];\n}\nvar init_reviews = __esm({\n \"src/reviews.js\"() {\n }\n});\n\n// src/index.js\nvar index_exports = {};\n__export(index_exports, {\n checkout: () => checkout,\n loadReviews: () => loadReviews\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/cart.js\nfunction formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`;\n}\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`);\n }\n return parsed;\n}\n\n// src/ui/badge.js\nfunction renderBadge(label) {\n const badge = { kind: \"badge\", label, createdAt: \"\\xE9\\u65E5\\u{1F600}\" };\n return JSON.stringify(badge);\n}\n\n// src/index.js\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error(\"Cart total must be positive\");\n }\n return renderBadge(`Total: ${formatPrice(total)}`);\n}\nasync function loadReviews() {\n const { fetchReviews: fetchReviews2 } = await Promise.resolve().then(() => (init_reviews(), reviews_exports));\n return fetchReviews2(\"example-product\");\n}\n\n//# chunkId=01a18076-fac5-7b13-8bc8-96661f92e937",
- "esbuild-cjs/index.cjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96661f92e937\",\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,aAAa,WAAW;AACpC,MAAI,CAAC,WAAW;AACZ,UAAM,IAAI,MAAM,iBAAiB;AAAA,EACrC;AACA,SAAO,CAAC,EAAE,WAAW,OAAO,GAAG,MAAM,qBAAqB,CAAC;AAC/D;AALA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,SAAS,YAAY,OAAO;AAC/B,SAAO,KAAK,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvC;AAEO,SAAS,cAAc,OAAO;AACjC,QAAM,SAAS,OAAO,SAAS,OAAO,EAAE;AACxC,MAAI,OAAO,MAAM,MAAM,GAAG;AACtB,UAAM,IAAI,UAAU,qBAAqB,KAAK,EAAE;AAAA,EACpD;AACA,SAAO;AACX;;;ACVO,SAAS,YAAY,OAAO;AAC/B,QAAM,QAAQ,EAAE,MAAM,SAAS,OAAO,WAAW,sBAAO;AACxD,SAAO,KAAK,UAAU,KAAK;AAC/B;;;AFAO,SAAS,SAAS,OAAO;AAC5B,MAAI,QAAQ;AACZ,aAAW,QAAQ,OAAO;AACtB,aAAS,KAAK,QAAQ,cAAc,KAAK,QAAQ;AAAA,EACrD;AACA,MAAI,SAAS,GAAG;AACZ,UAAM,IAAI,MAAM,6BAA6B;AAAA,EACjD;AACA,SAAO,YAAY,UAAU,YAAY,KAAK,CAAC,EAAE;AACrD;AAEA,eAAsB,cAAc;AAChC,QAAM,EAAE,cAAAA,cAAa,IAAI,MAAM;AAC/B,SAAOA,cAAa,iBAAiB;AACzC\",\"names\":[\"fetchReviews\"],\"sources\":[\"../../src/reviews.js\",\"../../src/index.js\",\"../../src/cart.js\",\"../../src/ui/badge.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\",\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
- "rollup/index-W25VBdhh.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-9641d1b71a02\")}catch(e){}}();function formatPrice(cents) {\n return `$${(cents / 100).toFixed(2)}`\n}\n\nfunction parseQuantity(value) {\n const parsed = Number.parseInt(value, 10);\n if (Number.isNaN(parsed)) {\n throw new TypeError(`Invalid quantity: ${value}`)\n }\n return parsed\n}\n\nfunction renderBadge(label) {\n const badge = { kind: 'badge', label, createdAt: 'é日😀' };\n return JSON.stringify(badge)\n}\n\nfunction checkout(items) {\n let total = 0;\n for (const item of items) {\n total += item.price * parseQuantity(item.quantity);\n }\n if (total <= 0) {\n throw new Error('Cart total must be positive')\n }\n return renderBadge(`Total: ${formatPrice(total)}`)\n}\n\nasync function loadReviews() {\n const { fetchReviews } = await import('./reviews-nJfzDM_Q.mjs');\n return fetchReviews('example-product')\n}\n\nexport { checkout, loadReviews };\n//# debugId=b7e07b27-43b5-41de-9196-855306cb5e17\n//# sourceMappingURL=index-W25VBdhh.mjs.map\n\n//# chunkId=01a18076-fac5-7b13-8bc8-9641d1b71a02",
- "rollup/index-W25VBdhh.mjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-9641d1b71a02\",\"debugId\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"debug_id\":\"b7e07b27-43b5-41de-9196-855306cb5e17\",\"file\":\"index-W25VBdhh.mjs\",\"mappings\":\"qTAAO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACxC;;AAEO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,IAAI,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE;AAC5C,IAAI,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC9B,QAAQ,MAAM,IAAI,SAAS,CAAC,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;AACxD,IAAI;AACJ,IAAI,OAAO;AACX;;ACVO,SAAS,WAAW,CAAC,KAAK,EAAE;AACnC,IAAI,MAAM,KAAK,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM;AAC3D,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK;AAC/B;;ACAO,SAAS,QAAQ,CAAC,KAAK,EAAE;AAChC,IAAI,IAAI,KAAK,GAAG;AAChB,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE;AAC9B,QAAQ,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ;AACzD,IAAI;AACJ,IAAI,IAAI,KAAK,IAAI,CAAC,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,6BAA6B;AACrD,IAAI;AACJ,IAAI,OAAO,WAAW,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;AACrD;;AAEO,eAAe,WAAW,GAAG;AACpC,IAAI,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,OAAO,wBAAc;AACxD,IAAI,OAAO,YAAY,CAAC,iBAAiB;AACzC\",\"names\":[],\"sources\":[\"../../src/cart.js\",\"../../src/ui/badge.js\",\"../../src/index.js\"],\"sourcesContent\":[\"export function formatPrice(cents) {\\n return `$${(cents / 100).toFixed(2)}`\\n}\\n\\nexport function parseQuantity(value) {\\n const parsed = Number.parseInt(value, 10)\\n if (Number.isNaN(parsed)) {\\n throw new TypeError(`Invalid quantity: ${value}`)\\n }\\n return parsed\\n}\\n\",\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\",\"import { formatPrice, parseQuantity } from './cart.js'\\nimport { renderBadge } from './ui/badge.js'\\n\\nexport function checkout(items) {\\n let total = 0\\n for (const item of items) {\\n total += item.price * parseQuantity(item.quantity)\\n }\\n if (total <= 0) {\\n throw new Error('Cart total must be positive')\\n }\\n return renderBadge(`Total: ${formatPrice(total)}`)\\n}\\n\\nexport async function loadReviews() {\\n const { fetchReviews } = await import('./reviews.js')\\n return fetchReviews('example-product')\\n}\\n\"],\"version\":3}",
- "rollup/reviews-nJfzDM_Q.mjs": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-96566ceee837\")}catch(e){}}();function fetchReviews(productId) {\n if (!productId) {\n throw new Error('Missing product')\n }\n return [{ productId, stars: 5, text: 'Works as described' }]\n}\n\nexport { fetchReviews };\n//# debugId=8e45a01c-ff78-471a-87d3-ba56f7ab4c31\n//# sourceMappingURL=reviews-nJfzDM_Q.mjs.map\n\n//# chunkId=01a18076-fac5-7b13-8bc8-96566ceee837",
- "rollup/reviews-nJfzDM_Q.mjs.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-96566ceee837\",\"debugId\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"debug_id\":\"8e45a01c-ff78-471a-87d3-ba56f7ab4c31\",\"file\":\"reviews-nJfzDM_Q.mjs\",\"mappings\":\"qTAAO,SAAS,YAAY,CAAC,SAAS,EAAE;AACxC,IAAI,IAAI,CAAC,SAAS,EAAE;AACpB,QAAQ,MAAM,IAAI,KAAK,CAAC,iBAAiB;AACzC,IAAI;AACJ,IAAI,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE;AAC/D\",\"names\":[],\"sources\":[\"../../src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "terser/badge.min.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac6-7451-9926-b92472346456\")}catch(e){}}();var Badge=function(e){\"use strict\";return e.renderBadge=function(e){const n={kind:\"badge\",label:e,createdAt:\"é日😀\"};return JSON.stringify(n)},e}({});\n//# sourceMappingURL=badge.min.js.map\n//# chunkId=01a18076-fac6-7451-9926-b92472346456",
- "terser/badge.min.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac6-7451-9926-b92472346456\",\"file\":\"badge.min.js\",\"mappings\":\"6WAAO,SAAqBA,GACxB,MAAMC,EAAQ,CAAEC,KAAM,QAASF,QAAOG,UAAW,QACjD,OAAOC,KAAKC,UAAUJ,EAC1B,E\",\"names\":[\"label\",\"badge\",\"kind\",\"createdAt\",\"JSON\",\"stringify\"],\"sources\":[\"src/ui/badge.js\"],\"sourcesContent\":[\"export function renderBadge(label) {\\n const badge = { kind: 'badge', label, createdAt: 'é日😀' }\\n return JSON.stringify(badge)\\n}\\n\"],\"version\":3}",
- "webpack/213.eef13598.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\")}catch(e){}}();\"use strict\";(self.webpackChunk=self.webpackChunk||[]).push([[213],{213(e,s,r){function t(e){if(!e)throw new Error(\"Missing product\");return[{productId:e,stars:5,text:\"Works as described\"}]}r.d(s,{fetchReviews:()=>t})}}]);\n//# debugId=eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\n//# sourceMappingURL=213.eef13598.js.map\n//# chunkId=01a18076-fac5-7b13-8bc8-963cb54bc5ec",
- "webpack/213.eef13598.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-963cb54bc5ec\",\"debugId\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"debug_id\":\"eaaf9a0d-6c5a-4568-a743-6f4fa42549a4\",\"file\":\"213.eef13598.js\",\"mappings\":\"oYAAO,SAAAA,EAAAC,GACP,IAAAA,EACA,UAAAC,MAAA,mBAEA,QAAcD,YAAAE,MAAA,EAAAC,KAAA,sBACd\",\"names\":[\"fetchReviews\",\"productId\",\"Error\",\"stars\",\"text\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///./src/reviews.js\"],\"sourcesContent\":[\"export function fetchReviews(productId) {\\n if (!productId) {\\n throw new Error('Missing product')\\n }\\n return [{ productId, stars: 5, text: 'Works as described' }]\\n}\\n\"],\"version\":3}",
- "webpack/main.24954514.js": "utf8:!function(){try{var e=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]=\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\")}catch(e){}}();(()=>{\"use strict\";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>e+\".eef13598.js\",o.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\"script\"),l=0;l<s.length;l++){var u=s[l];if(u.getAttribute(\"src\")==r){i=u;break}}i||(c=!0,(i=document.createElement(\"script\")).charset=\"utf-8\",o.nc&&i.setAttribute(\"nonce\",o.nc),i.src=r),e[r]=[t];var p=(t,o)=>{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\"timeout\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\"\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\"SCRIPT\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\"script\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\"Automatic publicPath is not supported in this browser\");e=e.replace(/^blob:/,\"\").replace(/#.*$/,\"\").replace(/\\?.*$/,\"\").replace(/\\/[^\\/]+$/,\"/\"),o.p=e})(),(()=>{var e={792:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\"load\"===t.type?\"missing\":t.type),i=t&&t.target&&t.target.src;c.message=\"Loading chunk \"+r+\" failed.\\n(\"+a+\": \"+i+\")\",c.name=\"ChunkLoadError\",c.type=a,c.request=i,n[1](c)}},\"chunk-\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})()})();\n//# debugId=d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\n//# sourceMappingURL=main.24954514.js.map\n//# chunkId=01a18076-fac5-7b13-8bc8-962a8c8c9b13",
- "webpack/main.24954514.js.map": "utf8:{\"release_id\":\"e7ccdce0-e172-5444-b00e-bec22162f00f\",\"chunk_id\":\"01a18076-fac5-7b13-8bc8-962a8c8c9b13\",\"debugId\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"debug_id\":\"d56106a8-57e0-4c45-909c-5a8d8c4a9cc3\",\"file\":\"main.24954514.js\",\"mappings\":\"4UAAAA,OCCAC,EAAA,GAGA,SAAAC,EAAAC,GAEA,IAAAC,EAAAH,EAAAE,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAE,QAGA,IAAAC,EAAAN,EAAAE,GAAA,CAGAG,QAAA,IAOA,OAHAE,EAAAL,GAAAI,EAAAA,EAAAD,QAAAJ,GAGAK,EAAAD,OACA,CAGAJ,EAAAO,EAAAD,ECxBAN,EAAAQ,EAAA,CAAAJ,EAAAK,KACA,QAAAC,K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C,EAAAgF,EAAAhF,EAAAwB,EAAAN,GAEAqE,EAAA,IAAAT,MAgBA9E,EAAAmC,EAAAC,EAfAmB,IACA,GAAAvD,EAAAW,EAAAsE,EAAA/D,KAEA,KADAiE,EAAAF,EAAA/D,MACA+D,EAAA/D,QAAAf,GACAgF,GAAA,CACA,IAAAK,EAAAjC,IAAA,SAAAA,EAAAY,KAAA,UAAAZ,EAAAY,MACAsB,EAAAlC,GAAAA,EAAAa,QAAAb,EAAAa,OAAAhB,IACAmC,EAAAG,QAAA,iBAAAxE,EAAA,cAAAsE,EAAA,KAAAC,EAAA,IACAF,EAAAI,KAAA,iBACAJ,EAAApB,KAAAqB,EACAD,EAAAK,QAAAH,EACAN,EAAA,GAAAI,EACA,GAGA,SAAArE,EAAAA,EAEA,GAeA,IAAA2E,EAAA,CAAAC,EAAAC,KACA,IAGA9F,EAAAiB,GAHA8E,EAAAC,EAAAC,GAAAH,EAGAnD,EAAA,EACA,GAAAoD,EAAAG,KAAAC,GAAA,IAAAnB,EAAAmB,IAAA,CACA,IAAAnG,KAAAgG,EACAjG,EAAAW,EAAAsF,EAAAhG,KACAD,EAAAO,EAAAN,GAAAgG,EAAAhG,IAGAiG,GAAAA,EAAAlG,EACA,CAEA,IADA8F,GAAAA,EAAAC,GACMnD,EAAAoD,EAAAnD,OAAqBD,IAC3B1B,EAAA8E,EAAApD,GACA5C,EAAAW,EAAAsE,EAAA/D,IAAA+D,EAAA/D,IACA+D,EAAA/D,GAAA,KAEA+D,EAAA/D,GAAA,GAKAmF,EAAAC,KAAA,aAAAA,KAAA,iBACAD,EAAAtC,QAAA8B,EAAA3B,KAAA,SACAmC,EAAA/D,KAAAuD,EAAA3B,KAAA,KAAAmC,EAAA/D,KAAA4B,KAAAmC\",\"names\":[\"inProgress\",\"__webpack_module_cache__\",\"__webpack_require__\",\"moduleId\",\"cachedModule\",\"undefined\",\"exports\",\"module\",\"__webpack_modules__\",\"m\",\"d\",\"definition\",\"key\",\"o\",\"Object\",\"defineProperty\",\"enumerable\",\"get\",\"f\",\"e\",\"chunkId\",\"Promise\",\"all\",\"keys\",\"reduce\",\"promises\",\"u\",\"g\",\"globalThis\",\"this\",\"Function\",\"window\",\"obj\",\"prop\",\"prototype\",\"hasOwnProperty\",\"call\",\"l\",\"url\",\"done\",\"push\",\"script\",\"needAttach\",\"scripts\",\"document\",\"getElementsByTagName\",\"i\",\"length\",\"s\",\"getAttribute\",\"createElement\",\"charset\",\"nc\",\"setAttribute\",\"src\",\"onScriptComplete\",\"prev\",\"event\",\"onerror\",\"onload\",\"clearTimeout\",\"timeout\",\"doneFns\",\"parentNode\",\"removeChild\",\"forEach\",\"fn\",\"setTimeout\",\"bind\",\"type\",\"target\",\"head\",\"appendChild\",\"scriptUrl\",\"importScripts\",\"location\",\"currentScript\",\"tagName\",\"toUpperCase\",\"test\",\"Error\",\"replace\",\"p\",\"installedChunks\",\"j\",\"installedChunkData\",\"promise\",\"resolve\",\"reject\",\"error\",\"errorType\",\"realSrc\",\"message\",\"name\",\"request\",\"webpackJsonpCallback\",\"parentChunkLoadingFunction\",\"data\",\"chunkIds\",\"moreModules\",\"runtime\",\"some\",\"id\",\"chunkLoadingGlobal\",\"self\"],\"sourceRoot\":\"\",\"sources\":[\"webpack:///webpack/runtime/load script\",\"webpack:///webpack/bootstrap\",\"webpack:///webpack/runtime/define property getters\",\"webpack:///webpack/runtime/ensure chunk\",\"webpack:///webpack/runtime/get javascript chunk filename\",\"webpack:///webpack/runtime/global\",\"webpack:///webpack/runtime/hasOwnProperty shorthand\",\"webpack:///webpack/runtime/publicPath\",\"webpack:///webpack/runtime/jsonp chunk loading\"],\"sourcesContent\":[\"var inProgress = {};\\n// data-webpack is not used as build has no uniqueName\\n// loadScript function to load a script via script tag\\n__webpack_require__.l = (url, done, key, chunkId) => {\\n\\tif(inProgress[url]) { inProgress[url].push(done); return; }\\n\\tvar script, needAttach;\\n\\tif(key !== undefined) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tfor(var i = 0; i < scripts.length; i++) {\\n\\t\\t\\tvar s = scripts[i];\\n\\t\\t\\tif(s.getAttribute(\\\"src\\\") == url) { script = s; break; }\\n\\t\\t}\\n\\t}\\n\\tif(!script) {\\n\\t\\tneedAttach = true;\\n\\t\\tscript = document.createElement('script');\\n\\n\\t\\tscript.charset = 'utf-8';\\n\\t\\tif (__webpack_require__.nc) {\\n\\t\\t\\tscript.setAttribute(\\\"nonce\\\", __webpack_require__.nc);\\n\\t\\t}\\n\\n\\n\\t\\tscript.src = url;\\n\\t}\\n\\tinProgress[url] = [done];\\n\\tvar onScriptComplete = (prev, event) => {\\n\\t\\t// avoid mem leaks in IE.\\n\\t\\tscript.onerror = script.onload = null;\\n\\t\\tclearTimeout(timeout);\\n\\t\\tvar doneFns = inProgress[url];\\n\\t\\tdelete inProgress[url];\\n\\t\\tscript.parentNode && script.parentNode.removeChild(script);\\n\\t\\tdoneFns && doneFns.forEach((fn) => (fn(event)));\\n\\t\\tif(prev) return prev(event);\\n\\t}\\n\\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\\n\\tscript.onerror = onScriptComplete.bind(null, script.onerror);\\n\\tscript.onload = onScriptComplete.bind(null, script.onload);\\n\\tneedAttach && document.head.appendChild(script);\\n};\",\"// The module cache\\nvar __webpack_module_cache__ = {};\\n\\n// The require function\\nfunction __webpack_require__(moduleId) {\\n\\t// Check if module is in cache\\n\\tvar cachedModule = __webpack_module_cache__[moduleId];\\n\\tif (cachedModule !== undefined) {\\n\\t\\treturn cachedModule.exports;\\n\\t}\\n\\t// Create a new module (and put it into the cache)\\n\\tvar module = __webpack_module_cache__[moduleId] = {\\n\\t\\t// no module.id needed\\n\\t\\t// no module.loaded needed\\n\\t\\texports: {}\\n\\t};\\n\\n\\t// Execute the module function\\n\\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\\n\\n\\t// Return the exports of the module\\n\\treturn module.exports;\\n}\\n\\n// expose the modules object (__webpack_modules__)\\n__webpack_require__.m = __webpack_modules__;\\n\\n\",\"// define getter functions for harmony exports\\n__webpack_require__.d = (exports, definition) => {\\n\\tfor(var key in definition) {\\n\\t\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\n\\t\\t\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\n\\t\\t}\\n\\t}\\n};\",\"__webpack_require__.f = {};\\n// This file contains only the entry chunk.\\n// The chunk loading function for additional chunks\\n__webpack_require__.e = (chunkId) => {\\n\\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\\n\\t\\t__webpack_require__.f[key](chunkId, promises);\\n\\t\\treturn promises;\\n\\t}, []));\\n};\",\"// This function allow to reference async chunks\\n__webpack_require__.u = (chunkId) => {\\n\\t// return url for filenames based on template\\n\\treturn \\\"\\\" + chunkId + \\\".\\\" + \\\"eef13598\\\" + \\\".js\\\";\\n};\",\"__webpack_require__.g = (function() {\\n\\tif (typeof globalThis === 'object') return globalThis;\\n\\ttry {\\n\\t\\treturn this || new Function('return this')();\\n\\t} catch (e) {\\n\\t\\tif (typeof window === 'object') return window;\\n\\t}\\n})();\",\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\",\"var scriptUrl;\\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\\"\\\";\\nvar document = __webpack_require__.g.document;\\nif (!scriptUrl && document) {\\n\\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\\n\\t\\tscriptUrl = document.currentScript.src;\\n\\tif (!scriptUrl) {\\n\\t\\tvar scripts = document.getElementsByTagName(\\\"script\\\");\\n\\t\\tif(scripts.length) {\\n\\t\\t\\tvar i = scripts.length - 1;\\n\\t\\t\\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\\n\\t\\t}\\n\\t}\\n}\\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\\n// or pass an empty string (\\\"\\\") and set the __webpack_public_path__ variable from your code to use your own logic.\\nif (!scriptUrl) throw new Error(\\\"Automatic publicPath is not supported in this browser\\\");\\nscriptUrl = scriptUrl.replace(/^blob:/, \\\"\\\").replace(/#.*$/, \\\"\\\").replace(/\\\\?.*$/, \\\"\\\").replace(/\\\\/[^\\\\/]+$/, \\\"/\\\");\\n__webpack_require__.p = scriptUrl;\",\"// no baseURI\\n\\n// object to store loaded and loading chunks\\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\\nvar installedChunks = {\\n\\t792: 0\\n};\\n\\n__webpack_require__.f.j = (chunkId, promises) => {\\n\\t\\t// JSONP chunk loading for javascript\\n\\t\\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\\n\\t\\tif(installedChunkData !== 0) { // 0 means \\\"already installed\\\".\\n\\n\\t\\t\\t// a Promise means \\\"currently loading\\\".\\n\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\tpromises.push(installedChunkData[2]);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tif(true) { // all chunks have JS\\n\\t\\t\\t\\t\\t// setup Promise in chunk cache\\n\\t\\t\\t\\t\\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\\n\\t\\t\\t\\t\\tpromises.push(installedChunkData[2] = promise);\\n\\n\\t\\t\\t\\t\\t// start chunk loading\\n\\t\\t\\t\\t\\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\\n\\t\\t\\t\\t\\t// create error before stack unwound to get useful stacktrace later\\n\\t\\t\\t\\t\\tvar error = new Error();\\n\\t\\t\\t\\t\\tvar loadingEnded = (event) => {\\n\\t\\t\\t\\t\\t\\tif(__webpack_require__.o(installedChunks, chunkId)) {\\n\\t\\t\\t\\t\\t\\t\\tinstalledChunkData = installedChunks[chunkId];\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\\n\\t\\t\\t\\t\\t\\t\\tif(installedChunkData) {\\n\\t\\t\\t\\t\\t\\t\\t\\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\\n\\t\\t\\t\\t\\t\\t\\t\\tvar realSrc = event && event.target && event.target.src;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.name = 'ChunkLoadError';\\n\\t\\t\\t\\t\\t\\t\\t\\terror.type = errorType;\\n\\t\\t\\t\\t\\t\\t\\t\\terror.request = realSrc;\\n\\t\\t\\t\\t\\t\\t\\t\\tinstalledChunkData[1](error);\\n\\t\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t__webpack_require__.l(url, loadingEnded, \\\"chunk-\\\" + chunkId, chunkId);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n};\\n\\n// no prefetching\\n\\n// no preloaded\\n\\n// no HMR\\n\\n// no HMR manifest\\n\\n// no on chunks loaded\\n\\n// install a JSONP callback for chunk loading\\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\\n\\tvar [chunkIds, moreModules, runtime] = data;\\n\\t// add \\\"moreModules\\\" to the modules object,\\n\\t// then flag all \\\"chunkIds\\\" as loaded and fire callback\\n\\tvar moduleId, chunkId, i = 0;\\n\\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\\n\\t\\tfor(moduleId in moreModules) {\\n\\t\\t\\tif(__webpack_require__.o(moreModules, moduleId)) {\\n\\t\\t\\t\\t__webpack_require__.m[moduleId] = moreModules[moduleId];\\n\\t\\t\\t}\\n\\t\\t}\\n\\t\\tif(runtime) var result = runtime(__webpack_require__);\\n\\t}\\n\\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\\n\\tfor(;i < chunkIds.length; i++) {\\n\\t\\tchunkId = chunkIds[i];\\n\\t\\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\\n\\t\\t\\tinstalledChunks[chunkId][0]();\\n\\t\\t}\\n\\t\\tinstalledChunks[chunkId] = 0;\\n\\t}\\n\\n}\\n\\nvar chunkLoadingGlobal = self[\\\"webpackChunk\\\"] = self[\\\"webpackChunk\\\"] || [];\\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\"],\"version\":3}"
- }
+ "files": {}
}
diff --git a/hog/test/parity/golden/e2e/native-real-dsyms-hash-mismatch.json b/hog/test/parity/golden/e2e/native-real-dsyms-hash-mismatch.json
new file mode 100644
index 000000000000..be6a3c4993b6
--- /dev/null
+++ b/hog/test/parity/golden/e2e/native-real-dsyms-hash-mismatch.json
@@ -0,0 +1,44 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/5bc1ff01b0e9ecb77f4ad91c1730de63676cab0a9d97ea60035260aa03a17ef3285528dc929279ba232254dfad7b9aba2726a64018044b4d65060641ab631eee",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"5bc1ff01b0e9ecb77f4ad91c1730de63676cab0a9d97ea60035260aa03a17ef3285528dc929279ba232254dfad7b9aba2726a64018044b4d65060641ab631eee\",\"version\":\"4.0.0\",\"project\":\"com.example.app\"}",
+ "status": 201
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/symbol_sets/bulk_check_upload",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"2556F151-5A40-3847-BE6C-E2C1B5BE4DF8\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d3a31571946c557772497c1974a1c471789bb1b9253205a9d1eb71fdced1820084674840471a762896961b9c5b9a48b3bac6f502ec5ef8ed38603b3920b7bf08\",\"content_length\":1198},{\"chunk_id\":\"3B4566E4-491B-3DCF-94F5-AE51F624DD87\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"849f67a851e04d14f9fe6e1e3081fd984d8c56a64c3e0f61d8a76a345f1beedaf140965162cb740b1f2fa1fa188ab4c44f4ae4a26f1886407b8117673f434a0e\",\"content_length\":1197},{\"chunk_id\":\"546D0132-0E06-3B7A-8640-BE4046513445\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"bd4e9fbd70cc72126c49bf845ddfc82b55ada23c993b42bf99e959a25c71ce842de318c003bf1b78776402b48d67d2564d58d044aca9013f3fc8efd999504540\",\"content_length\":1264},{\"chunk_id\":\"CF8FE765-6C29-35B1-BD6F-B7579CE12DD3\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d2ce5a241db48f8c06f76aa0d43270cd1c2933135f89b3b647ef21ed65d60d810f7514eb35f0ddc0a31c85904ad73cc5ffae4555dc5ceaf6647b2f0f4eb1d755\",\"content_length\":5760}],\"force\":false,\"skip_on_conflict\":true}",
+ "status": 200
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/symbol_sets/bulk_start_upload",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"2556F151-5A40-3847-BE6C-E2C1B5BE4DF8\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d3a31571946c557772497c1974a1c471789bb1b9253205a9d1eb71fdced1820084674840471a762896961b9c5b9a48b3bac6f502ec5ef8ed38603b3920b7bf08\",\"content_length\":1198},{\"chunk_id\":\"3B4566E4-491B-3DCF-94F5-AE51F624DD87\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"849f67a851e04d14f9fe6e1e3081fd984d8c56a64c3e0f61d8a76a345f1beedaf140965162cb740b1f2fa1fa188ab4c44f4ae4a26f1886407b8117673f434a0e\",\"content_length\":1197},{\"chunk_id\":\"546D0132-0E06-3B7A-8640-BE4046513445\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"bd4e9fbd70cc72126c49bf845ddfc82b55ada23c993b42bf99e959a25c71ce842de318c003bf1b78776402b48d67d2564d58d044aca9013f3fc8efd999504540\",\"content_length\":1264},{\"chunk_id\":\"CF8FE765-6C29-35B1-BD6F-B7579CE12DD3\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d2ce5a241db48f8c06f76aa0d43270cd1c2933135f89b3b647ef21ed65d60d810f7514eb35f0ddc0a31c85904ad73cc5ffae4555dc5ceaf6647b2f0f4eb1d755\",\"content_length\":5760}],\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\",\"force\":false,\"skip_on_conflict\":true}",
+ "status": 201
+ }
+ ]
+}
diff --git a/hog/test/parity/golden/e2e/native-real-dsyms-sources.json b/hog/test/parity/golden/e2e/native-real-dsyms-sources.json
new file mode 100644
index 000000000000..91f511559ae7
--- /dev/null
+++ b/hog/test/parity/golden/e2e/native-real-dsyms-sources.json
@@ -0,0 +1,102 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/5bc1ff01b0e9ecb77f4ad91c1730de63676cab0a9d97ea60035260aa03a17ef3285528dc929279ba232254dfad7b9aba2726a64018044b4d65060641ab631eee",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"5bc1ff01b0e9ecb77f4ad91c1730de63676cab0a9d97ea60035260aa03a17ef3285528dc929279ba232254dfad7b9aba2726a64018044b4d65060641ab631eee\",\"version\":\"4.0.0\",\"project\":\"com.example.app\"}",
+ "status": 201
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/symbol_sets/bulk_check_upload",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"2556F151-5A40-3847-BE6C-E2C1B5BE4DF8\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d3a31571946c557772497c1974a1c471789bb1b9253205a9d1eb71fdced1820084674840471a762896961b9c5b9a48b3bac6f502ec5ef8ed38603b3920b7bf08\",\"content_length\":1198},{\"chunk_id\":\"3B4566E4-491B-3DCF-94F5-AE51F624DD87\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"849f67a851e04d14f9fe6e1e3081fd984d8c56a64c3e0f61d8a76a345f1beedaf140965162cb740b1f2fa1fa188ab4c44f4ae4a26f1886407b8117673f434a0e\",\"content_length\":1197},{\"chunk_id\":\"546D0132-0E06-3B7A-8640-BE4046513445\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"3c00c56ada095b2a6a22fc0a109a9aa38797456a0fb476de3fe8ddbe590d33af274bea1041a8a3190ed68199aefb520b2d628c234217b82cc33f05156ba49968\",\"content_length\":1350},{\"chunk_id\":\"CF8FE765-6C29-35B1-BD6F-B7579CE12DD3\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d2ce5a241db48f8c06f76aa0d43270cd1c2933135f89b3b647ef21ed65d60d810f7514eb35f0ddc0a31c85904ad73cc5ffae4555dc5ceaf6647b2f0f4eb1d755\",\"content_length\":5760}],\"force\":true,\"skip_on_conflict\":false}",
+ "status": 200
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/symbol_sets/bulk_start_upload",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"2556F151-5A40-3847-BE6C-E2C1B5BE4DF8\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d3a31571946c557772497c1974a1c471789bb1b9253205a9d1eb71fdced1820084674840471a762896961b9c5b9a48b3bac6f502ec5ef8ed38603b3920b7bf08\",\"content_length\":1198},{\"chunk_id\":\"3B4566E4-491B-3DCF-94F5-AE51F624DD87\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"849f67a851e04d14f9fe6e1e3081fd984d8c56a64c3e0f61d8a76a345f1beedaf140965162cb740b1f2fa1fa188ab4c44f4ae4a26f1886407b8117673f434a0e\",\"content_length\":1197},{\"chunk_id\":\"546D0132-0E06-3B7A-8640-BE4046513445\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"3c00c56ada095b2a6a22fc0a109a9aa38797456a0fb476de3fe8ddbe590d33af274bea1041a8a3190ed68199aefb520b2d628c234217b82cc33f05156ba49968\",\"content_length\":1350},{\"chunk_id\":\"CF8FE765-6C29-35B1-BD6F-B7579CE12DD3\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d2ce5a241db48f8c06f76aa0d43270cd1c2933135f89b3b647ef21ed65d60d810f7514eb35f0ddc0a31c85904ad73cc5ffae4555dc5ceaf6647b2f0f4eb1d755\",\"content_length\":5760}],\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\",\"force\":true,\"skip_on_conflict\":false}",
+ "status": 201
+ },
+ {
+ "method": "PUT",
+ "path": "/s3/put/symbolsets/29942fcb-06df-5cb1-a37a-4e48fd5a3a57?length=1197",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "upload": {
+ "sha512": "849f67a851e04d14f9fe6e1e3081fd984d8c56a64c3e0f61d8a76a345f1beedaf140965162cb740b1f2fa1fa188ab4c44f4ae4a26f1886407b8117673f434a0e",
+ "length": 1197
+ },
+ "status": 200
+ },
+ {
+ "method": "PUT",
+ "path": "/s3/put/symbolsets/913c0897-ddf8-5f63-b0df-760dbaae1471?length=5760",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "upload": {
+ "sha512": "d2ce5a241db48f8c06f76aa0d43270cd1c2933135f89b3b647ef21ed65d60d810f7514eb35f0ddc0a31c85904ad73cc5ffae4555dc5ceaf6647b2f0f4eb1d755",
+ "length": 5760
+ },
+ "status": 200
+ },
+ {
+ "method": "PUT",
+ "path": "/s3/put/symbolsets/a40682b4-e168-5195-ba31-2695d46908c1?length=1350",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "upload": {
+ "sha512": "3c00c56ada095b2a6a22fc0a109a9aa38797456a0fb476de3fe8ddbe590d33af274bea1041a8a3190ed68199aefb520b2d628c234217b82cc33f05156ba49968",
+ "length": 1350
+ },
+ "status": 200
+ },
+ {
+ "method": "PUT",
+ "path": "/s3/put/symbolsets/c4be65d1-4165-51be-9b70-a06fe07f4f17?length=1198",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "upload": {
+ "sha512": "d3a31571946c557772497c1974a1c471789bb1b9253205a9d1eb71fdced1820084674840471a762896961b9c5b9a48b3bac6f502ec5ef8ed38603b3920b7bf08",
+ "length": 1198
+ },
+ "status": 200
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/symbol_sets/bulk_finish_upload",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"content_hashes\":{\"29942fcb-06df-5cb1-a37a-4e48fd5a3a57\":\"849f67a851e04d14f9fe6e1e3081fd984d8c56a64c3e0f61d8a76a345f1beedaf140965162cb740b1f2fa1fa188ab4c44f4ae4a26f1886407b8117673f434a0e\",\"913c0897-ddf8-5f63-b0df-760dbaae1471\":\"d2ce5a241db48f8c06f76aa0d43270cd1c2933135f89b3b647ef21ed65d60d810f7514eb35f0ddc0a31c85904ad73cc5ffae4555dc5ceaf6647b2f0f4eb1d755\",\"a40682b4-e168-5195-ba31-2695d46908c1\":\"3c00c56ada095b2a6a22fc0a109a9aa38797456a0fb476de3fe8ddbe590d33af274bea1041a8a3190ed68199aefb520b2d628c234217b82cc33f05156ba49968\",\"c4be65d1-4165-51be-9b70-a06fe07f4f17\":\"d3a31571946c557772497c1974a1c471789bb1b9253205a9d1eb71fdced1820084674840471a762896961b9c5b9a48b3bac6f502ec5ef8ed38603b3920b7bf08\"},\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\"}",
+ "status": 201
+ }
+ ]
+}
diff --git a/hog/test/parity/golden/e2e/native-real-dsyms.json b/hog/test/parity/golden/e2e/native-real-dsyms.json
new file mode 100644
index 000000000000..4af6061bce62
--- /dev/null
+++ b/hog/test/parity/golden/e2e/native-real-dsyms.json
@@ -0,0 +1,102 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/5bc1ff01b0e9ecb77f4ad91c1730de63676cab0a9d97ea60035260aa03a17ef3285528dc929279ba232254dfad7b9aba2726a64018044b4d65060641ab631eee",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"5bc1ff01b0e9ecb77f4ad91c1730de63676cab0a9d97ea60035260aa03a17ef3285528dc929279ba232254dfad7b9aba2726a64018044b4d65060641ab631eee\",\"version\":\"4.0.0\",\"project\":\"com.example.app\"}",
+ "status": 201
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/symbol_sets/bulk_check_upload",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"2556F151-5A40-3847-BE6C-E2C1B5BE4DF8\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d3a31571946c557772497c1974a1c471789bb1b9253205a9d1eb71fdced1820084674840471a762896961b9c5b9a48b3bac6f502ec5ef8ed38603b3920b7bf08\",\"content_length\":1198},{\"chunk_id\":\"3B4566E4-491B-3DCF-94F5-AE51F624DD87\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"849f67a851e04d14f9fe6e1e3081fd984d8c56a64c3e0f61d8a76a345f1beedaf140965162cb740b1f2fa1fa188ab4c44f4ae4a26f1886407b8117673f434a0e\",\"content_length\":1197},{\"chunk_id\":\"546D0132-0E06-3B7A-8640-BE4046513445\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"bd4e9fbd70cc72126c49bf845ddfc82b55ada23c993b42bf99e959a25c71ce842de318c003bf1b78776402b48d67d2564d58d044aca9013f3fc8efd999504540\",\"content_length\":1264},{\"chunk_id\":\"CF8FE765-6C29-35B1-BD6F-B7579CE12DD3\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d2ce5a241db48f8c06f76aa0d43270cd1c2933135f89b3b647ef21ed65d60d810f7514eb35f0ddc0a31c85904ad73cc5ffae4555dc5ceaf6647b2f0f4eb1d755\",\"content_length\":5760}],\"force\":false,\"skip_on_conflict\":false}",
+ "status": 200
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/symbol_sets/bulk_start_upload",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"symbol_sets\":[{\"chunk_id\":\"2556F151-5A40-3847-BE6C-E2C1B5BE4DF8\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d3a31571946c557772497c1974a1c471789bb1b9253205a9d1eb71fdced1820084674840471a762896961b9c5b9a48b3bac6f502ec5ef8ed38603b3920b7bf08\",\"content_length\":1198},{\"chunk_id\":\"3B4566E4-491B-3DCF-94F5-AE51F624DD87\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"849f67a851e04d14f9fe6e1e3081fd984d8c56a64c3e0f61d8a76a345f1beedaf140965162cb740b1f2fa1fa188ab4c44f4ae4a26f1886407b8117673f434a0e\",\"content_length\":1197},{\"chunk_id\":\"546D0132-0E06-3B7A-8640-BE4046513445\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"bd4e9fbd70cc72126c49bf845ddfc82b55ada23c993b42bf99e959a25c71ce842de318c003bf1b78776402b48d67d2564d58d044aca9013f3fc8efd999504540\",\"content_length\":1264},{\"chunk_id\":\"CF8FE765-6C29-35B1-BD6F-B7579CE12DD3\",\"release_id\":\"b6498726-fe1c-5d99-8299-bb319be390ab\",\"content_hash\":\"d2ce5a241db48f8c06f76aa0d43270cd1c2933135f89b3b647ef21ed65d60d810f7514eb35f0ddc0a31c85904ad73cc5ffae4555dc5ceaf6647b2f0f4eb1d755\",\"content_length\":5760}],\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\",\"force\":false,\"skip_on_conflict\":false}",
+ "status": 201
+ },
+ {
+ "method": "PUT",
+ "path": "/s3/put/symbolsets/29942fcb-06df-5cb1-a37a-4e48fd5a3a57?length=1197",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "upload": {
+ "sha512": "849f67a851e04d14f9fe6e1e3081fd984d8c56a64c3e0f61d8a76a345f1beedaf140965162cb740b1f2fa1fa188ab4c44f4ae4a26f1886407b8117673f434a0e",
+ "length": 1197
+ },
+ "status": 200
+ },
+ {
+ "method": "PUT",
+ "path": "/s3/put/symbolsets/913c0897-ddf8-5f63-b0df-760dbaae1471?length=5760",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "upload": {
+ "sha512": "d2ce5a241db48f8c06f76aa0d43270cd1c2933135f89b3b647ef21ed65d60d810f7514eb35f0ddc0a31c85904ad73cc5ffae4555dc5ceaf6647b2f0f4eb1d755",
+ "length": 5760
+ },
+ "status": 200
+ },
+ {
+ "method": "PUT",
+ "path": "/s3/put/symbolsets/a40682b4-e168-5195-ba31-2695d46908c1?length=1264",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "upload": {
+ "sha512": "bd4e9fbd70cc72126c49bf845ddfc82b55ada23c993b42bf99e959a25c71ce842de318c003bf1b78776402b48d67d2564d58d044aca9013f3fc8efd999504540",
+ "length": 1264
+ },
+ "status": 200
+ },
+ {
+ "method": "PUT",
+ "path": "/s3/put/symbolsets/c4be65d1-4165-51be-9b70-a06fe07f4f17?length=1198",
+ "headers": {
+ "authorization": "<none>"
+ },
+ "upload": {
+ "sha512": "d3a31571946c557772497c1974a1c471789bb1b9253205a9d1eb71fdced1820084674840471a762896961b9c5b9a48b3bac6f502ec5ef8ed38603b3920b7bf08",
+ "length": 1198
+ },
+ "status": 200
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/symbol_sets/bulk_finish_upload",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"content_hashes\":{\"29942fcb-06df-5cb1-a37a-4e48fd5a3a57\":\"849f67a851e04d14f9fe6e1e3081fd984d8c56a64c3e0f61d8a76a345f1beedaf140965162cb740b1f2fa1fa188ab4c44f4ae4a26f1886407b8117673f434a0e\",\"913c0897-ddf8-5f63-b0df-760dbaae1471\":\"d2ce5a241db48f8c06f76aa0d43270cd1c2933135f89b3b647ef21ed65d60d810f7514eb35f0ddc0a31c85904ad73cc5ffae4555dc5ceaf6647b2f0f4eb1d755\",\"a40682b4-e168-5195-ba31-2695d46908c1\":\"bd4e9fbd70cc72126c49bf845ddfc82b55ada23c993b42bf99e959a25c71ce842de318c003bf1b78776402b48d67d2564d58d044aca9013f3fc8efd999504540\",\"c4be65d1-4165-51be-9b70-a06fe07f4f17\":\"d3a31571946c557772497c1974a1c471789bb1b9253205a9d1eb71fdced1820084674840471a762896961b9c5b9a48b3bac6f502ec5ef8ed38603b3920b7bf08\"},\"upload_attempt_id\":\"<attempt-1>\",\"upload_run_id\":\"<run>\"}",
+ "status": 201
+ }
+ ]
+}
diff --git a/hog/test/parity/golden/e2e/release-flags.json b/hog/test/parity/golden/e2e/release-flags.json
new file mode 100644
index 000000000000..5cae7fc0ad7a
--- /dev/null
+++ b/hog/test/parity/golden/e2e/release-flags.json
@@ -0,0 +1,24 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/9205e41068cc0892bec50e052e5d8f51e5ad50ad51b4d81598f16b5821644ca9b23d589e4b66f6a2edf6c7ffb3f0bf790ee3427949017b056fbf49a74e515977",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"9205e41068cc0892bec50e052e5d8f51e5ad50ad51b4d81598f16b5821644ca9b23d589e4b66f6a2edf6c7ffb3f0bf790ee3427949017b056fbf49a74e515977\",\"version\":\"2.1.0+9\",\"project\":\"web\"}",
+ "status": 201
+ }
+ ]
+}
diff --git a/hog/test/parity/golden/e2e/release-from-git.json b/hog/test/parity/golden/e2e/release-from-git.json
new file mode 100644
index 000000000000..2402b71f1d77
--- /dev/null
+++ b/hog/test/parity/golden/e2e/release-from-git.json
@@ -0,0 +1,24 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/1a090dd726e5233c41faaa8e3cdd0d85f295c741f72d295ca5bfac0b9a78d3bb86b23b73148563c49bd81c11d0b8782285a24420156dfddec37f4cb239e4705f",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"metadata\":{\"git\":{\"branch\":\"main\",\"commit_id\":\"c0ffee00c0ffee00c0ffee00c0ffee00c0ffee00\",\"remote_url\":\"https://github.com/PostHog/example-app.git\",\"repo_name\":\"example-app\"}},\"hash_id\":\"1a090dd726e5233c41faaa8e3cdd0d85f295c741f72d295ca5bfac0b9a78d3bb86b23b73148563c49bd81c11d0b8782285a24420156dfddec37f4cb239e4705f\",\"version\":\"c0ffee00c0ffee00c0ffee00c0ffee00c0ffee00\",\"project\":\"example-app\"}",
+ "status": 201
+ }
+ ]
+}
diff --git a/hog/test/parity/golden/e2e/release-info-plist-binary.json b/hog/test/parity/golden/e2e/release-info-plist-binary.json
new file mode 100644
index 000000000000..0cae24ee8f07
--- /dev/null
+++ b/hog/test/parity/golden/e2e/release-info-plist-binary.json
@@ -0,0 +1,24 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/4866ebf20b73d4f30c23b351936f36d7d395f41c218b97a1507730c4ca4e5d4f985ba73769a50e999054354f5b37c5b9dcfe88c47beda819246cdff39734e3c4",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"4866ebf20b73d4f30c23b351936f36d7d395f41c218b97a1507730c4ca4e5d4f985ba73769a50e999054354f5b37c5b9dcfe88c47beda819246cdff39734e3c4\",\"version\":\"3.4.0-béta+57\",\"project\":\"com.example.shop\"}",
+ "status": 201
+ }
+ ]
+}
diff --git a/hog/test/parity/golden/e2e/release-info-plist-build-settings.json b/hog/test/parity/golden/e2e/release-info-plist-build-settings.json
new file mode 100644
index 000000000000..29eafad4f580
--- /dev/null
+++ b/hog/test/parity/golden/e2e/release-info-plist-build-settings.json
@@ -0,0 +1,24 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/80d00782640ffdd7dca2827c1dee25c5ae052ad20084b0decfc286a31f97642c5defec75f4d53a4ac3d87fc447b4a1d751e52490ac024eaeb839c2bc0b246ba3",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"80d00782640ffdd7dca2827c1dee25c5ae052ad20084b0decfc286a31f97642c5defec75f4d53a4ac3d87fc447b4a1d751e52490ac024eaeb839c2bc0b246ba3\",\"version\":\"5.0.1+88\",\"project\":\"com.example.settings\"}",
+ "status": 201
+ }
+ ]
+}
diff --git a/hog/test/parity/golden/e2e/release-info-plist-flags-win.json b/hog/test/parity/golden/e2e/release-info-plist-flags-win.json
new file mode 100644
index 000000000000..9782e8b197e2
--- /dev/null
+++ b/hog/test/parity/golden/e2e/release-info-plist-flags-win.json
@@ -0,0 +1,24 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/decbef4adf0f8c3dc68f3f136220225fd0c1d6313a08acafd257a03dfdf3683a21a1c719f45c24b86f9d064254e854058246f8c3859ead30f8607ffd31eeb2d0",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"decbef4adf0f8c3dc68f3f136220225fd0c1d6313a08acafd257a03dfdf3683a21a1c719f45c24b86f9d064254e854058246f8c3859ead30f8607ffd31eeb2d0\",\"version\":\"9.9.9+57\",\"project\":\"com.example.shop\"}",
+ "status": 201
+ }
+ ]
+}
diff --git a/hog/test/parity/golden/e2e/release-info-plist-missing.json b/hog/test/parity/golden/e2e/release-info-plist-missing.json
new file mode 100644
index 000000000000..6a9be8b00c9c
--- /dev/null
+++ b/hog/test/parity/golden/e2e/release-info-plist-missing.json
@@ -0,0 +1,4 @@
+{
+ "exitCode": 1,
+ "requests": []
+}
diff --git a/hog/test/parity/golden/e2e/release-info-plist-xml.json b/hog/test/parity/golden/e2e/release-info-plist-xml.json
new file mode 100644
index 000000000000..4f7fa0029e09
--- /dev/null
+++ b/hog/test/parity/golden/e2e/release-info-plist-xml.json
@@ -0,0 +1,24 @@
+{
+ "exitCode": 0,
+ "requests": [
+ {
+ "method": "GET",
+ "path": "/api/projects/1/error_tracking/releases/hash/0839ce1947672e69e338658613c3fdb4644b0a89affaa5617f739bc0617c1da4f08508f59c53a59acabd4877e90e19eeb18fa5b3ae08a5c3d148d6b27e6562d3",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "status": 404
+ },
+ {
+ "method": "POST",
+ "path": "/api/projects/1/error_tracking/releases",
+ "headers": {
+ "authorization": "Bearer phx_<key>",
+ "content-type": "application/json"
+ },
+ "body": "{\"hash_id\":\"0839ce1947672e69e338658613c3fdb4644b0a89affaa5617f739bc0617c1da4f08508f59c53a59acabd4877e90e19eeb18fa5b3ae08a5c3d148d6b27e6562d3\",\"version\":\"3.4.0-réc+57\",\"project\":\"com.example.shop\"}",
+ "status": 201
+ }
+ ]
+}
diff --git a/hog/test/parity/golden/e2e/release-none.json b/hog/test/parity/golden/e2e/release-none.json
new file mode 100644
index 000000000000..15d10c524d0c
--- /dev/null
+++ b/hog/test/parity/golden/e2e/release-none.json
@@ -0,0 +1,4 @@
+{
+ "exitCode": 0,
+ "requests": []
+}
diff --git a/hog/test/parity/plist-fixtures.ts b/hog/test/parity/plist-fixtures.ts
new file mode 100644
index 000000000000..376f6097e695
--- /dev/null
+++ b/hog/test/parity/plist-fixtures.ts
@@ -0,0 +1,57 @@
+// iOS Info.plist files for `--info-plist`: XML, binary (made with `plutil -convert binary1`, with a
+// non-ASCII version so it is stored as UTF-16), and one that names Xcode build settings.
+
+export const INFO_PLIST_XML = `<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.example.shop</string>
+ <key>CFBundleShortVersionString</key>
+ <string>3.4.0-r&#xE9;c</string>
+ <key>CFBundleVersion</key>
+ <string>57</string>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>arm64</string>
+ </array>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+</dict>
+</plist>
+`
+
+export const INFO_PLIST_BINARY = Buffer.from(
+ 'YnBsaXN0MDDWAQIDBAUGBwgJCgsNXxAaQ0ZCdW5kbGVTaG9ydFZlcnNpb25TdHJpbmdfEBlDRkJ1bmRsZURldmVsb3BtZW50UmVnaW9uXxAPQ0ZCdW5kbGVWZXJzaW9uXxASQ0ZCdW5kbGVJZGVudGlmaWVyXxAcVUlSZXF1aXJlZERldmljZUNhcGFiaWxpdGllc18QEkxTUmVxdWlyZXNJUGhvbmVPU2oAMwAuADQALgAwAC0AYgDpAHQAYVJlblI1N18QEGNvbS5leGFtcGxlLnNob3ChDFVhcm02NAkIFTJOYHWUqb7BxNfZ3wAAAAAAAAEBAAAAAAAAAA4AAAAAAAAAAAAAAAAAAADg',
+ 'base64'
+)
+
+export const INFO_PLIST_SETTINGS = `<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER:rfc1034identifier)</string>
+ <key>CFBundleShortVersionString</key>
+ <string>$(MARKETING_VERSION)</string>
+ <key>CFBundleVersion</key>
+ <string>\${CURRENT_PROJECT_VERSION}</string>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>arm64</string>
+ </array>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+</dict>
+</plist>
+`
+
+export const XCODE_SETTINGS = {
+ PRODUCT_BUNDLE_IDENTIFIER: 'com.example.settings',
+ MARKETING_VERSION: '5.0.1',
+ CURRENT_PROJECT_VERSION: '88',
+}
diff --git a/hog/test/parity/real/LICENSE b/hog/test/parity/real/LICENSE
new file mode 100644
index 000000000000..a8ff165f3125
--- /dev/null
+++ b/hog/test/parity/real/LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2017 Sentry (https://sentry.io) and individual contributors.
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/hog/test/parity/real/README.md b/hog/test/parity/real/README.md
new file mode 100644
index 000000000000..f3448b78b299
--- /dev/null
+++ b/hog/test/parity/real/README.md
@@ -0,0 +1,15 @@
+# Real build output from getsentry/symbolic
+
+These files come unchanged from the test fixtures of [getsentry/symbolic](https://github.com/getsentry/symbolic/tree/729b97e4391ffd0566bf616f2ec106cfc84bcdae/symbolic-testutils/fixtures), at commit `729b97e`, under the MIT license in `LICENSE`.
+They hold hog to posthog-cli on output from real toolchains, next to the small fixtures built in `native/` and written in `hermes-fixtures.ts`.
+
+| File | Origin |
+| --- | --- |
+| `apple/Example.framework.dSYM` | An Xcode archive build of a macOS framework, fat with x86_64 and arm64 |
+| `apple/overlapping_funcs.dSYM` | An x86_64 dSYM whose functions overlap |
+| `apple/symbolic-1040.dSYM` | An arm64 dSYM of a Rust binary |
+| `react-native/index.android.bundle` | A Metro bundle, renamed from `react-native-metro.js` so it is detected as a React Native bundle |
+| `react-native/react-native-metro.js.map` | Metro's packager map for the bundle |
+| `react-native/react-native-hermes.map` | The map the Hermes compiler wrote for the bundle |
+
+The Hermes map has no `x_hermes_function_offsets` key, which both CLIs require before they upload a Hermes map, so it covers `inject` and `clone` only.
diff --git a/hog/test/parity/real/apple/Example.framework.dSYM/Contents/Info.plist b/hog/test/parity/real/apple/Example.framework.dSYM/Contents/Info.plist
new file mode 100644
index 000000000000..781137ba4dd2
--- /dev/null
+++ b/hog/test/parity/real/apple/Example.framework.dSYM/Contents/Info.plist
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.apple.xcode.dsym.com.example.Example</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>dSYM</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ </dict>
+</plist>
diff --git a/hog/test/parity/real/apple/Example.framework.dSYM/Contents/Resources/DWARF/Example b/hog/test/parity/real/apple/Example.framework.dSYM/Contents/Resources/DWARF/Example
new file mode 100644
index 000000000000..47c8960a5f09
Binary files /dev/null and b/hog/test/parity/real/apple/Example.framework.dSYM/Contents/Resources/DWARF/Example differ
diff --git a/hog/test/parity/real/apple/overlapping_funcs.dSYM/Contents/Resources/DWARF/overlapping_funcs b/hog/test/parity/real/apple/overlapping_funcs.dSYM/Contents/Resources/DWARF/overlapping_funcs
new file mode 100644
index 000000000000..7d331d0c5ff6
Binary files /dev/null and b/hog/test/parity/real/apple/overlapping_funcs.dSYM/Contents/Resources/DWARF/overlapping_funcs differ
diff --git a/hog/test/parity/real/apple/symbolic-1040.dSYM/Contents/Info.plist b/hog/test/parity/real/apple/symbolic-1040.dSYM/Contents/Info.plist
new file mode 100644
index 000000000000..5d7933da0dee
--- /dev/null
+++ b/hog/test/parity/real/apple/symbolic-1040.dSYM/Contents/Info.plist
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.apple.xcode.dsym.symbolic-1040</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>dSYM</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ </dict>
+</plist>
diff --git a/hog/test/parity/real/apple/symbolic-1040.dSYM/Contents/Resources/DWARF/symbolic-1040 b/hog/test/parity/real/apple/symbolic-1040.dSYM/Contents/Resources/DWARF/symbolic-1040
new file mode 100644
index 000000000000..a5a9edc2befa
Binary files /dev/null and b/hog/test/parity/real/apple/symbolic-1040.dSYM/Contents/Resources/DWARF/symbolic-1040 differ
diff --git a/hog/test/parity/real/react-native/index.android.bundle b/hog/test/parity/real/react-native/index.android.bundle
new file mode 100644
index 000000000000..a33d4c6300a0
--- /dev/null
+++ b/hog/test/parity/real/react-native/index.android.bundle
@@ -0,0 +1,9 @@
+var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{};process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||"production";
+!(function(r){"use strict";r.__r=o,r.__d=function(r,i,n){if(null!=e[i])return;var o={dependencyMap:n,factory:r,hasError:!1,importedAll:t,importedDefault:t,isInitialized:!1,publicModule:{exports:{}}};e[i]=o},r.__c=n,r.__registerSegment=function(r,e){s[r]=e};var e=n(),t={},i={}.hasOwnProperty;function n(){return e=Object.create(null)}function o(r){var t=r,i=e[t];return i&&i.isInitialized?i.publicModule.exports:d(t,i)}function l(r){var i=r;if(e[i]&&e[i].importedDefault!==t)return e[i].importedDefault;var n=o(i),l=n&&n.__esModule?n.default:n;return e[i].importedDefault=l}function u(r){var n=r;if(e[n]&&e[n].importedAll!==t)return e[n].importedAll;var l,u=o(n);if(u&&u.__esModule)l=u;else{if(l={},u)for(var a in u)i.call(u,a)&&(l[a]=u[a]);l.default=u}return e[n].importedAll=l}o.importDefault=l,o.importAll=u;var a=!1;function d(e,t){if(!a&&r.ErrorUtils){var i;a=!0;try{i=v(e,t)}catch(e){r.ErrorUtils.reportFatalError(e)}return a=!1,i}return v(e,t)}var c=16,f=65535;function p(r){return{segmentId:r>>>c,localId:r&f}}o.unpackModuleId=p,o.packModuleId=function(r){return(r.segmentId<<c)+r.localId};var s=[];function v(t,i){if(!i&&s.length>0){var n=p(t),a=n.segmentId,d=n.localId,c=s[a];null!=c&&(c(d),i=e[t])}var f=r.nativeRequire;if(!i&&f){var v=p(t),h=v.segmentId;f(v.localId,h),i=e[t]}if(!i)throw Error('Requiring unknown module "'+t+'".');if(i.hasError)throw m(t,i.error);i.isInitialized=!0;var I=i,g=I.factory,y=I.dependencyMap;try{var _=i.publicModule;return _.id=t,g(r,o,l,u,_,_.exports,y),i.factory=void 0,i.dependencyMap=void 0,_.exports}catch(r){throw i.hasError=!0,i.error=r,i.isInitialized=!1,i.publicModule.exports=void 0,r}}function m(r,e){return Error('Requiring module "'+r+'", which threw an exception: '+e)}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
+!(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach(function(n,r){e[n]=!0}),e}function r(n,r,u){if(n.formatValueCalls++,n.formatValueCalls>200)return"[TOO BIG formatValueCalls "+n.formatValueCalls+" exceeded limit of 200]";var f=t(n,r);if(f)return f;var c=Object.keys(r),s=e(c);if(d(r)&&(c.indexOf('message')>=0||c.indexOf('description')>=0))return o(r);if(0===c.length){if(v(r)){var p=r.name?': '+r.name:'';return n.stylize('[Function'+p+']','special')}if(g(r))return n.stylize(RegExp.prototype.toString.call(r),'regexp');if(y(r))return n.stylize(Date.prototype.toString.call(r),'date');if(d(r))return o(r)}var h,b,m='',j=!1,O=['{','}'];(h=r,Array.isArray(h)&&(j=!0,O=['[',']']),v(r))&&(m=' [Function'+(r.name?': '+r.name:'')+']');return g(r)&&(m=' '+RegExp.prototype.toString.call(r)),y(r)&&(m=' '+Date.prototype.toUTCString.call(r)),d(r)&&(m=' '+o(r)),0!==c.length||j&&0!=r.length?u<0?g(r)?n.stylize(RegExp.prototype.toString.call(r),'regexp'):n.stylize('[Object]','special'):(n.seen.push(r),b=j?i(n,r,u,s,c):c.map(function(e){return a(n,r,u,s,e,j)}),n.seen.pop(),l(b,m,O)):O[0]+m+O[1]}function t(n,e){if(s(e))return n.stylize('undefined','undefined');if('string'==typeof e){var r="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(r,'string')}return c(e)?n.stylize(''+e,'number'):u(e)?n.stylize(''+e,'boolean'):f(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,r,t,o){for(var i=[],l=0,u=e.length;l<u;++l)b(e,String(l))?i.push(a(n,e,r,t,String(l),!0)):i.push('');return o.forEach(function(o){o.match(/^\d+$/)||i.push(a(n,e,r,t,o,!0))}),i}function a(n,e,t,o,i,a){var l,u,c;if((c=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?u=c.set?n.stylize('[Getter/Setter]','special'):n.stylize('[Getter]','special'):c.set&&(u=n.stylize('[Setter]','special')),b(o,i)||(l='['+i+']'),u||(n.seen.indexOf(c.value)<0?(u=f(t)?r(n,c.value,null):r(n,c.value,t-1)).indexOf('\n')>-1&&(u=a?u.split('\n').map(function(n){return' '+n}).join('\n').substr(2):'\n'+u.split('\n').map(function(n){return' '+n}).join('\n')):u=n.stylize('[Circular]','special')),s(l)){if(a&&i.match(/^\d+$/))return u;(l=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(l=l.substr(1,l.length-2),l=n.stylize(l,'name')):(l=l.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),l=n.stylize(l,'string'))}return l+': '+u}function l(n,e,r){return n.reduce(function(n,e){return 0,e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1},0)>60?r[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+r[1]:r[0]+e+' '+n.join(', ')+' '+r[1]}function u(n){return'boolean'==typeof n}function f(n){return null===n}function c(n){return'number'==typeof n}function s(n){return void 0===n}function g(n){return p(n)&&'[object RegExp]'===h(n)}function p(n){return'object'==typeof n&&null!==n}function y(n){return p(n)&&'[object Date]'===h(n)}function d(n){return p(n)&&('[object Error]'===h(n)||n instanceof Error)}function v(n){return'function'==typeof n}function h(n){return Object.prototype.toString.call(n)}function b(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,t){return r({seen:[],formatValueCalls:0,stylize:n},e,t.depth)}})(),r='(index)',t={trace:0,info:1,warn:2,error:3},o=[];o[t.trace]='debug',o[t.info]='log',o[t.warn]='warning',o[t.error]='error';var i=1;function a(r){return function(){var a;a=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,function(n){return e(n,{depth:10})}).join(', ');var l=r;'Warning: '===a.slice(0,9)&&l>=t.error&&(l=t.warn),n.__inspectorLog&&n.__inspectorLog(o[l],a,[].slice.call(arguments),i),s.length&&(a=g('',a)),n.nativeLoggingHook(a,l)}}function l(n,e){return Array.apply(null,Array(e)).map(function(){return n})}var u="\u2502",f="\u2510",c="\u2518",s=[];function g(n,e){return s.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:a(t.error),info:a(t.info),log:a(t.info),warn:a(t.warn),trace:a(t.trace),debug:a(t.trace),table:function(e){if(!Array.isArray(e)){var o=e;for(var i in e=[],o)if(o.hasOwnProperty(i)){var a=o[i];a[r]=i,e.push(a)}}if(0!==e.length){var u=Object.keys(e[0]).sort(),f=[],c=[];u.forEach(function(n,r){c[r]=n.length;for(var t=0;t<e.length;t++){var o=(e[t][n]||'?').toString();f[t]=f[t]||[],f[t][r]=o,c[r]=Math.max(c[r],o.length)}});for(var s=y(c.map(function(n){return l('-',n).join('')}),'-'),g=[y(u),s],p=0;p<e.length;p++)g.push(y(f[p]));n.nativeLoggingHook('\n'+g.join('\n'),t.info)}else n.nativeLoggingHook('',t.info);function y(n,e){var r=n.map(function(n,e){return n+l(' ',c[e]-n.length).join('')});return e=e||' ',r.join(e+'|'+e)}},group:function(e){n.nativeLoggingHook(g(f,e),t.info),s.push(u)},groupEnd:function(){s.pop(),n.nativeLoggingHook(g(c),t.info)},groupCollapsed:function(e){n.nativeLoggingHook(g(c,e),t.info),s.push(u)},assert:function(e,r){e||n.nativeLoggingHook('Assertion failed: '+r,t.error)}},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}else if(!n.console){var p=n.print||function(){};n.console={error:p,info:p,log:p,warn:p,trace:p,debug:p,table:p},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
+!(function(n){var r=0,t=function(n,r){throw n},l={setGlobalHandler:function(n){t=n},getGlobalHandler:function(){return t},reportError:function(n){t&&t(n,!1)},reportFatalError:function(n){t&&t(n,!0)},applyWithGuard:function(n,t,u,o,e){try{return r++,n.apply(t,u)}catch(n){l.reportError(n)}finally{r--}return null},applyWithGuardIfNeeded:function(n,r,t){return l.inGuard()?n.apply(r,t):(l.applyWithGuard(n,r,t),null)},inGuard:function(){return!!r},guard:function(n,r,t){var u;if('function'!=typeof n)return console.warn('A function must be passed to ErrorUtils.guard, got ',n),null;var o=null!=(u=null!=r?r:n.name)?u:'<generated guard>';return function(){for(var r=arguments.length,u=new Array(r),e=0;e<r;e++)u[e]=arguments[e];return l.applyWithGuard(n,null!=t?t:this,u,null,o)}}};n.ErrorUtils=l})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
+'undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window&&window,(function(){'use strict';var e=Object.prototype.hasOwnProperty;'function'!=typeof Object.entries&&(Object.entries=function(n){if(null==n)throw new TypeError('Object.entries called on non-object');var o=[];for(var t in n)e.call(n,t)&&o.push([t,n[t]]);return o}),'function'!=typeof Object.values&&(Object.values=function(n){if(null==n)throw new TypeError('Object.values called on non-object');var o=[];for(var t in n)e.call(n,t)&&o.push(n[t]);return o})})();
+__d(function(g,r,i,a,m,e,d){(0,r(d[0]).foo)()},0,[1]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.foo=function(){throw new Error("lets throw!")}},1,[]);
+__r(0);
+//# sourceMappingURL=react-native-metro.js.map
\ No newline at end of file
diff --git a/hog/test/parity/real/react-native/react-native-hermes.map b/hog/test/parity/real/react-native/react-native-hermes.map
new file mode 100644
index 000000000000..2bcee80e0166
--- /dev/null
+++ b/hog/test/parity/real/react-native/react-native-hermes.map
@@ -0,0 +1 @@
+{"version":3,"sources":["node_modules/metro/src/lib/polyfills/require.js","node_modules/react-native/Libraries/polyfills/console.js","node_modules/react-native/Libraries/polyfills/error-guard.js","node_modules/react-native/Libraries/polyfills/Object.es7.js","input.js","module.js"],"sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n *\n * @format\n */\n\"use strict\";\n/* eslint-disable no-bitwise */\n\nglobal.__r = metroRequire;\nglobal.__d = define;\nglobal.__c = clear;\nglobal.__registerSegment = registerSegment;\nvar modules = clear(); // Don't use a Symbol here, it would pull in an extra polyfill with all sorts of\n// additional stuff (e.g. Array.from).\n\nconst EMPTY = {};\nconst _ref = {},\n hasOwnProperty = _ref.hasOwnProperty;\n\nif (__DEV__) {\n global.$RefreshReg$ = () => {};\n\n global.$RefreshSig$ = () => type => type;\n}\n\nfunction clear() {\n modules = Object.create(null); // We return modules here so that we can assign an initial value to modules\n // when defining it. Otherwise, we would have to do \"let modules = null\",\n // which will force us to add \"nullthrows\" everywhere.\n\n return modules;\n}\n\nif (__DEV__) {\n var verboseNamesToModuleIds = Object.create(null);\n var initializingModuleIds = [];\n}\n\nfunction define(factory, moduleId, dependencyMap) {\n if (modules[moduleId] != null) {\n if (__DEV__) {\n // (We take `inverseDependencies` from `arguments` to avoid an unused\n // named parameter in `define` in production.\n const inverseDependencies = arguments[4]; // If the module has already been defined and the define method has been\n // called with inverseDependencies, we can hot reload it.\n\n if (inverseDependencies) {\n global.__accept(moduleId, factory, dependencyMap, inverseDependencies);\n }\n } // prevent repeated calls to `global.nativeRequire` to overwrite modules\n // that are already loaded\n\n return;\n }\n\n const mod = {\n dependencyMap,\n factory,\n hasError: false,\n importedAll: EMPTY,\n importedDefault: EMPTY,\n isInitialized: false,\n publicModule: {\n exports: {}\n }\n };\n modules[moduleId] = mod;\n\n if (__DEV__) {\n // HMR\n mod.hot = createHotReloadingObject(); // DEBUGGABLE MODULES NAMES\n // we take `verboseName` from `arguments` to avoid an unused named parameter\n // in `define` in production.\n\n const verboseName = arguments[3];\n\n if (verboseName) {\n mod.verboseName = verboseName;\n verboseNamesToModuleIds[verboseName] = moduleId;\n }\n }\n}\n\nfunction metroRequire(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n\n if (moduleId == null) {\n throw new Error(`Unknown named module: \"${verboseName}\"`);\n } else {\n console.warn(\n `Requiring module \"${verboseName}\" by name is only supported for ` +\n \"debugging purposes and will BREAK IN PRODUCTION!\"\n );\n }\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (__DEV__) {\n const initializingIndex = initializingModuleIds.indexOf(\n moduleIdReallyIsNumber\n );\n\n if (initializingIndex !== -1) {\n const cycle = initializingModuleIds\n .slice(initializingIndex)\n .map(id => (modules[id] ? modules[id].verboseName : \"[unknown]\")); // We want to show A -> B -> A:\n\n cycle.push(cycle[0]);\n console.warn(\n `Require cycle: ${cycle.join(\" -> \")}\\n\\n` +\n \"Require cycles are allowed, but can result in uninitialized values. \" +\n \"Consider refactoring to remove the need for a cycle.\"\n );\n }\n }\n\n const module = modules[moduleIdReallyIsNumber];\n return module && module.isInitialized\n ? module.publicModule.exports\n : guardedLoadModule(moduleIdReallyIsNumber, module);\n}\n\nfunction metroImportDefault(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedDefault !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedDefault;\n }\n\n const exports = metroRequire(moduleIdReallyIsNumber);\n const importedDefault =\n exports && exports.__esModule ? exports.default : exports; // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n\n return (modules[moduleIdReallyIsNumber].importedDefault = importedDefault);\n}\n\nmetroRequire.importDefault = metroImportDefault;\n\nfunction metroImportAll(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedAll !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedAll;\n }\n\n const exports = metroRequire(moduleIdReallyIsNumber);\n let importedAll;\n\n if (exports && exports.__esModule) {\n importedAll = exports;\n } else {\n importedAll = {}; // Refrain from using Object.assign, it has to work in ES3 environments.\n\n if (exports) {\n for (const key in exports) {\n if (hasOwnProperty.call(exports, key)) {\n importedAll[key] = exports[key];\n }\n }\n }\n\n importedAll.default = exports;\n } // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n\n return (modules[moduleIdReallyIsNumber].importedAll = importedAll);\n}\n\nmetroRequire.importAll = metroImportAll;\nlet inGuard = false;\n\nfunction guardedLoadModule(moduleId, module) {\n if (!inGuard && global.ErrorUtils) {\n inGuard = true;\n let returnValue;\n\n try {\n returnValue = loadModuleImplementation(moduleId, module);\n } catch (e) {\n // TODO: (moti) T48204692 Type this use of ErrorUtils.\n global.ErrorUtils.reportFatalError(e);\n }\n\n inGuard = false;\n return returnValue;\n } else {\n return loadModuleImplementation(moduleId, module);\n }\n}\n\nconst ID_MASK_SHIFT = 16;\nconst LOCAL_ID_MASK = ~0 >>> ID_MASK_SHIFT;\n\nfunction unpackModuleId(moduleId) {\n const segmentId = moduleId >>> ID_MASK_SHIFT;\n const localId = moduleId & LOCAL_ID_MASK;\n return {\n segmentId,\n localId\n };\n}\n\nmetroRequire.unpackModuleId = unpackModuleId;\n\nfunction packModuleId(value) {\n return (value.segmentId << ID_MASK_SHIFT) + value.localId;\n}\n\nmetroRequire.packModuleId = packModuleId;\nconst moduleDefinersBySegmentID = [];\n\nfunction registerSegment(segmentID, moduleDefiner) {\n moduleDefinersBySegmentID[segmentID] = moduleDefiner;\n}\n\nfunction loadModuleImplementation(moduleId, module) {\n if (!module && moduleDefinersBySegmentID.length > 0) {\n const _unpackModuleId = unpackModuleId(moduleId),\n segmentId = _unpackModuleId.segmentId,\n localId = _unpackModuleId.localId;\n\n const definer = moduleDefinersBySegmentID[segmentId];\n\n if (definer != null) {\n definer(localId);\n module = modules[moduleId];\n }\n }\n\n const nativeRequire = global.nativeRequire;\n\n if (!module && nativeRequire) {\n const _unpackModuleId2 = unpackModuleId(moduleId),\n segmentId = _unpackModuleId2.segmentId,\n localId = _unpackModuleId2.localId;\n\n nativeRequire(localId, segmentId);\n module = modules[moduleId];\n }\n\n if (!module) {\n throw unknownModuleError(moduleId);\n }\n\n if (module.hasError) {\n throw moduleThrewError(moduleId, module.error);\n } // `metroRequire` calls into the require polyfill itself are not analyzed and\n // replaced so that they use numeric module IDs.\n // The systrace module will expose itself on the metroRequire function so that\n // it can be used here.\n // TODO(t9759686) Scan polyfills for dependencies, too\n\n if (__DEV__) {\n var Systrace = metroRequire.Systrace,\n Refresh = metroRequire.Refresh;\n } // We must optimistically mark module as initialized before running the\n // factory to keep any require cycles inside the factory from causing an\n // infinite require loop.\n\n module.isInitialized = true;\n const _module = module,\n factory = _module.factory,\n dependencyMap = _module.dependencyMap;\n\n if (__DEV__) {\n initializingModuleIds.push(moduleId);\n }\n\n try {\n if (__DEV__) {\n // $FlowFixMe: we know that __DEV__ is const and `Systrace` exists\n Systrace.beginEvent(\"JS_require_\" + (module.verboseName || moduleId));\n }\n\n const moduleObject = module.publicModule;\n\n if (__DEV__) {\n moduleObject.hot = module.hot;\n var prevRefreshReg = global.$RefreshReg$;\n var prevRefreshSig = global.$RefreshSig$;\n\n if (Refresh != null) {\n const RefreshRuntime = Refresh;\n\n global.$RefreshReg$ = (type, id) => {\n RefreshRuntime.register(type, moduleId + \" \" + id);\n };\n\n global.$RefreshSig$ =\n RefreshRuntime.createSignatureFunctionForTransform;\n }\n }\n\n moduleObject.id = moduleId; // keep args in sync with with defineModuleCode in\n // metro/src/Resolver/index.js\n // and metro/src/ModuleGraph/worker.js\n\n factory(\n global,\n metroRequire,\n metroImportDefault,\n metroImportAll,\n moduleObject,\n moduleObject.exports,\n dependencyMap\n ); // avoid removing factory in DEV mode as it breaks HMR\n\n if (!__DEV__) {\n // $FlowFixMe: This is only sound because we never access `factory` again\n module.factory = undefined;\n module.dependencyMap = undefined;\n }\n\n if (__DEV__) {\n // $FlowFixMe: we know that __DEV__ is const and `Systrace` exists\n Systrace.endEvent();\n\n if (Refresh != null) {\n registerExportsForReactRefresh(Refresh, moduleObject.exports, moduleId);\n }\n }\n\n return moduleObject.exports;\n } catch (e) {\n module.hasError = true;\n module.error = e;\n module.isInitialized = false;\n module.publicModule.exports = undefined;\n throw e;\n } finally {\n if (__DEV__) {\n if (initializingModuleIds.pop() !== moduleId) {\n throw new Error(\n \"initializingModuleIds is corrupt; something is terribly wrong\"\n );\n }\n\n global.$RefreshReg$ = prevRefreshReg;\n global.$RefreshSig$ = prevRefreshSig;\n }\n }\n}\n\nfunction unknownModuleError(id) {\n let message = 'Requiring unknown module \"' + id + '\".';\n\n if (__DEV__) {\n message +=\n \" If you are sure the module exists, try restarting Metro. \" +\n \"You may also want to run `yarn` or `npm install`.\";\n }\n\n return Error(message);\n}\n\nfunction moduleThrewError(id, error) {\n const displayName = (__DEV__ && modules[id] && modules[id].verboseName) || id;\n return Error(\n 'Requiring module \"' + displayName + '\", which threw an exception: ' + error\n );\n}\n\nif (__DEV__) {\n metroRequire.Systrace = {\n beginEvent: () => {},\n endEvent: () => {}\n };\n\n metroRequire.getModules = () => {\n return modules;\n }; // HOT MODULE RELOADING\n\n var createHotReloadingObject = function() {\n const hot = {\n _acceptCallback: null,\n _disposeCallback: null,\n _didAccept: false,\n accept: callback => {\n hot._didAccept = true;\n hot._acceptCallback = callback;\n },\n dispose: callback => {\n hot._disposeCallback = callback;\n }\n };\n return hot;\n };\n\n let reactRefreshTimeout = null;\n\n const metroHotUpdateModule = function(\n id,\n factory,\n dependencyMap,\n inverseDependencies\n ) {\n const mod = modules[id];\n\n if (!mod) {\n if (factory) {\n // New modules are going to be handled by the define() method.\n return;\n }\n\n throw unknownModuleError(id);\n }\n\n if (!mod.hasError && !mod.isInitialized) {\n // The module hasn't actually been executed yet,\n // so we can always safely replace it.\n mod.factory = factory;\n mod.dependencyMap = dependencyMap;\n return;\n }\n\n const Refresh = metroRequire.Refresh;\n const pendingModuleIDs = [id];\n const updatedModuleIDs = [];\n const seenModuleIDs = new Set();\n const refreshBoundaryIDs = new Set(); // In this loop, we will traverse the dependency tree upwards from the\n // changed module. Updates \"bubble\" up to the closest accepted parent.\n //\n // If we reach the module root and nothing along the way accepted the update,\n // we know hot reload is going to fail. In that case we return false.\n //\n // The main purpose of this loop is to figure out whether it's safe to apply\n // a hot update. It is only safe when the update was accepted somewhere\n // along the way upwards for each of its parent dependency module chains.\n //\n // If we didn't have this check, we'd risk re-evaluating modules that\n // have side effects and lead to confusing and meaningless crashes.\n\n while (pendingModuleIDs.length > 0) {\n const pendingID = pendingModuleIDs.pop(); // Don't process twice if we have a cycle.\n\n if (seenModuleIDs.has(pendingID)) {\n continue;\n }\n\n seenModuleIDs.add(pendingID); // If the module accepts itself, no need to bubble.\n // We can stop worrying about this module chain and pick the next one.\n\n const pendingModule = modules[pendingID];\n\n if (pendingModule != null) {\n const pendingHot = pendingModule.hot;\n\n if (pendingHot == null) {\n throw new Error(\n \"[Refresh] Expected module.hot to always exist in DEV.\"\n );\n } // A module can be accepted manually from within itself.\n\n let canAccept = pendingHot._didAccept;\n\n if (!canAccept && Refresh != null) {\n // Or React Refresh may mark it accepted based on exports.\n const isBoundary = isReactRefreshBoundary(\n Refresh,\n pendingModule.publicModule.exports\n );\n\n if (isBoundary) {\n canAccept = true;\n refreshBoundaryIDs.add(pendingID);\n }\n }\n\n if (canAccept) {\n updatedModuleIDs.push(pendingID);\n continue;\n }\n } // If we bubble through the roof, there is no way to do a hot update.\n // Bail out altogether. This is the failure case.\n\n const parentIDs = inverseDependencies[pendingID];\n\n if (parentIDs.length === 0) {\n // Reload the app because the hot reload can't succeed.\n // This should work both on web and React Native.\n performFullRefresh();\n return;\n } // This module didn't accept but maybe all its parents did?\n // Put them all in the queue to run the same set of checks.\n\n updatedModuleIDs.push(pendingID);\n parentIDs.forEach(parentID => pendingModuleIDs.push(parentID));\n } // If we reached here, it is likely that hot reload will be successful.\n // Run the actual factories.\n\n seenModuleIDs.clear();\n\n for (let i = 0; i < updatedModuleIDs.length; i++) {\n // Don't process twice if we have a cycle.\n const updatedID = updatedModuleIDs[i];\n\n if (seenModuleIDs.has(updatedID)) {\n continue;\n }\n\n seenModuleIDs.add(updatedID);\n const mod = modules[updatedID];\n\n if (mod == null) {\n throw new Error(\"[Refresh] Expected to find the updated module.\");\n }\n\n const prevExports = mod.publicModule.exports;\n const didError = runUpdatedModule(\n updatedID,\n updatedID === id ? factory : undefined,\n updatedID === id ? dependencyMap : undefined\n );\n const nextExports = mod.publicModule.exports;\n\n if (didError) {\n // The user was shown a redbox about module initialization.\n // There's nothing for us to do here until it's fixed.\n return;\n }\n\n if (refreshBoundaryIDs.has(updatedID)) {\n // Since we just executed the code for it, it's possible\n // that the new exports make it ineligible for being a boundary.\n const isNoLongerABoundary = !isReactRefreshBoundary(\n Refresh,\n nextExports\n ); // It can also become ineligible if its exports are incompatible\n // with the previous exports.\n // For example, if you add/remove/change exports, we'll want\n // to re-execute the importing modules, and force those components\n // to re-render. Similarly, if you convert a class component\n // to a function, we want to invalidate the boundary.\n\n const didInvalidate = shouldInvalidateReactRefreshBoundary(\n Refresh,\n prevExports,\n nextExports\n );\n\n if (isNoLongerABoundary || didInvalidate) {\n // We'll be conservative. The only case in which we won't do a full\n // reload is if all parent modules are also refresh boundaries.\n // In that case we'll add them to the current queue.\n const parentIDs = inverseDependencies[updatedID];\n\n if (parentIDs.length === 0) {\n // Looks like we bubbled to the root. Can't recover from that.\n performFullRefresh();\n return;\n } // Schedule all parent refresh boundaries to re-run in this loop.\n\n for (let j = 0; j < parentIDs.length; j++) {\n const parentID = parentIDs[j];\n const parentMod = modules[parentID];\n\n if (parentMod == null) {\n throw new Error(\"[Refresh] Expected to find parent module.\");\n }\n\n const canAcceptParent = isReactRefreshBoundary(\n Refresh,\n parentMod.publicModule.exports\n );\n\n if (canAcceptParent) {\n // All parents will have to re-run too.\n refreshBoundaryIDs.add(parentID);\n updatedModuleIDs.push(parentID);\n } else {\n performFullRefresh();\n return;\n }\n }\n }\n }\n }\n\n if (Refresh != null) {\n // Debounce a little in case there are multiple updates queued up.\n // This is also useful because __accept may be called multiple times.\n if (reactRefreshTimeout == null) {\n reactRefreshTimeout = setTimeout(() => {\n reactRefreshTimeout = null; // Update React components.\n\n Refresh.performReactRefresh();\n }, 30);\n }\n }\n };\n\n const runUpdatedModule = function(id, factory, dependencyMap) {\n const mod = modules[id];\n\n if (mod == null) {\n throw new Error(\"[Refresh] Expected to find the module.\");\n }\n\n const hot = mod.hot;\n\n if (!hot) {\n throw new Error(\"[Refresh] Expected module.hot to always exist in DEV.\");\n }\n\n if (hot._disposeCallback) {\n try {\n hot._disposeCallback();\n } catch (error) {\n console.error(\n `Error while calling dispose handler for module ${id}: `,\n error\n );\n }\n }\n\n if (factory) {\n mod.factory = factory;\n }\n\n if (dependencyMap) {\n mod.dependencyMap = dependencyMap;\n }\n\n mod.hasError = false;\n mod.error = undefined;\n mod.importedAll = EMPTY;\n mod.importedDefault = EMPTY;\n mod.isInitialized = false;\n const prevExports = mod.publicModule.exports;\n mod.publicModule.exports = {};\n hot._didAccept = false;\n hot._acceptCallback = null;\n hot._disposeCallback = null;\n metroRequire(id);\n\n if (mod.hasError) {\n // This error has already been reported via a redbox.\n // We know it's likely a typo or some mistake that was just introduced.\n // Our goal now is to keep the rest of the application working so that by\n // the time user fixes the error, the app isn't completely destroyed\n // underneath the redbox. So we'll revert the module object to the last\n // successful export and stop propagating this update.\n mod.hasError = false;\n mod.isInitialized = true;\n mod.error = null;\n mod.publicModule.exports = prevExports; // We errored. Stop the update.\n\n return true;\n }\n\n if (hot._acceptCallback) {\n try {\n hot._acceptCallback();\n } catch (error) {\n console.error(\n `Error while calling accept handler for module ${id}: `,\n error\n );\n }\n } // No error.\n\n return false;\n };\n\n const performFullRefresh = () => {\n /* global window */\n if (\n typeof window !== \"undefined\" &&\n window.location != null &&\n typeof window.location.reload === \"function\"\n ) {\n window.location.reload();\n } else {\n // This is attached in setUpDeveloperTools.\n const Refresh = metroRequire.Refresh;\n\n if (Refresh != null) {\n Refresh.performFullRefresh();\n } else {\n console.warn(\"Could not reload the application after an edit.\");\n }\n }\n }; // Modules that only export components become React Refresh boundaries.\n\n var isReactRefreshBoundary = function(Refresh, moduleExports) {\n if (Refresh.isLikelyComponentType(moduleExports)) {\n return true;\n }\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n return false;\n }\n\n let hasExports = false;\n let areAllExportsComponents = true;\n\n for (const key in moduleExports) {\n hasExports = true;\n\n if (key === \"__esModule\") {\n continue;\n }\n\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n return false;\n }\n\n const exportValue = moduleExports[key];\n\n if (!Refresh.isLikelyComponentType(exportValue)) {\n areAllExportsComponents = false;\n }\n }\n\n return hasExports && areAllExportsComponents;\n };\n\n var shouldInvalidateReactRefreshBoundary = (\n Refresh,\n prevExports,\n nextExports\n ) => {\n const prevSignature = getRefreshBoundarySignature(Refresh, prevExports);\n const nextSignature = getRefreshBoundarySignature(Refresh, nextExports);\n\n if (prevSignature.length !== nextSignature.length) {\n return true;\n }\n\n for (let i = 0; i < nextSignature.length; i++) {\n if (prevSignature[i] !== nextSignature[i]) {\n return true;\n }\n }\n\n return false;\n }; // When this signature changes, it's unsafe to stop at this refresh boundary.\n\n var getRefreshBoundarySignature = (Refresh, moduleExports) => {\n const signature = [];\n signature.push(Refresh.getFamilyByType(moduleExports));\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return signature;\n }\n\n for (const key in moduleExports) {\n if (key === \"__esModule\") {\n continue;\n }\n\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n continue;\n }\n\n const exportValue = moduleExports[key];\n signature.push(key);\n signature.push(Refresh.getFamilyByType(exportValue));\n }\n\n return signature;\n };\n\n var registerExportsForReactRefresh = (Refresh, moduleExports, moduleID) => {\n Refresh.register(moduleExports, moduleID + \" %exports%\");\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return;\n }\n\n for (const key in moduleExports) {\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n continue;\n }\n\n const exportValue = moduleExports[key];\n const typeID = moduleID + \" %exports% \" + key;\n Refresh.register(exportValue, typeID);\n }\n };\n\n global.__accept = metroHotUpdateModule;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n * @nolint\n * @format\n */\n\n/* eslint-disable no-shadow, eqeqeq, curly, no-unused-vars, no-void, no-control-regex */\n\n/**\n * This pipes all of our console logging functions to native logging so that\n * JavaScript errors in required modules show up in Xcode via NSLog.\n */\nconst inspect = (function() {\n // Copyright Joyent, Inc. and other Node contributors.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a\n // copy of this software and associated documentation files (the\n // \"Software\"), to deal in the Software without restriction, including\n // without limitation the rights to use, copy, modify, merge, publish,\n // distribute, sublicense, and/or sell copies of the Software, and to permit\n // persons to whom the Software is furnished to do so, subject to the\n // following conditions:\n //\n // The above copyright notice and this permission notice shall be included\n // in all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n //\n // https://github.com/joyent/node/blob/master/lib/util.js\n\n function inspect(obj, opts) {\n var ctx = {\n seen: [],\n formatValueCalls: 0,\n stylize: stylizeNoColor,\n };\n return formatValue(ctx, obj, opts.depth);\n }\n\n function stylizeNoColor(str, styleType) {\n return str;\n }\n\n function arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n }\n\n function formatValue(ctx, value, recurseTimes) {\n ctx.formatValueCalls++;\n if (ctx.formatValueCalls > 200) {\n return `[TOO BIG formatValueCalls ${\n ctx.formatValueCalls\n } exceeded limit of 200]`;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (\n isError(value) &&\n (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)\n ) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '',\n array = false,\n braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n key,\n array,\n );\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n }\n\n function formatPrimitive(ctx, value) {\n if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple =\n \"'\" +\n JSON.stringify(value)\n .replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') +\n \"'\";\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value)) return ctx.stylize('' + value, 'number');\n if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value)) return ctx.stylize('null', 'null');\n }\n\n function formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n }\n\n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(\n formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n String(i),\n true,\n ),\n );\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(\n formatProperty(ctx, value, recurseTimes, visibleKeys, key, true),\n );\n }\n });\n return output;\n }\n\n function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || {value: value[key]};\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n')\n .substr(2);\n } else {\n str =\n '\\n' +\n str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n }\n\n function reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return (\n braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1]\n );\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n }\n\n // NOTE: These type checking functions intentionally don't use `instanceof`\n // because it is fragile and can be easily faked with `Object.create()`.\n function isArray(ar) {\n return Array.isArray(ar);\n }\n\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n\n function isNull(arg) {\n return arg === null;\n }\n\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n\n function isString(arg) {\n return typeof arg === 'string';\n }\n\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n\n function isUndefined(arg) {\n return arg === void 0;\n }\n\n function isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n }\n\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n\n function isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n }\n\n function isError(e) {\n return (\n isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error)\n );\n }\n\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n\n return inspect;\n})();\n\nconst OBJECT_COLUMN_NAME = '(index)';\nconst LOG_LEVELS = {\n trace: 0,\n info: 1,\n warn: 2,\n error: 3,\n};\nconst INSPECTOR_LEVELS = [];\nINSPECTOR_LEVELS[LOG_LEVELS.trace] = 'debug';\nINSPECTOR_LEVELS[LOG_LEVELS.info] = 'log';\nINSPECTOR_LEVELS[LOG_LEVELS.warn] = 'warning';\nINSPECTOR_LEVELS[LOG_LEVELS.error] = 'error';\n\n// Strip the inner function in getNativeLogFunction(), if in dev also\n// strip method printing to originalConsole.\nconst INSPECTOR_FRAMES_TO_SKIP = __DEV__ ? 2 : 1;\n\nfunction getNativeLogFunction(level) {\n return function() {\n let str;\n if (arguments.length === 1 && typeof arguments[0] === 'string') {\n str = arguments[0];\n } else {\n str = Array.prototype.map\n .call(arguments, function(arg) {\n return inspect(arg, {depth: 10});\n })\n .join(', ');\n }\n\n let logLevel = level;\n if (str.slice(0, 9) === 'Warning: ' && logLevel >= LOG_LEVELS.error) {\n // React warnings use console.error so that a stack trace is shown,\n // but we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in ExceptionsManager.js.)\n logLevel = LOG_LEVELS.warn;\n }\n if (global.__inspectorLog) {\n global.__inspectorLog(\n INSPECTOR_LEVELS[logLevel],\n str,\n [].slice.call(arguments),\n INSPECTOR_FRAMES_TO_SKIP,\n );\n }\n if (groupStack.length) {\n str = groupFormat('', str);\n }\n global.nativeLoggingHook(str, logLevel);\n };\n}\n\nfunction repeat(element, n) {\n return Array.apply(null, Array(n)).map(function() {\n return element;\n });\n}\n\nfunction consoleTablePolyfill(rows) {\n // convert object -> array\n if (!Array.isArray(rows)) {\n var data = rows;\n rows = [];\n for (var key in data) {\n if (data.hasOwnProperty(key)) {\n var row = data[key];\n row[OBJECT_COLUMN_NAME] = key;\n rows.push(row);\n }\n }\n }\n if (rows.length === 0) {\n global.nativeLoggingHook('', LOG_LEVELS.info);\n return;\n }\n\n var columns = Object.keys(rows[0]).sort();\n var stringRows = [];\n var columnWidths = [];\n\n // Convert each cell to a string. Also\n // figure out max cell width for each column\n columns.forEach(function(k, i) {\n columnWidths[i] = k.length;\n for (var j = 0; j < rows.length; j++) {\n var cellStr = (rows[j][k] || '?').toString();\n stringRows[j] = stringRows[j] || [];\n stringRows[j][i] = cellStr;\n columnWidths[i] = Math.max(columnWidths[i], cellStr.length);\n }\n });\n\n // Join all elements in the row into a single string with | separators\n // (appends extra spaces to each cell to make separators | aligned)\n function joinRow(row, space) {\n var cells = row.map(function(cell, i) {\n var extraSpaces = repeat(' ', columnWidths[i] - cell.length).join('');\n return cell + extraSpaces;\n });\n space = space || ' ';\n return cells.join(space + '|' + space);\n }\n\n var separators = columnWidths.map(function(columnWidth) {\n return repeat('-', columnWidth).join('');\n });\n var separatorRow = joinRow(separators, '-');\n var header = joinRow(columns);\n var table = [header, separatorRow];\n\n for (var i = 0; i < rows.length; i++) {\n table.push(joinRow(stringRows[i]));\n }\n\n // Notice extra empty line at the beginning.\n // Native logging hook adds \"RCTLog >\" at the front of every\n // logged string, which would shift the header and screw up\n // the table\n global.nativeLoggingHook('\\n' + table.join('\\n'), LOG_LEVELS.info);\n}\n\nconst GROUP_PAD = '\\u2502'; // Box light vertical\nconst GROUP_OPEN = '\\u2510'; // Box light down+left\nconst GROUP_CLOSE = '\\u2518'; // Box light up+left\n\nconst groupStack = [];\n\nfunction groupFormat(prefix, msg) {\n // Insert group formatting before the console message\n return groupStack.join('') + prefix + ' ' + (msg || '');\n}\n\nfunction consoleGroupPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_OPEN, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupCollapsedPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupEndPolyfill() {\n groupStack.pop();\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE), LOG_LEVELS.info);\n}\n\nfunction consoleAssertPolyfill(expression, label) {\n if (!expression) {\n global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);\n }\n}\n\nif (global.nativeLoggingHook) {\n const originalConsole = global.console;\n // Preserve the original `console` as `originalConsole`\n if (__DEV__ && originalConsole) {\n const descriptor = Object.getOwnPropertyDescriptor(global, 'console');\n if (descriptor) {\n Object.defineProperty(global, 'originalConsole', descriptor);\n }\n }\n\n global.console = {\n error: getNativeLogFunction(LOG_LEVELS.error),\n info: getNativeLogFunction(LOG_LEVELS.info),\n log: getNativeLogFunction(LOG_LEVELS.info),\n warn: getNativeLogFunction(LOG_LEVELS.warn),\n trace: getNativeLogFunction(LOG_LEVELS.trace),\n debug: getNativeLogFunction(LOG_LEVELS.trace),\n table: consoleTablePolyfill,\n group: consoleGroupPolyfill,\n groupEnd: consoleGroupEndPolyfill,\n groupCollapsed: consoleGroupCollapsedPolyfill,\n assert: consoleAssertPolyfill,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n\n // If available, also call the original `console` method since that is\n // sometimes useful. Ex: on OS X, this will let you see rich output in\n // the Safari Web Inspector console.\n if (__DEV__ && originalConsole) {\n Object.keys(console).forEach(methodName => {\n const reactNativeMethod = console[methodName];\n if (originalConsole[methodName]) {\n console[methodName] = function() {\n // TODO(T43930203): remove this special case once originalConsole.assert properly checks\n // the condition\n if (methodName === 'assert') {\n if (!arguments[0]) {\n originalConsole.assert(...arguments);\n }\n } else {\n originalConsole[methodName](...arguments);\n }\n reactNativeMethod.apply(console, arguments);\n };\n }\n });\n\n // The following methods are not supported by this polyfill but\n // we still should pass them to original console if they are\n // supported by it.\n [\n 'clear',\n 'dir',\n 'dirxml',\n 'groupCollapsed',\n 'profile',\n 'profileEnd',\n ].forEach(methodName => {\n if (typeof originalConsole[methodName] === 'function') {\n console[methodName] = function() {\n originalConsole[methodName](...arguments);\n };\n }\n });\n }\n} else if (!global.console) {\n const log = global.print || function consoleLoggingStub() {};\n global.console = {\n error: log,\n info: log,\n log: log,\n warn: log,\n trace: log,\n debug: log,\n table: log,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @polyfill\n */\n\nlet _inGuard = 0;\n\ntype ErrorHandler = (error: mixed, isFatal: boolean) => void;\ntype Fn<Args, Return> = (...Args) => Return;\n\n/**\n * This is the error handler that is called when we encounter an exception\n * when loading a module. This will report any errors encountered before\n * ExceptionsManager is configured.\n */\nlet _globalHandler: ErrorHandler = function onError(\n e: mixed,\n isFatal: boolean,\n) {\n throw e;\n};\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n */\nconst ErrorUtils = {\n setGlobalHandler(fun: ErrorHandler): void {\n _globalHandler = fun;\n },\n getGlobalHandler(): ErrorHandler {\n return _globalHandler;\n },\n reportError(error: mixed): void {\n _globalHandler && _globalHandler(error, false);\n },\n reportFatalError(error: mixed): void {\n // NOTE: This has an untyped call site in Metro.\n _globalHandler && _globalHandler(error, true);\n },\n applyWithGuard<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n context?: ?mixed,\n args?: ?TArgs,\n // Unused, but some code synced from www sets it to null.\n unused_onError?: null,\n // Some callers pass a name here, which we ignore.\n unused_name?: ?string,\n ): ?TOut {\n try {\n _inGuard++;\n // $FlowFixMe: TODO T48204745 (1) apply(context, null) is fine. (2) array -> rest array should work\n return fun.apply(context, args);\n } catch (e) {\n ErrorUtils.reportError(e);\n } finally {\n _inGuard--;\n }\n return null;\n },\n applyWithGuardIfNeeded<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n context?: ?mixed,\n args?: ?TArgs,\n ): ?TOut {\n if (ErrorUtils.inGuard()) {\n // $FlowFixMe: TODO T48204745 (1) apply(context, null) is fine. (2) array -> rest array should work\n return fun.apply(context, args);\n } else {\n ErrorUtils.applyWithGuard(fun, context, args);\n }\n return null;\n },\n inGuard(): boolean {\n return !!_inGuard;\n },\n guard<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n name?: ?string,\n context?: ?mixed,\n ): ?(...TArgs) => ?TOut {\n // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types\n // should be sufficient.\n if (typeof fun !== 'function') {\n console.warn('A function must be passed to ErrorUtils.guard, got ', fun);\n return null;\n }\n const guardName = name ?? fun.name ?? '<generated guard>';\n function guarded(...args: TArgs): ?TOut {\n return ErrorUtils.applyWithGuard(\n fun,\n context ?? this,\n args,\n null,\n guardName,\n );\n }\n\n return guarded;\n },\n};\n\nglobal.ErrorUtils = ErrorUtils;\n\nexport type ErrorUtilsT = typeof ErrorUtils;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @polyfill\n * @nolint\n */\n\n(function() {\n 'use strict';\n\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries\n */\n if (typeof Object.entries !== 'function') {\n Object.entries = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.entries called on non-object');\n }\n\n const entries = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n entries.push([key, object[key]]);\n }\n }\n return entries;\n };\n }\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values\n */\n if (typeof Object.values !== 'function') {\n Object.values = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.values called on non-object');\n }\n\n const values = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n values.push(object[key]);\n }\n }\n return values;\n };\n }\n})();\n","import { foo } from \"./module.js\"\n\nfoo();\n","export function foo() {\n throw new Error(\"lets throw!\");\n}\n"],"names":["__DEV__","Object","metroRequire","metroImportDefault","metroImportAll","unpackModuleId","modules","EMPTY","createHotReloadingObject","verboseNamesToModuleIds","global","console","initializingModuleIds","module","guardedLoadModule","Error","exports","hasOwnProperty","inGuard","loadModuleImplementation","ID_MASK_SHIFT","moduleId","LOCAL_ID_MASK","value","moduleDefinersBySegmentID","unknownModuleError","RefreshRuntime","registerExportsForReactRefresh","moduleThrewError","hot","Set","pendingModuleIDs","isReactRefreshBoundary","performFullRefresh","runUpdatedModule","updatedID","shouldInvalidateReactRefreshBoundary","reactRefreshTimeout","setTimeout","Refresh","window","hasExports","getRefreshBoundarySignature","moduleID","LOG_LEVELS","Array","level","INSPECTOR_LEVELS","INSPECTOR_FRAMES_TO_SKIP","groupStack","groupFormat","inspect","element","OBJECT_COLUMN_NAME","rows","columnWidths","stringRows","space","repeat","cell","Math","msg","GROUP_OPEN","GROUP_PAD","GROUP_CLOSE","stylizeNoColor","formatValue","hash","formatPrimitive","arrayToHash","isError","isFunction","isRegExp","isDate","isArray","RegExp","Date","formatError","formatArray","reduceToSingleString","braces","formatProperty","ctx","recurseTimes","visibleKeys","array","isUndefined","isString","isNumber","isBoolean","isNull","JSON","String","output","name","base","numLinesEst","prev","arg","isObject","objectToString","e","originalConsole","methodName","reactNativeMethod","_globalHandler","_inGuard","ErrorUtils","fun","context","guardName","TypeError"],"mappings":"A,uB,K,K,M,K,I,I,Q,I,E,Q,M,K,G,E,M,K,K,K,G,E,M,K,K,K,K,K,M,M,K,O,I,K,G,I,K,M,I,M,E,M,E,M,O,K,K,G,I,K,G,I,K,M,I,M,E,M,E,M,K,K,K,G,I,K,G,I,K,G,I,M,E,M,E,M,K,K,K,G,I,K,G,I,K,G,I,M,E,M,E,M,K,K,M,O,gB,I,M,Q,Q,I,M,K,E,O,I,K,K,I,K,I,K,I,K,I,K,I,K,I,K,I,K,IAaA,M,KACA,MACA,M,KACA,MACmB,IAAR,IAGG,EAAH,IACE,EACU,KAAP,MAEZA,KAAJ,GACwB,KAAtB,MAEsB,KAAtB,MAWEA,KAAJ,GACgCC,MAAA,OAAA,KAAH,IACC,IAAH,IAgH3BC,IAA6BC,IAA7B,MAuCAD,IAAyBE,IAAzB,QACW,OAqBQ,MACG,GAAA,IAAH,IAWnBF,IAA8BG,IAA9B,MAMAH,I,KAAA,MACkC,IAAH,IAyJ3BF,KAAJ,wDACEE,IAAwB,EACV,KADU,IAEZ,KAFY,IAAxB,MAKAA,IAA0B,KAA1B,MAI+B,KAAH,MAgBL,IA2ME,KAAH,IAyEK,KAAH,IAoBK,KAAH,IAqCiB,KAAH,IAqBN,KAAH,IA6BM,KAAH,IA7XL,KAoZ7B,M,EAnxBe,EACLD,MAAA,OAAA,KAAH,GAAA,IAIP,EAQgD,aAC5CK,GAAAA,IAAO,MAAX,IAgBY,EAAA,IAAA,MAAA,IAIGC,IAJH,IAKOA,IALP,IAAA,IAOI,EACH,EADG,IAPJ,IAWZD,IAAA,MAEIN,KAAJ,GAE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AQ,IAAA,IACT,EAOM,SACHC,GAAAA,IAAA,KAAA,IAAJ,GAIEA,IAAA,KAAA,SAEF,EAJS,KAAA,MAAP,EAOOD,GAAAA,IAAD,GAAD,GAAP,EAMsB,YAGlB,OAAJ,MAIkBZ,IAAW,KAAd,OAAA,WAAA,IAPO,KAkBtB,IAdEnF,MAAA,SAAA,QACA,EAGsC,OAAA,KAAA,MAAA,KAAA,UAAA,IAAA,MAAA,IAAA,IAAA,IAAA,IAAA,IAC/BgG,GAAAA,IAAA,KACLC,GAAAA,IACAC,MAAAA,IAAAA,IAGAC,kBALK,IAAP,E,ECxFL,OAAD,I,EAAY,MAGa7G,MAAM,KAAN,KAMZA,MAAM,KAAb,OAAJ,cACEA,MAAiB,KAAjB,MAoBSA,MAAM,KAAb,GAAJ,IACEA,MAAgB,KAAhB,MAeH,EApCqC,KAEhC,IAIgB,IAChB,GACMgB,GADN,QAAA,SAAA,GACMA,IAAA,KAAA,MAAJ,GACE,KAAa,IAAA,IAAY,IAAZ,IAAb,KADF,EAIF,IATY8F,MAAJ,KAAA,WAAA,IAAA,IAAN,EAkB6B,KAE/B,IAIe,IACf,GACM9F,GADN,QAAA,SAAA,GACMA,IAAA,KAAA,MAAJ,GACE,KAAkB,IAAlB,KADF,EAIF,IATY8F,MAAJ,KAAA,WAAA,IAAA,IAAN,E,KC7CR,aAAA,MAEA,KAAA,I,E,K,M,K,I,Q,S,K,Q,ECFsB,EACRhG,MAAJ,KAAA,WAAA,IAAA,IAAN","x_facebook_sources":[[{"names":["<global>","global.$RefreshReg$","global.$RefreshSig$","<anonymous>","clear","define","metroRequire","initializingModuleIds.slice.map$argument_0","metroImportDefault","metroImportAll","guardedLoadModule","unpackModuleId","packModuleId","registerSegment","loadModuleImplementation","unknownModuleError","moduleThrewError","metroRequire.Systrace.beginEvent","metroRequire.Systrace.endEvent","metroRequire.getModules","createHotReloadingObject","hot.accept","hot.dispose","metroHotUpdateModule","parentIDs.forEach$argument_0","setTimeout$argument_0","runUpdatedModule","performFullRefresh","isReactRefreshBoundary","shouldInvalidateReactRefreshBoundary","getRefreshBoundarySignature","registerExportsForReactRefresh"],"mappings":"AAA;wBCyB,QD;wBEE,MC,YH;AIG;CJM;AKO;CL2C;AME;aCyB,2DD;CNe;AQE;CRoB;ASI;CTmC;AUK;CViB;AWK;CXO;AYI;CZE;AaK;CbE;AcE;8BbqE;SaE;CduD;AeE;CfU;AgBE;ChBK;gBiBI,QjB;ckBC,QlB;4BmBG;GnBE;iCoBE;cCK;ODG;eEC;OFE;GpBG;+BuBI;wBCgG,2CD;yCEgG;SFI;GvBG;2B0BE;G1BuE;6B2BE;G3BkB;+B4BE;G5BmC;6C6BE;G7BmB;oC8BE;G9B2B;uC+BE;G/BqB"}],[{"names":["<global>","<anonymous>","inspect","stylizeNoColor","arrayToHash","array.forEach$argument_0","formatValue","keys.map$argument_0","formatPrimitive","formatError","formatArray","keys.forEach$argument_0","formatProperty","str.split.map$argument_0","reduceToSingleString","output.reduce$argument_0","isArray","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","isObject","isDate","isError","isFunction","objectToString","hasOwnProperty","getNativeLogFunction","Array.prototype.map.call$argument_1","repeat","Array.apply.map$argument_0","consoleTablePolyfill","columns.forEach$argument_0","joinRow","row.map$argument_0","columnWidths.map$argument_0","groupFormat","consoleGroupPolyfill","consoleGroupCollapsedPolyfill","consoleGroupEndPolyfill","consoleAssertPolyfill","Object.keys.forEach$argument_0","methodName","forEach$argument_0","consoleLoggingStub"],"mappings":"AAA;iBCiB;ECwB;GDO;EEE;GFE;EGE;kBCG;KDE;GHG;EKE;wBC6F;ODS;GLM;EOE;GPgB;EQE;GRE;ESE;iBCkB;KDM;GTE;EWE;mBC4B;eDE;qBCQ;iBDE;GX0B;EaE;+BCE;KDI;Gbc;EeI;GfE;EgBE;GhBE;EiBE;GjBE;EkBE;GlBE;EmBE;GnBE;EoBE;GpBE;EqBE;GrBE;EsBE;GtBE;EuBE;GvBE;EwBE;GxBE;EyBE;GzBE;E0BE;G1BK;E2BE;G3BE;E4BE;G5BE;E6BE;G7BE;CDG;A+BmB;S9BC;yB+BM;S/BE;G8BuB;C/BC;AiCE;yCCC;GDE;CjCC;AmCE;kBCwB;GDQ;EEI;wBCC;KDG;GFG;oCIE;GJE;CnCc;AwCQ;CxCG;AyCE;CzCG;A0CE;C1CG;A2CE;C3CG;A4CE;C5CI;iC6CmC;8BCG;SDW;K7CE;c+CY;8BDE;SCE;K/CE;8BgDG,gChD"}],[{"names":["<global>","onError","ErrorUtils.setGlobalHandler","ErrorUtils.getGlobalHandler","ErrorUtils.reportError","ErrorUtils.reportFatalError","ErrorUtils.applyWithGuard","ErrorUtils.applyWithGuardIfNeeded","ErrorUtils.inGuard","ErrorUtils.guard","guarded"],"mappings":"AAA;mCCqB;CDK;EEW;GFE;EGC;GHE;EIC;GJE;EKC;GLG;EMC;GNmB;EOC;GPY;EQC;GRE;ESC;ICY;KDQ;GTG"}],[{"names":["<global>","<anonymous>","entries","values"],"mappings":"AAA;CCW;qBCU;KDa;oBEQ;KFa;CDE"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","foo"],"mappings":"AAA,OC;CDE"}]]}
\ No newline at end of file
diff --git a/hog/test/parity/real/react-native/react-native-metro.js.map b/hog/test/parity/real/react-native/react-native-metro.js.map
new file mode 100644
index 000000000000..54041da54cb0
--- /dev/null
+++ b/hog/test/parity/real/react-native/react-native-metro.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["__prelude__","node_modules/metro/src/lib/polyfills/require.js","node_modules/react-native/Libraries/polyfills/console.js","node_modules/react-native/Libraries/polyfills/error-guard.js","node_modules/react-native/Libraries/polyfills/Object.es7.js","input.js","module.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{};process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n *\n * @format\n */\n\"use strict\";\n/* eslint-disable no-bitwise */\n\nglobal.__r = metroRequire;\nglobal.__d = define;\nglobal.__c = clear;\nglobal.__registerSegment = registerSegment;\nvar modules = clear(); // Don't use a Symbol here, it would pull in an extra polyfill with all sorts of\n// additional stuff (e.g. Array.from).\n\nconst EMPTY = {};\nconst _ref = {},\n hasOwnProperty = _ref.hasOwnProperty;\n\nif (__DEV__) {\n global.$RefreshReg$ = () => {};\n\n global.$RefreshSig$ = () => type => type;\n}\n\nfunction clear() {\n modules = Object.create(null); // We return modules here so that we can assign an initial value to modules\n // when defining it. Otherwise, we would have to do \"let modules = null\",\n // which will force us to add \"nullthrows\" everywhere.\n\n return modules;\n}\n\nif (__DEV__) {\n var verboseNamesToModuleIds = Object.create(null);\n var initializingModuleIds = [];\n}\n\nfunction define(factory, moduleId, dependencyMap) {\n if (modules[moduleId] != null) {\n if (__DEV__) {\n // (We take `inverseDependencies` from `arguments` to avoid an unused\n // named parameter in `define` in production.\n const inverseDependencies = arguments[4]; // If the module has already been defined and the define method has been\n // called with inverseDependencies, we can hot reload it.\n\n if (inverseDependencies) {\n global.__accept(moduleId, factory, dependencyMap, inverseDependencies);\n }\n } // prevent repeated calls to `global.nativeRequire` to overwrite modules\n // that are already loaded\n\n return;\n }\n\n const mod = {\n dependencyMap,\n factory,\n hasError: false,\n importedAll: EMPTY,\n importedDefault: EMPTY,\n isInitialized: false,\n publicModule: {\n exports: {}\n }\n };\n modules[moduleId] = mod;\n\n if (__DEV__) {\n // HMR\n mod.hot = createHotReloadingObject(); // DEBUGGABLE MODULES NAMES\n // we take `verboseName` from `arguments` to avoid an unused named parameter\n // in `define` in production.\n\n const verboseName = arguments[3];\n\n if (verboseName) {\n mod.verboseName = verboseName;\n verboseNamesToModuleIds[verboseName] = moduleId;\n }\n }\n}\n\nfunction metroRequire(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n\n if (moduleId == null) {\n throw new Error(`Unknown named module: \"${verboseName}\"`);\n } else {\n console.warn(\n `Requiring module \"${verboseName}\" by name is only supported for ` +\n \"debugging purposes and will BREAK IN PRODUCTION!\"\n );\n }\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (__DEV__) {\n const initializingIndex = initializingModuleIds.indexOf(\n moduleIdReallyIsNumber\n );\n\n if (initializingIndex !== -1) {\n const cycle = initializingModuleIds\n .slice(initializingIndex)\n .map(id => (modules[id] ? modules[id].verboseName : \"[unknown]\")); // We want to show A -> B -> A:\n\n cycle.push(cycle[0]);\n console.warn(\n `Require cycle: ${cycle.join(\" -> \")}\\n\\n` +\n \"Require cycles are allowed, but can result in uninitialized values. \" +\n \"Consider refactoring to remove the need for a cycle.\"\n );\n }\n }\n\n const module = modules[moduleIdReallyIsNumber];\n return module && module.isInitialized\n ? module.publicModule.exports\n : guardedLoadModule(moduleIdReallyIsNumber, module);\n}\n\nfunction metroImportDefault(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedDefault !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedDefault;\n }\n\n const exports = metroRequire(moduleIdReallyIsNumber);\n const importedDefault =\n exports && exports.__esModule ? exports.default : exports; // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n\n return (modules[moduleIdReallyIsNumber].importedDefault = importedDefault);\n}\n\nmetroRequire.importDefault = metroImportDefault;\n\nfunction metroImportAll(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedAll !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedAll;\n }\n\n const exports = metroRequire(moduleIdReallyIsNumber);\n let importedAll;\n\n if (exports && exports.__esModule) {\n importedAll = exports;\n } else {\n importedAll = {}; // Refrain from using Object.assign, it has to work in ES3 environments.\n\n if (exports) {\n for (const key in exports) {\n if (hasOwnProperty.call(exports, key)) {\n importedAll[key] = exports[key];\n }\n }\n }\n\n importedAll.default = exports;\n } // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n\n return (modules[moduleIdReallyIsNumber].importedAll = importedAll);\n}\n\nmetroRequire.importAll = metroImportAll;\nlet inGuard = false;\n\nfunction guardedLoadModule(moduleId, module) {\n if (!inGuard && global.ErrorUtils) {\n inGuard = true;\n let returnValue;\n\n try {\n returnValue = loadModuleImplementation(moduleId, module);\n } catch (e) {\n // TODO: (moti) T48204692 Type this use of ErrorUtils.\n global.ErrorUtils.reportFatalError(e);\n }\n\n inGuard = false;\n return returnValue;\n } else {\n return loadModuleImplementation(moduleId, module);\n }\n}\n\nconst ID_MASK_SHIFT = 16;\nconst LOCAL_ID_MASK = ~0 >>> ID_MASK_SHIFT;\n\nfunction unpackModuleId(moduleId) {\n const segmentId = moduleId >>> ID_MASK_SHIFT;\n const localId = moduleId & LOCAL_ID_MASK;\n return {\n segmentId,\n localId\n };\n}\n\nmetroRequire.unpackModuleId = unpackModuleId;\n\nfunction packModuleId(value) {\n return (value.segmentId << ID_MASK_SHIFT) + value.localId;\n}\n\nmetroRequire.packModuleId = packModuleId;\nconst moduleDefinersBySegmentID = [];\n\nfunction registerSegment(segmentID, moduleDefiner) {\n moduleDefinersBySegmentID[segmentID] = moduleDefiner;\n}\n\nfunction loadModuleImplementation(moduleId, module) {\n if (!module && moduleDefinersBySegmentID.length > 0) {\n const _unpackModuleId = unpackModuleId(moduleId),\n segmentId = _unpackModuleId.segmentId,\n localId = _unpackModuleId.localId;\n\n const definer = moduleDefinersBySegmentID[segmentId];\n\n if (definer != null) {\n definer(localId);\n module = modules[moduleId];\n }\n }\n\n const nativeRequire = global.nativeRequire;\n\n if (!module && nativeRequire) {\n const _unpackModuleId2 = unpackModuleId(moduleId),\n segmentId = _unpackModuleId2.segmentId,\n localId = _unpackModuleId2.localId;\n\n nativeRequire(localId, segmentId);\n module = modules[moduleId];\n }\n\n if (!module) {\n throw unknownModuleError(moduleId);\n }\n\n if (module.hasError) {\n throw moduleThrewError(moduleId, module.error);\n } // `metroRequire` calls into the require polyfill itself are not analyzed and\n // replaced so that they use numeric module IDs.\n // The systrace module will expose itself on the metroRequire function so that\n // it can be used here.\n // TODO(t9759686) Scan polyfills for dependencies, too\n\n if (__DEV__) {\n var Systrace = metroRequire.Systrace,\n Refresh = metroRequire.Refresh;\n } // We must optimistically mark module as initialized before running the\n // factory to keep any require cycles inside the factory from causing an\n // infinite require loop.\n\n module.isInitialized = true;\n const _module = module,\n factory = _module.factory,\n dependencyMap = _module.dependencyMap;\n\n if (__DEV__) {\n initializingModuleIds.push(moduleId);\n }\n\n try {\n if (__DEV__) {\n // $FlowFixMe: we know that __DEV__ is const and `Systrace` exists\n Systrace.beginEvent(\"JS_require_\" + (module.verboseName || moduleId));\n }\n\n const moduleObject = module.publicModule;\n\n if (__DEV__) {\n moduleObject.hot = module.hot;\n var prevRefreshReg = global.$RefreshReg$;\n var prevRefreshSig = global.$RefreshSig$;\n\n if (Refresh != null) {\n const RefreshRuntime = Refresh;\n\n global.$RefreshReg$ = (type, id) => {\n RefreshRuntime.register(type, moduleId + \" \" + id);\n };\n\n global.$RefreshSig$ =\n RefreshRuntime.createSignatureFunctionForTransform;\n }\n }\n\n moduleObject.id = moduleId; // keep args in sync with with defineModuleCode in\n // metro/src/Resolver/index.js\n // and metro/src/ModuleGraph/worker.js\n\n factory(\n global,\n metroRequire,\n metroImportDefault,\n metroImportAll,\n moduleObject,\n moduleObject.exports,\n dependencyMap\n ); // avoid removing factory in DEV mode as it breaks HMR\n\n if (!__DEV__) {\n // $FlowFixMe: This is only sound because we never access `factory` again\n module.factory = undefined;\n module.dependencyMap = undefined;\n }\n\n if (__DEV__) {\n // $FlowFixMe: we know that __DEV__ is const and `Systrace` exists\n Systrace.endEvent();\n\n if (Refresh != null) {\n registerExportsForReactRefresh(Refresh, moduleObject.exports, moduleId);\n }\n }\n\n return moduleObject.exports;\n } catch (e) {\n module.hasError = true;\n module.error = e;\n module.isInitialized = false;\n module.publicModule.exports = undefined;\n throw e;\n } finally {\n if (__DEV__) {\n if (initializingModuleIds.pop() !== moduleId) {\n throw new Error(\n \"initializingModuleIds is corrupt; something is terribly wrong\"\n );\n }\n\n global.$RefreshReg$ = prevRefreshReg;\n global.$RefreshSig$ = prevRefreshSig;\n }\n }\n}\n\nfunction unknownModuleError(id) {\n let message = 'Requiring unknown module \"' + id + '\".';\n\n if (__DEV__) {\n message +=\n \" If you are sure the module exists, try restarting Metro. \" +\n \"You may also want to run `yarn` or `npm install`.\";\n }\n\n return Error(message);\n}\n\nfunction moduleThrewError(id, error) {\n const displayName = (__DEV__ && modules[id] && modules[id].verboseName) || id;\n return Error(\n 'Requiring module \"' + displayName + '\", which threw an exception: ' + error\n );\n}\n\nif (__DEV__) {\n metroRequire.Systrace = {\n beginEvent: () => {},\n endEvent: () => {}\n };\n\n metroRequire.getModules = () => {\n return modules;\n }; // HOT MODULE RELOADING\n\n var createHotReloadingObject = function() {\n const hot = {\n _acceptCallback: null,\n _disposeCallback: null,\n _didAccept: false,\n accept: callback => {\n hot._didAccept = true;\n hot._acceptCallback = callback;\n },\n dispose: callback => {\n hot._disposeCallback = callback;\n }\n };\n return hot;\n };\n\n let reactRefreshTimeout = null;\n\n const metroHotUpdateModule = function(\n id,\n factory,\n dependencyMap,\n inverseDependencies\n ) {\n const mod = modules[id];\n\n if (!mod) {\n if (factory) {\n // New modules are going to be handled by the define() method.\n return;\n }\n\n throw unknownModuleError(id);\n }\n\n if (!mod.hasError && !mod.isInitialized) {\n // The module hasn't actually been executed yet,\n // so we can always safely replace it.\n mod.factory = factory;\n mod.dependencyMap = dependencyMap;\n return;\n }\n\n const Refresh = metroRequire.Refresh;\n const pendingModuleIDs = [id];\n const updatedModuleIDs = [];\n const seenModuleIDs = new Set();\n const refreshBoundaryIDs = new Set(); // In this loop, we will traverse the dependency tree upwards from the\n // changed module. Updates \"bubble\" up to the closest accepted parent.\n //\n // If we reach the module root and nothing along the way accepted the update,\n // we know hot reload is going to fail. In that case we return false.\n //\n // The main purpose of this loop is to figure out whether it's safe to apply\n // a hot update. It is only safe when the update was accepted somewhere\n // along the way upwards for each of its parent dependency module chains.\n //\n // If we didn't have this check, we'd risk re-evaluating modules that\n // have side effects and lead to confusing and meaningless crashes.\n\n while (pendingModuleIDs.length > 0) {\n const pendingID = pendingModuleIDs.pop(); // Don't process twice if we have a cycle.\n\n if (seenModuleIDs.has(pendingID)) {\n continue;\n }\n\n seenModuleIDs.add(pendingID); // If the module accepts itself, no need to bubble.\n // We can stop worrying about this module chain and pick the next one.\n\n const pendingModule = modules[pendingID];\n\n if (pendingModule != null) {\n const pendingHot = pendingModule.hot;\n\n if (pendingHot == null) {\n throw new Error(\n \"[Refresh] Expected module.hot to always exist in DEV.\"\n );\n } // A module can be accepted manually from within itself.\n\n let canAccept = pendingHot._didAccept;\n\n if (!canAccept && Refresh != null) {\n // Or React Refresh may mark it accepted based on exports.\n const isBoundary = isReactRefreshBoundary(\n Refresh,\n pendingModule.publicModule.exports\n );\n\n if (isBoundary) {\n canAccept = true;\n refreshBoundaryIDs.add(pendingID);\n }\n }\n\n if (canAccept) {\n updatedModuleIDs.push(pendingID);\n continue;\n }\n } // If we bubble through the roof, there is no way to do a hot update.\n // Bail out altogether. This is the failure case.\n\n const parentIDs = inverseDependencies[pendingID];\n\n if (parentIDs.length === 0) {\n // Reload the app because the hot reload can't succeed.\n // This should work both on web and React Native.\n performFullRefresh();\n return;\n } // This module didn't accept but maybe all its parents did?\n // Put them all in the queue to run the same set of checks.\n\n updatedModuleIDs.push(pendingID);\n parentIDs.forEach(parentID => pendingModuleIDs.push(parentID));\n } // If we reached here, it is likely that hot reload will be successful.\n // Run the actual factories.\n\n seenModuleIDs.clear();\n\n for (let i = 0; i < updatedModuleIDs.length; i++) {\n // Don't process twice if we have a cycle.\n const updatedID = updatedModuleIDs[i];\n\n if (seenModuleIDs.has(updatedID)) {\n continue;\n }\n\n seenModuleIDs.add(updatedID);\n const mod = modules[updatedID];\n\n if (mod == null) {\n throw new Error(\"[Refresh] Expected to find the updated module.\");\n }\n\n const prevExports = mod.publicModule.exports;\n const didError = runUpdatedModule(\n updatedID,\n updatedID === id ? factory : undefined,\n updatedID === id ? dependencyMap : undefined\n );\n const nextExports = mod.publicModule.exports;\n\n if (didError) {\n // The user was shown a redbox about module initialization.\n // There's nothing for us to do here until it's fixed.\n return;\n }\n\n if (refreshBoundaryIDs.has(updatedID)) {\n // Since we just executed the code for it, it's possible\n // that the new exports make it ineligible for being a boundary.\n const isNoLongerABoundary = !isReactRefreshBoundary(\n Refresh,\n nextExports\n ); // It can also become ineligible if its exports are incompatible\n // with the previous exports.\n // For example, if you add/remove/change exports, we'll want\n // to re-execute the importing modules, and force those components\n // to re-render. Similarly, if you convert a class component\n // to a function, we want to invalidate the boundary.\n\n const didInvalidate = shouldInvalidateReactRefreshBoundary(\n Refresh,\n prevExports,\n nextExports\n );\n\n if (isNoLongerABoundary || didInvalidate) {\n // We'll be conservative. The only case in which we won't do a full\n // reload is if all parent modules are also refresh boundaries.\n // In that case we'll add them to the current queue.\n const parentIDs = inverseDependencies[updatedID];\n\n if (parentIDs.length === 0) {\n // Looks like we bubbled to the root. Can't recover from that.\n performFullRefresh();\n return;\n } // Schedule all parent refresh boundaries to re-run in this loop.\n\n for (let j = 0; j < parentIDs.length; j++) {\n const parentID = parentIDs[j];\n const parentMod = modules[parentID];\n\n if (parentMod == null) {\n throw new Error(\"[Refresh] Expected to find parent module.\");\n }\n\n const canAcceptParent = isReactRefreshBoundary(\n Refresh,\n parentMod.publicModule.exports\n );\n\n if (canAcceptParent) {\n // All parents will have to re-run too.\n refreshBoundaryIDs.add(parentID);\n updatedModuleIDs.push(parentID);\n } else {\n performFullRefresh();\n return;\n }\n }\n }\n }\n }\n\n if (Refresh != null) {\n // Debounce a little in case there are multiple updates queued up.\n // This is also useful because __accept may be called multiple times.\n if (reactRefreshTimeout == null) {\n reactRefreshTimeout = setTimeout(() => {\n reactRefreshTimeout = null; // Update React components.\n\n Refresh.performReactRefresh();\n }, 30);\n }\n }\n };\n\n const runUpdatedModule = function(id, factory, dependencyMap) {\n const mod = modules[id];\n\n if (mod == null) {\n throw new Error(\"[Refresh] Expected to find the module.\");\n }\n\n const hot = mod.hot;\n\n if (!hot) {\n throw new Error(\"[Refresh] Expected module.hot to always exist in DEV.\");\n }\n\n if (hot._disposeCallback) {\n try {\n hot._disposeCallback();\n } catch (error) {\n console.error(\n `Error while calling dispose handler for module ${id}: `,\n error\n );\n }\n }\n\n if (factory) {\n mod.factory = factory;\n }\n\n if (dependencyMap) {\n mod.dependencyMap = dependencyMap;\n }\n\n mod.hasError = false;\n mod.error = undefined;\n mod.importedAll = EMPTY;\n mod.importedDefault = EMPTY;\n mod.isInitialized = false;\n const prevExports = mod.publicModule.exports;\n mod.publicModule.exports = {};\n hot._didAccept = false;\n hot._acceptCallback = null;\n hot._disposeCallback = null;\n metroRequire(id);\n\n if (mod.hasError) {\n // This error has already been reported via a redbox.\n // We know it's likely a typo or some mistake that was just introduced.\n // Our goal now is to keep the rest of the application working so that by\n // the time user fixes the error, the app isn't completely destroyed\n // underneath the redbox. So we'll revert the module object to the last\n // successful export and stop propagating this update.\n mod.hasError = false;\n mod.isInitialized = true;\n mod.error = null;\n mod.publicModule.exports = prevExports; // We errored. Stop the update.\n\n return true;\n }\n\n if (hot._acceptCallback) {\n try {\n hot._acceptCallback();\n } catch (error) {\n console.error(\n `Error while calling accept handler for module ${id}: `,\n error\n );\n }\n } // No error.\n\n return false;\n };\n\n const performFullRefresh = () => {\n /* global window */\n if (\n typeof window !== \"undefined\" &&\n window.location != null &&\n typeof window.location.reload === \"function\"\n ) {\n window.location.reload();\n } else {\n // This is attached in setUpDeveloperTools.\n const Refresh = metroRequire.Refresh;\n\n if (Refresh != null) {\n Refresh.performFullRefresh();\n } else {\n console.warn(\"Could not reload the application after an edit.\");\n }\n }\n }; // Modules that only export components become React Refresh boundaries.\n\n var isReactRefreshBoundary = function(Refresh, moduleExports) {\n if (Refresh.isLikelyComponentType(moduleExports)) {\n return true;\n }\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n return false;\n }\n\n let hasExports = false;\n let areAllExportsComponents = true;\n\n for (const key in moduleExports) {\n hasExports = true;\n\n if (key === \"__esModule\") {\n continue;\n }\n\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n return false;\n }\n\n const exportValue = moduleExports[key];\n\n if (!Refresh.isLikelyComponentType(exportValue)) {\n areAllExportsComponents = false;\n }\n }\n\n return hasExports && areAllExportsComponents;\n };\n\n var shouldInvalidateReactRefreshBoundary = (\n Refresh,\n prevExports,\n nextExports\n ) => {\n const prevSignature = getRefreshBoundarySignature(Refresh, prevExports);\n const nextSignature = getRefreshBoundarySignature(Refresh, nextExports);\n\n if (prevSignature.length !== nextSignature.length) {\n return true;\n }\n\n for (let i = 0; i < nextSignature.length; i++) {\n if (prevSignature[i] !== nextSignature[i]) {\n return true;\n }\n }\n\n return false;\n }; // When this signature changes, it's unsafe to stop at this refresh boundary.\n\n var getRefreshBoundarySignature = (Refresh, moduleExports) => {\n const signature = [];\n signature.push(Refresh.getFamilyByType(moduleExports));\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return signature;\n }\n\n for (const key in moduleExports) {\n if (key === \"__esModule\") {\n continue;\n }\n\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n continue;\n }\n\n const exportValue = moduleExports[key];\n signature.push(key);\n signature.push(Refresh.getFamilyByType(exportValue));\n }\n\n return signature;\n };\n\n var registerExportsForReactRefresh = (Refresh, moduleExports, moduleID) => {\n Refresh.register(moduleExports, moduleID + \" %exports%\");\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return;\n }\n\n for (const key in moduleExports) {\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n continue;\n }\n\n const exportValue = moduleExports[key];\n const typeID = moduleID + \" %exports% \" + key;\n Refresh.register(exportValue, typeID);\n }\n };\n\n global.__accept = metroHotUpdateModule;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n * @nolint\n * @format\n */\n\n/* eslint-disable no-shadow, eqeqeq, curly, no-unused-vars, no-void, no-control-regex */\n\n/**\n * This pipes all of our console logging functions to native logging so that\n * JavaScript errors in required modules show up in Xcode via NSLog.\n */\nconst inspect = (function() {\n // Copyright Joyent, Inc. and other Node contributors.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a\n // copy of this software and associated documentation files (the\n // \"Software\"), to deal in the Software without restriction, including\n // without limitation the rights to use, copy, modify, merge, publish,\n // distribute, sublicense, and/or sell copies of the Software, and to permit\n // persons to whom the Software is furnished to do so, subject to the\n // following conditions:\n //\n // The above copyright notice and this permission notice shall be included\n // in all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n //\n // https://github.com/joyent/node/blob/master/lib/util.js\n\n function inspect(obj, opts) {\n var ctx = {\n seen: [],\n formatValueCalls: 0,\n stylize: stylizeNoColor,\n };\n return formatValue(ctx, obj, opts.depth);\n }\n\n function stylizeNoColor(str, styleType) {\n return str;\n }\n\n function arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n }\n\n function formatValue(ctx, value, recurseTimes) {\n ctx.formatValueCalls++;\n if (ctx.formatValueCalls > 200) {\n return `[TOO BIG formatValueCalls ${\n ctx.formatValueCalls\n } exceeded limit of 200]`;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (\n isError(value) &&\n (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)\n ) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '',\n array = false,\n braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n key,\n array,\n );\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n }\n\n function formatPrimitive(ctx, value) {\n if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple =\n \"'\" +\n JSON.stringify(value)\n .replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') +\n \"'\";\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value)) return ctx.stylize('' + value, 'number');\n if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value)) return ctx.stylize('null', 'null');\n }\n\n function formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n }\n\n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(\n formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n String(i),\n true,\n ),\n );\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(\n formatProperty(ctx, value, recurseTimes, visibleKeys, key, true),\n );\n }\n });\n return output;\n }\n\n function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || {value: value[key]};\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n')\n .substr(2);\n } else {\n str =\n '\\n' +\n str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n }\n\n function reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return (\n braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1]\n );\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n }\n\n // NOTE: These type checking functions intentionally don't use `instanceof`\n // because it is fragile and can be easily faked with `Object.create()`.\n function isArray(ar) {\n return Array.isArray(ar);\n }\n\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n\n function isNull(arg) {\n return arg === null;\n }\n\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n\n function isString(arg) {\n return typeof arg === 'string';\n }\n\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n\n function isUndefined(arg) {\n return arg === void 0;\n }\n\n function isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n }\n\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n\n function isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n }\n\n function isError(e) {\n return (\n isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error)\n );\n }\n\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n\n return inspect;\n})();\n\nconst OBJECT_COLUMN_NAME = '(index)';\nconst LOG_LEVELS = {\n trace: 0,\n info: 1,\n warn: 2,\n error: 3,\n};\nconst INSPECTOR_LEVELS = [];\nINSPECTOR_LEVELS[LOG_LEVELS.trace] = 'debug';\nINSPECTOR_LEVELS[LOG_LEVELS.info] = 'log';\nINSPECTOR_LEVELS[LOG_LEVELS.warn] = 'warning';\nINSPECTOR_LEVELS[LOG_LEVELS.error] = 'error';\n\n// Strip the inner function in getNativeLogFunction(), if in dev also\n// strip method printing to originalConsole.\nconst INSPECTOR_FRAMES_TO_SKIP = __DEV__ ? 2 : 1;\n\nfunction getNativeLogFunction(level) {\n return function() {\n let str;\n if (arguments.length === 1 && typeof arguments[0] === 'string') {\n str = arguments[0];\n } else {\n str = Array.prototype.map\n .call(arguments, function(arg) {\n return inspect(arg, {depth: 10});\n })\n .join(', ');\n }\n\n let logLevel = level;\n if (str.slice(0, 9) === 'Warning: ' && logLevel >= LOG_LEVELS.error) {\n // React warnings use console.error so that a stack trace is shown,\n // but we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in ExceptionsManager.js.)\n logLevel = LOG_LEVELS.warn;\n }\n if (global.__inspectorLog) {\n global.__inspectorLog(\n INSPECTOR_LEVELS[logLevel],\n str,\n [].slice.call(arguments),\n INSPECTOR_FRAMES_TO_SKIP,\n );\n }\n if (groupStack.length) {\n str = groupFormat('', str);\n }\n global.nativeLoggingHook(str, logLevel);\n };\n}\n\nfunction repeat(element, n) {\n return Array.apply(null, Array(n)).map(function() {\n return element;\n });\n}\n\nfunction consoleTablePolyfill(rows) {\n // convert object -> array\n if (!Array.isArray(rows)) {\n var data = rows;\n rows = [];\n for (var key in data) {\n if (data.hasOwnProperty(key)) {\n var row = data[key];\n row[OBJECT_COLUMN_NAME] = key;\n rows.push(row);\n }\n }\n }\n if (rows.length === 0) {\n global.nativeLoggingHook('', LOG_LEVELS.info);\n return;\n }\n\n var columns = Object.keys(rows[0]).sort();\n var stringRows = [];\n var columnWidths = [];\n\n // Convert each cell to a string. Also\n // figure out max cell width for each column\n columns.forEach(function(k, i) {\n columnWidths[i] = k.length;\n for (var j = 0; j < rows.length; j++) {\n var cellStr = (rows[j][k] || '?').toString();\n stringRows[j] = stringRows[j] || [];\n stringRows[j][i] = cellStr;\n columnWidths[i] = Math.max(columnWidths[i], cellStr.length);\n }\n });\n\n // Join all elements in the row into a single string with | separators\n // (appends extra spaces to each cell to make separators | aligned)\n function joinRow(row, space) {\n var cells = row.map(function(cell, i) {\n var extraSpaces = repeat(' ', columnWidths[i] - cell.length).join('');\n return cell + extraSpaces;\n });\n space = space || ' ';\n return cells.join(space + '|' + space);\n }\n\n var separators = columnWidths.map(function(columnWidth) {\n return repeat('-', columnWidth).join('');\n });\n var separatorRow = joinRow(separators, '-');\n var header = joinRow(columns);\n var table = [header, separatorRow];\n\n for (var i = 0; i < rows.length; i++) {\n table.push(joinRow(stringRows[i]));\n }\n\n // Notice extra empty line at the beginning.\n // Native logging hook adds \"RCTLog >\" at the front of every\n // logged string, which would shift the header and screw up\n // the table\n global.nativeLoggingHook('\\n' + table.join('\\n'), LOG_LEVELS.info);\n}\n\nconst GROUP_PAD = '\\u2502'; // Box light vertical\nconst GROUP_OPEN = '\\u2510'; // Box light down+left\nconst GROUP_CLOSE = '\\u2518'; // Box light up+left\n\nconst groupStack = [];\n\nfunction groupFormat(prefix, msg) {\n // Insert group formatting before the console message\n return groupStack.join('') + prefix + ' ' + (msg || '');\n}\n\nfunction consoleGroupPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_OPEN, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupCollapsedPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupEndPolyfill() {\n groupStack.pop();\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE), LOG_LEVELS.info);\n}\n\nfunction consoleAssertPolyfill(expression, label) {\n if (!expression) {\n global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);\n }\n}\n\nif (global.nativeLoggingHook) {\n const originalConsole = global.console;\n // Preserve the original `console` as `originalConsole`\n if (__DEV__ && originalConsole) {\n const descriptor = Object.getOwnPropertyDescriptor(global, 'console');\n if (descriptor) {\n Object.defineProperty(global, 'originalConsole', descriptor);\n }\n }\n\n global.console = {\n error: getNativeLogFunction(LOG_LEVELS.error),\n info: getNativeLogFunction(LOG_LEVELS.info),\n log: getNativeLogFunction(LOG_LEVELS.info),\n warn: getNativeLogFunction(LOG_LEVELS.warn),\n trace: getNativeLogFunction(LOG_LEVELS.trace),\n debug: getNativeLogFunction(LOG_LEVELS.trace),\n table: consoleTablePolyfill,\n group: consoleGroupPolyfill,\n groupEnd: consoleGroupEndPolyfill,\n groupCollapsed: consoleGroupCollapsedPolyfill,\n assert: consoleAssertPolyfill,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n\n // If available, also call the original `console` method since that is\n // sometimes useful. Ex: on OS X, this will let you see rich output in\n // the Safari Web Inspector console.\n if (__DEV__ && originalConsole) {\n Object.keys(console).forEach(methodName => {\n const reactNativeMethod = console[methodName];\n if (originalConsole[methodName]) {\n console[methodName] = function() {\n // TODO(T43930203): remove this special case once originalConsole.assert properly checks\n // the condition\n if (methodName === 'assert') {\n if (!arguments[0]) {\n originalConsole.assert(...arguments);\n }\n } else {\n originalConsole[methodName](...arguments);\n }\n reactNativeMethod.apply(console, arguments);\n };\n }\n });\n\n // The following methods are not supported by this polyfill but\n // we still should pass them to original console if they are\n // supported by it.\n [\n 'clear',\n 'dir',\n 'dirxml',\n 'groupCollapsed',\n 'profile',\n 'profileEnd',\n ].forEach(methodName => {\n if (typeof originalConsole[methodName] === 'function') {\n console[methodName] = function() {\n originalConsole[methodName](...arguments);\n };\n }\n });\n }\n} else if (!global.console) {\n const log = global.print || function consoleLoggingStub() {};\n global.console = {\n error: log,\n info: log,\n log: log,\n warn: log,\n trace: log,\n debug: log,\n table: log,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @polyfill\n */\n\nlet _inGuard = 0;\n\ntype ErrorHandler = (error: mixed, isFatal: boolean) => void;\ntype Fn<Args, Return> = (...Args) => Return;\n\n/**\n * This is the error handler that is called when we encounter an exception\n * when loading a module. This will report any errors encountered before\n * ExceptionsManager is configured.\n */\nlet _globalHandler: ErrorHandler = function onError(\n e: mixed,\n isFatal: boolean,\n) {\n throw e;\n};\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n */\nconst ErrorUtils = {\n setGlobalHandler(fun: ErrorHandler): void {\n _globalHandler = fun;\n },\n getGlobalHandler(): ErrorHandler {\n return _globalHandler;\n },\n reportError(error: mixed): void {\n _globalHandler && _globalHandler(error, false);\n },\n reportFatalError(error: mixed): void {\n // NOTE: This has an untyped call site in Metro.\n _globalHandler && _globalHandler(error, true);\n },\n applyWithGuard<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n context?: ?mixed,\n args?: ?TArgs,\n // Unused, but some code synced from www sets it to null.\n unused_onError?: null,\n // Some callers pass a name here, which we ignore.\n unused_name?: ?string,\n ): ?TOut {\n try {\n _inGuard++;\n // $FlowFixMe: TODO T48204745 (1) apply(context, null) is fine. (2) array -> rest array should work\n return fun.apply(context, args);\n } catch (e) {\n ErrorUtils.reportError(e);\n } finally {\n _inGuard--;\n }\n return null;\n },\n applyWithGuardIfNeeded<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n context?: ?mixed,\n args?: ?TArgs,\n ): ?TOut {\n if (ErrorUtils.inGuard()) {\n // $FlowFixMe: TODO T48204745 (1) apply(context, null) is fine. (2) array -> rest array should work\n return fun.apply(context, args);\n } else {\n ErrorUtils.applyWithGuard(fun, context, args);\n }\n return null;\n },\n inGuard(): boolean {\n return !!_inGuard;\n },\n guard<TArgs: $ReadOnlyArray<mixed>, TOut>(\n fun: Fn<TArgs, TOut>,\n name?: ?string,\n context?: ?mixed,\n ): ?(...TArgs) => ?TOut {\n // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types\n // should be sufficient.\n if (typeof fun !== 'function') {\n console.warn('A function must be passed to ErrorUtils.guard, got ', fun);\n return null;\n }\n const guardName = name ?? fun.name ?? '<generated guard>';\n function guarded(...args: TArgs): ?TOut {\n return ErrorUtils.applyWithGuard(\n fun,\n context ?? this,\n args,\n null,\n guardName,\n );\n }\n\n return guarded;\n },\n};\n\nglobal.ErrorUtils = ErrorUtils;\n\nexport type ErrorUtilsT = typeof ErrorUtils;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @polyfill\n * @nolint\n */\n\n(function() {\n 'use strict';\n\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries\n */\n if (typeof Object.entries !== 'function') {\n Object.entries = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.entries called on non-object');\n }\n\n const entries = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n entries.push([key, object[key]]);\n }\n }\n return entries;\n };\n }\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values\n */\n if (typeof Object.values !== 'function') {\n Object.values = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.values called on non-object');\n }\n\n const values = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n values.push(object[key]);\n }\n }\n return values;\n };\n }\n})();\n","import { foo } from \"./module.js\"\n\nfoo();\n","export function foo() {\n throw new Error(\"lets throw!\");\n}\n"],"x_facebook_sources":[null,[{"names":["<global>","global.$RefreshReg$","global.$RefreshSig$","<anonymous>","clear","define","metroRequire","initializingModuleIds.slice.map$argument_0","metroImportDefault","metroImportAll","guardedLoadModule","unpackModuleId","packModuleId","registerSegment","loadModuleImplementation","unknownModuleError","moduleThrewError","metroRequire.Systrace.beginEvent","metroRequire.Systrace.endEvent","metroRequire.getModules","createHotReloadingObject","hot.accept","hot.dispose","metroHotUpdateModule","parentIDs.forEach$argument_0","setTimeout$argument_0","runUpdatedModule","performFullRefresh","isReactRefreshBoundary","shouldInvalidateReactRefreshBoundary","getRefreshBoundarySignature","registerExportsForReactRefresh"],"mappings":"AAA;wBCyB,QD;wBEE,MC,YH;AIG;CJM;AKO;CL2C;AME;aCyB,2DD;CNe;AQE;CRoB;ASI;CTmC;AUK;CViB;AWK;CXO;AYI;CZE;AaK;CbE;AcE;8BbqE;SaE;CduD;AeE;CfU;AgBE;ChBK;gBiBI,QjB;ckBC,QlB;4BmBG;GnBE;iCoBE;cCK;ODG;eEC;OFE;GpBG;+BuBI;wBCgG,2CD;yCEgG;SFI;GvBG;2B0BE;G1BuE;6B2BE;G3BkB;+B4BE;G5BmC;6C6BE;G7BmB;oC8BE;G9B2B;uC+BE;G/BqB"}],[{"names":["<global>","<anonymous>","inspect","stylizeNoColor","arrayToHash","array.forEach$argument_0","formatValue","keys.map$argument_0","formatPrimitive","formatError","formatArray","keys.forEach$argument_0","formatProperty","str.split.map$argument_0","reduceToSingleString","output.reduce$argument_0","isArray","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","isObject","isDate","isError","isFunction","objectToString","hasOwnProperty","getNativeLogFunction","Array.prototype.map.call$argument_1","repeat","Array.apply.map$argument_0","consoleTablePolyfill","columns.forEach$argument_0","joinRow","row.map$argument_0","columnWidths.map$argument_0","groupFormat","consoleGroupPolyfill","consoleGroupCollapsedPolyfill","consoleGroupEndPolyfill","consoleAssertPolyfill","Object.keys.forEach$argument_0","methodName","forEach$argument_0","consoleLoggingStub"],"mappings":"AAA;iBCiB;ECwB;GDO;EEE;GFE;EGE;kBCG;KDE;GHG;EKE;wBC6F;ODS;GLM;EOE;GPgB;EQE;GRE;ESE;iBCkB;KDM;GTE;EWE;mBC4B;eDE;qBCQ;iBDE;GX0B;EaE;+BCE;KDI;Gbc;EeI;GfE;EgBE;GhBE;EiBE;GjBE;EkBE;GlBE;EmBE;GnBE;EoBE;GpBE;EqBE;GrBE;EsBE;GtBE;EuBE;GvBE;EwBE;GxBE;EyBE;GzBE;E0BE;G1BK;E2BE;G3BE;E4BE;G5BE;E6BE;G7BE;CDG;A+BmB;S9BC;yB+BM;S/BE;G8BuB;C/BC;AiCE;yCCC;GDE;CjCC;AmCE;kBCwB;GDQ;EEI;wBCC;KDG;GFG;oCIE;GJE;CnCc;AwCQ;CxCG;AyCE;CzCG;A0CE;C1CG;A2CE;C3CG;A4CE;C5CI;iC6CmC;8BCG;SDW;K7CE;c+CY;8BDE;SCE;K/CE;8BgDG,gChD"}],[{"names":["<global>","onError","ErrorUtils.setGlobalHandler","ErrorUtils.getGlobalHandler","ErrorUtils.reportError","ErrorUtils.reportFatalError","ErrorUtils.applyWithGuard","ErrorUtils.applyWithGuardIfNeeded","ErrorUtils.inGuard","ErrorUtils.guard","guarded"],"mappings":"AAA;mCCqB;CDK;EEW;GFE;EGC;GHE;EIC;GJE;EKC;GLG;EMC;GNmB;EOC;GPY;EQC;GRE;ESC;ICY;KDQ;GTG"}],[{"names":["<global>","<anonymous>","entries","values"],"mappings":"AAA;CCW;qBCU;KDa;oBEQ;KFa;CDE"}],[{"names":["<global>"],"mappings":"AAA"}],[{"names":["<global>","foo"],"mappings":"AAA,OC;CDE"}]],"names":["global","__r","metroRequire","__d","factory","moduleId","dependencyMap","modules","mod","hasError","importedAll","EMPTY","importedDefault","isInitialized","publicModule","exports","__c","clear","__registerSegment","segmentID","moduleDefiner","moduleDefinersBySegmentID","hasOwnProperty","Object","create","moduleIdReallyIsNumber","module","guardedLoadModule","metroImportDefault","__esModule","default","metroImportAll","key","call","importDefault","importAll","inGuard","ErrorUtils","returnValue","loadModuleImplementation","e","reportFatalError","ID_MASK_SHIFT","LOCAL_ID_MASK","unpackModuleId","segmentId","localId","packModuleId","value","length","_unpackModuleId","definer","nativeRequire","_unpackModuleId2","Error","moduleThrewError","error","_module","moduleObject","id","undefined","inspect","stylizeNoColor","str","styleType","arrayToHash","array","hash","forEach","val","idx","formatValue","ctx","recurseTimes","formatValueCalls","primitive","formatPrimitive","keys","visibleKeys","isError","indexOf","formatError","isFunction","name","stylize","isRegExp","RegExp","prototype","toString","isDate","Date","ar","output","base","braces","Array","isArray","toUTCString","seen","push","formatArray","map","formatProperty","pop","reduceToSingleString","isUndefined","simple","JSON","stringify","replace","isNumber","isBoolean","isNull","i","l","String","match","desc","getOwnPropertyDescriptor","get","set","split","line","join","substr","reduce","prev","cur","numLinesEst","arg","re","isObject","objectToString","d","o","obj","prop","opts","depth","OBJECT_COLUMN_NAME","LOG_LEVELS","trace","info","warn","INSPECTOR_LEVELS","INSPECTOR_FRAMES_TO_SKIP","getNativeLogFunction","level","arguments","logLevel","slice","__inspectorLog","groupStack","groupFormat","nativeLoggingHook","repeat","element","n","apply","GROUP_PAD","GROUP_OPEN","GROUP_CLOSE","prefix","msg","console","log","debug","table","rows","data","row","columns","sort","stringRows","columnWidths","k","j","cellStr","Math","max","separatorRow","joinRow","columnWidth","space","cells","cell","group","label","groupEnd","groupCollapsed","assert","expression","defineProperty","enumerable","print","_inGuard","_globalHandler","isFatal","setGlobalHandler","fun","getGlobalHandler","reportError","applyWithGuard","context","args","unused_onError","unused_name","applyWithGuardIfNeeded","guard","_ref","guardName","_len","_key","this","entries","object","TypeError","values","r","foo"],"mappings":";cCUA,aAGAA,EAAOC,IAAMC,EACbF,EAAOG,IA6BP,SAAgBC,EAASC,EAAUC,GACjC,GAAyB,MAArBC,EAAQF,GAaV,OAGF,IAAMG,GACJF,cAAAA,EACAF,QAAAA,EACAK,UAAU,EACVC,YAAaC,EACbC,gBAAiBD,EACjBE,eAAe,EACfC,cACEC,aAGJR,EAAQF,GAAYG,GAxDtBR,EAAOgB,IAAMC,EACbjB,E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AETxK,QA/CiB,WAgDf,QAAS+J,GAEXa,MAlDiB,SAmDfT,EACApH,EACAwH,GACsB,IAAAM,EAGtB,GAAmB,mBAARV,EAET,OADAnC,QAAQrB,KAAK,sDAAuDwD,GAC7D,KAET,IAAMW,EAAS,OAAAD,EAAA,MAAG9H,EAAAA,EAAQoH,EAAIpH,MAAf8H,EAAuB,oBAWtC,OAVA,WAAwC,IAAA,IAAAE,EAAA/D,UAAAnG,OAApB2J,EAAoB,IAAA7G,MAAAoH,GAAAC,EAAA,EAAAA,EAAAD,EAAAC,IAApBR,EAAoBQ,GAAAhE,UAAAgE,GACtC,OAAO/K,EAAWqK,eAChBH,EADK,MAELI,EAAAA,EAAWU,KACXT,EACA,KACAM,MAQRlN,EAAOqC,WAAaA;gHCrGpB,WACE,aAEA,IAAMf,EAAiBC,OAAOgE,UAAUjE,eAMV,mBAAnBC,OAAO+L,UAChB/L,OAAO+L,QAAU,SAASC,GAExB,GAAc,MAAVA,EACF,MAAM,IAAIC,UAAU,uCAGtB,IAAMF,KACN,IAAK,IAAMtL,KAAOuL,EACZjM,EAAeW,KAAKsL,EAAQvL,IAC9BsL,EAAQnH,MAAMnE,EAAKuL,EAAOvL,KAG9B,OAAOsL,IAQkB,mBAAlB/L,OAAOkM,SAChBlM,OAAOkM,OAAS,SAASF,GAEvB,GAAc,MAAVA,EACF,MAAM,IAAIC,UAAU,sCAGtB,IAAMC,KACN,IAAK,IAAMzL,KAAOuL,EACZjM,EAAeW,KAAKsL,EAAQvL,IAC9ByL,EAAOtH,KAAKoH,EAAOvL,IAGvB,OAAOyL,KA3Cb;6BCTA,EAFAC,EAAArF,EAAA,IAEAsF;mFCFO,WACH,MAAM,IAAIrK,MAAM"}
\ No newline at end of file
diff --git a/hog/test/parity/run.ts b/hog/test/parity/run.ts
index 1056c7fa59b7..6e09821fa9b0 100644
--- a/hog/test/parity/run.ts
+++ b/hog/test/parity/run.ts
@@ -1,3 +1,4 @@
+import { createHash } from 'node:crypto'
import { mkdtempSync, readdirSync, readFileSync, rmSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join, relative } from 'node:path'
@@ -13,8 +14,8 @@ import type { ParityScenario } from './scenarios'
export interface ParityResult {
exitCode: number
requests: NormalizedRequest[]
- // Every file in the folder after the run, for scenarios that rewrite files.
- files?: Record<string, string>
+ // The files the run created or changed, and null for the ones it deleted.
+ files?: Record<string, string | null>
}
function environment(serverUrl: string, home: string): Record<string, string> {
@@ -30,7 +31,10 @@ function environment(serverUrl: string, home: string): Record<string, string> {
const strictUtf8 = new TextDecoder('utf-8', { fatal: true })
-// Text files stay readable in the golden, so a diff shows what changed. Other bytes are base64.
+// Files over this size are compared by hash, so goldens stay small. Smaller text files stay
+// readable, so a golden diff shows what changed.
+const INLINE_LIMIT = 2048
+
export function encodeFile(bytes: Uint8Array): string {
try {
return `utf8:${strictUtf8.decode(bytes)}`
@@ -40,18 +44,56 @@ export function encodeFile(bytes: Uint8Array): string {
}
export function decodeFile(text: string): Uint8Array {
+ if (text.startsWith('sha512:')) {
+ throw new Error('This golden stores the file as a hash. Record the scenario with `fullSnapshot`.')
+ }
return text.startsWith('utf8:') ? Buffer.from(text.slice(5), 'utf8') : Buffer.from(text.slice(7), 'base64')
}
+// Only what differs from the inputs, so goldens don't repeat fixture files the run left alone.
+// Random chunk ids become placeholders before a large file is hashed, so the hash still compares
+// where the ids go. `full` keeps every file whole and unchanged, for scenarios others start from.
+function changedFiles(
+ folder: string,
+ inputs: Record<string, string | Uint8Array>,
+ options: { full: boolean; randomIds: boolean }
+): Record<string, string | null> {
+ const before: Record<string, string> = {}
+ for (const [path, contents] of Object.entries(inputs)) {
+ before[path] = encodeFile(typeof contents === 'string' ? Buffer.from(contents) : contents)
+ }
+ const after = snapshot(folder)
+ let changed: Record<string, string | null> = {}
+ for (const path of [...new Set([...Object.keys(before), ...Object.keys(after)])].sort()) {
+ if (before[path] !== after[path]) {
+ changed[path] = after[path] ?? null
+ }
+ }
+ if (options.full) {
+ return changed
+ }
+ if (options.randomIds) {
+ changed = withoutRandomIds({ exitCode: 0, requests: [], files: changed }).files!
+ }
+ return Object.fromEntries(
+ Object.entries(changed).map(([path, text]) => [
+ path,
+ text === null || text.length <= INLINE_LIMIT
+ ? text
+ : `sha512:${createHash('sha512').update(text).digest('hex')}`,
+ ])
+ )
+}
+
function snapshot(folder: string): Record<string, string> {
const files: Record<string, string> = {}
const visit = (path: string): void => {
for (const entry of readdirSync(path, { withFileTypes: true }).sort((a, b) => (a.name < b.name ? -1 : 1))) {
- const full = join(path, entry.name)
+ const entryPath = join(path, entry.name)
if (entry.isDirectory() && entry.name !== '.git') {
- visit(full)
+ visit(entryPath)
} else if (entry.isFile()) {
- files[relative(folder, full)] = encodeFile(readFileSync(full))
+ files[relative(folder, entryPath)] = encodeFile(readFileSync(entryPath))
}
}
}
@@ -92,11 +134,13 @@ async function invoke(
export async function runScenario(scenario: ParityScenario, cli: { rust: string } | 'hog'): Promise<ParityResult> {
const folder = mkdtempSync(join(tmpdir(), 'hog-parity-'))
const home = mkdtempSync(join(tmpdir(), 'hog-parity-home-'))
- write(folder, scenario.files())
+ const inputs = scenario.files()
+ write(folder, inputs)
scenario.setup?.()
const server = startFakeServer(scenario.server)
+ server.store(scenario.objects?.() ?? [])
try {
- const env = environment(server.url, home)
+ const env = { ...environment(server.url, home), ...scenario.env }
for (const step of scenario.before ?? []) {
await invoke(cli === 'hog' ? step.hog : step.rust, cli, folder, env)
}
@@ -108,7 +152,14 @@ export async function runScenario(scenario: ParityScenario, cli: { rust: string
return {
exitCode,
requests: normalize(server.requests),
- ...(scenario.snapshot ? { files: snapshot(folder) } : {}),
+ ...(scenario.snapshot
+ ? {
+ files: changedFiles(folder, inputs, {
+ full: scenario.fullSnapshot === true,
+ randomIds: scenario.randomIds === true,
+ }),
+ }
+ : {}),
}
} finally {
server.stop()
@@ -134,6 +185,8 @@ export function withoutRandomIds(result: ParityResult): ParityResult {
...result,
files:
result.files &&
- Object.fromEntries(Object.entries(result.files).map(([path, text]) => [path, rename(text)])),
+ Object.fromEntries(
+ Object.entries(result.files).map(([path, text]) => [path, text === null ? null : rename(text)])
+ ),
}
}
diff --git a/hog/test/parity/scenarios.ts b/hog/test/parity/scenarios.ts
index 3fa31a4d4546..da9d088c8a0a 100644
--- a/hog/test/parity/scenarios.ts
+++ b/hog/test/parity/scenarios.ts
@@ -1,11 +1,13 @@
import { readFileSync, rmSync } from 'node:fs'
import { join } from 'node:path'
-import type { Scenario } from './fake-server'
+import type { Scenario, StoredObject } from './fake-server'
import { GIT_REPO, mappingOfSize, readTree, SMALL_MAPPING, write } from './fixtures'
import { EXPO_BUILD, HERMES_BUILD, HERMES_BUNDLES } from './hermes-fixtures'
import { bundles, EDGE_CASES, MALFORMED_MAP_DEBUG_ID, PUBLIC_PATH, STYLESHEET_LOOKUP, STYLESHEETS } from './js-fixtures'
+import { INFO_PLIST_BINARY, INFO_PLIST_SETTINGS, INFO_PLIST_XML, XCODE_SETTINGS } from './plist-fixtures'
import { decodeFile, type ParityResult } from './run'
+import { SYMBOL_SETS } from './symbol-set-fixtures'
type Files = Record<string, string | Uint8Array>
@@ -19,21 +21,36 @@ export interface ParityScenario {
before?: { rust: string[]; hog: string[] }[]
// Run this many times against the same server and compare only the last run, to cover re-uploads.
runs?: number
- // Also compare every file in the folder after the run.
+ // Also compare the files the run changed.
snapshot?: boolean
+ // Keep whole files in the golden, even large ones, because another scenario starts from them.
+ fullSnapshot?: boolean
// The run mints random UUIDv7 chunk ids, so compare their positions and not their values.
randomIds?: boolean
// Runs before the commands, for state outside the folder.
setup?: () => void
+ // Symbol sets the fake server stores for download.
+ objects?: () => StoredObject[]
+ // Variables both CLIs get on top of the credentials, like the build settings Xcode exports.
+ env?: Record<string, string>
}
-// The files posthog-cli left behind in another scenario, so a step can start from its real output.
+// The files posthog-cli left behind in another scenario: its inputs with the golden's changes.
function filesFrom(name: string): () => Files {
return () => {
+ const scenario = SCENARIOS.find((candidate) => candidate.name === name)!
const golden = JSON.parse(
readFileSync(join(import.meta.dir, 'golden', 'e2e', `${name}.json`), 'utf8')
) as ParityResult
- return Object.fromEntries(Object.entries(golden.files ?? {}).map(([path, text]) => [path, decodeFile(text)]))
+ const files: Files = { ...scenario.files() }
+ for (const [path, text] of Object.entries(golden.files ?? {})) {
+ if (text === null) {
+ delete files[path]
+ } else {
+ files[path] = decodeFile(text)
+ }
+ }
+ return files
}
}
@@ -103,6 +120,7 @@ const js = (
before: options.before?.map(([step, args]) => jsArgs(step, options.path ?? '.', args)),
runs: options.runs,
snapshot: options.snapshot ?? true,
+ fullSnapshot: options.fullSnapshot,
randomIds: options.randomIds,
})
@@ -121,6 +139,9 @@ SCENARIOS.push(
before: [['inject', jsRelease]],
}),
js('inject-public-path', 'inject', () => PUBLIC_PATH, { args: ['--public-path-prefix', '/static/js'] }),
+ js('inject-info-plist', 'inject', () => ({ ...bundles(), 'Info.plist': INFO_PLIST_XML }), {
+ args: ['--info-plist', 'Info.plist'],
+ }),
js('inject-file-root', 'inject', bundles, { path: 'esbuild-cjs/index.cjs' }),
js('process-bundles', 'process', bundles, { args: jsRelease }),
js('process-no-release', 'process', bundles),
@@ -141,7 +162,11 @@ SCENARIOS.push(
js('upload-native-debug-ids', 'upload', bundles),
js('upload-after-inject', 'upload', bundles, { before: [['inject', jsRelease]] }),
js('upload-not-injected', 'upload', () => EDGE_CASES),
- js('inject-symbol-set', 'inject', bundles, { args: [...jsRelease, ...symbolSet], randomIds: true }),
+ js('inject-symbol-set', 'inject', bundles, {
+ args: [...jsRelease, ...symbolSet],
+ randomIds: true,
+ fullSnapshot: true,
+ }),
js('upload-symbol-set', 'upload', filesFrom('js-inject-symbol-set'), { args: [...jsRelease, ...symbolSet] }),
js('upload-symbol-set-new-release', 'upload', filesFrom('js-inject-symbol-set'), {
args: ['--release-name', 'web', '--release-version', '3.0.0', ...symbolSet],
@@ -305,3 +330,106 @@ SCENARIOS.push(
}),
native('sources-missing', '.', () => ({ ...linux(), ...apple() }), { args: withSources, setup: removeSources })
)
+
+// `posthog-cli release resolve --json` and `hog error-tracking release` send the same requests.
+const releaseScenario = (name: string, args: string[], files: () => Files = () => ({})): ParityScenario => ({
+ name: `release-${name}`,
+ server: 'fresh',
+ files,
+ rust: ['release', 'resolve', '--json', ...args],
+ hog: ['error-tracking', 'release', ...args],
+})
+
+// `posthog-cli symbol-sets extract|download` and the hog commands write the same files.
+const extract = (file: string): ParityScenario => ({
+ name: `extract-${file.replaceAll('.', '-')}`,
+ server: 'fresh',
+ files: () => SYMBOL_SETS,
+ rust: ['symbol-sets', 'extract', file, '-o', 'out'],
+ hog: ['error-tracking', 'extract', file, '--output-dir', 'out'],
+ snapshot: true,
+})
+
+const STORED = (): StoredObject[] => [
+ {
+ id: '0192f0a0-0000-7000-8000-00000000000a',
+ ref: 'static/chunks/app.js.map',
+ data: SYMBOL_SETS['app.js.map.bin']!,
+ },
+ { id: '0192f0a0-0000-7000-8000-00000000000b', ref: 'Shop.dSYM', data: SYMBOL_SETS['Shop.dSYM']! },
+ // A chunk ID is a ref that looks like a symbol set ID.
+ {
+ id: '0192f0a0-0000-7000-8000-00000000000c',
+ ref: '3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15',
+ data: SYMBOL_SETS['app.js.map.bin']!,
+ },
+]
+
+const download = (name: string, rust: string[], hog: string[]): ParityScenario => ({
+ name: `download-${name}`,
+ server: 'fresh',
+ files: () => ({}),
+ rust: ['symbol-sets', 'download', ...rust, '-o', 'out'],
+ hog: ['error-tracking', 'download', ...hog, '--output-dir', 'out'],
+ snapshot: true,
+ objects: STORED,
+})
+
+SCENARIOS.push(
+ releaseScenario('flags', ['--release-name', 'web', '--release-version', '2.1.0', '--build', '9']),
+ releaseScenario('from-git', [], () => GIT_REPO),
+ releaseScenario('none', []),
+ releaseScenario('info-plist-xml', ['--info-plist', 'Info.plist'], () => ({ 'Info.plist': INFO_PLIST_XML })),
+ releaseScenario('info-plist-binary', ['--info-plist', 'Info.plist'], () => ({ 'Info.plist': INFO_PLIST_BINARY })),
+ {
+ ...releaseScenario('info-plist-build-settings', ['--info-plist', 'Info.plist'], () => ({
+ 'Info.plist': INFO_PLIST_SETTINGS,
+ })),
+ env: XCODE_SETTINGS,
+ },
+ releaseScenario('info-plist-flags-win', ['--info-plist', 'Info.plist', '--release-version', '9.9.9'], () => ({
+ 'Info.plist': INFO_PLIST_XML,
+ })),
+ releaseScenario('info-plist-missing', ['--info-plist', 'Missing.plist']),
+ ...Object.keys(SYMBOL_SETS).map(extract),
+ download('by-ref', ['--ref', 'static/chunks/app.js.map'], ['static/chunks/app.js.map']),
+ download('by-id', ['--id', '0192f0a0-0000-7000-8000-00000000000b'], ['0192f0a0-0000-7000-8000-00000000000b']),
+ download('dsym-by-ref', ['--ref', 'Shop.dSYM'], ['Shop.dSYM']),
+ download(
+ 'uuid-shaped-ref',
+ ['--ref', '3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15'],
+ ['3f161e6c-fc03-5fe2-a9e9-08e5ae65fd15', '--ref']
+ ),
+ download('unknown-ref', ['--ref', 'missing.js.map'], ['missing.js.map'])
+)
+
+// Real Xcode, Rust and React Native output from getsentry/symbolic, described in real/README.md.
+const realApple = (): Files => readTree(join(import.meta.dir, 'real', 'apple'), 'apple')
+const realReactNative = (): Files => readTree(join(import.meta.dir, 'real', 'react-native'), 'rn')
+const realRelease = ['--release-name', 'com.example.app', '--release-version', '4.0.0']
+const RN_MAP = 'rn/react-native-metro.js.map'
+const RN_HERMES_MAP = 'rn/react-native-hermes.map'
+
+SCENARIOS.push(
+ native('real-dsyms', 'apple', realApple, { args: realRelease }),
+ native('real-dsyms-sources', 'apple', realApple, { args: ['--include-source', ...realRelease] }),
+ native('real-dsyms-hash-mismatch', 'apple', realApple, {
+ args: [...realRelease, '--skip-on-conflict'],
+ server: 'hash-mismatch',
+ }),
+ hermes('real-inject', hermesArgs.inject('rn'), realReactNative),
+ hermes('real-inject-symbol-set', hermesArgs.inject('rn', [...realRelease, ...symbolSet]), realReactNative, {
+ randomIds: true,
+ }),
+ hermes('real-clone', hermesArgs.clone(RN_MAP, RN_HERMES_MAP), realReactNative, {
+ before: [hermesArgs.inject('rn')],
+ }),
+ hermes(
+ 'real-clone-symbol-set',
+ hermesArgs.clone(RN_MAP, RN_HERMES_MAP, [...realRelease, ...symbolSet]),
+ realReactNative,
+ {
+ before: [hermesArgs.inject('rn')],
+ }
+ )
+)
diff --git a/hog/test/parity/symbol-set-fixtures.ts b/hog/test/parity/symbol-set-fixtures.ts
new file mode 100644
index 000000000000..e5f03703ed16
--- /dev/null
+++ b/hog/test/parity/symbol-set-fixtures.ts
@@ -0,0 +1,54 @@
+import { sourceAndMapPayload, SymbolDataType, writeSymbolData } from '@/error-tracking/container'
+import { ZipWriter } from '@/error-tracking/native/zip'
+
+import { SMALL_MAPPING } from './fixtures'
+
+// Stored symbol sets for the extract and download scenarios. hog's writers build them: the upload
+// scenarios prove those bytes match posthog-cli's, and here both CLIs only read them.
+
+const zip = (entries: Record<string, string>): Buffer => {
+ const writer = new ZipWriter()
+ for (const [name, contents] of Object.entries(entries)) {
+ writer.add(name, Buffer.from(contents))
+ }
+ return writer.finish()
+}
+
+const v1 = (type: SymbolDataType, payload: string): Buffer =>
+ Buffer.concat([
+ Buffer.from('posthog_error_tracking'),
+ Buffer.from([1, 0, 0, 0, type, 0, 0, 0]),
+ Buffer.from(payload),
+ ])
+
+export const SYMBOL_SETS: Record<string, Uint8Array> = {
+ 'app.js.map.bin': writeSymbolData(
+ SymbolDataType.SourceAndMap,
+ sourceAndMapPayload(
+ Buffer.from('a();\n//# chunkId=x'),
+ Buffer.from('{"version":3,"sources":["a.ts"],"names":[],"mappings":"AAAA"}')
+ )
+ ),
+ 'index.hbc.map.bin': writeSymbolData(
+ SymbolDataType.HermesMap,
+ Buffer.from('{"chunk_id":"x","x_hermes_function_offsets":{}}')
+ ),
+ 'mapping.txt.bin': writeSymbolData(SymbolDataType.ProguardMapping, Buffer.from(SMALL_MAPPING)),
+ 'libbadge.bin': writeSymbolData(
+ SymbolDataType.ElfDebugInfo,
+ zip({
+ dwarf: 'elf bytes',
+ '__source/manifest.json': '{}',
+ '__source/badge.c': 'int badge;\n',
+ '__source/../escape.c': 'nope',
+ })
+ ),
+ 'Shop.dSYM': writeSymbolData(
+ SymbolDataType.AppleDsym,
+ zip({ dwarf: 'mach-o bytes', '__source/main.c': 'int main;\n' })
+ ),
+ 'legacy.bin': v1(SymbolDataType.ProguardMapping, SMALL_MAPPING),
+ 'unknown-type.bin': writeSymbolData(9 as SymbolDataType, Buffer.from('?')),
+ 'bad-magic.bin': Buffer.from('not a symbol set at all'),
+ 'short.bin': Buffer.from('posthog'),
+}