"use strict";(self.webpackChunkdragblock=self.webpackChunkdragblock||[]).push([[9209],{9209:function(t,s,r){r.r(s),r.d(s,{kern:function(){return n}});var e=r(2592),i=r(7047);class n extends e.x{constructor(t,s){const{p:r}=super(t,s);this.version=r.uint16,this.nTables=r.uint16,(0,i.Z)(this,"tables",(()=>{let t=this.tableStart+4;const s=[];for(let e=0;e<this.nTables;e++){r.currentPosition=t;let e=new a(r);s.push(e),t+=e}return s}))}}class a{constructor(t){this.version=t.uint16,this.length=t.uint16,this.coverage=t.flags(8),this.format=t.uint8,0===this.format&&(this.nPairs=t.uint16,this.searchRange=t.uint16,this.entrySelector=t.uint16,this.rangeShift=t.uint16,(0,i.Z)(this,"pairs",(()=>[...new Array(this.nPairs)].map((s=>new o(t)))))),2===this.format&&console.warn("Kern subtable format 2 is not supported: this parser currently only parses universal table data.")}get horizontal(){return this.coverage[0]}get minimum(){return this.coverage[1]}get crossstream(){return this.coverage[2]}get override(){return this.coverage[3]}}class o{constructor(t){this.left=t.uint16,this.right=t.uint16,this.value=t.fword}}}}]);