{"version":3,"sources":["webpack:///./node_modules/lib-font/src/opentype/tables/simple/other/VDMX.js"],"names":["VDMX","constructor","dict","dataview","p","super","this","version","uint16","numRecs","numRatios","ratRanges","Array","map","_","RatioRange","offsets","Offset16","VDMXGroups","VDMXGroup","bCharSet","uint8","xRatio","yStartRatio","yEndRatio","recs","startsz","endsz","records","vTable","yPelHeight","yMax","int16","yMin"],"mappings":"2FAAA,uDAOA,MAAMA,UAAa,IACjBC,YAAYC,EAAMC,GAChB,MACEC,EADaC,MAAMH,EAAMC,GACdC,EACbE,KAAKC,QAAUH,EAAEI,OACjBF,KAAKG,QAAUL,EAAEI,OACjBF,KAAKI,UAAYN,EAAEI,OACnBF,KAAKK,UAAY,IAAI,IAAIC,MAAMN,KAAKI,YAAYG,KAAIC,GAAK,IAAIC,EAAWX,KACxEE,KAAKU,QAAU,IAAI,IAAIJ,MAAMN,KAAKI,YAAYG,KAAIC,GAAKV,EAAEa,WACzDX,KAAKY,WAAa,IAAI,IAAIN,MAAMN,KAAKG,UAAUI,KAAIC,GAAK,IAAIK,EAAUf,IACxE,EAEF,MAAMW,EACJd,YAAYG,GACVE,KAAKc,SAAWhB,EAAEiB,MAClBf,KAAKgB,OAASlB,EAAEiB,MAChBf,KAAKiB,YAAcnB,EAAEiB,MACrBf,KAAKkB,UAAYpB,EAAEiB,KACrB,EAEF,MAAMF,EACJlB,YAAYG,GACVE,KAAKmB,KAAOrB,EAAEI,OACdF,KAAKoB,QAAUtB,EAAEiB,MACjBf,KAAKqB,MAAQvB,EAAEiB,MACff,KAAKsB,QAAU,IAAI,IAAIhB,MAAMN,KAAKmB,OAAOZ,KAAIC,GAAK,IAAIe,EAAOzB,IAC/D,EAEF,MAAMyB,EACJ5B,YAAYG,GACVE,KAAKwB,WAAa1B,EAAEI,OACpBF,KAAKyB,KAAO3B,EAAE4B,MACd1B,KAAK2B,KAAO7B,EAAE4B,KAChB,E","file":"js/31-7402c3e382dd49e7e22e.chunk.js","sourcesContent":["import { SimpleTable } from \"../../simple-table.js\";\n\n/**\n * The OpenType `VDMX` table.\n *\n * See https://docs.microsoft.com/en-us/typography/opentype/spec/VDMX\n */\nclass VDMX extends SimpleTable {\n constructor(dict, dataview) {\n const _super = super(dict, dataview),\n p = _super.p;\n this.version = p.uint16;\n this.numRecs = p.uint16;\n this.numRatios = p.uint16;\n this.ratRanges = [...new Array(this.numRatios)].map(_ => new RatioRange(p));\n this.offsets = [...new Array(this.numRatios)].map(_ => p.Offset16); // start of this table to the VDMXGroup table for a corresponding RatioRange record.\n this.VDMXGroups = [...new Array(this.numRecs)].map(_ => new VDMXGroup(p));\n }\n}\nclass RatioRange {\n constructor(p) {\n this.bCharSet = p.uint8;\n this.xRatio = p.uint8;\n this.yStartRatio = p.uint8;\n this.yEndRatio = p.uint8;\n }\n}\nclass VDMXGroup {\n constructor(p) {\n this.recs = p.uint16;\n this.startsz = p.uint8;\n this.endsz = p.uint8;\n this.records = [...new Array(this.recs)].map(_ => new vTable(p));\n }\n}\nclass vTable {\n constructor(p) {\n this.yPelHeight = p.uint16;\n this.yMax = p.int16;\n this.yMin = p.int16;\n }\n}\nexport { VDMX };"],"sourceRoot":""}