{"version":3,"sources":["webpack:///./node_modules/lib-font/src/opentype/tables/simple/bitmap/shared.js","webpack:///./node_modules/lib-font/src/opentype/tables/simple/bitmap/EBSC.js"],"names":["BitmapSize","constructor","p","this","indexSubTableArrayOffset","Offset32","indexTablesSize","uint32","numberofIndexSubTables","colorRef","hori","SbitLineMetrics","vert","startGlyphIndex","uint16","endGlyphIndex","ppemX","uint8","ppemY","bitDepth","flags","int8","BitmapScale","substitutePpemX","substitutePpemY","ascender","descender","widthMax","caretSlopeNumerator","caretSlopeDenominator","caretOffset","minOriginSB","minAdvanceSB","maxBeforeBL","minAfterBL","pad1","pad2","EBSC","dict","dataview","super","majorVersion","minorVersion","numSizes","Array","map","_"],"mappings":"2FAAA,0EAAMA,EACJC,YAAYC,GACVC,KAAKC,yBAA2BF,EAAEG,SAClCF,KAAKG,gBAAkBJ,EAAEK,OACzBJ,KAAKK,uBAAyBN,EAAEK,OAChCJ,KAAKM,SAAWP,EAAEK,OAClBJ,KAAKO,KAAO,IAAIC,EAAgBT,GAChCC,KAAKS,KAAO,IAAID,EAAgBT,GAChCC,KAAKU,gBAAkBX,EAAEY,OACzBX,KAAKY,cAAgBb,EAAEY,OACvBX,KAAKa,MAAQd,EAAEe,MACfd,KAAKe,MAAQhB,EAAEe,MACfd,KAAKgB,SAAWjB,EAAEe,MAClBd,KAAKiB,MAAQlB,EAAEmB,IACjB,EAEF,MAAMC,EACJrB,YAAYC,GACVC,KAAKO,KAAO,IAAIC,EAAgBT,GAChCC,KAAKS,KAAO,IAAID,EAAgBT,GAChCC,KAAKa,MAAQd,EAAEe,MACfd,KAAKe,MAAQhB,EAAEe,MACfd,KAAKoB,gBAAkBrB,EAAEe,MACzBd,KAAKqB,gBAAkBtB,EAAEe,KAC3B,EAEF,MAAMN,EACJV,YAAYC,GACVC,KAAKsB,SAAWvB,EAAEmB,KAClBlB,KAAKuB,UAAYxB,EAAEmB,KACnBlB,KAAKwB,SAAWzB,EAAEe,MAClBd,KAAKyB,oBAAsB1B,EAAEmB,KAC7BlB,KAAK0B,sBAAwB3B,EAAEmB,KAC/BlB,KAAK2B,YAAc5B,EAAEmB,KACrBlB,KAAK4B,YAAc7B,EAAEmB,KACrBlB,KAAK6B,aAAe9B,EAAEmB,KACtBlB,KAAK8B,YAAc/B,EAAEmB,KACrBlB,KAAK+B,WAAahC,EAAEmB,KACpBlB,KAAKgC,KAAOjC,EAAEmB,KACdlB,KAAKiC,KAAOlC,EAAEmB,IAChB,E,mCCxCF,uEASA,MAAMgB,UAAa,IACjBpC,YAAYqC,EAAMC,GAChB,MACErC,EADasC,MAAMF,EAAMC,GACdrC,EACbC,KAAKsC,aAAevC,EAAEY,OACtBX,KAAKuC,aAAexC,EAAEY,OACtBX,KAAKwC,SAAWzC,EAAEK,OAClB,YAAKJ,KAAM,gBAAgB,IAAM,IAAI,IAAIyC,MAAMzC,KAAKwC,WAAWE,KAAIC,GAAK,IAAI,IAAY5C,MAC1F,E","file":"js/10-30832863ce89687fc5a0.chunk.js","sourcesContent":["class BitmapSize {\n constructor(p) {\n this.indexSubTableArrayOffset = p.Offset32; // from beginning of CBLC\n this.indexTablesSize = p.uint32;\n this.numberofIndexSubTables = p.uint32;\n this.colorRef = p.uint32;\n this.hori = new SbitLineMetrics(p);\n this.vert = new SbitLineMetrics(p);\n this.startGlyphIndex = p.uint16;\n this.endGlyphIndex = p.uint16;\n this.ppemX = p.uint8;\n this.ppemY = p.uint8;\n this.bitDepth = p.uint8;\n this.flags = p.int8;\n }\n}\nclass BitmapScale {\n constructor(p) {\n this.hori = new SbitLineMetrics(p);\n this.vert = new SbitLineMetrics(p);\n this.ppemX = p.uint8;\n this.ppemY = p.uint8;\n this.substitutePpemX = p.uint8;\n this.substitutePpemY = p.uint8;\n }\n}\nclass SbitLineMetrics {\n constructor(p) {\n this.ascender = p.int8;\n this.descender = p.int8;\n this.widthMax = p.uint8;\n this.caretSlopeNumerator = p.int8;\n this.caretSlopeDenominator = p.int8;\n this.caretOffset = p.int8;\n this.minOriginSB = p.int8;\n this.minAdvanceSB = p.int8;\n this.maxBeforeBL = p.int8;\n this.minAfterBL = p.int8;\n this.pad1 = p.int8;\n this.pad2 = p.int8;\n }\n}\nclass IndexSubHeader {\n constructor(p) {\n this.indexFormat = p.uint16;\n this.imageFormat = p.uint16;\n this.imageDataOffset = p.Offset32; // Offset to image data in EBDT table.\n }\n}\n\nclass BigGlyphMetrics {\n constructor(p) {\n this.height = uint8;\n this.width = uint8;\n this.horiBearingX = int8;\n this.horiBearingY = int8;\n this.horiAdvance = uint8;\n this.vertBearingX = int8;\n this.vertBearingY = int8;\n this.vertAdvance = uint8;\n }\n}\nclass SmallGlyphMetrics {\n constructor(p) {\n this.height = p.uint8;\n this.width = p.uint8;\n this.bearingX = p.int8;\n this.bearingY = p.int8;\n this.advance = p.uint8;\n }\n}\nclass EBDTComponent {\n constructor(p) {\n this.glyphID = p.uint16;\n this.xOffset = p.int8;\n this.yOffset = p.int8;\n }\n}\nclass IndexSubTableArray {\n constructor(p) {\n this.firstGlyphIndex = p.uint16;\n this.lastGlyphIndex = p.uint16;\n this.additionalOffsetToIndexSubtable = p.Offset32; // from beginning of EBLC.\n }\n}\n\nexport { BitmapSize, BitmapScale, SbitLineMetrics, IndexSubHeader, BigGlyphMetrics, SmallGlyphMetrics, EBDTComponent, IndexSubTableArray };","import { BitmapScale } from \"./shared.js\";\nimport { SimpleTable } from \"../../simple-table.js\";\nimport lazy from \"../../../../lazy.js\";\n\n/**\n * The OpenType `EBSC` table.\n *\n * See https://docs.microsoft.com/en-us/typography/opentype/spec/EBSC\n */\nclass EBSC extends SimpleTable {\n constructor(dict, dataview) {\n const _super = super(dict, dataview),\n p = _super.p;\n this.majorVersion = p.uint16;\n this.minorVersion = p.uint16;\n this.numSizes = p.uint32;\n lazy(this, `bitmapScales`, () => [...new Array(this.numSizes)].map(_ => new BitmapScale(p)));\n }\n}\nexport { EBSC };"],"sourceRoot":""}