"use strict";(self.webpackChunkdragblock=self.webpackChunkdragblock||[]).push([[1701],{1701:function(t,s,e){e.r(s),e.d(s,{BASE:function(){return a}});var i=e(7047),r=e(2592);class a extends r.x{constructor(t,s){const{p:e}=super(t,s);this.majorVersion=e.uint16,this.minorVersion=e.uint16,this.horizAxisOffset=e.Offset16,this.vertAxisOffset=e.Offset16,(0,i.Z)(this,"horizAxis",(()=>new o({offset:t.offset+this.horizAxisOffset},s))),(0,i.Z)(this,"vertAxis",(()=>new o({offset:t.offset+this.vertAxisOffset},s))),1===this.majorVersion&&1===this.minorVersion&&(this.itemVarStoreOffset=e.Offset32,(0,i.Z)(this,"itemVarStore",(()=>new o({offset:t.offset+this.itemVarStoreOffset},s))))}}class o extends r.x{constructor(t,s){const{p:e}=super(t,s,"AxisTable");this.baseTagListOffset=e.Offset16,this.baseScriptListOffset=e.Offset16,(0,i.Z)(this,"baseTagList",(()=>new n({offset:t.offset+this.baseTagListOffset},s))),(0,i.Z)(this,"baseScriptList",(()=>new f({offset:t.offset+this.baseScriptListOffset},s)))}}class n extends r.x{constructor(t,s){const{p:e}=super(t,s,"BaseTagListTable");this.baseTagCount=e.uint16,this.baselineTags=[...new Array(this.baseTagCount)].map((t=>e.tag))}}class f extends r.x{constructor(t,s){const{p:e}=super(t,s,"BaseScriptListTable");this.baseScriptCount=e.uint16;const r=e.currentPosition;(0,i.Z)(this,"baseScriptRecords",(()=>(e.currentPosition=r,[...new Array(this.baseScriptCount)].map((t=>new h(this.start,e))))))}}class h{constructor(t,s){this.baseScriptTag=s.tag,this.baseScriptOffset=s.Offset16,(0,i.Z)(this,"baseScriptTable",(()=>(s.currentPosition=t+this.baseScriptOffset,new c(s))))}}class c{constructor(t){this.start=t.currentPosition,this.baseValuesOffset=t.Offset16,this.defaultMinMaxOffset=t.Offset16,this.baseLangSysCount=t.uint16,this.baseLangSysRecords=[...new Array(this.baseLangSysCount)].map((s=>new u(this.start,t))),(0,i.Z)(this,"baseValues",(()=>(t.currentPosition=this.start+this.baseValuesOffset,new b(t)))),(0,i.Z)(this,"defaultMinMax",(()=>(t.currentPosition=this.start+this.defaultMinMaxOffset,new O(t))))}}class u{constructor(t,s){this.baseLangSysTag=s.tag,this.minMaxOffset=s.Offset16,(0,i.Z)(this,"minMax",(()=>(s.currentPosition=t+this.minMaxOffset,new O(s))))}}class b{constructor(t){this.parser=t,this.start=t.currentPosition,this.defaultBaselineIndex=t.uint16,this.baseCoordCount=t.uint16,this.baseCoords=[...new Array(this.baseCoordCount)].map((s=>t.Offset16))}getTable(t){return this.parser.currentPosition=this.start+this.baseCoords[t],new p(this.parser)}}class O{constructor(t){this.minCoord=t.Offset16,this.maxCoord=t.Offset16,this.featMinMaxCount=t.uint16;const s=t.currentPosition;(0,i.Z)(this,"featMinMaxRecords",(()=>(t.currentPosition=s,[...new Array(this.featMinMaxCount)].map((s=>new l(t))))))}}class l{constructor(t){this.featureTableTag=t.tag,this.minCoord=t.Offset16,this.maxCoord=t.Offset16}}class p{constructor(t){this.baseCoordFormat=t.uint16,this.coordinate=t.int16,2===this.baseCoordFormat&&(this.referenceGlyph=t.uint16,this.baseCoordPoint=t.uint16),3===this.baseCoordFormat&&(this.deviceTable=t.Offset16)}}}}]);