{
  "version": 3,
  "sources": ["../src/index.ts", "../src/pmtiles-source.ts", "../src/pmtiles-format.ts", "../src/lib/parse-pmtiles.ts", "../src/lib/blob-source.ts", "../src/pmtiles-loader.ts", "../src/lib/version.ts"],
  "sourcesContent": ["// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nexport {PMTilesSource} from './pmtiles-source';\n\nexport type {PMTilesMetadata} from './lib/parse-pmtiles';\nexport type {PMTilesSourceOptions} from './pmtiles-source';\nexport {PMTilesTileSource} from './pmtiles-source';\n\nexport {PMTilesLoader as _PMTilesLoader} from './pmtiles-loader';\nexport type {PMTilesLoaderOptions} from './pmtiles-loader';\n", "// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport type {Schema} from '@loaders.gl/schema';\nimport type {\n  Source,\n  VectorTileSource,\n  GetTileParameters,\n  GetTileDataParameters,\n  ImageTileSource,\n  ImageType\n} from '@loaders.gl/loader-utils';\nimport {DataSource, DataSourceOptions, resolvePath} from '@loaders.gl/loader-utils';\nimport {ImageLoader, ImageLoaderOptions} from '@loaders.gl/images';\nimport {MVTLoader, MVTLoaderOptions, TileJSONLoaderOptions} from '@loaders.gl/mvt';\nimport {PMTilesFormat} from './pmtiles-format';\n\nimport * as pmtiles from 'pmtiles';\nconst {PMTiles} = pmtiles;\n\nimport type {PMTilesMetadata} from './lib/parse-pmtiles';\nimport {parsePMTilesHeader} from './lib/parse-pmtiles';\nimport {BlobSource} from './lib/blob-source';\n\nconst VERSION = '1.0.0';\n\nexport type PMTilesSourceOptions = DataSourceOptions & {\n  core?: DataSourceOptions['core'] & {\n    loadOptions?: TileJSONLoaderOptions & MVTLoaderOptions & ImageLoaderOptions;\n  };\n  pmtiles?: {};\n};\n\n/**\n * Creates vector tile data sources for PMTiles urls or blobs\n */\nexport const PMTilesSource = {\n  ...PMTilesFormat,\n  version: VERSION,\n  type: 'pmtiles',\n  fromUrl: true,\n  fromBlob: true,\n\n  defaultOptions: {\n    pmtiles: {}\n  },\n\n  testURL: (url: string) => url.endsWith('.pmtiles'),\n  createDataSource: (url: string | Blob, options: PMTilesSourceOptions) =>\n    new PMTilesTileSource(url, options)\n} as const satisfies Source<PMTilesTileSource>;\n\n/**\n * A PMTiles data source\n * @note Can be either a raster or vector tile source depending on the contents of the PMTiles file.\n */\nexport class PMTilesTileSource\n  extends DataSource<string | Blob, PMTilesSourceOptions>\n  implements ImageTileSource, VectorTileSource\n{\n  mimeType: string | null = null;\n  pmtiles: pmtiles.PMTiles;\n  metadata: Promise<PMTilesMetadata>;\n\n  constructor(data: string | Blob, options: PMTilesSourceOptions) {\n    super(data, options, PMTilesSource.defaultOptions);\n    const urlOrBlob =\n      typeof data === 'string' ? resolvePath(data) : new BlobSource(data, 'pmtiles');\n    this.pmtiles = new PMTiles(urlOrBlob);\n    this.getTileData = this.getTileData.bind(this);\n    this.metadata = this.getMetadata();\n  }\n\n  async getSchema(): Promise<Schema> {\n    return {fields: [], metadata: {}};\n  }\n\n  async getMetadata(): Promise<PMTilesMetadata> {\n    const pmtilesHeader = await this.pmtiles.getHeader();\n    const pmtilesMetadata = ((await this.pmtiles.getMetadata()) as Record<string, unknown>) || {};\n    const metadata: PMTilesMetadata = parsePMTilesHeader(\n      pmtilesHeader,\n      pmtilesMetadata,\n      {includeFormatHeader: false},\n      this.loadOptions\n    );\n    // Add additional attribution if necessary\n    if (this.options.attributions) {\n      metadata.attributions = [\n        ...(this.options.core?.attributions || []),\n        ...(metadata.attributions || [])\n      ];\n    }\n    if (metadata?.tileMIMEType) {\n      this.mimeType = metadata?.tileMIMEType;\n    }\n    // TODO - do we need to allow tileSize to be overridden? Some PMTiles examples seem to suggest it.\n    return metadata;\n  }\n\n  async getTile(tileParams: GetTileParameters): Promise<ArrayBuffer | null> {\n    const {x, y, z} = tileParams;\n    const rangeResponse = await this.pmtiles.getZxy(z, x, y);\n    const arrayBuffer = rangeResponse?.data;\n    if (!arrayBuffer) {\n      // console.error('No arrayBuffer', tileParams);\n      return null;\n    }\n    return arrayBuffer;\n  }\n\n  // Tile Source interface implementation: deck.gl compatible API\n  // TODO - currently only handles image tiles, not vector tiles\n\n  async getTileData(tileParams: GetTileDataParameters): Promise<any> {\n    const {x, y, z} = tileParams.index;\n    const metadata = await this.metadata;\n    switch (metadata.tileMIMEType) {\n      case 'application/vnd.mapbox-vector-tile':\n        return await this.getVectorTile({x, y, z, layers: []});\n      default:\n        return await this.getImageTile({x, y, z, layers: []});\n    }\n  }\n\n  // ImageTileSource interface implementation\n\n  async getImageTile(tileParams: GetTileParameters): Promise<ImageType | null> {\n    const arrayBuffer = await this.getTile(tileParams);\n    return arrayBuffer ? await ImageLoader.parse(arrayBuffer, this.loadOptions) : null;\n  }\n\n  // VectorTileSource interface implementation\n\n  async getVectorTile(tileParams: GetTileParameters): Promise<unknown | null> {\n    const arrayBuffer = await this.getTile(tileParams);\n    const loadOptions: MVTLoaderOptions = {\n      mvt: {\n        shape: 'geojson-table',\n        coordinates: 'wgs84',\n        tileIndex: {x: tileParams.x, y: tileParams.y, z: tileParams.z},\n        ...(this.loadOptions as MVTLoaderOptions)?.mvt\n      },\n      ...this.loadOptions\n    };\n\n    return arrayBuffer ? await MVTLoader.parse(arrayBuffer, loadOptions) : null;\n  }\n}\n", "// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport type {Format} from '@loaders.gl/loader-utils';\n\n/**\n * PMTiles\n */\nexport const PMTilesFormat = {\n  name: 'PMTiles',\n  id: 'pmtiles',\n  module: 'pmtiles',\n  extensions: ['pmtiles'],\n  mimeTypes: ['application/octet-stream'],\n  tests: ['PMTiles']\n} as const satisfies Format;\n", "// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport {LoaderOptions} from '@loaders.gl/loader-utils';\nimport type {TileJSON} from '@loaders.gl/mvt';\nimport {TileJSONLoader} from '@loaders.gl/mvt';\n// import {Source, PMTiles, Header, TileType} from 'pmtiles';\nimport * as pmtiles from 'pmtiles';\nconst {TileType} = pmtiles;\n\n/** Metadata describing a PMTiles file */\nexport type PMTilesMetadata = {\n  format: 'pmtiles';\n  /** Version of pm tiles format used by this tileset */\n  formatVersion: number;\n\n  /** MIME type for tile contents. Unknown tile types will return 'application/octet-stream */\n  tileMIMEType:\n    | 'application/vnd.mapbox-vector-tile'\n    | 'image/png'\n    | 'image/jpeg'\n    | 'image/webp'\n    | 'image/avif'\n    | 'application/octet-stream';\n\n  /** Name of the tileset (extracted from JSON metadata if available) */\n  name?: string;\n  /** Attribution string (extracted from JSON metadata if available) */\n  attributions?: string[];\n\n  /** Minimal zoom level of tiles in this tileset */\n  minZoom: number;\n  /** Maximal zoom level of tiles in this tileset */\n  maxZoom: number;\n  /** Bounding box of tiles in this tileset `[[w, s], [e, n]]`  */\n  boundingBox: [min: [x: number, y: number], max: [x: number, y: number]];\n  /** Center long, lat of this tileset */\n  center: [number, number];\n  /** Center zoom level of this tileset */\n  centerZoom: number;\n  /** Cache tag */\n  etag?: string;\n\n  /** Parsed TileJSON/tilestats metadata, if present */\n  tilejson?: TileJSON;\n\n  /** @deprecated PMTiles format specific header */\n  formatHeader?: pmtiles.Header;\n  /** @deprecated Unparsed metadata (Assumption metadata generated by e.g. tippecanoe, typically TileJSON) */\n  formatMetadata?: Record<string, unknown>;\n};\n\n/**\n * Parse PMTiles metdata from a PMTiles file\n * @param header\n * @param tilejsonMetadata\n * @param options\n * @param loadOptions\n * @returns\n */\nexport function parsePMTilesHeader(\n  header: pmtiles.Header,\n  pmtilesMetadata: Record<string, unknown> | null,\n  options?: {includeFormatHeader?: boolean},\n  loadOptions?: LoaderOptions\n): PMTilesMetadata {\n  // Ironically, to use the TileJSON loader we need to stringify the metadata again.\n  // This is the price of integrating with the existing pmtiles library.\n  // TODO - provide a non-standard TileJSONLoader parsers that accepts a JSON object?\n  let tilejson: TileJSON | null = null;\n  if (pmtilesMetadata) {\n    try {\n      const string = JSON.stringify(pmtilesMetadata);\n      tilejson = TileJSONLoader.parseTextSync?.(string, loadOptions) || null;\n    } catch (error) {\n      // eslint-disable-next-line no-console\n      console.warn('PMTiles metadata could not be interpreted as TileJSON', error);\n    }\n  }\n\n  const partialMetadata: Partial<PMTilesMetadata> = {};\n\n  if (typeof tilejson?.name === 'string') {\n    partialMetadata.name = tilejson.name;\n  }\n\n  if (typeof tilejson?.htmlAttribution === 'string') {\n    partialMetadata.attributions = [tilejson.htmlAttribution];\n  }\n\n  const metadata: PMTilesMetadata = {\n    ...partialMetadata,\n    format: 'pmtiles',\n    formatVersion: header.specVersion,\n    attributions: [],\n    tileMIMEType: decodeTileType(header.tileType),\n    minZoom: header.minZoom,\n    maxZoom: header.maxZoom,\n    boundingBox: [\n      [header.minLon, header.minLat],\n      [header.maxLon, header.maxLat]\n    ],\n    center: [header.centerLon, header.centerLat],\n    centerZoom: header.centerZoom,\n    etag: header.etag\n  };\n\n  if (tilejson) {\n    metadata.tilejson = tilejson;\n  }\n\n  // Application can optionally include the raw header and metadata.\n  if (options?.includeFormatHeader) {\n    metadata.formatHeader = header;\n    metadata.formatMetadata = metadata;\n  }\n\n  return metadata;\n}\n\n/** Extract a MIME type for tiles from vector tile header  */\nfunction decodeTileType(\n  tileType: pmtiles.TileType\n):\n  | 'application/vnd.mapbox-vector-tile'\n  | 'image/png'\n  | 'image/jpeg'\n  | 'image/webp'\n  | 'image/avif'\n  | 'application/octet-stream' {\n  switch (tileType) {\n    case TileType.Mvt:\n      return 'application/vnd.mapbox-vector-tile';\n    case TileType.Png:\n      return 'image/png';\n    case TileType.Jpeg:\n      return 'image/jpeg';\n    case TileType.Webp:\n      return 'image/webp';\n    case TileType.Avif:\n      return 'image/avif';\n    default:\n      return 'application/octet-stream';\n  }\n}\n", "// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport * as pmtiles from 'pmtiles';\n\n/**\n * A PMTiles library compatible source that reads from blobs\n * @deprecated TODO - reimplement as ReadableFileSource\n * Use loaders.gl HTTP range requests instead\n */\nexport class BlobSource implements pmtiles.Source {\n  blob: Blob;\n  key: string;\n\n  constructor(blob: Blob, key: string) {\n    this.blob = blob;\n    this.key = key;\n  }\n\n  // TODO - how is this used?\n  getKey() {\n    // @ts-expect-error url is only defined on File subclass\n    return this.blob.url || '';\n  }\n\n  async getBytes(\n    offset: number,\n    length: number,\n    signal?: AbortSignal\n  ): Promise<pmtiles.RangeResponse> {\n    const slice = this.blob.slice(offset, offset + length);\n    const data = await slice.arrayBuffer();\n    return {\n      data\n      // etag: response.headers.get('ETag') || undefined,\n      // cacheControl: response.headers.get('Cache-Control') || undefined,\n      // expires: response.headers.get('Expires') || undefined\n    };\n  }\n}\n", "// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\nimport type {LoaderWithParser, LoaderOptions, ReadableFile} from '@loaders.gl/loader-utils';\nimport {BlobFile} from '@loaders.gl/loader-utils';\nimport {VERSION} from './lib/version';\n\nimport {VectorSourceInfo, ImageSourceInfo} from './source-info';\nimport {PMTilesTileSource, PMTilesSourceOptions} from './pmtiles-source';\nimport {PMTilesFormat} from './pmtiles-format';\n\nexport type PMTilesLoaderOptions = LoaderOptions & {\n  pmtiles?: PMTilesSourceOptions['pmtiles'];\n};\n\n/**\n * Loader for PMTiles metadata\n * @note This loader is intended to allow PMTiles to be treated like other file types in top-level loading logic.\n * @note For actual access to the tile data, use the PMTilesSource class.\n */\nexport const PMTilesLoader = {\n  ...PMTilesFormat,\n  version: VERSION,\n  options: {\n    pmtiles: {}\n  },\n  parse: async (arrayBuffer: ArrayBuffer, options?: PMTilesLoaderOptions) =>\n    parseFileAsPMTiles(new BlobFile(new Blob([arrayBuffer])), options),\n  parseFile: parseFileAsPMTiles\n} as const satisfies LoaderWithParser<\n  VectorSourceInfo | ImageSourceInfo,\n  never,\n  PMTilesLoaderOptions\n>;\n\nasync function parseFileAsPMTiles(\n  file: ReadableFile,\n  options?: PMTilesLoaderOptions\n): Promise<VectorSourceInfo | ImageSourceInfo> {\n  const source = new PMTilesTileSource(file.handle as string | Blob, {\n    pmtiles: options?.pmtiles || {}\n  });\n  const formatSpecificMetadata = await source.getMetadata();\n  const {tileMIMEType, tilejson = {}} = formatSpecificMetadata;\n  const {layers = []} = tilejson;\n  switch (tileMIMEType) {\n    case 'application/vnd.mapbox-vector-tile':\n      return {\n        shape: 'vector-source',\n        layers: layers.map((layer) => ({name: layer.name, schema: layer.schema})),\n        tables: [],\n        formatSpecificMetadata\n      } as VectorSourceInfo;\n    case 'image/png':\n    case 'image/jpeg':\n      return {shape: 'image-source', formatSpecificMetadata} as ImageSourceInfo;\n    default:\n      throw new Error(`PMTilesLoader: Unsupported tile MIME type ${tileMIMEType}`);\n  }\n}\n", "// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\n// Version constant cannot be imported, it needs to correspond to the build version of **this** module.\n// __VERSION__ is injected by babel-plugin-version-inline\n// @ts-ignore TS2304: Cannot find name '__VERSION__'.\nexport const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';\n"],
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;ACaA,0BAAyD;AACzD,oBAA8C;AAC9C,IAAAA,cAAiE;;;ACN1D,IAAM,gBAAgB;EAC3B,MAAM;EACN,IAAI;EACJ,QAAQ;EACR,YAAY,CAAC,SAAS;EACtB,WAAW,CAAC,0BAA0B;EACtC,OAAO,CAAC,SAAS;;;;ADGnB,IAAAC,WAAyB;;;AEZzB,iBAA6B;AAE7B,cAAyB;AACzB,IAAM,EAAC,SAAQ,IAAI;AAoDb,SAAU,mBACd,QACA,iBACA,SACA,aAA2B;AAjE7B;AAsEE,MAAI,WAA4B;AAChC,MAAI,iBAAiB;AACnB,QAAI;AACF,YAAM,SAAS,KAAK,UAAU,eAAe;AAC7C,mBAAW,sCAAe,kBAAf,4BAA+B,QAAQ,iBAAgB;IACpE,SAAS,OAAP;AAEA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