{"version":3,"sources":["node_modules/@arcgis/core/layers/support/imageBitmapUtils.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport r from \"../../core/Error.js\";\nimport { throwIfAborted as e } from \"../../core/promiseUtils.js\";\nasync function t(t, o, a) {\n let c;\n try {\n c = await createImageBitmap(t);\n } catch (l) {\n throw new r(\"request:server\", `Unable to load ${o}`, {\n url: o,\n error: l\n });\n }\n return e(a), c;\n}\nasync function o(t, o, a, c, l) {\n let n;\n try {\n n = await createImageBitmap(t);\n } catch (i) {\n throw new r(\"request:server\", `Unable to load tile ${o}/${a}/${c}`, {\n error: i,\n level: o,\n row: a,\n col: c\n });\n }\n return e(l), n;\n}\nexport { t as createBitmap, o as createTileBitmap };"],"mappings":"wHAMA,SAAeA,EAAEA,EAAGC,EAAGC,EAAG,QAAAC,EAAA,sBACxB,IAAIC,EACJ,GAAI,CACFA,EAAI,MAAM,kBAAkBJ,CAAC,CAC/B,OAASK,EAAG,CACV,MAAM,IAAIC,EAAE,iBAAkB,kBAAkBL,CAAC,GAAI,CACnD,IAAKA,EACL,MAAOI,CACT,CAAC,CACH,CACA,OAAOC,EAAEJ,CAAC,EAAGE,CACf,GACA,SAAeH,EAAED,EAAGC,EAAGC,EAAGE,EAAGC,EAAG,QAAAF,EAAA,sBAC9B,IAAI,EACJ,GAAI,CACF,EAAI,MAAM,kBAAkBH,CAAC,CAC/B,OAASO,EAAG,CACV,MAAM,IAAID,EAAE,iBAAkB,uBAAuBL,CAAC,IAAIC,CAAC,IAAIE,CAAC,GAAI,CAClE,MAAOG,EACP,MAAON,EACP,IAAKC,EACL,IAAKE,CACP,CAAC,CACH,CACA,OAAOE,EAAED,CAAC,EAAG,CACf","names":["t","o","a","__async","c","l","s","i"],"x_google_ignoreList":[0]}