{"version":3,"sources":["../src/targetWidths.js"],"names":["targetWidths","resolutions","prev","INCREMENT_PERCENTAGE","MAX_SIZE","ensureEven","Math","round","n","push"],"mappings":";;;;;AAAA,SAASA,YAAT,GAAwB;AACtB,MAAMC,cAAc,EAApB;AACA,MAAIC,OAAO,GAAX;AACA,MAAMC,uBAAuB,CAA7B;AACA,MAAMC,WAAW,IAAjB;;AAEA,MAAMC,aAAa,SAAbA,UAAa;AAAA,WAAK,IAAIC,KAAKC,KAAL,CAAWC,IAAI,CAAf,CAAT;AAAA,GAAnB;;AAEAP,cAAYQ,IAAZ,CAAiBP,IAAjB;AACA,SAAOA,QAAQE,QAAf,EAAyB;AACvBF,YAAQ,IAAKC,uBAAuB,GAAxB,GAA+B,CAA3C;AACAF,gBAAYQ,IAAZ,CAAiBJ,WAAWH,IAAX,CAAjB;AACD;;AAED,SAAOD,WAAP;AACD;;kBAEcD,c","file":"targetWidths.js","sourcesContent":["function targetWidths() {\n const resolutions = [];\n let prev = 100;\n const INCREMENT_PERCENTAGE = 8;\n const MAX_SIZE = 8192;\n\n const ensureEven = n => 2 * Math.round(n / 2);\n\n resolutions.push(prev);\n while (prev <= MAX_SIZE) {\n prev *= 1 + (INCREMENT_PERCENTAGE / 100) * 2;\n resolutions.push(ensureEven(prev));\n }\n\n return resolutions;\n}\n\nexport default targetWidths();\n"]}