{
  "version": 3,
  "sources": ["../../src/store/constants.ts"],
  "sourcesContent": ["export const STORE_NAME = 'core/upload-media';\n\n/**\n * Default maximum number of concurrent uploads.\n */\nexport const DEFAULT_MAX_CONCURRENT_UPLOADS = 5;\n\n/**\n * Default maximum number of concurrent image processing operations.\n *\n * Image processing (VIPS WASM) is significantly more memory-intensive\n * than network uploads. Each operation can consume 50-100MB+ of memory\n * for large images. A lower limit prevents out-of-memory crashes when\n * uploading many images at once.\n */\nexport const DEFAULT_MAX_CONCURRENT_IMAGE_PROCESSING = 2;\n\n/**\n * Default automatic retry behavior for failed uploads.\n *\n * Four total attempts (initial + 3 retries) with exponential backoff:\n * ~1s, then ~2s, capped at 30s. The jitter factor adds randomness to\n * the delay so simultaneous failures do not retry in lockstep.\n */\nexport const DEFAULT_RETRY_SETTINGS = {\n\tmaxRetryAttempts: 3,\n\tinitialRetryDelayMs: 1000,\n\tmaxRetryDelayMs: 30000,\n\tbackoffMultiplier: 2,\n\tretryJitter: 0.1,\n} as const;\n\n/**\n * MIME types supported by client-side media processing.\n *\n * These are the image formats that can be processed using\n * WebAssembly-based vips in the browser.\n */\nexport const CLIENT_SIDE_SUPPORTED_MIME_TYPES: readonly string[] = [\n\t'image/jpeg',\n\t'image/png',\n\t'image/gif',\n\t'image/webp',\n\t'image/avif',\n] as const;\n\n/**\n * HEIC/HEIF MIME types.\n *\n * These formats use the HEVC codec which has patent/licensing restrictions.\n * Instead of shipping our own decoder, the client falls back to the browser's\n * native createImageBitmap() which leverages OS/browser-licensed HEVC codecs.\n */\nexport const HEIC_MIME_TYPES: readonly string[] = [\n\t'image/heic',\n\t'image/heif',\n] as const;\n"],
  "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,aAAa;AAKnB,IAAM,iCAAiC;AAUvC,IAAM,0CAA0C;AAShD,IAAM,yBAAyB;AAAA,EACrC,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,aAAa;AACd;AAQO,IAAM,mCAAsD;AAAA,EAClE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AASO,IAAM,kBAAqC;AAAA,EACjD;AAAA,EACA;AACD;",
  "names": []
}
