astro-ghostcms/.pnpm-store/v3/files/62/cd8e433d93421e73c16cad547b1...

2 lines
90 KiB
Plaintext

!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.t?define(["exports"],t):t((r=r||self).i={})}(this,function(y){"use strict";function h(){this.o=[],this.fill="black",this.stroke=null,this.strokeWidth=1}function i(r){this.font=r}function F(r){this.u=r}function v(r,t){this.encoding=r,this.charset=t}function E(r,c){if(c.l){var t=r;t.h={};for(var e=t.m.u.v,i=Object.keys(e),n=0;n<i.length;n+=1){var o=i[n],a=e[o];void 0===t.h[a]?t.h[a]={p:[parseInt(o)]}:t.h[a].p.push(parseInt(o))}}else for(var s=r,u=s.m.u.v,l=Object.keys(u),f=0;f<l.length;f+=1){var h=l[f],v=u[h];s.k.get(v).g(parseInt(h))}}function n(r){throw new Error(r)}function o(r,t){r||n(t)}function s(r){this.S(r)}function f(t,r,e){Object.defineProperty(t,r,{get:function(){return t.path,t[e]},set:function(r){t[e]=r},F:!0,D:!0})}function a(r,t){if(this.font=r,this.k={},Array.isArray(t))for(var e=0;e<t.length;e++){var i=t[e];i.path.A=r.A,this.k[e]=i}this.length=t&&t.length||0}function c(r,t){for(var e=0,i=r.length-1;e<=i;){var n=e+i>>>1,o=r[n].tag;if(o===t)return n;o<t?e=1+n:i=n-1}return-e-1}function l(r,t){for(var e=0,i=r.length-1;e<=i;){var n=e+i>>>1,o=r[n];if(o===t)return n;o<t?e=1+n:i=n-1}return-e-1}function d(r,t){for(var e=0,i=r.length-1;e<=i;){var n,o=e+i>>>1,a=(n=r[o]).start;if(a===t)return n;a<t?e=1+o:i=o-1}if(0<e)return t>(n=r[e-1]).end?0:n}function m(r,t){this.font=r,this.M=t}function p(r){m.call(this,r,"gpos")}function b(r){m.call(this,r,"gsub")}function g(r,t,e){for(var i=r.C,n=0;n<i.length;n++){var o=i[n];if(o.O===t)return o}if(e)return i.push(e),e}function w(r,t){if(!r)throw t}function k(r,t){return r.getUint8(t)}function D(r,t){return r.getUint16(t,!1)}function A(r,t){return r.getUint32(t,!1)}function M(r,t){return r.getInt16(t,!1)+r.getUint16(t+2,!1)/65535}function u(r,t){this.data=r,this.offset=t,this.I=0}function C(r,t,e,i,n){var o=0<(t&i)?(o=r.T(),e+(o=0==(t&n)?-o:o)):0<(t&n)?e:e+r.L();return o}function O(r,c,l){var t,e=new U.U(c,l);if(r.R=e.L(),r.N=e.L(),r.q=e.L(),r.G=e.L(),r.B=e.L(),0<r.R){for(var i=r.P=[],h=0;h<r.R;h+=1)i.push(e.j());r.W=e.j(),r._=[];for(var v=0;v<r.W;v+=1)r._.push(e.T());for(var n=i[i.length-1]+1,o=[],d=0;d<n;d+=1)if(t=e.T(),o.push(t),0<(8&t))for(var m=e.T(),p=0;p<m;p+=1)o.push(t),d+=1;if(L.X(o.length===n,"Bad flags."),0<i.length){var a,s=[];if(0<n){for(var u=0;u<n;u+=1)t=o[u],(a={}).Z=!!(1&t),a.Y=0<=i.indexOf(u),s.push(a);for(var b=0,g=0;g<n;g+=1)t=o[g],(a=s[g]).x=C(e,t,b,2,16),b=a.x;for(var w=0,y=0;y<n;y+=1)t=o[y],(a=s[y]).y=C(e,t,w,4,32),w=a.y}r.points=s}else r.points=[]}else if(0===r.R)r.points=[];else{r.V=!0,r.points=[],r.H=[];for(var k=!0;k;){o=e.j();var f={K:e.j(),J:1,$:0,rr:0,tr:1,dx:0,dy:0};0<(1&o)?0<(2&o)?(f.dx=e.L(),f.dy=e.L()):f.er=[e.j(),e.j()]:0<(2&o)?(f.dx=e.ir(),f.dy=e.ir()):f.er=[e.T(),e.T()],0<(8&o)?f.J=f.tr=e.nr():0<(64&o)?(f.J=e.nr(),f.tr=e.nr()):0<(128&o)&&(f.J=e.nr(),f.$=e.nr(),f.rr=e.nr(),f.tr=e.nr()),r.H.push(f),k=!!(32&o)}if(256&o){r.W=e.j(),r._=[];for(var x=0;x<r.W;x+=1)r._.push(e.T())}}}function I(r,t){for(var e=[],i=0;i<r.length;i+=1){var n=r[i],n={x:t.J*n.x+t.$*n.y+t.dx,y:t.rr*n.x+t.tr*n.y+t.dy,Z:n.Z,Y:n.Y};e.push(n)}return e}function T(r){var t=new h;if(!r)return t;for(var c=function(r){for(var t=[],e=[],i=0;i<r.length;i+=1){var n=r[i];e.push(n),n.Y&&(t.push(e),e=[])}return L.X(0===e.length,"There are still points left in the current contour."),t}(r),e=0;e<c.length;++e){var i,n=c[e],o=n[n.length-1],a=n[0];o.Z?t.moveTo(o.x,o.y):a.Z?t.moveTo(a.x,a.y):(i={x:.5*(o.x+a.x),y:.5*(o.y+a.y)},t.moveTo(i.x,i.y));for(var s=0;s<n.length;++s){var u,f=o,o=a,a=n[(s+1)%n.length];o.Z?t.lineTo(o.x,o.y):(u=a,f.Z||(o.x,f.x,o.y,f.y),a.Z||(u={x:.5*(o.x+a.x),y:.5*(o.y+a.y)}),t.quadraticCurveTo(o.x,o.y,u.x,u.y))}t.closePath()}return t}function R(r,t){if(t.V)for(var e=0;e<t.H.length;e+=1){var i=t.H[e],n=r.get(i.K);if(n.ar(),n.points){var o=void 0;if(void 0===i.er)o=I(n.points,i);else{if(i.er[0]>t.points.length-1||i.er[1]>n.points.length-1)throw Error("Matched points out of range in "+t.name);var a=t.points[i.er[0]],s=n.points[i.er[1]],i={J:i.J,$:i.$,rr:i.rr,tr:i.tr,dx:0,dy:0},s=I([s],i)[0];i.dx=a.x-s.x,i.dy=a.y-s.y,o=I(n.points,i)}t.points=t.points.concat(o)}}return T(t.points)}function N(r){this.font=r,this.sr=function(r){return Gt.ar(r).o},this.ur=this.cr=void 0,this.lr=0}function q(r){return r}function G(r){return Math.sign(r)*Math.round(Math.abs(r))}function B(r){return Math.sign(r)*Math.round(Math.abs(2*r))/2}function P(r){return Math.sign(r)*(Math.round(Math.abs(r)+.5)-.5)}function j(r){return Math.sign(r)*Math.ceil(Math.abs(r))}function W(r){return Math.sign(r)*Math.floor(Math.abs(r))}function _(r,t){this.x=r,this.y=t,this.axis=void 0,this.slope=t/r,this.hr=-r/t,Object.freeze(this)}function z(r,t){var e=Math.sqrt(r*r+t*t);return t/=e,1===(r/=e)&&0===t?Bt:0===r&&1===t?Pt:new _(r,t)}function X(r,t,e,i){this.x=this.vr=Math.round(64*r)/64,this.y=this.dr=Math.round(64*t)/64,this.Y=e,this.Z=i,this.mr=void 0,this.pr=void 0,this.br=!1,this.gr=!1,Object.preventExtensions(this)}function Z(r,t){switch(this.wr=r,this.stack=[],this.yr=t,r){case"glyf":this.kr=this.Sr=this.Fr=1,this.Er=this.Dr=this.Ar=0;case"prep":this.Mr=this.Cr=this.Or=Bt,this.round=G}}function Y(r){for(var t=r.Ir=new Array(r.Tr.length),e=0;e<t.length;e++)t[e]=new X(0,0)}function Q(r,t){var e,i=r.yr,n=r.Lr,o=1;do{if(88===(e=i[++n]))o++;else if(89===e)o--;else if(64===e)n+=i[n+1]+1;else if(65===e)n+=2*i[n+1]+1;else if(176<=e&&e<=183)n+=e-176+1;else if(184<=e&&e<=191)n+=2*(e-184+1);else if(t&&1===o&&27===e)break}while(0<o);r.Lr=n}function V(r,t){y.Ur,t.Mr=t.Cr=t.Or=r}function H(r,t){y.Ur,t.Cr=t.Or=r}function K(r,t){y.Ur,t.Mr=r}function J(r,t){var e,i=t.stack,n=i.pop(),i=i.pop(),n=t.Rr[n],i=t.Nr[i];y.Ur,r=r?(e=n.y-i.y,i.x-n.x):(e=i.x-n.x,i.y-n.y),t.Cr=t.Or=z(e,r)}function $(r,t){var e,i=t.stack,n=i.pop(),i=i.pop(),n=t.Rr[n],i=t.Nr[i];y.Ur,r=r?(e=n.y-i.y,i.x-n.x):(e=i.x-n.x,i.y-n.y),t.Mr=z(e,r)}function rr(r){y.Ur,r.stack.pop()}function tr(r,t){var e=t.stack.pop(),i=t.qr[e],n=t.Mr,o=t.Cr,a=(y.Ur,o.Gr(i,jt));r&&(a=t.round(a)),n.Br(i,jt,a,o),n.Pr(i),t.Er=t.Dr=e}function er(r,t){var e,i,n,o=t.Rr,a=o.length-2;y.Ur;for(var s=0;s<a;s++)e=o[s],r.touched(e)||(i=e.jr(r))!==e&&(i===(n=e.Wr(r))&&r.Br(e,e,r.Gr(i,i,!1,!0),r,!0),r._r(e,i,n,r))}function ir(r,t){for(var e=t.stack,i=r?t.Dr:t.Ar,n=(r?t.qr:t.Nr)[i],o=t.Mr,a=t.Cr,s=t.loop,u=t.Rr;s--;){var f=e.pop(),f=u[f],c=a.Gr(n,n,!1,!0);o.Br(f,f,c,a),o.Pr(f),y.Ur}t.loop=1}function nr(r,t){for(var e=t.stack,i=r?t.Dr:t.Ar,n=(r?t.qr:t.Nr)[i],o=t.Mr,a=t.Cr,r=e.pop(),s=t.Rr[t.zr[r]],u=s,f=(y.Ur,a.Gr(n,n,!1,!0));u!==n&&o.Br(u,u,f,a),(u=u.pr)!==s;);}function or(r,t){var e,i,n=t.stack,o=r?t.Dr:t.Ar,r=(r?t.qr:t.Nr)[o],a=t.Mr,s=t.Cr,o=n.pop();switch(y.Ur,o){case 0:e=t.Ir;break;case 1:e=t.Tr;break;default:throw new Error("Invalid zone")}for(var u=s.Gr(r,r,!1,!0),c=e.length-2,f=0;f<c;f++)i=e[f],a.Br(i,i,u,s)}function ar(r,t){var e=t.stack,i=e.pop()/64,e=e.pop(),n=t.Nr[e],o=t.qr[t.Er],a=t.Mr,s=t.Cr;a.Br(n,o,i,s),a.Pr(n),y.Ur,t.Dr=t.Er,t.Ar=e,r&&(t.Er=e)}function sr(r,t){var e=t.stack,i=e.pop(),e=e.pop(),n=t.qr[e],o=t.Mr,a=t.Cr,i=t.Xr[i],s=(y.Ur,a.Gr(n,jt));r&&(Math.abs(s-i)<t.Zr&&(s=i),s=t.round(s)),o.Br(n,jt,s,a),0===t.kr&&(n.vr=n.x,n.dr=n.y),o.Pr(n),t.Er=t.Dr=e}function ur(r,t){var e=t.stack,i=e.pop(),i=t.Rr[i];y.Ur,e.push(64*t.Or.Gr(i,jt,r,!1))}function fr(r,t){var e=t.stack,i=e.pop(),e=e.pop(),i=t.Nr[i],e=t.qr[e],e=t.Or.Gr(e,i,r,r);y.Ur,t.stack.push(Math.round(64*e))}function cr(r,t){var e=t.stack,i=e.pop(),n=t.Mr,o=t.Cr,a=t.Yr,c=t.Qr+16*(r-1),l=t.Vr,h=t.qr;y.Ur;for(var s=0;s<i;s++){var u=e.pop(),f=e.pop();c+((240&f)>>4)===a&&(0<=(f=(15&f)-8)&&f++,y.Ur,u=h[u],n.Br(u,u,f*l,o))}}function lr(r,t){var e=t.stack,i=e.pop();y.Ur,e.push(64*t.round(i/64))}function hr(r,t){var e=t.stack,i=e.pop(),n=t.Yr,o=t.Qr+16*(r-1),a=t.Vr;y.Ur;for(var s=0;s<i;s++){var u=e.pop(),f=e.pop();o+((240&f)>>4)===n&&(0<=(f=(15&f)-8)&&f++,y.Ur,t.Xr[u]+=f*a)}}function vr(r,t){var e,i=t.stack,n=i.pop(),i=i.pop(),n=t.Rr[n],i=t.Nr[i];y.Ur,r=r?(e=n.y-i.y,i.x-n.x):(e=i.x-n.x,i.y-n.y),t.Or=z(e,r)}function dr(r,t){var e=t.stack,i=t.yr,n=t.Lr;y.Ur;for(var o=0;o<r;o++)e.push(i[++n]);t.Lr=n}function mr(r,t){var e=t.Lr,i=t.yr,n=t.stack;y.Ur;for(var o=0;o<r;o++){var a=i[++e]<<8|i[++e];32768&a&&(a=-(1+(65535^a))),n.push(a)}t.Lr=e}function r(r,c,l,t,h,e){var i=e.stack,v=r&&i.pop(),i=i.pop(),n=e.Er,n=e.qr[n],o=e.Nr[i],a=e.Hr,s=e.Mr,u=e.Or,f=u.Gr(o,n,!0,!0),d=0<=f?1:-1;f=Math.abs(f),r&&(r=e.Xr[v],t&&Math.abs(f-r)<e.Zr&&(f=r)),l&&f<a&&(f=a),t&&(f=e.round(f)),s.Br(o,n,d*f,u),s.Pr(o),y.Ur,e.Dr=e.Er,e.Ar=i,c&&(e.Er=i)}function pr(r){this.char=r,this.state={},this.Kr=null}function br(r,t,e){this.Jr=e,this.$r=r,this.endOffset=t}function gr(r,t,e){this.Jr=r,this.rt=null,this.tt=[],this.et=t,this.it=e}function wr(r,t){this.context=r,this.index=t,this.length=r.length,this.current=r[t],this.nt=r.slice(0,t),this.ot=r.slice(t+1)}function yr(r){this.st=r,this.ut=[]}function t(r){this.ft=[],this.ct={},this.lt=[],this.ht={},this.vt=[],function(e){var i=this,r=["start","end","next","newToken","contextStart","contextEnd","insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD","updateContextsRanges"];r.forEach(function(r){Object.defineProperty(i.ht,r,{value:new yr(r)})}),e&&r.forEach(function(r){var t=e[r];"function"==typeof t&&i.ht[r].subscribe(t)}),["insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD"].forEach(function(r){i.ht[r].subscribe(i.dt)})}.call(this,r)}function kr(r){return/[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(r)}function xr(r){return/[\u0630\u0690\u0621\u0631\u0661\u0671\u0622\u0632\u0672\u0692\u06C2\u0623\u0673\u0693\u06C3\u0624\u0694\u06C4\u0625\u0675\u0695\u06C5\u06E5\u0676\u0696\u06C6\u0627\u0677\u0697\u06C7\u0648\u0688\u0698\u06C8\u0689\u0699\u06C9\u068A\u06CA\u066B\u068B\u06CB\u068C\u068D\u06CD\u06FD\u068E\u06EE\u06FE\u062F\u068F\u06CF\u06EF]/.test(r)}function Sr(r){return/[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(r)}function Fr(r){return/[A-z]/.test(r)}function Er(r){this.font=r,this.features={}}function Dr(r){this.id=r.id,this.tag=r.tag,this.bt=r.bt}function Ar(r,t){if(!r)return-1;switch(t.format){case 1:return t.k.indexOf(r);case 2:for(var e=t.tt,i=0;i<e.length;i++){var n,o=e[i];if(r>=o.start&&r<=o.end)return n=r-o.start,o.index+n}break;default:return-1}return-1}function Mr(r,t){for(var e=[],i=0;i<r.length;i++){var n=r[i],o=t.current,o=Ar(o=Array.isArray(o)?o[0]:o,n);-1!==o&&e.push(o)}return e.length!==r.length?-1:e}function Cr(r,t,e){r instanceof Dr&&_t[r.id]&&_t[r.id](r,t,e)}function Or(r){var i,n,o=this,a=this.wt.gt,s=this.kt.yt(r);1!==s.length&&(i=new wr(s.map(function(r){return r.getState("glyphIndex")}),0),n=new wr(s.map(function(r){return r.char}),0),s.forEach(function(r,t){if(!Sr(r.char)){i.xt(t),n.xt(t);var e,r=0;switch(!function(r){for(var t=[].concat(r.nt),e=t.length-1;0<=e;e--){var i=t[e],n=xr(i),i=Sr(i);if(!n&&!i)return 1;if(n)return}}(n)||(r|=1),function(r){if(!xr(r.current))for(var t=0;t<r.ot.length;t++)if(!Sr(r.ot[t]))return 1}(n)&&(r|=2),r){case 1:e="fina";break;case 2:e="init";break;case 3:e="medi"}-1!==a.indexOf(e)&&((t=o.query.St({tag:e,script:"arab",Ft:i}))instanceof Error||t.forEach(function(r,t){r instanceof Dr&&(Cr(r,s,t),i.context[t]=r.bt)}))}}))}function Ir(r,t){return new wr(r.map(function(r){return r.Kr.value}),t||0)}function Tr(r,t){return new wr(r.map(function(r){return r.Kr.value}),t||0)}function Lr(r){this.Et=r||"ltr",this.kt=new t,this.wt={}}function Ur(r){var t=this.Dt[r+"Check"];return this.kt.At(r,t.Mt,t.Ct)}function Rr(){if(-1===this.kt.vt.indexOf("glyphIndex"))throw new Error("glyphIndex modifier is required to apply arabic presentation features.")}function Nr(){var t=this;this.wt.hasOwnProperty("gt")&&-1!==this.wt.gt.indexOf("rlig")&&(Rr.call(this),this.kt.Ot("arabicWord").forEach(function(r){!function(r){var i=this,n=this.kt.yt(r),o=Ir(n);o.context.forEach(function(r,t){o.xt(t);var e=i.query.St({tag:"rlig",script:"arab",Ft:o});e.length&&(e.forEach(function(r){return Cr(r,n,t)}),o=Ir(n))})}.call(t,r)}))}function qr(){var t=this;this.wt.hasOwnProperty("It")&&-1!==this.wt.It.indexOf("liga")&&(Rr.call(this),this.kt.Ot("latinWord").forEach(function(r){!function(r){var i=this,n=this.kt.yt(r),o=Tr(n);o.context.forEach(function(r,t){o.xt(t);var e=i.query.St({tag:"liga",script:"latn",Ft:o});e.length&&(e.forEach(function(r){return Cr(r,n,t)}),o=Tr(n))})}.call(t,r)}))}function x(r){(r=r||{}).m=r.m||{},r.empty||(w(r.familyName,"When creating a new Font object, familyName is required."),w(r.Tt,"When creating a new Font object, styleName is required."),w(r.A,"When creating a new Font object, unitsPerEm is required."),w(r.Lt,"When creating a new Font object, ascender is required."),w(r.Ut<=0,"When creating a new Font object, negative descender value is required."),this.A=r.A||1e3,this.Lt=r.Lt,this.Ut=r.Ut,this.Rt=r.Rt,this.m=Object.assign(r.m,{Nt:Object.assign({qt:r.Gt||this.Pt.Bt,jt:r.Wt||this._t.Bt,zt:r.zt||this.Zt.Xt},r.m.Nt)})),this.supported=!0,this.k=new Rt.Yt(this,r.k||[]),this.encoding=new i(this),this.position=new p(this),this.bt=new b(this),this.m=this.m||{},this.Qt=null,this.Vt={},Object.defineProperty(this,"Ht",{get:function(){return this.Kt||("truetype"===this.Jt?this.Kt=new N(this):void 0)}})}function Gr(r){r=r.length<1240?107:r.length<33900?1131:32768;return r}function Br(r,t,e){var i,n=[],c=[],o=U.$t(r,t);if(0!==o){for(var a=U.re(r,t+2),s=t+(o+1)*a+2,l=t+3,h=0;h<o+1;h+=1)n.push(U.te(r,l,a)),l+=a;i=s+n[o]}else i=t+2;for(var u=0;u<n.length-1;u+=1){var f=U.ee(r,s+n[u],s+n[u+1]);e&&(f=e(f)),c.push(f)}return{ie:c,startOffset:t,endOffset:i}}function Pr(r,t){if(28===t)return r.T()<<8|r.T();if(29===t)return r.T()<<24|r.T()<<16|r.T()<<8|r.T();if(30===t){for(var e=r,i="",n=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"];;){var o=e.T(),a=o>>4,o=15&o;if(15==a)break;if(i+=n[a],15==o)break;i+=n[o]}return parseFloat(i)}if(32<=t&&t<=246)return t-139;if(247<=t&&t<=250)return 256*(t-247)+r.T()+108;if(251<=t&&t<=254)return 256*-(t-251)-r.T()-108;throw new Error("Invalid b0 "+t)}function jr(c,r,t){var e=new U.U(c,r=void 0!==r?r:0),l=[],i=[];for(t=void 0!==t?t:c.length;e.I<t;){var n=e.T();n<=21?(12===n&&(n=1200+e.T()),l.push([n,i]),i=[]):i.push(Pr(e,n))}for(var o=l,a={},s=0;s<o.length;s+=1){var u=o[s][0],f=o[s][1],h=void 0,h=1===f.length?f[0]:f;if(a.hasOwnProperty(u)&&!isNaN(a[u]))throw new Error("Object "+a+" already has key "+u);a[u]=h}return a}function Wr(r,t){return t=t<=390?Tt[t]:r[t-391]}function _r(r,t,e){for(var i,n={},o=0;o<t.length;o+=1){var a=t[o];if(Array.isArray(a.type)){var s=[];s.length=a.type.length;for(var u=0;u<a.type.length;u++)void 0===(i=void 0!==r[a.ne]?r[a.ne][u]:void 0)&&(i=void 0!==a.value&&void 0!==a.value[u]?a.value[u]:null),"SID"===a.type[u]&&(i=Wr(e,i)),s[u]=i;n[a.name]=s}else void 0===(i=r[a.ne])&&(i=void 0!==a.value?a.value:null),"SID"===a.type&&(i=Wr(e,i)),n[a.name]=i}return n}function zr(r,t,e,i){return _r(jr(r,t,e),Yt,i)}function Xr(r,t,e,i){for(var n=[],o=0;o<e.length;o+=1){var a=new DataView(new Uint8Array(e[o]).buffer),a=(s=i,_r(jr(a,0,a.byteLength),Zt,s)),s=(a.oe=[],a.ae=0,a.se=0,a.ue=0,a.fe[0]),u=a.fe[1];0!==s&&0!==u&&(s=zr(r,u+t,s,i),a.se=s.ce,a.ue=s.le,0!==s.he&&(u=Br(r,u+s.he+t),a.oe=u.ie,a.ae=Gr(a.oe)),a.ve=s),n.push(a)}return n}function Zr(p,r,t){function D(r,t){T&&k.closePath(),k.moveTo(r,t),T=!0}function A(){x.length%2==0||S||(L=x.shift()+O),I+=x.length>>1,x.length=0,S=!0}var b,g,w,y,e,M,C,i,O,k=new h,x=[],I=0,S=!1,T=!1,F=0,E=0,L=(O=p.de?(e=p.m.be.pe.me[r.index],e=p.m.be.pe.ge[e],M=e.oe,C=e.ae,i=e.se,e.ue):(M=p.m.be.pe.oe,C=p.m.be.pe.ae,i=p.m.be.pe.se,p.m.be.pe.ue),i);return function c(r){for(var t,l,h,v,d,m,e,i,n,o,a,s,u=0;u<r.length;){var f=r[u];switch(u+=1,f){case 1:case 3:A();break;case 4:1<x.length&&!S&&(L=x.shift()+O,S=!0),E+=x.pop(),D(F,E);break;case 5:for(;0<x.length;)F+=x.shift(),E+=x.shift(),k.lineTo(F,E);break;case 6:for(;0<x.length&&(F+=x.shift(),k.lineTo(F,E),0!==x.length);)E+=x.shift(),k.lineTo(F,E);break;case 7:for(;0<x.length&&(E+=x.shift(),k.lineTo(F,E),0!==x.length);)F+=x.shift(),k.lineTo(F,E);break;case 8:for(;0<x.length;)b=F+x.shift(),g=E+x.shift(),w=b+x.shift(),y=g+x.shift(),F=w+x.shift(),E=y+x.shift(),k.we(b,g,w,y,F,E);break;case 10:d=x.pop()+C,(m=M[d])&&c(m);break;case 11:return;case 12:switch(f=r[u],u+=1,f){case 35:b=F+x.shift(),g=E+x.shift(),w=b+x.shift(),y=g+x.shift(),e=w+x.shift(),i=y+x.shift(),n=e+x.shift(),o=i+x.shift(),a=n+x.shift(),s=o+x.shift(),F=a+x.shift(),E=s+x.shift(),x.shift(),k.we(b,g,w,y,e,i),k.we(n,o,a,s,F,E);break;case 34:b=F+x.shift(),g=E,w=b+x.shift(),y=g+x.shift(),e=w+x.shift(),i=y,n=e+x.shift(),o=y,a=n+x.shift(),s=E,F=a+x.shift(),k.we(b,g,w,y,e,i),k.we(n,o,a,s,F,E);break;case 36:b=F+x.shift(),g=E+x.shift(),w=b+x.shift(),y=g+x.shift(),e=w+x.shift(),i=y,n=e+x.shift(),o=y,a=n+x.shift(),s=o+x.shift(),F=a+x.shift(),k.we(b,g,w,y,e,i),k.we(n,o,a,s,F,E);break;case 37:b=F+x.shift(),g=E+x.shift(),w=b+x.shift(),y=g+x.shift(),e=w+x.shift(),i=y+x.shift(),n=e+x.shift(),o=i+x.shift(),a=n+x.shift(),s=o+x.shift(),Math.abs(a-F)>Math.abs(s-E)?F=a+x.shift():E=s+x.shift(),k.we(b,g,w,y,e,i),k.we(n,o,a,s,F,E);break;default:x.length=0}break;case 14:0<x.length&&!S&&(L=x.shift()+O,S=!0),T&&(k.closePath(),T=!1);break;case 18:A();break;case 19:case 20:A(),u+=I+7>>3;break;case 21:2<x.length&&!S&&(L=x.shift()+O,S=!0),E+=x.pop(),D(F+=x.pop(),E);break;case 22:1<x.length&&!S&&(L=x.shift()+O,S=!0),D(F+=x.pop(),E);break;case 23:A();break;case 24:for(;2<x.length;)b=F+x.shift(),g=E+x.shift(),w=b+x.shift(),y=g+x.shift(),F=w+x.shift(),E=y+x.shift(),k.we(b,g,w,y,F,E);F+=x.shift(),E+=x.shift(),k.lineTo(F,E);break;case 25:for(;6<x.length;)F+=x.shift(),E+=x.shift(),k.lineTo(F,E);b=F+x.shift(),g=E+x.shift(),w=b+x.shift(),y=g+x.shift(),F=w+x.shift(),E=y+x.shift(),k.we(b,g,w,y,F,E);break;case 26:for(x.length%2&&(F+=x.shift());0<x.length;)b=F,g=E+x.shift(),w=b+x.shift(),y=g+x.shift(),F=w,E=y+x.shift(),k.we(b,g,w,y,F,E);break;case 27:for(x.length%2&&(E+=x.shift());0<x.length;)b=F+x.shift(),g=E,w=b+x.shift(),y=g+x.shift(),F=w+x.shift(),E=y,k.we(b,g,w,y,F,E);break;case 28:t=r[u],l=r[u+1],x.push((t<<24|l<<16)>>16),u+=2;break;case 29:d=x.pop()+p.ye,(m=p.ke[d])&&c(m);break;case 30:for(;0<x.length&&(b=F,g=E+x.shift(),w=b+x.shift(),y=g+x.shift(),F=w+x.shift(),E=y+(1===x.length?x.shift():0),k.we(b,g,w,y,F,E),0!==x.length);)b=F+x.shift(),g=E,w=b+x.shift(),y=g+x.shift(),E=y+x.shift(),F=w+(1===x.length?x.shift():0),k.we(b,g,w,y,F,E);break;case 31:for(;0<x.length&&(b=F+x.shift(),g=E,w=b+x.shift(),y=g+x.shift(),E=y+x.shift(),F=w+(1===x.length?x.shift():0),k.we(b,g,w,y,F,E),0!==x.length);)b=F,g=E+x.shift(),w=b+x.shift(),y=g+x.shift(),F=w+x.shift(),E=y+(1===x.length?x.shift():0),k.we(b,g,w,y,F,E);break;default:f<32||(f<247?x.push(f-139):f<251?(t=r[u],u+=1,x.push(256*(f-247)+t+108)):f<255?(t=r[u],u+=1,x.push(256*-(f-251)-t-108)):(t=r[u],l=r[u+1],h=r[u+2],v=r[u+3],u+=4,x.push((t<<24|l<<16|h<<8|v)/65536)))}}}(t),r.xe=L,k}function Yr(r,t){for(var e=[],i=12,n=0;n<t;n+=1){var o=U.Se(r,i),a=U.Fe(r,i+4),s=U.Fe(r,i+8),u=U.Fe(r,i+12);e.push({tag:o,Ee:a,offset:s,length:u,De:!1}),i+=16}return e}function S(r,t){if("WOFF"!==t.De)return{data:r,offset:t.offset};var r=new Uint8Array(r.buffer,t.offset+2,t.Ae-2),e=new Uint8Array(t.length);if(ht(r,e),e.byteLength!==t.length)throw new Error("Decompression error: "+t.tag+" decompressed length doesn't match recorded length");return{data:new DataView(e.buffer,0),offset:0}}function Qr(r,t){t=null==t?{}:t;var c,e,l,h,v,d,m,p,b,g,w,y,i,n=new x({empty:!0}),o=new DataView(r,0),a=[],r=U.Se(o,0);if(r===String.fromCharCode(0,1,0,0)||"true"===r||"typ1"===r)n.Jt="truetype",a=Yr(o,e=U.Me(o,4));else if("OTTO"===r)n.Jt="cff",a=Yr(o,e=U.Me(o,4));else{if("wOFF"!==r)throw new Error("Unsupported OpenType signature "+r);var s=U.Se(o,4);if(s===String.fromCharCode(0,1,0,0))n.Jt="truetype";else{if("OTTO"!==s)throw new Error("Unsupported OpenType flavor "+r);n.Jt="cff"}a=function(r,t){for(var e=[],i=44,n=0;n<t;n+=1){var o=U.Se(r,i),a=U.Fe(r,i+4),s=U.Fe(r,i+8),u=U.Fe(r,i+12),f=void 0,f=s<u&&"WOFF";e.push({tag:o,offset:a,De:f,Ae:s,length:u}),i+=20}return e}(o,e=U.Me(o,12))}for(var k=0;k<e;k+=1){var u=a[k],f=void 0;switch(u.tag){case"cmap":f=S(o,u),n.m.u=Xt.parse(f.data,f.offset),n.encoding=new F(n.m.u);break;case"cvt ":f=S(o,u),i=new U.U(f.data,f.offset),n.m.Xr=i.Ce(u.length/2);break;case"fvar":h=u;break;case"fpgm":f=S(o,u),i=new U.U(f.data,f.offset),n.m.Oe=i.Ie(u.length);break;case"head":f=S(o,u),n.m.head=ie.parse(f.data,f.offset),n.A=n.m.head.A,c=n.m.head.Te;break;case"hhea":f=S(o,u),n.m.Le=ne.parse(f.data,f.offset),n.Lt=n.m.Le.Lt,n.Ut=n.m.Le.Ut,n.Ue=n.m.Le.Ue;break;case"hmtx":b=u;break;case"ltag":f=S(o,u),ltagTable=se.parse(f.data,f.offset);break;case"maxp":f=S(o,u),n.m.Re=fe.parse(f.data,f.offset),n.Ne=n.m.Re.Ne;break;case"OS/2":f=S(o,u),n.m.Nt=ce.parse(f.data,f.offset);break;case"post":f=S(o,u),n.m.qe=le.parse(f.data,f.offset);break;case"prep":f=S(o,u),i=new U.U(f.data,f.offset),n.m.Ge=i.Ie(u.length);break;case"glyf":v=u;break;case"loca":w=u;break;case"CFF ":l=u;break;case"kern":g=u;break;case"GDEF":d=u;break;case"GPOS":m=u;break;case"GSUB":p=u;break;case"meta":y=u}}if(v&&w){s=0===c,r=S(o,w),r=ue.parse(r.data,r.offset,n.Ne,s),s=S(o,v);n.k=Gt.parse(s.data,s.offset,r,n,t)}else{if(!l)throw new Error("Font doesn't contain TrueType or CFF outlines.");s=S(o,l);Qt.parse(s.data,s.offset,n,t)}var r=S(o,b);return oe.parse(n,r.data,r.offset,n.Ue,n.Ne,n.k,t),E(n,t),g?(s=S(o,g),n.Be=ae.parse(s.data,s.offset)):n.Be={},d&&(r=S(o,d),n.m.Pe=Kt.parse(r.data,r.offset)),m&&(t=S(o,m),n.m.je=$t.parse(t.data,t.offset),n.position.init()),p&&(s=S(o,p),n.m.We=ee.parse(s.data,s.offset)),h&&(r=S(o,h),n.m._e=Vt.parse(r.data,r.offset,n.names)),y&&(t=S(o,y),n.m.ze=de.parse(t.data,t.offset),n.Xe=n.m.ze),n}function Vr(){}function Hr(){}function Kr(r,t){for(var e=new $r(31),i=0;i<31;++i)e[i]=t+=1<<r[i-1];for(var n=new rt(e[30]),i=1;i<30;++i)for(var o=e[i];o<e[i+1];++o)n[o]=o-e[i]<<5|i;return[e,n]}var Jr=Uint8Array,$r=Uint16Array,rt=Uint32Array,tt=new Jr([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),et=new Jr([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),it=new Jr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),nt=Kr(tt,2),ot=nt[0];nt[1][ot[28]=258]=28;for(var at=Kr(et,0)[0],st=new $r(32768),e=0;e<32768;++e){var ut=(43690&e)>>>1|(21845&e)<<1;st[e]=((65280&(ut=(61680&(ut=(52428&ut)>>>2|(13107&ut)<<2))>>>4|(3855&ut)<<4))>>>8|(255&ut)<<8)>>>1}for(var ft=function(r,t,e){for(var i=r.length,n=0,o=new $r(t);n<i;++n)r[n]&&++o[r[n]-1];var a=new $r(t);for(n=0;n<t;++n)a[n]=a[n-1]+o[n-1]<<1;if(e){for(var s=new $r(1<<t),c=15-t,n=0;n<i;++n)if(r[n])for(var l=n<<4|r[n],u=t-r[n],f=a[r[n]-1]++<<u,h=f|(1<<u)-1;f<=h;++f)s[st[f]>>>c]=l}else for(s=new $r(i),n=0;n<i;++n)r[n]&&(s[n]=st[a[r[n]-1]++]>>>15-r[n]);return s},ct=new Jr(288),e=0;e<144;++e)ct[e]=8;for(e=144;e<256;++e)ct[e]=9;for(e=256;e<280;++e)ct[e]=7;for(e=280;e<288;++e)ct[e]=8;for(var lt=new Jr(32),e=0;e<32;++e)lt[e]=5;function ht(r,e,t){function c(r){var t=e.length;t<r&&((t=new Jr(Math.max(2*t,r))).set(e),e=t)}var l=r.length;if(!l||t&&t.f&&!t.Ze)return e||new Jr(0);var h=!e||t,v=!t||t.Ye,d=(t=t||{},e=e||new Jr(3*l),t.f||0),i=t.Qe||0,n=t.b||0,o=t.Ze,m=t.d,p=t.Ve,b=t.n,g=8*l;do{if(!o){var d=pt(r,i,1),w=pt(r,i+1,3);if(i+=3,!w){var y=r[(s=gt(i)+4)-4]|r[s-3]<<8,k=s+y;if(l<k){v&&kt(0);break}h&&c(n+y),e.set(r.subarray(s,k),n),t.b=n+=y,t.Qe=i=8*k,t.f=d;continue}if(1==w)o=vt,m=dt,p=9,b=5;else if(2==w){for(var y=pt(r,i,31)+257,x=pt(r,i+10,15)+4,S=y+pt(r,i+5,31)+1,F=(i+=14,new Jr(S)),E=new Jr(19),a=0;a<x;++a)E[it[a]]=pt(r,i+3*a,7);i+=3*x;for(var k=mt(E),D=(1<<k)-1,A=ft(E,k,1),a=0;a<S;){var s,M=A[pt(r,i,D)];if(i+=15&M,(s=M>>>4)<16)F[a++]=s;else{var C=0,O=0;for(16==s?(O=3+pt(r,i,3),i+=2,C=F[a-1]):17==s?(O=3+pt(r,i,7),i+=3):18==s&&(O=11+pt(r,i,127),i+=7);O--;)F[a++]=C}}var I=F.subarray(0,y),u=F.subarray(y),p=mt(I),b=mt(u),o=ft(I,p,1),m=ft(u,b,1)}else kt(1);if(g<i){v&&kt(0);break}}h&&c(n+131072);for(var T=(1<<p)-1,L=(1<<b)-1,U=i;;U=i){var f=(C=o[bt(r,i)&T])>>>4;if(g<(i+=15&C)){v&&kt(0);break}if(C||kt(2),f<256)e[n++]=f;else{if(256==f){U=i,o=null;break}var R,N=f-254,f=(264<f&&(R=tt[a=f-257],N=pt(r,i,(1<<R)-1)+ot[a],i+=R),m[bt(r,i)&L]),q=f>>>4,u=(f||kt(3),i+=15&f,at[q]);if(3<q&&(R=et[q],u+=bt(r,i)&(1<<R)-1,i+=R),g<i){v&&kt(0);break}h&&c(n+131072);for(var G=n+N;n<G;n+=4)e[n]=e[n-u],e[n+1]=e[n+1-u],e[n+2]=e[n+2-u],e[n+3]=e[n+3-u];n=G}}t.Ze=o,t.Qe=U,t.b=n,t.f=d,o&&(d=1,t.Ve=p,t.d=m,t.n=b)}while(!d);return n==e.length?e:wt(e,0,n)}var vt=ft(ct,9,1),dt=ft(lt,5,1),mt=function(r){for(var t=r[0],e=1;e<r.length;++e)r[e]>t&&(t=r[e]);return t},pt=function(r,t,e){var i=t/8|0;return(r[i]|r[1+i]<<8)>>(7&t)&e},bt=function(r,t){var e=t/8|0;return(r[e]|r[1+e]<<8|r[2+e]<<16)>>(7&t)},gt=function(r){return(r+7)/8|0},wt=function(r,t,e){(null==e||e>r.length)&&(e=r.length);var i=new(2==r.BYTES_PER_ELEMENT?$r:4==r.BYTES_PER_ELEMENT?rt:Jr)(e-(t=null==t||t<0?0:t));return i.set(r.subarray(t,e)),i},yt=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],kt=function(r,t,e){t=new Error(t||yt[r]);if(t.code=r,Error.captureStackTrace&&Error.captureStackTrace(t,kt),!e)throw t;return t},nt=new Jr(0),xt="undefined"!=typeof TextDecoder&&new TextDecoder;try{xt.decode(nt,{stream:!0})}catch(r){}h.prototype.moveTo=function(r,t){this.o.push({type:"M",x:r,y:t})},h.prototype.lineTo=function(r,t){this.o.push({type:"L",x:r,y:t})},h.prototype.we=h.prototype.bezierCurveTo=function(r,t,e,i,n,o){this.o.push({type:"C",x1:r,y1:t,x2:e,y2:i,x:n,y:o})},h.prototype.He=h.prototype.quadraticCurveTo=function(r,t,e,i){this.o.push({type:"Q",x1:r,y1:t,x:e,y:i})},h.prototype.close=h.prototype.closePath=function(){this.o.push({type:"Z"})},h.prototype.extend=function(r){r.o&&(r=r.o),Array.prototype.push.apply(this.o,r)},h.prototype.Ke=function(n){function r(){for(var r=arguments,t="",e=0;e<arguments.length;e+=1){var i=r[e];0<=i&&0<e&&(t+=" "),t+=(i=i,Math.round(i)===i?""+Math.round(i):i.toFixed(n))}return t}n=void 0!==n?n:2;for(var t="",e=0;e<this.o.length;e+=1){var i=this.o[e];"M"===i.type?t+="M"+r(i.x,i.y):"L"===i.type?t+="L"+r(i.x,i.y):"C"===i.type?t+="C"+r(i.x1,i.y1,i.x2,i.y2,i.x,i.y):"Q"===i.type?t+="Q"+r(i.x1,i.y1,i.x,i.y):"Z"===i.type&&(t+="Z")}return t};function St(r){var t=this.Je,e=this.$e,i=1;return r<0&&(r=-r,i=-1),r+=this.ri-e,r=Math.trunc(r/t)*t,(r+=e)<0?e*i:r*i}function Ft(){return{ti:this.ei(u.ti),ii:this.ni(u.oi(u.ai))}}function Et(){var r=this.j();return L.X(1===r||2===r||3===r,"Unsupported CaretValue table version."),1===r?{si:this.L()}:2===r?{ui:this.L()}:3===r?{si:this.L()}:void 0}function Dt(){return{ti:this.ei(u.ti),fi:this.ni(u.oi(Ht))}}function At(){return this.j(),this.ni(u.oi(u.ti))}var Mt,Ct,Ot,It,Tt=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","266 ff","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],Lt=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"],Ut=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],L=(i.prototype.ci=function(r){var t=r.codePointAt(0),e=this.font.k;if(e)for(var i=0;i<e.length;i+=1)for(var n=e.get(i),o=0;o<n.p.length;o+=1)if(n.p[o]===t)return i;return null},F.prototype.ci=function(r){return this.u.v[r.codePointAt(0)]||0},v.prototype.ci=function(r){r=r.codePointAt(0),r=this.encoding[r];return this.charset.indexOf(r)},{li:n,X:o,assert:o}),Rt=(s.prototype.S=function(r){var t;this.index=r.index||0,this.name=r.name||null,this.unicode=r.unicode||void 0,this.p=r.p||void 0!==r.unicode?[r.unicode]:[],"hi"in r&&(this.hi=r.hi),"vi"in r&&(this.vi=r.vi),"di"in r&&(this.di=r.di),"mi"in r&&(this.mi=r.mi),"xe"in r&&(this.xe=r.xe),Object.defineProperty(this,"path",(r=r.path,t=r||new h,{D:!0,get:function(){return t="function"==typeof t?t():t},set:function(r){t=r}}))},s.prototype.g=function(r){0===this.p.length&&(this.unicode=r),this.p.push(r)},s.prototype.ar=function(r,t,e,i,n){r=void 0!==r?r:0,t=void 0!==t?t:0,e=void 0!==e?e:72;for(var c,o,a=(i=i||{}).J,s=i.tr,u=((c=i.Ht&&n&&n.Ht?this.path&&n.Ht.exec(this,e):c)?(o=n.Ht.sr(c),r=Math.round(r),t=Math.round(t),a=s=1):(o=this.path.o,i=1/(this.path.A||1e3)*e,void 0===a&&(a=i),void 0===s&&(s=i)),new h),l=0;l<o.length;l+=1){var f=o[l];"M"===f.type?u.moveTo(r+f.x*a,t+-f.y*s):"L"===f.type?u.lineTo(r+f.x*a,t+-f.y*s):"Q"===f.type?u.quadraticCurveTo(r+f.x1*a,t+-f.y1*s,r+f.x*a,t+-f.y*s):"C"===f.type?u.we(r+f.x1*a,t+-f.y1*s,r+f.x2*a,t+-f.y2*s,r+f.x*a,t+-f.y*s):"Z"===f.type&&u.closePath()}return u},s.prototype.pi=function(){if(void 0===this.points)return[];for(var r=[],t=[],e=0;e<this.points.length;e+=1){var i=this.points[e];t.push(i),i.Y&&(r.push(t),t=[])}return L.X(0===t.length,"There are still points left in the current contour."),r},s.prototype.bi=function(){for(var r=this.path.o,t=[],e=[],i=0;i<r.length;i+=1){var n=r[i];"Z"!==n.type&&(t.push(n.x),e.push(n.y)),"Q"!==n.type&&"C"!==n.type||(t.push(n.x1),e.push(n.y1)),"C"===n.type&&(t.push(n.x2),e.push(n.y2))}var o={hi:Math.min.apply(null,t),vi:Math.min.apply(null,e),di:Math.max.apply(null,t),mi:Math.max.apply(null,e),gi:this.gi};return isFinite(o.hi)||(o.hi=0),isFinite(o.di)||(o.di=this.xe),isFinite(o.vi)||(o.vi=0),isFinite(o.mi)||(o.mi=0),o.wi=this.xe-o.gi-(o.di-o.hi),o},a.prototype.get=function(r){if(void 0===this.k[r]){this.font.Qt(r),"function"==typeof this.k[r]&&(this.k[r]=this.k[r]());var t=this.k[r],e=this.font.h[r];if(e)for(var i=0;i<e.p.length;i++)t.g(e.p[i]);this.k[r].xe=this.font.Vt[r].xe,this.k[r].gi=this.font.Vt[r].gi}else"function"==typeof this.k[r]&&(this.k[r]=this.k[r]());return this.k[r]},a.prototype.push=function(r,t){this.k[r]=t,this.length++},{Yt:a,yi:function(r,t){return new s({index:t,font:r})},ki:function(e,r,i,n,o,a){return function(){var t=new s({index:r,font:e});return t.path=function(){i(t,n,o);var r=a(e.k,t);return r.A=e.A,r},f(t,"xMin","_xMin"),f(t,"xMax","_xMax"),f(t,"yMin","_yMin"),f(t,"yMax","_yMax"),t}},xi:function(e,r,i,n){return function(){var t=new s({index:r,font:e});return t.path=function(){var r=i(e,t,n);return r.A=e.A,r},t}}}),Nt=((p.prototype=m.prototype={Si:c,Fi:l,Ei:function(r){var t=this.font.m[this.M];return t=!t&&r?this.font.m[this.M]=this.Di():t},Ai:function(){var r=this.Ei();if(r){for(var t=!1,e=0;e<r.scripts.length;e++){var i=r.scripts[e].tag;if("DFLT"===i)return i;"latn"===i&&(t=!0)}return t?"latn":void 0}},Mi:function(r,t){var e,i=this.Ei(t);if(i)return e=i.scripts,0<=(i=c(i.scripts,r=r||"DFLT"))?e[i].script:t?(e.splice(-1-i,0,t={tag:r,script:{Ci:{Oi:0,Ii:65535,Ti:[]},Li:[]}}),t.script):void 0},Ui:function(r,t,e){r=this.Mi(r,e);if(r){if(!t||"dflt"===t||"DFLT"===t)return r.Ci;var i=c(r.Li,t);return 0<=i?r.Li[i].Ri:e?(r.Li.splice(-1-i,0,e={tag:t,Ri:{Oi:0,Ii:65535,Ti:[]}}),e.Ri):void 0}},Ni:function(r,t,e,i){r=this.Ui(r,t,i);if(r){for(var n,o=r.Ti,a=this.font.m[this.M].features,s=0;s<o.length;s++)if((n=a[o[s]]).tag===e)return n.qi;if(i)return t=a.length,L.assert(0===t||e>=a[t-1].tag,"Features must be added in alphabetical order."),a.push(n={tag:e,qi:{Gi:0,Bi:[]}}),o.push(t),n.qi}},Pi:function(r,t,e,i,n){var r=this.Ni(r,t,e,n),o=[];if(r){for(var a,s=r.Bi,u=this.font.m[this.M].ji,f=0;f<s.length;f++)(a=u[s[f]]).Wi===i&&o.push(a);if(0===o.length&&n)return t=u.length,u.push(a={Wi:i,_i:0,C:[],zi:void 0}),s.push(t),[a]}return o},Xi:function(r,t){switch(r.format){case 1:return r.Zi<=t&&t<r.Zi+r.Yi.length?r.Yi[t-r.Zi]:0;case 2:var e=d(r.tt,t);return e?e.Qi:0}},Vi:function(r,t){switch(r.format){case 1:var e=l(r.k,t);return 0<=e?e:-1;case 2:e=d(r.tt,t);return e?e.index+t-e.start:-1}},Hi:function(r){if(1===r.format)return r.k;for(var t=[],e=r.tt,i=0;i<e.length;i++)for(var n=e[i],o=n.start,a=n.end,s=o;s<=a;s++)t.push(s);return t}}).init=function(){var r=this.Ai();this.Ki=this.Ji(r)},p.prototype.$i=function(r,t,e){for(var i=0;i<r.length;i++)for(var n=r[i].C,o=0;o<n.length;o++){var a=n[o],c=this.Vi(a.ti,t);if(!(c<0))switch(a.rn){case 1:for(var l=a.tn[c],s=0;s<l.length;s++){var u=l[s];if(u.en===e)return u.nn&&u.nn.on||0}break;case 2:var f=this.Xi(a.an,t),h=this.Xi(a.sn,e),f=a.un[f][h];return f.nn&&f.nn.on||0}}return 0},p.prototype.Ji=function(r,t){if(this.font.m.je)return this.Pi(r,t,"kern",2)},(b.prototype=m.prototype).Di=function(){return{version:1,scripts:[{tag:"DFLT",script:{Ci:{Oi:0,Ii:65535,Ti:[]},Li:[]}}],features:[],ji:[]}},b.prototype.fn=function(r,c,l){for(var t=[],e=this.Pi(c,l,r,1),i=0;i<e.length;i++)for(var n=e[i].C,o=0;o<n.length;o++){var a=n[o],s=this.Hi(a.ti),u=void 0;if(1===a.O)for(var h=a.cn,u=0;u<s.length;u++){var f=s[u];t.push({sub:f,ln:f+h})}else{var v=a.hn;for(u=0;u<s.length;u++)t.push({sub:s[u],ln:v[u]})}}return t},b.prototype.vn=function(r,t,c){for(var e=[],i=this.Pi(t,c,r,2),n=0;n<i.length;n++)for(var o=i[n].C,a=0;a<o.length;a++)for(var s=o[a],u=this.Hi(s.ti),f=void 0,f=0;f<u.length;f++){var l=u[f],h=s.dn[f];e.push({sub:l,ln:h})}return e},b.prototype.mn=function(r,t,c){for(var e=[],i=this.Pi(t,c,r,3),n=0;n<i.length;n++)for(var o=i[n].C,a=0;a<o.length;a++)for(var s=o[a],u=this.Hi(s.ti),l=s.pn,f=0;f<u.length;f++)e.push({sub:u[f],ln:l[f]});return e},b.prototype.bn=function(c,l,h){for(var r=[],t=this.Pi(l,h,c,4),e=0;e<t.length;e++)for(var i=t[e].C,n=0;n<i.length;n++)for(var o=i[n],a=this.Hi(o.ti),v=o.gn,s=0;s<a.length;s++)for(var d=a[s],u=v[s],f=0;f<u.length;f++){var m=u[f];r.push({sub:[d].concat(m.H),ln:m.wn})}return r},b.prototype.yn=function(r,t,e,i){e=g(this.Pi(e,i,r,1,!0)[0],2,{O:2,ti:{format:1,k:[]},hn:[]}),L.assert(1===e.ti.format,"Single: unable to modify coverage table format "+e.ti.format),i=t.sub,r=this.Fi(e.ti.k,i);r<0&&(e.ti.k.splice(r=-1-r,0,i),e.hn.splice(r,0,0)),e.hn[r]=t.ln},b.prototype.kn=function(r,t,e,i){L.assert(t.ln instanceof Array&&1<t.ln.length,'Multiple: "by" must be an array of two or more ids');e=g(this.Pi(e,i,r,2,!0)[0],1,{O:1,ti:{format:1,k:[]},dn:[]}),L.assert(1===e.ti.format,"Multiple: unable to modify coverage table format "+e.ti.format),i=t.sub,r=this.Fi(e.ti.k,i);r<0&&(e.ti.k.splice(r=-1-r,0,i),e.dn.splice(r,0,0)),e.dn[r]=t.ln},b.prototype.xn=function(r,t,e,i){e=g(this.Pi(e,i,r,3,!0)[0],1,{O:1,ti:{format:1,k:[]},pn:[]}),L.assert(1===e.ti.format,"Alternate: unable to modify coverage table format "+e.ti.format),i=t.sub,r=this.Fi(e.ti.k,i);r<0&&(e.ti.k.splice(r=-1-r,0,i),e.pn.splice(r,0,0)),e.pn[r]=t.ln},b.prototype.Sn=function(r,t,e,i){var e=this.Pi(e,i,r,4,!0)[0],i=e.C[0],r=(i||(e.C[0]=i={O:1,ti:{format:1,k:[]},gn:[]}),L.assert(1===i.ti.format,"Ligature: unable to modify coverage table format "+i.ti.format),t.sub[0]),n=t.sub.slice(1),e={wn:t.ln,H:n},t=this.Fi(i.ti.k,r);if(0<=t){for(var o=i.gn[t],a=0;a<o.length;a++)if(function(r,t){var e=r.length;if(e===t.length){for(var i=0;i<e;i++)if(r[i]!==t[i])return;return 1}}(o[a].H,n))return;o.push(e)}else i.ti.k.splice(t=-1-t,0,r),i.gn.splice(t,0,[e])},b.prototype.getFeature=function(r,t,e){if(/ss\d\d/.test(r))return this.fn(r,t,e);switch(r){case"aalt":case"salt":return this.fn(r,t,e).concat(this.mn(r,t,e));case"dlig":case"liga":case"rlig":return this.bn(r,t,e);case"ccmp":return this.vn(r,t,e).concat(this.bn(r,t,e));case"stch":return this.vn(r,t,e)}},b.prototype.add=function(r,t,e,i){if(/ss\d\d/.test(r))return this.yn(r,t,e,i);switch(r){case"aalt":case"salt":return"number"==typeof t.ln?this.yn(r,t,e,i):this.xn(r,t,e,i);case"dlig":case"liga":case"rlig":return this.Sn(r,t,e,i);case"ccmp":return t.ln instanceof Array?this.kn(r,t,e,i):this.Sn(r,t,e,i)}},{Fn:1,En:2,Dn:2,An:4,fixed:4,Mn:8,tag:4}),qt=(u.prototype.T=function(){var r=this.data.getUint8(this.offset+this.I);return this.I+=1,r},u.prototype.ir=function(){var r=this.data.getInt8(this.offset+this.I);return this.I+=1,r},u.prototype.Cn=u.prototype.T,u.prototype.On=u.prototype.j=function(){var r=this.data.getUint16(this.offset+this.I);return this.I+=2,r},u.prototype.In=u.prototype.j,u.prototype.Tn=u.prototype.j,u.prototype.L=function(){var r=this.data.getInt16(this.offset+this.I);return this.I+=2,r},u.prototype.nr=function(){var r=this.data.getInt16(this.offset+this.I)/16384;return this.I+=2,r},u.prototype.Ln=u.prototype.Un=function(){var r=A(this.data,this.offset+this.I);return this.I+=4,r},u.prototype.Rn=function(){var r=M(this.data,this.offset+this.I);return this.I+=4,r},u.prototype.Nn=function(r){var t=this.data,e=this.offset+this.I,i="";this.I+=r;for(var n=0;n<r;n++)i+=String.fromCharCode(t.getUint8(e+n));return i},u.prototype.qn=function(){return this.Nn(4)},u.prototype.Gn=function(){var r=A(this.data,this.offset+this.I+4);return r-=2082844800,this.I+=8,r},u.prototype.Bn=function(r){var t=D(this.data,this.offset+this.I),e=D(this.data,this.offset+this.I+2);return this.I+=4,t+e/(r=void 0===r?4096:r)/10},u.prototype.Pn=function(r,t){this.I+=Nt[r]*(t=void 0===t?1:t)},u.prototype.jn=function(r){void 0===r&&(r=this.Un());for(var t=new Array(r),e=this.data,i=this.offset+this.I,n=0;n<r;n++)t[n]=e.getUint32(i),i+=4;return this.I+=4*r,t},u.prototype.Wn=u.prototype._n=function(r){void 0===r&&(r=this.j());for(var t=new Array(r),e=this.data,i=this.offset+this.I,n=0;n<r;n++)t[n]=e.getUint16(i),i+=2;return this.I+=2*r,t},u.prototype.Ce=function(r){for(var t=new Array(r),e=this.data,i=this.offset+this.I,n=0;n<r;n++)t[n]=e.getInt16(i),i+=2;return this.I+=2*r,t},u.prototype.Ie=function(r){for(var t=new Array(r),e=this.data,i=this.offset+this.I,n=0;n<r;n++)t[n]=e.getUint8(i++);return this.I+=r,t},u.prototype.ni=function(r,t){t||(t=r,r=this.j());for(var e=new Array(r),i=0;i<r;i++)e[i]=t.call(this);return e},u.prototype.zn=function(r,t){t||(t=r,r=this.Un());for(var e=new Array(r),i=0;i<r;i++)e[i]=t.call(this);return e},u.prototype.Xn=function(r,t){t||(t=r,r=this.j());for(var e=new Array(r),i=Object.keys(t),n=0;n<r;n++){for(var o={},a=0;a<i.length;a++){var s=i[a],u=t[s];o[s]=u.call(this)}e[n]=o}return e},u.prototype.Zn=function(r,t){t||(t=r,r=this.Un());for(var e=new Array(r),i=Object.keys(t),n=0;n<r;n++){for(var o={},a=0;a<i.length;a++){var s=i[a],u=t[s];o[s]=u.call(this)}e[n]=o}return e},u.prototype.Yn=function(r){if("function"==typeof r)return r.call(this);for(var t=Object.keys(r),e={},i=0;i<t.length;i++){var n=t[i],o=r[n];e[n]=o.call(this)}return e},u.prototype.Qn=function(r){var t;if(0!==(r=void 0===r?this.j():r))return t={},1&r&&(t.Vn=this.L()),2&r&&(t.Hn=this.L()),4&r&&(t.on=this.L()),8&r&&(t.Kn=this.L()),16&r&&(t.Jn=void 0,this.L()),32&r&&(t.$n=void 0,this.L()),64&r&&(t.ro=void 0,this.L()),128&r&&(t.eo=void 0,this.L()),t},u.prototype.io=function(){for(var r=this.j(),t=this.j(),e=new Array(t),i=0;i<t;i++)e[i]=this.Qn(r);return e},u.prototype.ei=function(r){var t=this.Tn();if(0<t)return new u(this.data,this.offset+t).Yn(r)},u.prototype.no=function(r){var t=this.Ln();if(0<t)return new u(this.data,this.offset+t).Yn(r)},u.prototype.oo=function(r){for(var t=this.Wn(),e=t.length,i=this.I,n=new Array(e),o=0;o<e;o++){var a=t[o];if(0!==a)if(this.I=a,r){for(var s=this.Wn(),u=new Array(s.length),f=0;f<s.length;f++)this.I=a+s[f],u[f]=r.call(this);n[o]=u}else n[o]=this._n();else n[o]=void 0}return this.I=i,n},u.prototype.ao=function(){var r=this.offset+this.I,t=this.j(),e=this.j();if(1===t)return{format:1,k:this._n(e)};if(2!==t)throw new Error("0x"+r.toString(16)+": Coverage format must be 1 or 2.");for(var i=new Array(e),n=0;n<e;n++)i[n]={start:this.j(),end:this.j(),index:this.j()};return{format:2,tt:i}},u.prototype.so=function(){var r=this.offset+this.I,t=this.j();if(1===t)return{format:1,Zi:this.j(),Yi:this._n()};if(2===t)return{format:2,tt:this.Xn({start:u.En,end:u.En,Qi:u.En})};throw new Error("0x"+r.toString(16)+": ClassDef format must be 1 or 2.")},u.list=function(r,t){return function(){return this.ni(r,t)}},u.uo=function(r,t){return function(){return this.zn(r,t)}},u.fo=function(r,t){return function(){return this.Xn(r,t)}},u.co=function(r,t){return function(){return this.Zn(r,t)}},u.oi=function(r){return function(){return this.ei(r)}},u.lo=function(r){return function(){return this.no(r)}},u.tag=u.prototype.qn,u.Fn=u.prototype.T,u.En=u.ho=u.prototype.j,u.ai=u.prototype._n,u.An=u.vo=u.prototype.Un,u.do=u.prototype.jn,u.mo=u.prototype.Yn,u.ti=u.prototype.ao,u.po=u.prototype.so,{Oi:u.En,Ii:u.En,Ti:u.ai}),U=(u.prototype.bo=function(){return this.ei(u.fo({tag:u.tag,script:u.oi({Ci:u.oi(qt),Li:u.fo({tag:u.tag,Ri:u.oi(qt)})})}))||[]},u.prototype.wo=function(){return this.ei(u.fo({tag:u.tag,qi:u.oi({yo:u.ho,Bi:u.ai})}))||[]},u.prototype.ko=function(i){return this.ei(u.list(u.oi(function(){var r=this.j(),t=(L.X(1<=r&&r<=9,"GPOS/GSUB lookup type "+r+" unknown."),this.j()),e=16&t;return{Wi:r,_i:t,C:this.ni(u.oi(i[r])),zi:e?this.j():void 0}})))||[]},u.prototype.xo=function(){return this.no(function(){var r=this.j(),t=this.j();return L.X(1===r&&t<1,"GPOS/GSUB feature variations table unknown."),this.Zn({So:u.vo,Fo:u.vo})})||[]},{re:k,Eo:k,Me:D,$t:D,Do:function(r,t){return r.getInt16(t,!1)},Fe:A,Ao:M,Se:function(r,t){for(var e="",i=t;i<t+4;i+=1)e+=String.fromCharCode(r.getInt8(i));return e},te:function(r,t,e){for(var i=0,n=0;n<e;n+=1)i=(i<<=8)+r.getUint8(t+n);return i},ee:function(r,t,e){for(var i=[],n=t;n<e;n+=1)i.push(r.getUint8(n));return i},Mo:function(r){for(var t="",e=0;e<r.length;e+=1)t+=String.fromCharCode(r[e]);return t},U:u}),Gt={ar:T,parse:function(r,t,e,c,l){if(l.l)return h=r,v=t,i=e,n=c,o=new Rt.Yt(n),n.Qt=function(r){var t=i[r];t!==i[r+1]?o.push(r,Rt.ki(n,r,O,h,v+t,R)):o.push(r,Rt.yi(n,r))},o;for(var h,v,i,n,o,d=r,m=t,a=e,s=c,u=new Rt.Yt(s),f=0;f<a.length-1;f+=1){var p=a[f];p!==a[f+1]?u.push(f,Rt.ki(s,f,O,d,m+p,R)):u.push(f,Rt.yi(s,f))}return u}},Bt={x:1,y:0,axis:"x",Gr:function(r,t,e,i){return(e?r.vr:r.x)-(i?t.vr:t.x)},_r:function(r,t,e,i){var n,o,a,s,u,f,c;if(!i||i===this)return n=r.vr-t.vr,o=r.vr-e.vr,u=t.x-t.vr,f=e.x-e.vr,0===(c=(a=Math.abs(n))+(s=Math.abs(o)))?void(r.x=r.vr+(u+f)/2):void(r.x=r.vr+(u*s+f*a)/c);n=i.Gr(r,t,!0,!0),o=i.Gr(r,e,!0,!0),u=i.Gr(t,t,!1,!0),f=i.Gr(e,e,!1,!0),0!==(c=(a=Math.abs(n))+(s=Math.abs(o)))?Bt.Br(r,r,(u*s+f*a)/c,i,!0):Bt.Br(r,r,(u+f)/2,i,!0)},hr:Number.NEGATIVE_INFINITY,Br:function(r,t,e,i,n){var o,a;i&&i!==this?(o=n?t.vr:t.x,a=n?t.dr:t.y,o+=e*i.x,a+=e*i.y,r.x=o+(r.y-a)/i.hr):r.x=(n?t.vr:t.x)+e},slope:0,Pr:function(r){r.br=!0},touched:function(r){return r.br},Co:function(r){r.br=!1}},Pt={x:0,y:1,axis:"y",Gr:function(r,t,e,i){return(e?r.dr:r.y)-(i?t.dr:t.y)},_r:function(r,t,e,i){var n,o,a,s,u,f,c;if(!i||i===this)return n=r.dr-t.dr,o=r.dr-e.dr,u=t.y-t.dr,f=e.y-e.dr,0===(c=(a=Math.abs(n))+(s=Math.abs(o)))?void(r.y=r.dr+(u+f)/2):void(r.y=r.dr+(u*s+f*a)/c);n=i.Gr(r,t,!0,!0),o=i.Gr(r,e,!0,!0),u=i.Gr(t,t,!1,!0),f=i.Gr(e,e,!1,!0),0!==(c=(a=Math.abs(n))+(s=Math.abs(o)))?Pt.Br(r,r,(u*s+f*a)/c,i,!0):Pt.Br(r,r,(u+f)/2,i,!0)},hr:0,Br:function(r,t,e,i,n){var o,a;i&&i!==this?(o=n?t.vr:t.x,a=n?t.dr:t.y,o+=e*i.x,a+=e*i.y,r.y=a+i.hr*(r.x-o)):r.y=(n?t.dr:t.y)+e},slope:Number.POSITIVE_INFINITY,Pr:function(r){r.gr=!0},touched:function(r){return r.gr},Co:function(r){r.gr=!1}},jt=(Object.freeze(Bt),Object.freeze(Pt),_.prototype.Gr=function(r,t,e,i){return this.x*Bt.Gr(r,t,e,i)+this.y*Pt.Gr(r,t,e,i)},_.prototype._r=function(r,t,e,i){var n=i.Gr(r,t,!0,!0),o=i.Gr(r,e,!0,!0),t=i.Gr(t,t,!1,!0),e=i.Gr(e,e,!1,!0),n=Math.abs(n),o=Math.abs(o),a=n+o;0!==a?this.Br(r,r,(t*o+e*n)/a,i,!0):this.Br(r,r,(t+e)/2,i,!0)},_.prototype.Br=function(r,t,e,i,n){var o=n?t.vr:t.x,n=n?t.dr:t.y,t=o+e*(i=i||this).x,o=n+e*i.y,n=i.hr,e=this.slope,i=r.x,a=r.y;r.x=(e*i-n*t+o-a)/(e-n),r.y=e*(r.x-i)+a},_.prototype.Pr=function(r){r.br=!0,r.gr=!0},X.prototype.Wr=function(r){for(var t=this.pr;!r.touched(t)&&t!==this;)t=t.pr;return t},X.prototype.jr=function(r){for(var t=this.mr;!r.touched(t)&&t!==this;)t=t.mr;return t},Object.freeze(new X(0,0))),Wt={Zr:17/16,Qr:9,Vr:.125,loop:1,Hr:1,Oo:!0},xt=(N.prototype.exec=function(r,t){if("number"!=typeof t)throw new Error("Point size is not a number!");if(!(2<this.lr)){var e=this.font,i=this.cr;if(!i||i.Yr!==t){var n=this.ur;if(!n){Z.prototype=Wt,(n=this.ur=new Z("fpgm",e.m.Oe)).Io=[],n.font=e,y.Ur&&(n.step=-1);try{Ct(n)}catch(r){return void(this.lr=3)}}Z.prototype=n,(i=this.cr=new Z("prep",e.m.Ge)).Yr=t;var o=e.m.Xr;if(o)for(var a=i.Xr=new Array(o.length),s=t/e.A,u=0;u<o.length;u++)a[u]=o[u]*s;else i.Xr=[];y.Ur&&(i.step=-1);try{Ct(i)}catch(r){this.lr,this.lr=2}}if(!(1<this.lr))try{return Ot(r,i)}catch(r){return this.lr,void(this.lr=1)}}},Ot=function(r,t){var e=t.Yr/t.font.A,i=e,n=r.H;if(Z.prototype=t,n){for(var c=t.font,o=[],l=[],a=0;a<n.length;a++){var s=n[a],h=c.k.get(s.K),u=new Z("glyf",h._);y.Ur&&(u.step=-1),It(h,u,e,i);for(var v=Math.round(s.dx*e),d=Math.round(s.dy*i),m=u.Tr,p=u.zr,b=0;b<m.length;b++){var f=m[b];f.br=f.gr=!1,f.vr=f.x=f.x+v,f.dr=f.y=f.y+d}var g=o.length;o.push.apply(o,m);for(var w=0;w<p.length;w++)l.push(p[w]+g)}r._&&!u.To&&((u=new Z("glyf",r._)).Tr=u.qr=u.Nr=u.Rr=o,u.zr=l,o.push(new X(0,0),new X(Math.round(r.xe*e),0)),y.Ur&&(u.step=-1),Ct(u),o.length-=2)}else u=new Z("glyf",r._),y.Ur&&(u.step=-1),It(r,u,e,i),o=u.Tr;return o},It=function(r,t,e,c){for(var i,n,o,l=r.points||[],a=l.length,s=t.Tr=t.qr=t.Nr=t.Rr=[],h=t.zr=[],u=0;u<a;u++)i=l[u],s[u]=new X(i.x*e,i.y*c,i.Y,i.Z);for(var f=0;f<a;f++)i=s[f],n||(n=i,h.push(f)),i.Y?((i.pr=n).mr=i,n=void 0):(o=s[f+1],(i.pr=o).mr=i);if(!t.To){if(y.Ur)for(var v=0;v<a;v++);if(s.push(new X(0,0),new X(Math.round(r.xe*e),0)),Ct(t),s.length-=2,y.Ur)for(var d=0;d<a;d++);}},Ct=function(r){var t=r.yr;if(t){var e,i=t.length;for(r.Lr=0;r.Lr<i;r.Lr++){if(y.Ur&&r.step++,!(e=Mt[t[r.Lr]]))throw new Error("unknown instruction: 0x"+Number(t[r.Lr]).toString(16));e(r)}}},Mt=[V.bind(void 0,Pt),V.bind(void 0,Bt),H.bind(void 0,Pt),H.bind(void 0,Bt),K.bind(void 0,Pt),K.bind(void 0,Bt),J.bind(void 0,0),J.bind(void 0,1),$.bind(void 0,0),$.bind(void 0,1),function(r){var t=(e=r.stack).pop(),e=e.pop();y.Ur,r.Cr=r.Or=z(e,t)},function(r){var t=(e=r.stack).pop(),e=e.pop();y.Ur,r.Mr=z(e,t)},function(r){var t=r.stack,r=r.Cr;y.Ur,t.push(16384*r.x),t.push(16384*r.y)},function(r){var t=r.stack,r=r.Mr;y.Ur,t.push(16384*r.x),t.push(16384*r.y)},function(r){r.Mr=r.Cr,y.Ur},function(r){var t=(o=r.stack).pop(),e=o.pop(),i=o.pop(),n=o.pop(),o=o.pop(),a=r.qr,s=r.Nr,t=a[t],a=a[e],e=s[i],i=s[n],s=r.Rr[o],n=(y.Ur,t.x),r=t.y,o=a.x,t=a.y,a=e.x,e=e.y,u=i.x,i=i.y,f=(n-o)*(e-i)-(r-t)*(a-u),c=n*t-r*o,l=a*i-e*u;s.x=(c*(a-u)-l*(n-o))/f,s.y=(c*(e-i)-l*(r-t))/f},function(r){r.Er=r.stack.pop(),y.Ur},function(r){r.Dr=r.stack.pop(),y.Ur},function(r){r.Ar=r.stack.pop(),y.Ur},function(r){var t=r.stack.pop();switch(y.Ur,r.kr=t){case 0:r.Ir||Y(r),r.qr=r.Ir;break;case 1:r.qr=r.Tr;break;default:throw new Error("Invalid zone pointer")}},function(r){var t=r.stack.pop();switch(y.Ur,r.Sr=t){case 0:r.Ir||Y(r),r.Nr=r.Ir;break;case 1:r.Nr=r.Tr;break;default:throw new Error("Invalid zone pointer")}},function(r){var t=r.stack.pop();switch(y.Ur,r.Fr=t){case 0:r.Ir||Y(r),r.Rr=r.Ir;break;case 1:r.Rr=r.Tr;break;default:throw new Error("Invalid zone pointer")}},function(r){var t=r.stack.pop();switch(y.Ur,r.kr=r.Sr=r.Fr=t){case 0:r.Ir||Y(r),r.qr=r.Nr=r.Rr=r.Ir;break;case 1:r.qr=r.Nr=r.Rr=r.Tr;break;default:throw new Error("Invalid zone pointer")}},function(r){r.loop=r.stack.pop(),y.Ur},function(r){y.Ur,r.round=G},function(r){y.Ur,r.round=P},function(r){var t=r.stack.pop();y.Ur,r.Hr=t/64},function(r){y.Ur,Q(r,!1)},function(r){var t=r.stack.pop();y.Ur,r.Lr+=t-1},function(r){var t=r.stack.pop();y.Ur,r.Zr=t/64},void 0,void 0,function(r){r=r.stack,y.Ur,r.push(r[r.length-1])},rr,function(r){y.Ur,r.stack.length=0},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(t),r.push(e)},function(r){r=r.stack,y.Ur,r.push(r.length)},function(r){var t=(r=r.stack).pop();y.Ur,r.push(r[r.length-t])},function(r){var t=(r=r.stack).pop();y.Ur,r.push(r.splice(r.length-t,1)[0])},void 0,void 0,void 0,function(r){var t=(i=r.stack).pop(),e=i.pop(),i=(y.Ur,r.Lr),n=r.yr;r.yr=r.Io[t];for(var o=0;o<e;o++)Ct(r),y.Ur;r.Lr=i,r.yr=n},function(r){var t=r.stack.pop(),e=(y.Ur,r.Lr),i=r.yr;r.yr=r.Io[t],Ct(r),r.Lr=e,r.yr=i,y.Ur},function(r){if("fpgm"!==r.wr)throw new Error("FDEF not allowed here");var t=r.stack,e=r.yr,i=r.Lr,t=t.pop(),n=i;for(y.Ur;45!==e[++i];);r.Lr=i,r.Io[t]=e.slice(n+1,i)},void 0,tr.bind(void 0,0),tr.bind(void 0,1),er.bind(void 0,Pt),er.bind(void 0,Bt),ir.bind(void 0,0),ir.bind(void 0,1),nr.bind(void 0,0),nr.bind(void 0,1),or.bind(void 0,0),or.bind(void 0,1),function(r){for(var t=r.stack,e=r.loop,i=r.Mr,n=t.pop()/64,o=r.Rr;e--;){var a=t.pop(),a=o[a];y.Ur,i.Br(a,a,n),i.Pr(a)}r.loop=1},function(r){for(var t=r.stack,e=r.Dr,i=r.Ar,n=r.loop,o=r.qr[e],a=r.Nr[i],s=r.Mr,u=r.Or,c=r.Rr;n--;){var f=t.pop(),f=c[f];y.Ur,s._r(f,o,a,u),s.Pr(f)}r.loop=1},ar.bind(void 0,0),ar.bind(void 0,1),function(r){for(var t=r.stack,e=r.Er,i=r.qr[e],n=r.loop,o=r.Mr,a=r.Cr,s=r.Nr;n--;){var u=t.pop(),u=s[u];y.Ur,o.Br(u,i,0,a),o.Pr(u)}r.loop=1},function(r){y.Ur,r.round=B},sr.bind(void 0,0),sr.bind(void 0,1),function(r){var t=r.yr,e=r.Lr,i=r.stack,n=t[++e];y.Ur;for(var o=0;o<n;o++)i.push(t[++e]);r.Lr=e},function(r){var t=r.Lr,e=r.yr,i=r.stack,n=e[++t];y.Ur;for(var o=0;o<n;o++){var a=e[++t]<<8|e[++t];32768&a&&(a=-(1+(65535^a))),i.push(a)}r.Lr=t},function(r){var t=r.stack,e=(e=r.store)||(r.store=[]),r=t.pop(),t=t.pop();y.Ur,e[t]=r},function(r){var t=r.stack,r=r.store,e=t.pop(),r=(y.Ur,r&&r[e]||0);t.push(r)},function(r){var t=(e=r.stack).pop(),e=e.pop();y.Ur,r.Xr[e]=t/64},function(r){var t=r.stack,e=t.pop();y.Ur,t.push(64*r.Xr[e])},ur.bind(void 0,0),ur.bind(void 0,1),void 0,fr.bind(void 0,0),fr.bind(void 0,1),function(r){y.Ur,r.stack.push(r.Yr)},void 0,function(r){y.Ur,r.Oo=!0},void 0,void 0,function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(e<t?1:0)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(e<=t?1:0)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(t<e?1:0)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(t<=e?1:0)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(t===e?1:0)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(t!==e?1:0)},function(r){var t=(r=r.stack).pop();y.Ur,r.push(Math.trunc(t)%2?1:0)},function(r){var t=(r=r.stack).pop();y.Ur,r.push(Math.trunc(t)%2?0:1)},function(r){var t=r.stack.pop();y.Ur,t||(Q(r,!0),y.Ur)},function(r){y.Ur},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(t&&e?1:0)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(t||e?1:0)},function(r){var t=(r=r.stack).pop();y.Ur,r.push(t?0:1)},cr.bind(void 0,1),function(r){var t=r.stack.pop();y.Ur,r.Qr=t},function(r){var t=r.stack.pop();y.Ur,r.Vr=Math.pow(.5,t)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(e+t)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(e-t)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(64*e/t)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(e*t/64)},function(r){var t=(r=r.stack).pop();y.Ur,r.push(Math.abs(t))},function(r){var t=(r=r.stack).pop();y.Ur,r.push(-t)},function(r){var t=(r=r.stack).pop();y.Ur,r.push(64*Math.floor(t/64))},function(r){var t=(r=r.stack).pop();y.Ur,r.push(64*Math.ceil(t/64))},lr.bind(void 0,0),lr.bind(void 0,1),lr.bind(void 0,2),lr.bind(void 0,3),void 0,void 0,void 0,void 0,function(r){var t=(e=r.stack).pop(),e=e.pop();y.Ur,r.Xr[e]=t*r.Yr/r.font.A},cr.bind(void 0,2),cr.bind(void 0,3),hr.bind(void 0,1),hr.bind(void 0,2),hr.bind(void 0,3),function(r){var t,e=r.stack.pop();switch(y.Ur,r.round=St,192&e){case 0:t=.5;break;case 64:t=1;break;case 128:t=2;break;default:throw new Error("invalid SROUND value")}switch(r.Je=t,48&e){case 0:r.$e=0;break;case 16:r.$e=.25*t;break;case 32:r.$e=.5*t;break;case 48:r.$e=.75*t;break;default:throw new Error("invalid SROUND value")}r.ri=0===(e&=15)?0:(e/8-.5)*t},function(r){var t,e=r.stack.pop();switch(y.Ur,r.round=St,192&e){case 0:t=Math.sqrt(2)/2;break;case 64:t=Math.sqrt(2);break;case 128:t=2*Math.sqrt(2);break;default:throw new Error("invalid S45ROUND value")}switch(r.Je=t,48&e){case 0:r.$e=0;break;case 16:r.$e=.25*t;break;case 32:r.$e=.5*t;break;case 48:r.$e=.75*t;break;default:throw new Error("invalid S45ROUND value")}r.ri=0===(e&=15)?0:(e/8-.5)*t},void 0,void 0,function(r){y.Ur,r.round=q},void 0,function(r){y.Ur,r.round=j},function(r){y.Ur,r.round=W},rr,rr,void 0,void 0,void 0,void 0,void 0,function(r){r.stack.pop(),y.Ur},vr.bind(void 0,0),vr.bind(void 0,1),function(r){var t=(r=r.stack).pop(),e=0;y.Ur,1&t&&(e=35),32&t&&(e|=4096),r.push(e)},void 0,function(r){var t=(r=r.stack).pop(),e=r.pop(),i=r.pop();y.Ur,r.push(e),r.push(t),r.push(i)},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(Math.max(e,t))},function(r){var t=(r=r.stack).pop(),e=r.pop();y.Ur,r.push(Math.min(e,t))},function(r){r.stack.pop(),y.Ur},function(r){var t=r.stack.pop(),e=r.stack.pop();switch(y.Ur,t){case 1:return void(r.To=!!e);case 2:return void(r.Lo=!!e);default:throw new Error("invalid INSTCTRL[] selector")}},void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,dr.bind(void 0,1),dr.bind(void 0,2),dr.bind(void 0,3),dr.bind(void 0,4),dr.bind(void 0,5),dr.bind(void 0,6),dr.bind(void 0,7),dr.bind(void 0,8),mr.bind(void 0,1),mr.bind(void 0,2),mr.bind(void 0,3),mr.bind(void 0,4),mr.bind(void 0,5),mr.bind(void 0,6),mr.bind(void 0,7),mr.bind(void 0,8),r.bind(void 0,0,0,0,0,0),r.bind(void 0,0,0,0,0,1),r.bind(void 0,0,0,0,0,2),r.bind(void 0,0,0,0,0,3),r.bind(void 0,0,0,0,1,0),r.bind(void 0,0,0,0,1,1),r.bind(void 0,0,0,0,1,2),r.bind(void 0,0,0,0,1,3),r.bind(void 0,0,0,1,0,0),r.bind(void 0,0,0,1,0,1),r.bind(void 0,0,0,1,0,2),r.bind(void 0,0,0,1,0,3),r.bind(void 0,0,0,1,1,0),r.bind(void 0,0,0,1,1,1),r.bind(void 0,0,0,1,1,2),r.bind(void 0,0,0,1,1,3),r.bind(void 0,0,1,0,0,0),r.bind(void 0,0,1,0,0,1),r.bind(void 0,0,1,0,0,2),r.bind(void 0,0,1,0,0,3),r.bind(void 0,0,1,0,1,0),r.bind(void 0,0,1,0,1,1),r.bind(void 0,0,1,0,1,2),r.bind(void 0,0,1,0,1,3),r.bind(void 0,0,1,1,0,0),r.bind(void 0,0,1,1,0,1),r.bind(void 0,0,1,1,0,2),r.bind(void 0,0,1,1,0,3),r.bind(void 0,0,1,1,1,0),r.bind(void 0,0,1,1,1,1),r.bind(void 0,0,1,1,1,2),r.bind(void 0,0,1,1,1,3),r.bind(void 0,1,0,0,0,0),r.bind(void 0,1,0,0,0,1),r.bind(void 0,1,0,0,0,2),r.bind(void 0,1,0,0,0,3),r.bind(void 0,1,0,0,1,0),r.bind(void 0,1,0,0,1,1),r.bind(void 0,1,0,0,1,2),r.bind(void 0,1,0,0,1,3),r.bind(void 0,1,0,1,0,0),r.bind(void 0,1,0,1,0,1),r.bind(void 0,1,0,1,0,2),r.bind(void 0,1,0,1,0,3),r.bind(void 0,1,0,1,1,0),r.bind(void 0,1,0,1,1,1),r.bind(void 0,1,0,1,1,2),r.bind(void 0,1,0,1,1,3),r.bind(void 0,1,1,0,0,0),r.bind(void 0,1,1,0,0,1),r.bind(void 0,1,1,0,0,2),r.bind(void 0,1,1,0,0,3),r.bind(void 0,1,1,0,1,0),r.bind(void 0,1,1,0,1,1),r.bind(void 0,1,1,0,1,2),r.bind(void 0,1,1,0,1,3),r.bind(void 0,1,1,1,0,0),r.bind(void 0,1,1,1,0,1),r.bind(void 0,1,1,1,0,2),r.bind(void 0,1,1,1,0,3),r.bind(void 0,1,1,1,1,0),r.bind(void 0,1,1,1,1,1),r.bind(void 0,1,1,1,1,2),r.bind(void 0,1,1,1,1,3)],pr.prototype.Uo=function(r,t){return this.state[r]=t,this.Kr={key:r,value:this.state[r]},this.Kr},pr.prototype.getState=function(r){return this.state[r]||null},t.prototype.Ro=function(r){return 0<=r&&r<this.ft.length},t.prototype.No=function(r){function t(r){return"object"==typeof r&&r.hasOwnProperty("qo")}var e=this,r=r.map(function(r){return e[r[0]].apply(e,r.slice(1).concat(!0))});if(r.every(t))return{qo:"composeRUD: one or more operations hasn't completed successfully",Go:r.filter(t)};this.dispatch("composeRUD",[r.filter(function(r){return!t(r)})])},t.prototype.Bo=function(r,t,e,i){t=null!==t?t:this.ft.length;var n=e.every(function(r){return r instanceof pr});return!isNaN(r)&&this.Ro(r)&&n?(n=this.ft.splice.apply(this.ft,[r,t].concat(e)),i||this.dispatch("replaceToken",[r,t,e]),[n,e]):{qo:"replaceRange: invalid tokens or startIndex."}},t.prototype.Po=function(r,t,e){var i;return!isNaN(r)&&this.Ro(r)&&t instanceof pr?(i=this.ft.splice(r,1,t),e||this.dispatch("replaceToken",[r,t]),[i[0],t]):{qo:"replaceToken: invalid token or index."}},t.prototype.removeRange=function(r,t,e){t=isNaN(t)?this.ft.length:t;var i=this.ft.splice(r,t);return e||this.dispatch("removeRange",[i,r,t]),i},t.prototype.jo=function(r,t){var e;return!isNaN(r)&&this.Ro(r)?(e=this.ft.splice(r,1),t||this.dispatch("removeToken",[e,r]),e):{qo:"removeToken: invalid token index."}},t.prototype.Wo=function(r,t,e){return r.every(function(r){return r instanceof pr})?(this.ft.splice.apply(this.ft,[t,0].concat(r)),e||this.dispatch("insertToken",[r,t]),r):{qo:"insertToken: invalid token(s)."}},t.prototype._o=function(e,i,n){this.ht.zo.subscribe(function(r,t){null!==i&&!0!==i.apply(this,[r,t])||(t=n.apply(this,[r,t]),r.Uo(e,t))}),this.vt.push(e)},yr.prototype.subscribe=function(r){return"function"==typeof r?this.ut.push(r)-1:{qo:"invalid '"+this.st+"' event handler"}},yr.prototype.unsubscribe=function(r){this.ut.splice(r,1)},wr.prototype.xt=function(r){this.index=r,this.current=this.context[r],this.nt=this.context.slice(0,r),this.ot=this.context.slice(r+1)},wr.prototype.get=function(r){switch(!0){case 0===r:return this.current;case r<0&&Math.abs(r)<=this.nt.length:return this.nt.slice(r)[0];case 0<r&&r<=this.ot.length:return this.ot[r-1];default:return null}},t.prototype.Xo=function(r){if(r instanceof br)return this.yt(r).map(function(r){return r.char}).join("")},t.prototype.Zo=function(){return this.ft.map(function(r){return r.char}).join("")},t.prototype.getContext=function(r){r=this.ct[r];return r||null},t.prototype.Yo=function(r,t){r=this.ht[r];return r?r.subscribe(t):null},t.prototype.dispatch=function(r,t){var e=this,r=this.ht[r];r instanceof yr&&r.ut.forEach(function(r){r.apply(e,t||[])})},t.prototype.At=function(r,t,e){if(this.getContext(r))return{qo:"context name '"+r+"' is already registered."};if("function"!=typeof t)return{qo:"missing context start check."};if("function"!=typeof e)return{qo:"missing context end check."};t=new gr(r,t,e);return this.ct[r]=t,this.lt.push(t),t},t.prototype.yt=function(r){var t=r.$r+r.endOffset;return[].concat(this.ft.slice(r.$r,t))},t.prototype.Ot=function(r){var t=this.getContext(r);return t?t.tt:{qo:"context checker '"+r+"' is not registered."}},t.prototype.Qo=function(){var r,t=this.ct;for(r in t)t.hasOwnProperty(r)&&(t[r].tt=[])},t.prototype.dt=function(){this.Qo();for(var r=this.ft.map(function(r){return r.char}),t=0;t<r.length;t++){var e=new wr(r,t);this.Vo(e)}this.dispatch("updateContextsRanges",[this.ct])},t.prototype.Ho=function(r,t){var r=new br(this.getContext(t).rt.$r,r,t),e=this.getContext(t).tt;return r.Ko=t+"."+e.length,e.push(r),this.getContext(t).rt=null,r},t.prototype.Vo=function(i){var n=this,o=i.index;this.lt.forEach(function(r){var t=r.Jr,e=n.getContext(t).rt;!e&&r.et(i)&&(e=new br(o,null,t),n.getContext(t).rt=e,n.dispatch("contextStart",[t,o])),e&&r.it(i)&&(r=o-e.$r+1,e=n.Ho(r,t),n.dispatch("contextEnd",[t,e]))})},t.prototype.Jo=function(r){this.ft=[],this.Qo();var t=Array.from(r);this.dispatch("start");for(var e=0;e<t.length;e++){var i=t[e],n=new wr(t,e),i=(this.dispatch("next",[n]),this.Vo(n),new pr(i));this.ft.push(i),this.dispatch("newToken",[i,n])}return this.dispatch("end",[this.ft]),this.ft},Er.prototype.$o=function(){for(var r=this.font.m.We.scripts,t=0;t<r.length;t++){var e=r[t];if("DFLT"===e.tag)return e.script.Ci.Ti}return[]},Er.prototype.ra=function(r){if(!this.font.m.We)return[];if(!r)return this.$o();for(var t=this.font.m.We.scripts,e=0;e<t.length;e++){var i=t[e];if(i.tag===r&&i.script.Ci)return i.script.Ci.Ti;var n=i.Li;if(n)for(var o=0;o<n.length;o++){var a=n[o];if(a.tag===r)return a.Ri.Ti}}return this.$o()},Er.prototype.ta=function(r,t){for(var e={},i=0;i<r.length;i++){var n=r[i].tag,o=r[i].qi;e[n]=o}this.features[t].tags=e},Er.prototype.ea=function(r){var t=this.features[r];if(this.features.hasOwnProperty(r))return t;var e=this.ra(r);if(!e)return null;var i=this.font.m.We,t=e.map(function(r){return i.features[r]});return this.features[r]=t,this.ta(t,r),t},Er.prototype.ia=function(r,t){return r.Wi.toString()+t.O.toString()},Er.prototype.na=function(r,t){var e=this;switch(this.ia(r,t)){case"11":return function(r){return function(r,t){return-1===Ar(r,t.ti)?null:r+t.cn}.apply(e,[r,t])};case"12":return function(r){return function(r,t){return-1===(r=Ar(r,t.ti))?null:t.hn[r]}.apply(e,[r,t])};case"63":return function(r){return function(r,t){var e=t.oa.length+t.aa.length+t.sa.length;if(r.context.length<e)return[];var i=Mr(t.oa,r);if(-1===i)return[];if(e=t.oa.length-1,r.ot.length<t.aa.length)return[];for(var n=r.ot.slice(e);n.length&&Sr(n[0].char);)n.shift();var e=new wr(n,0),e=Mr(t.aa,e),o=[].concat(r.nt);for(o.reverse();o.length&&Sr(o[0].char);)o.shift();if(o.length<t.sa.length)return[];var c=new wr(o,0),c=Mr(t.sa,c),l=[];if(i.length===t.oa.length&&e.length===t.aa.length&&c.length===t.sa.length)for(var a=0;a<t.ua.length;a++)for(var h=t.ua[a].fa,s=this.ca(h),u=0;u<s.C.length;u++){var v=s.C[u],d=this.na(s,v);if("12"===this.ia(s,v))for(var f=0;f<i.length;f++){var m=d(r.get(f));m&&l.push(m)}}return l}.apply(e,[r,t])};case"41":return function(r){return function(r,t){var e=Ar(r.current,t.ti);if(-1===e)return null;for(var i=t.gn[e],n=0;n<i.length;n++)for(var o=i[n],a=0;a<o.H.length;a++){if(r.ot[a]!==o.H[a])break;if(a===o.H.length-1)return o}return null}.apply(e,[r,t])};case"21":return function(r){return function(r,t){return-1===(r=Ar(r,t.ti))?null:t.dn[r]}.apply(e,[r,t])};default:throw new Error("lookupType: "+r.Wi+" - substFormat: "+t.O+" is not yet supported")}},Er.prototype.St=function(r){var t=r.Ft,e=t.index,i=this.getFeature({tag:r.tag,script:r.script});if(!i)return new Error("font '"+this.font.names.ha.la+"' doesn't support feature '"+r.tag+"' for script '"+r.script+"'.");for(var c=this.va(i),n=[].concat(t.context),o=0;o<c.length;o++)for(var a=c[o],l=this.da(a),s=0;s<l.length;s++){var h=l[s],v=this.ia(a,h),u=this.na(a,h),f=void 0;switch(v){case"11":(f=u(t.current))&&n.splice(e,1,new Dr({id:11,tag:r.tag,bt:f}));break;case"12":(f=u(t.current))&&n.splice(e,1,new Dr({id:12,tag:r.tag,bt:f}));break;case"63":f=u(t),Array.isArray(f)&&f.length&&n.splice(e,1,new Dr({id:63,tag:r.tag,bt:f}));break;case"41":(f=u(t))&&n.splice(e,1,new Dr({id:41,tag:r.tag,bt:f}));break;case"21":(f=u(t.current))&&n.splice(e,1,new Dr({id:21,tag:r.tag,bt:f}))}t=new wr(n,e),Array.isArray(f)&&!f.length||(f=null)}return n.length?n:null},Er.prototype.supports=function(t){if(!t.script)return!1;this.ea(t.script);var r=this.features.hasOwnProperty(t.script);if(!t.tag)return r;var e=this.features[t.script].some(function(r){return r.tag===t.tag});return r&&e},Er.prototype.da=function(r){return r.C||null},Er.prototype.ca=function(r){return this.font.m.We.ji[r]||null},Er.prototype.va=function(r){return r.Bi.map(this.ca.bind(this))},Er.prototype.getFeature=function(r){if(!this.font)return{qo:"No font was found"};this.features.hasOwnProperty(r.script)||this.ea(r.script);var t=this.features[r.script];return t?t.tags[r.tag]?this.features[r.script].tags[r.tag]:null:{qo:"No feature for script "+r.script}},{Mt:function(r){var t=r.current;return null===(r=r.get(-1))&&kr(t)||!kr(r)&&kr(t)},Ct:function(r){return null===(r=r.get(1))||!kr(r)}}),nt={Mt:function(r){var t=r.current,r=r.get(-1);return(kr(t)||Sr(t))&&!kr(r)},Ct:function(r){var t=r.get(1);switch(!0){case null===t:return!0;case!kr(t)&&!Sr(t):var e=/\s/.test(t);if(!e)return!0;if(e)if(!r.ot.some(function(r){return kr(r)||Sr(r)}))return!0;break;default:return!1}}},_t={11:function(r,t,e){t[e].Uo(r.tag,r.bt)},12:function(r,t,e){t[e].Uo(r.tag,r.bt)},63:function(e,i,n){e.bt.forEach(function(r,t){i[n+t].Uo(e.tag,r)})},41:function(r,t,e){for(var i=t[e],n=(i.Uo(r.tag,r.bt.wn),r.bt.H.length),o=0;o<n;o++)(i=t[e+o+1]).Uo("deleted",!0)}},zt={Mt:function(r){var t=r.current;return null===(r=r.get(-1))&&Fr(t)||!Fr(r)&&Fr(t)},Ct:function(r){return null===(r=r.get(1))||!Fr(r)}},Xt=(Lr.prototype.ma=function(r){this.text=r},Lr.prototype.Dt={pa:zt,ba:xt,ga:nt},Lr.prototype.wa=function(t,r){var e=this,r=r.filter(function(r){return e.query.supports({script:t,tag:r})});this.wt.hasOwnProperty(t)?this.wt[t]=this.wt[t].concat(r):this.wt[t]=r},Lr.prototype.ya=function(r,t){if(!r)throw new Error("No valid font was provided to apply features");this.query||(this.query=new Er(r));for(var e=0;e<t.length;e++){var i=t[e];this.query.supports({script:i.script})&&this.wa(i.script,i.tags)}},Lr.prototype._o=function(r,t,e){this.kt._o(r,t,e)},Lr.prototype.ka=function(r){return!!this.kt.getContext(r)},Lr.prototype.xa=function(){this.ka("arabicWord")&&(!function(){var t=this;this.wt.hasOwnProperty("gt")&&(Rr.call(this),this.kt.Ot("arabicWord").forEach(function(r){Or.call(t,r)}))}.call(this),Nr.call(this)),this.ka("latinWord")&&qr.call(this),this.ka("arabicSentence")&&function(){var e=this;this.kt.Ot("arabicSentence").forEach(function(r){var t=e.kt.yt(r);e.kt.Bo(r.$r,r.endOffset,t.reverse())})}.call(this)},Lr.prototype.Sa=function(r){this.text&&this.text===r||(this.ma(r),function(){return Ur.call(this,"latinWord"),Ur.call(this,"arabicWord"),Ur.call(this,"arabicSentence"),this.kt.Jo(this.text)}.call(this),this.xa())},Lr.prototype.Fa=function(r){return this.Sa(r),this.kt.Zo()},Lr.prototype.Ea=function(r){this.Sa(r);for(var t=[],e=0;e<this.kt.ft.length;e++){var i=this.kt.ft[e];i.state.Da||(i=i.Kr.value,t.push(Array.isArray(i)?i[0]:i))}return t},x.prototype.Aa=function(r){return null!==this.encoding.ci(r)},x.prototype.ci=function(r){return this.encoding.ci(r)},x.prototype.Ma=function(r){r=this.ci(r);return this.k.get(r)||this.k.get(0)},x.prototype.Ca=function(t){return this.Oa.features.map(function(r){return"latn"===r.script?{script:"latn",tags:r.tags.filter(function(r){return t[r]})}:r})},x.prototype.Ia=function(r,t){for(var e=this,i=new Lr,t=(i._o("glyphIndex",null,function(r){return e.ci(r.char)}),t?this.Ca(t.features):this.Oa.features),n=(i.ya(this,t),i.Ea(r)),o=n.length,a=new Array(o),s=this.k.get(0),u=0;u<o;u+=1)a[u]=this.k.get(n[u])||s;return a},x.prototype.$i=function(r,t){r=r.index||r,t=t.index||t;var e=this.position.Ki;return e?this.position.$i(e,r,t):this.Be[r+","+t]||0},x.prototype.Oa={kerning:!0,features:[{script:"arab",tags:["init","medi","fina","rlig"]},{script:"latn",tags:["liga","rlig"]}]},x.prototype.Ta=function(r,t,e,i,n,c){t=void 0!==t?t:0,e=void 0!==e?e:0,i=void 0!==i?i:72,n=Object.assign({},this.Oa,n);var o,a=1/this.A*i,s=this.Ia(r,n);n.kerning&&(r=n.script||this.position.Ai(),o=this.position.Ji(r,n.language));for(var u=0;u<s.length;u+=1){var f=s[u];c.call(this,f,t,e,i,n),f.xe&&(t+=f.xe*a),n.kerning&&u<s.length-1&&(t+=(o?this.position.$i(o,f.index,s[u+1].index):this.$i(f,s[u+1]))*a),n.letterSpacing?t+=n.letterSpacing*i:n.La&&(t+=n.La/1e3*i)}return t},x.prototype.ar=function(r,t,e,i,n){var o=new h;return this.Ta(r,t,e,i,n,function(r,t,e,i){r=r.ar(t,e,i,n,this);o.extend(r)}),o},x.prototype.Ua=function(r,t,e,i,n){var o=[];return this.Ta(r,t,e,i,n,function(r,t,e,i){r=r.ar(t,e,i,n,this);o.push(r)}),o},x.prototype.Ra=function(r,t,e){return this.Ta(r,0,0,t,e,function(){})},x.prototype.Zt={Na:1,qa:2,Ga:4,Ba:8,Pa:16,ja:32,Xt:64,Wa:128,_a:256,za:512},x.prototype._t={Xa:1,Za:2,Ya:3,Qa:4,Bt:5,Va:6,Ha:7,Ka:8,Ja:9},x.prototype.Pt={$a:100,rs:200,ts:300,es:400,Bt:500,ns:600,ja:700,os:800,ss:900},{parse:function(r,t){for(var e={},c=(e.version=U.Me(r,t),L.X(0===e.version,"cmap table version should be 0."),e.us=U.Me(r,t+2),-1),i=e.us-1;0<=i;--i){var l=U.Me(r,t+4+8*i),n=U.Me(r,t+4+8*i+2);if(3===l&&(0===n||1===n||10===n)||0===l&&(0===n||1===n||2===n||3===n||4===n)){c=U.Fe(r,t+4+8*i+4);break}}if(-1===c)throw new Error("No valid cmap sub-tables found.");var o=new U.U(r,t+c);if(e.format=o.j(),12===e.format){var h,a=e,s=o;s.j(),a.length=s.Un(),a.language=s.Un(),a.fs=h=s.Un(),a.v={};for(var v=0;v<h;v+=1)for(var d=s.Un(),m=s.Un(),p=s.Un(),b=d;b<=m;b+=1)a.v[b]=p,p++}else{if(4!==e.format)throw new Error("Only format 4 and 12 cmap tables are supported (found format "+e.format+").");var u=e,g=r,w=t,y=c;u.length=o.j(),u.language=o.j(),u.cs=f=o.j()>>1,o.Pn("uShort",3),u.v={};for(var f,k=new U.U(g,w+y+14),x=new U.U(g,w+y+16+2*f),S=new U.U(g,w+y+16+4*f),F=new U.U(g,w+y+16+6*f),E=w+y+16+8*f,D=0;D<f-1;D+=1)for(var A=void 0,M=k.j(),C=x.j(),O=S.L(),I=F.j(),T=C;T<=M;T+=1)0!==I?(E=(E=F.offset+F.I-2)+I+2*(T-C),0!==(A=U.Me(g,E))&&(A=A+O&65535)):A=T+O&65535,u.v[T]=A}return e}}),Zt=[{name:"version",ne:0,type:"SID"},{name:"notice",ne:1,type:"SID"},{name:"copyright",ne:1200,type:"SID"},{name:"fullName",ne:2,type:"SID"},{name:"familyName",ne:3,type:"SID"},{name:"weight",ne:4,type:"SID"},{name:"isFixedPitch",ne:1201,type:"number",value:0},{name:"italicAngle",ne:1202,type:"number",value:0},{name:"underlinePosition",ne:1203,type:"number",value:-100},{name:"underlineThickness",ne:1204,type:"number",value:50},{name:"paintType",ne:1205,type:"number",value:0},{name:"charstringType",ne:1206,type:"number",value:2},{name:"fontMatrix",ne:1207,type:["real","real","real","real","real","real"],value:[.001,0,0,.001,0,0]},{name:"uniqueId",ne:13,type:"number"},{name:"fontBBox",ne:5,type:["number","number","number","number"],value:[0,0,0,0]},{name:"strokeWidth",ne:1208,type:"number",value:0},{name:"xuid",ne:14,type:[],value:null},{name:"charset",ne:15,type:"offset",value:0},{name:"encoding",ne:16,type:"offset",value:0},{name:"charStrings",ne:17,type:"offset",value:0},{name:"private",ne:18,type:["number","offset"],value:[0,0]},{name:"ros",ne:1230,type:["SID","SID","number"]},{name:"cidFontVersion",ne:1231,type:"number",value:0},{name:"cidFontRevision",ne:1232,type:"number",value:0},{name:"cidFontType",ne:1233,type:"number",value:0},{name:"cidCount",ne:1234,type:"number",value:8720},{name:"uidBase",ne:1235,type:"number"},{name:"fdArray",ne:1236,type:"offset"},{name:"fdSelect",ne:1237,type:"offset"},{name:"fontName",ne:1238,type:"SID"}],Yt=[{name:"subrs",ne:19,type:"offset",value:0},{name:"defaultWidthX",ne:20,type:"number",value:0},{name:"nominalWidthX",ne:21,type:"number",value:0}],Qt={parse:function(u,f,c,r){c.m.be={},t=u,e=f,(i={}).ls=U.Eo(t,e),i.hs=U.Eo(t,e+1),i.size=U.Eo(t,e+2),i.vs=U.Eo(t,e+3),i.startOffset=e,i.endOffset=e+4;var t=Br(u,i.endOffset,U.Mo),e=Br(u,t.endOffset),i=Br(u,e.endOffset,U.Mo),t=Br(u,i.endOffset);if(c.ke=t.ie,c.ye=Gr(c.ke),1!==(t=Xr(u,f,e.ie,i.ie)).length)throw new Error("CFF table has too many fonts in 'FontSet' - count of fonts NameIndex.length = "+t.length);var l=t[0];if((c.m.be.pe=l).ve&&(c.ce=l.ve.ce,c.le=l.ve.le),void 0!==l.ds[0]&&void 0!==l.ds[1]&&(c.de=!0),c.de){e=l.ps,t=l.bs;if(0===e||0===t)throw new Error("Font is marked as a CID font, but FDArray and/or FDSelect information is missing");e=Br(u,e+=f),e=Xr(u,f,e.ie,i.ie);l.ge=e,l.me=function(r,c,t,e){var i,n=[],o=new U.U(r,c);if(0===(r=o.Cn()))for(var a=0;a<t;a++){if(e<=(i=o.Cn()))throw new Error("CFF table CID Font FDSelect has bad FD index value "+i+" (FD count "+e+")");n.push(i)}else{if(3!==r)throw new Error("CFF Table CID Font FDSelect table has unsupported format "+r);var s,l=o.On(),u=o.On();if(0!==u)throw new Error("CFF Table CID Font FDSelect format 3 range has bad initial GID "+u);for(var f=0;f<l;f++){if(i=o.Cn(),s=o.On(),e<=i)throw new Error("CFF table CID Font FDSelect has bad FD index value "+i+" (FD count "+e+")");if(t<s)throw new Error("CFF Table CID Font FDSelect format 3 range has bad GID "+s);for(;u<s;u++)n.push(i);u=s}if(s!==t)throw new Error("CFF Table CID Font FDSelect format 3 range has bad final GID "+s)}return n}(u,t+=f,c.Ne,e.length)}var h,t=f+l.fe[1],e=zr(u,t,l.fe[0],i.ie),t=(c.ce=e.ce,c.le=e.le,0!==e.he?(t=t+e.he,e=Br(u,t),c.he=e.ie,c.gs=Gr(c.he)):(c.he=[],c.gs=0),r.l?(h=function(r,t){var e=[],i=U.$t(r,t);if(0!==i){for(var n=U.re(r,t+2),o=t+(i+1)*n+2,a=t+3,s=0;s<i+1;s+=1)e.push(U.te(r,a,n)),a+=n;o=o+e[i]}else o=t+2;return{ws:e,startOffset:t,endOffset:o}}(u,f+l.ys),c.ks=h.ws.length):(h=Br(u,f+l.ys),c.ks=h.ie.length),function(r,c,t,e){var i=new U.U(r,c),n=(--t,[".notdef"]);if(0===(r=i.Cn()))for(var o=0;o<t;o+=1)a=i.In(),n.push(Wr(e,a));else if(1===r)for(;n.length<=t;)for(var a=i.In(),s=i.Cn(),u=0;u<=s;u+=1)n.push(Wr(e,a)),a+=1;else{if(2!==r)throw new Error("Unknown charset format "+r);for(;n.length<=t;){a=i.In(),s=i.On();for(var f=0;f<=s;f+=1)n.push(Wr(e,a)),a+=1}}return n}(u,f+l.charset,c.ks,i.ie));if(0===l.encoding?c.xs=new v(Lt,t):1===l.encoding?c.xs=new v(Ut,t):c.xs=function(r,t,e){var i={},n=new U.U(r,t);if(0===(r=n.Cn()))for(var c=n.Cn(),o=0;o<c;o+=1)i[a=n.Cn()]=o;else{if(1!==r)throw new Error("Unknown encoding format "+r);for(var l=n.Cn(),a=1,s=0;s<l;s+=1)for(var u=n.Cn(),h=n.Cn(),f=u;f<=u+h;f+=1)i[f]=a,a+=1}return new v(i,e)}(u,f+l.encoding,t),c.encoding=c.encoding||c.xs,c.k=new Rt.Yt(c),r.l)c.Qt=function(r){t=r,e=h.ws,i=u,s=f+l.ys,o=U.$t(i,s),(a=0)!==o&&(a=s+(o+1)*U.re(i,s+2)+2),o=U.ee(i,a+e[t],a+e[t+1]);var t,e,i,n,o,a,s=o=n?n(o):o;c.k.push(r,Rt.xi(c,r,Zr,s))};else for(var n=0;n<c.ks;n+=1){var o=h.ie[n];c.k.push(n,Rt.xi(c,n,Zr,o))}}},Vt={parse:function(r,t,e){for(var i,n,c,o,a=new U.U(r,t),l=a.Un(),h=(L.X(65536===l,"Unsupported fvar table version."),a.Tn()),v=(a.Pn("uShort",1),a.j()),d=a.j(),m=a.j(),p=a.j(),s=[],u=0;u<v;u++)s.push((i=r,n=t+h+u*d,c=e,void 0,o={},i=new U.U(i,n),o.tag=i.qn(),o.minValue=i.Rn(),o.defaultValue=i.Rn(),o.maxValue=i.Rn(),i.Pn("uShort",1),o.name=c[i.j()]||{},o));for(var b=[],g=t+h+v*d,f=0;f<m;f++)b.push(function(r,t,e,i){var n={},o=new U.U(r,t);n.name=i[o.j()]||{},o.Pn("uShort",1),n.Ss={};for(var a=0;a<e.length;++a)n.Ss[e[a].tag]=o.Rn();return n}(r,g+f*p,s,e));return{axes:s,Fs:b}}},Ht=function(){return this.ni(u.oi(Et))},Kt={parse:function(r,t){var t=(r=new u(r,t=t||0)).Bn(1),e=(L.X(1===t||1.2===t||1.3===t,"Unsupported GDEF table version."),{version:t,po:r.ei(u.po),Es:r.ei(Ft),Ds:r.ei(Dt),As:r.ei(u.po)});return 1.2<=t&&(e.Ms=r.ei(At)),e}},Jt=new Array(10),$t=(Jt[1]=function(){var r=this.offset+this.I,t=this.j();return 1===t?{rn:1,ti:this.ei(u.ti),value:this.Qn()}:2===t?{rn:2,ti:this.ei(u.ti),values:this.io()}:void L.assert(!1,"0x"+r.toString(16)+": GPOS lookup type 1 format must be 1 or 2.")},Jt[2]=function(){var r,t,e,i,n=this.offset+this.I,o=this.j(),n=(L.assert(1===o||2===o,"0x"+n.toString(16)+": GPOS lookup type 2 format must be 1 or 2."),this.ei(u.ti)),a=this.j(),s=this.j();return 1===o?{rn:o,ti:n,Cs:a,Os:s,tn:this.ni(u.oi(u.list(function(){return{en:this.j(),nn:this.Qn(a),Is:this.Qn(s)}})))}:2===o?(r=this.ei(u.po),t=this.ei(u.po),e=this.j(),i=this.j(),{rn:o,ti:n,Cs:a,Os:s,an:r,sn:t,Ts:e,Ls:i,un:this.ni(e,u.list(i,function(){return{nn:this.Qn(a),Is:this.Qn(s)}}))}):void 0},Jt[3]=function(){return{error:"GPOS Lookup 3 not supported"}},Jt[4]=function(){return{error:"GPOS Lookup 4 not supported"}},Jt[5]=function(){return{error:"GPOS Lookup 5 not supported"}},Jt[6]=function(){return{error:"GPOS Lookup 6 not supported"}},Jt[7]=function(){return{error:"GPOS Lookup 7 not supported"}},Jt[8]=function(){return{error:"GPOS Lookup 8 not supported"}},Jt[9]=function(){return{error:"GPOS Lookup 9 not supported"}},{parse:function(r,t){return t=(r=new u(r,t=t||0)).Bn(1),L.X(1===t||1.1===t,"Unsupported GPOS table version "+t),1===t?{version:t,scripts:r.bo(),features:r.wo(),ji:r.ko(Jt)}:{version:t,scripts:r.bo(),features:r.wo(),ji:r.ko(Jt),Us:r.xo()}}}),re=new Array(9),te=(re[1]=function(){var r=this.offset+this.I,t=this.j();return 1===t?{O:1,ti:this.ei(u.ti),cn:this.j()}:2===t?{O:2,ti:this.ei(u.ti),hn:this.Wn()}:void L.assert(!1,"0x"+r.toString(16)+": lookup type 1 format must be 1 or 2.")},re[2]=function(){var r=this.j();return L.X(1===r,"GSUB Multiple Substitution Subtable identifier-format must be 1"),{O:r,ti:this.ei(u.ti),dn:this.oo()}},re[3]=function(){var r=this.j();return L.X(1===r,"GSUB Alternate Substitution Subtable identifier-format must be 1"),{O:r,ti:this.ei(u.ti),pn:this.oo()}},re[4]=function(){var r=this.j();return L.X(1===r,"GSUB ligature table identifier-format must be 1"),{O:r,ti:this.ei(u.ti),gn:this.oo(function(){return{wn:this.j(),H:this._n(this.j()-1)}})}},{Rs:u.En,fa:u.En}),ee=(re[5]=function(){var r,t,e=this.offset+this.I,i=this.j();return 1===i?{O:i,ti:this.ei(u.ti),Ns:this.oo(function(){var r=this.j(),t=this.j();return{input:this._n(r-1),ua:this.Xn(t,te)}})}:2===i?{O:i,ti:this.ei(u.ti),po:this.ei(u.po),qs:this.oo(function(){var r=this.j(),t=this.j();return{Yi:this._n(r-1),ua:this.Xn(t,te)}})}:3===i?(r=this.j(),t=this.j(),{O:i,Gs:this.ni(r,u.oi(u.ti)),ua:this.Xn(t,te)}):void L.assert(!1,"0x"+e.toString(16)+": lookup type 5 format must be 1, 2 or 3.")},re[6]=function(){var r=this.offset+this.I,t=this.j();return 1===t?{O:1,ti:this.ei(u.ti),Bs:this.oo(function(){return{nt:this._n(),input:this._n(this.L()-1),ot:this._n(),ua:this.Xn(te)}})}:2===t?{O:2,ti:this.ei(u.ti),Ps:this.ei(u.po),js:this.ei(u.po),Ws:this.ei(u.po),_s:this.oo(function(){return{nt:this._n(),input:this._n(this.L()-1),ot:this._n(),ua:this.Xn(te)}})}:3===t?{O:3,sa:this.ni(u.oi(u.ti)),oa:this.ni(u.oi(u.ti)),aa:this.ni(u.oi(u.ti)),ua:this.Xn(te)}:void L.assert(!1,"0x"+r.toString(16)+": lookup type 6 format must be 1, 2 or 3.")},re[7]=function(){var r=this.j(),r=(L.X(1===r,"GSUB Extension Substitution subtable identifier-format must be 1"),this.j()),t=new u(this.data,this.offset+this.Un());return{O:1,Wi:r,zs:re[r].call(t)}},re[8]=function(){var r=this.j();return L.X(1===r,"GSUB Reverse Chaining Contextual Single Substitution Subtable identifier-format must be 1"),{O:r,ti:this.ei(u.ti),sa:this.ni(u.oi(u.ti)),aa:this.ni(u.oi(u.ti)),Xs:this._n()}},{parse:function(r,t){return t=(r=new u(r,t=t||0)).Bn(1),L.X(1===t||1.1===t,"Unsupported GSUB table version."),1===t?{version:t,scripts:r.bo(),features:r.wo(),ji:r.ko(re)}:{version:t,scripts:r.bo(),features:r.wo(),ji:r.ko(re),Us:r.xo()}}}),ie={parse:function(r,t){var e={},r=new U.U(r,t);return e.version=r.Bn(),e.Zs=Math.round(1e3*r.Rn())/1e3,e.Ys=r.Un(),e.Qs=r.Un(),L.X(1594834165===e.Qs,"Font header has wrong magic number."),e.flags=r.j(),e.A=r.j(),e.Vs=r.Gn(),e.Hs=r.Gn(),e.hi=r.L(),e.vi=r.L(),e.di=r.L(),e.mi=r.L(),e.Ks=r.j(),e.Js=r.j(),e.$s=r.L(),e.Te=r.L(),e.ru=r.L(),e}},ne={parse:function(r,t){var e={},r=new U.U(r,t);return e.version=r.Bn(),e.Lt=r.L(),e.Ut=r.L(),e.tu=r.L(),e.eu=r.j(),e.iu=r.L(),e.nu=r.L(),e.ou=r.L(),e.au=r.L(),e.su=r.L(),e.uu=r.L(),r.I+=8,e.fu=r.L(),e.Ue=r.j(),e}},oe={parse:function(r,t,e,i,n,c,o){if(o.l){var a=r,o=t,r=e,l=i,h=n;a.Vt={};for(var s,v,d=new U.U(o,r),u=0;u<h;u+=1)u<l&&(s=d.j(),v=d.L()),a.Vt[u]={xe:s,gi:v}}else for(var m,p,o=t,r=e,b=i,g=n,w=c,y=new U.U(o,r),f=0;f<g;f+=1){f<b&&(m=y.j(),p=y.L());var k=w.get(f);k.xe=m,k.gi=p}}},ae={parse:function(r,t){if(r=new U.U(r,t),0===(t=r.j())){var e=r,i={},n=(e.Pn("uShort"),e.j()),o=(L.X(0===n,"Unsupported kern sub-table version."),e.Pn("uShort",2),e.j());e.Pn("uShort",3);for(var a=0;a<o;a+=1){var c=e.j(),l=e.j(),h=e.L();i[c+","+l]=h}return i}if(1!==t)throw new Error("Unsupported kern table version ("+t+").");var s=r,u={},n=(s.Pn("uShort"),s.Un(),s.Pn("uLong"),255&s.j());if(s.Pn("uShort"),0==n){var v=s.j();s.Pn("uShort",3);for(var f=0;f<v;f+=1){var d=s.j(),m=s.j(),p=s.L();u[d+","+m]=p}}return u}},se={parse:function(r,t){for(var e=new U.U(r,t),i=e.Un(),n=(L.X(1===i,"Unsupported ltag table version."),e.Pn("uLong",1),e.Un()),o=[],a=0;a<n;a++){for(var s="",u=t+e.j(),c=e.j(),f=u;f<u+c;++f)s+=String.fromCharCode(r.getInt8(f));o.push(s)}return o}},ue={parse:function(r,t,e,i){for(var n=new U.U(r,t),o=i?n.j:n.Un,a=[],s=0;s<e+1;s+=1){var u=o.call(n);i&&(u*=2),a.push(u)}return a}},fe={parse:function(r,t){var e={},r=new U.U(r,t);return e.version=r.Bn(),e.Ne=r.j(),1===e.version&&(e.cu=r.j(),e.lu=r.j(),e.hu=r.j(),e.vu=r.j(),e.du=r.j(),e.mu=r.j(),e.pu=r.j(),e.bu=r.j(),e.gu=r.j(),e.wu=r.j(),e.yu=r.j(),e.ku=r.j(),e.xu=r.j()),e}},ce={parse:function(r,t){var e={},i=new U.U(r,t);e.version=i.j(),e.Su=i.L(),e.qt=i.j(),e.jt=i.j(),e.Fu=i.j(),e.Eu=i.L(),e.Du=i.L(),e.Au=i.L(),e.Mu=i.L(),e.Cu=i.L(),e.Ou=i.L(),e.Iu=i.L(),e.Tu=i.L(),e.Lu=i.L(),e.Uu=i.L(),e.Ru=i.L(),e.Nu=[];for(var n=0;n<10;n++)e.Nu[n]=i.T();return e.qu=i.Un(),e.Gu=i.Un(),e.Bu=i.Un(),e.Pu=i.Un(),e.ju=String.fromCharCode(i.T(),i.T(),i.T(),i.T()),e.zt=i.j(),e.Wu=i.j(),e._u=i.j(),e.zu=i.L(),e.Xu=i.L(),e.Zu=i.L(),e.Yu=i.j(),e.Qu=i.j(),1<=e.version&&(e.Vu=i.Un(),e.Hu=i.Un()),2<=e.version&&(e.Ku=i.L(),e.Ju=i.L(),e.$u=i.j(),e.rf=i.j(),e.tf=i.j()),e}},le={parse:function(r,t){var e={},i=new U.U(r,t);switch(e.version=i.Bn(),e.ef=i.Rn(),e.if=i.L(),e.nf=i.L(),e.af=i.Un(),e.sf=i.Un(),e.uf=i.Un(),e.ff=i.Un(),e.cf=i.Un(),e.names=[],e.version){case 1:break;case 2:e.lf=i.j(),e.hf=new Array(e.lf);for(var n=0;n<e.lf;n++)e.hf[n]=i.j();break;case 2.5:e.lf=i.j(),e.offset=new Array(e.lf);for(var o=0;o<e.lf;o++)e.offset[o]=i.ir()}return e}},he={vf:function(r,t,e){for(var i=[],n=e,o=0;o<n;o++,t+=1)i[o]=r.getUint8(t);return String.fromCharCode.apply(null,i)},df:function(r,t,e){for(var i=[],n=e/2,o=0;o<n;o++,t+=2)i[o]=r.getUint16(t);return String.fromCharCode.apply(null,i)}},ve={mf:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ",pf:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю",bf:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæøṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ",gf:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ­",wf:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",yf:"ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł",kf:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",xf:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",Sf:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",Ff:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"},de=(he.Ef=function(r,t,e,i){var n=ve[i];if(void 0!==n){for(var o="",a=0;a<e;a++){var s=r.getUint8(t+a);o+=s<=127?String.fromCharCode(s):n[127&s]}return o}},{parse:function(r,t){for(var e=new U.U(r,t),i=e.Un(),n=(L.X(1===i,"Unsupported META table version."),e.Un(),e.Un(),e.Un()),o={},a=0;a<n;a++){var s=e.qn(),u=e.Un(),f=e.Un(),u=he.vf(r,t+u,f);o[s]=u}return o}}),zt=Object.freeze({__proto__:null,Df:x,Af:s,Mf:h,Cf:U,parse:Qr,load:Vr,Of:Hr});y.Df=x,y.Af=s,y.Mf=h,y.Cf=U,y.default=zt,y.load=Vr,y.Of=Hr,y.parse=Qr,Object.defineProperty(y,"If",{value:!0})});
//# sourceMappingURL=opentype.min.js.map