"use strict";(self.webpackChunkdragblock=self.webpackChunkdragblock||[]).push([[6356],{6356:function(t,s,e){e.r(s),e.d(s,{GDEF:function(){return u}});var i=e(6770),r=e(2592);class a{constructor(t){this.classFormat=t.uint16,1===this.classFormat&&(this.startGlyphID=t.uint16,this.glyphCount=t.uint16,this.classValueArray=[...new Array(this.glyphCount)].map((s=>t.uint16))),2===this.classFormat&&(this.classRangeCount=t.uint16,this.classRangeRecords=[...new Array(this.classRangeCount)].map((s=>new n(t))))}}class n{constructor(t){this.startGlyphID=t.uint16,this.endGlyphID=t.uint16,this.class=t.uint16}}var h=e(7879);class o{constructor(t,s){this.table=t,this.parser=s,this.start=s.currentPosition,this.format=s.uint16,this.variationRegionListOffset=s.Offset32,this.itemVariationDataCount=s.uint16,this.itemVariationDataOffsets=[...new Array(this.itemVariationDataCount)].map((t=>s.Offset32))}}var f=e(7047);class u extends r.x{constructor(t,s){const{p:e}=super(t,s);this.majorVersion=e.uint16,this.minorVersion=e.uint16,this.glyphClassDefOffset=e.Offset16,(0,f.Z)(this,"glyphClassDefs",(()=>{if(0!==this.glyphClassDefOffset)return e.currentPosition=this.tableStart+this.glyphClassDefOffset,new a(e)})),this.attachListOffset=e.Offset16,(0,f.Z)(this,"attachList",(()=>{if(0!==this.attachListOffset)return e.currentPosition=this.tableStart+this.attachListOffset,new c(e)})),this.ligCaretListOffset=e.Offset16,(0,f.Z)(this,"ligCaretList",(()=>{if(0!==this.ligCaretListOffset)return e.currentPosition=this.tableStart+this.ligCaretListOffset,new p(e)})),this.markAttachClassDefOffset=e.Offset16,(0,f.Z)(this,"markAttachClassDef",(()=>{if(0!==this.markAttachClassDefOffset)return e.currentPosition=this.tableStart+this.markAttachClassDefOffset,new a(e)})),this.minorVersion>=2&&(this.markGlyphSetsDefOffset=e.Offset16,(0,f.Z)(this,"markGlyphSetsDef",(()=>{if(0!==this.markGlyphSetsDefOffset)return e.currentPosition=this.tableStart+this.markGlyphSetsDefOffset,new g(e)}))),3===this.minorVersion&&(this.itemVarStoreOffset=e.Offset32,(0,f.Z)(this,"itemVarStore",(()=>{if(0!==this.itemVarStoreOffset)return e.currentPosition=this.tableStart+this.itemVarStoreOffset,new o(e)})))}}class c extends i.j{constructor(t){super(t),this.coverageOffset=t.Offset16,this.glyphCount=t.uint16,this.attachPointOffsets=[...new Array(this.glyphCount)].map((s=>t.Offset16))}getPoint(t){return this.parser.currentPosition=this.start+this.attachPointOffsets[t],new l(this.parser)}}class l{constructor(t){this.pointCount=t.uint16,this.pointIndices=[...new Array(this.pointCount)].map((s=>t.uint16))}}class p extends i.j{constructor(t){super(t),this.coverageOffset=t.Offset16,(0,f.Z)(this,"coverage",(()=>(t.currentPosition=this.start+this.coverageOffset,new h.P(t)))),this.ligGlyphCount=t.uint16,this.ligGlyphOffsets=[...new Array(this.ligGlyphCount)].map((s=>t.Offset16))}getLigGlyph(t){return this.parser.currentPosition=this.start+this.ligGlyphOffsets[t],new O(this.parser)}}class O extends i.j{constructor(t){super(t),this.caretCount=t.uint16,this.caretValueOffsets=[...new Array(this.caretCount)].map((s=>t.Offset16))}getCaretValue(t){return this.parser.currentPosition=this.start+this.caretValueOffsets[t],new m(this.parser)}}class m{constructor(t){this.caretValueFormat=t.uint16,1===this.caretValueFormat&&(this.coordinate=t.int16),2===this.caretValueFormat&&(this.caretValuePointIndex=t.uint16),3===this.caretValueFormat&&(this.coordinate=t.int16,this.deviceOffset=t.Offset16)}}class g extends i.j{constructor(t){super(t),this.markGlyphSetTableFormat=t.uint16,this.markGlyphSetCount=t.uint16,this.coverageOffsets=[...new Array(this.markGlyphSetCount)].map((s=>t.Offset32))}getMarkGlyphSet(t){return this.parser.currentPosition=this.start+this.coverageOffsets[t],new h.P(this.parser)}}},7879:function(t,s,e){e.d(s,{P:function(){return r}});var i=e(6770);class r extends i.j{constructor(t){super(t),this.coverageFormat=t.uint16,1===this.coverageFormat&&(this.glyphCount=t.uint16,this.glyphArray=[...new Array(this.glyphCount)].map((s=>t.uint16))),2===this.coverageFormat&&(this.rangeCount=t.uint16,this.rangeRecords=[...new Array(this.rangeCount)].map((s=>new a(t))))}}class a{constructor(t){this.startGlyphID=t.uint16,this.endGlyphID=t.uint16,this.startCoverageIndex=t.uint16}}}}]);