gemi 0.54.2 → 0.54.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.js +2 -2
- package/dist/app/index.js.map +1 -1
- package/dist/bun/plugin.js +2 -2
- package/dist/bun/plugin.js.map +1 -1
- package/dist/bun/preload.js +2 -2
- package/dist/bun/preload.js.map +2 -2
- package/dist/chunk-1312a1t4.js +4 -0
- package/dist/{chunk-r9z5rrk0.js.map → chunk-1312a1t4.js.map} +2 -2
- package/dist/{chunk-9taz1h3t.js → chunk-1psx59jt.js} +2 -2
- package/dist/{chunk-9taz1h3t.js.map → chunk-1psx59jt.js.map} +1 -1
- package/dist/chunk-2s75crt8.js +4 -0
- package/dist/{chunk-07t0dmdg.js.map → chunk-2s75crt8.js.map} +2 -2
- package/dist/chunk-2zyharpa.js +4 -0
- package/dist/{chunk-hk067634.js.map → chunk-2zyharpa.js.map} +2 -2
- package/dist/chunk-35j03vge.js +4 -0
- package/dist/{chunk-br8ten26.js.map → chunk-35j03vge.js.map} +2 -2
- package/dist/chunk-3njyfdj5.js +19 -0
- package/dist/chunk-3njyfdj5.js.map +60 -0
- package/dist/chunk-4n0xx0y6.js +66 -0
- package/dist/{chunk-n382ygnp.js.map → chunk-4n0xx0y6.js.map} +4 -53
- package/dist/{chunk-gn9zjgep.js → chunk-5ad8era8.js} +2 -2
- package/dist/{chunk-gn9zjgep.js.map → chunk-5ad8era8.js.map} +1 -1
- package/dist/{chunk-50vm7x98.js → chunk-6c5xkj0z.js} +2 -2
- package/dist/{chunk-50vm7x98.js.map → chunk-6c5xkj0z.js.map} +1 -1
- package/dist/chunk-6yy92txx.js +9 -0
- package/dist/{chunk-k8endm5j.js.map → chunk-6yy92txx.js.map} +6 -6
- package/dist/chunk-796pyrm9.js +4 -0
- package/dist/{chunk-1snh7yc4.js.map → chunk-796pyrm9.js.map} +2 -2
- package/dist/chunk-876p591d.js +5 -0
- package/dist/chunk-876p591d.js.map +13 -0
- package/dist/chunk-95t14jaw.js +13 -0
- package/dist/chunk-95t14jaw.js.map +222 -0
- package/dist/{chunk-kz39hphm.js → chunk-97rcmaps.js} +3 -3
- package/dist/{chunk-kz39hphm.js.map → chunk-97rcmaps.js.map} +1 -1
- package/dist/{chunk-c22vcxty.js → chunk-9agd5hjw.js} +2 -2
- package/dist/{chunk-c22vcxty.js.map → chunk-9agd5hjw.js.map} +2 -2
- package/dist/chunk-9wrbnr38.js +4 -0
- package/dist/{chunk-c0wcsmpj.js.map → chunk-9wrbnr38.js.map} +2 -2
- package/dist/{chunk-sqp7kn7h.js → chunk-a1h4paj1.js} +3 -3
- package/dist/{chunk-sqp7kn7h.js.map → chunk-a1h4paj1.js.map} +1 -1
- package/dist/{chunk-r06rxn19.js → chunk-b5mc1st9.js} +2 -2
- package/dist/{chunk-r06rxn19.js.map → chunk-b5mc1st9.js.map} +1 -1
- package/dist/chunk-c6qxw3v9.js +5 -0
- package/dist/{chunk-f13f68c0.js.map → chunk-c6qxw3v9.js.map} +2 -2
- package/dist/{chunk-113khwbw.js → chunk-cbqrkfjm.js} +2 -2
- package/dist/{chunk-113khwbw.js.map → chunk-cbqrkfjm.js.map} +1 -1
- package/dist/{chunk-jp4pf3yt.js → chunk-dngwctnt.js} +4 -4
- package/dist/{chunk-jp4pf3yt.js.map → chunk-dngwctnt.js.map} +2 -2
- package/dist/{chunk-f418jh9k.js → chunk-ejrcyzx8.js} +2 -2
- package/dist/{chunk-f418jh9k.js.map → chunk-ejrcyzx8.js.map} +1 -1
- package/dist/chunk-h3b0v3bz.js +4 -0
- package/dist/{chunk-4qkzdyj7.js.map → chunk-h3b0v3bz.js.map} +1 -1
- package/dist/{chunk-jb022m7n.js → chunk-hg9y6ctt.js} +2 -2
- package/dist/{chunk-jb022m7n.js.map → chunk-hg9y6ctt.js.map} +1 -1
- package/dist/chunk-j15ewww3.js +5 -0
- package/dist/{chunk-2pt6kyn9.js.map → chunk-j15ewww3.js.map} +2 -2
- package/dist/{chunk-zckj6bs6.js → chunk-j3tzdcz7.js} +3 -3
- package/dist/{chunk-zckj6bs6.js.map → chunk-j3tzdcz7.js.map} +1 -1
- package/dist/chunk-jq46m17j.js +5 -0
- package/dist/{chunk-efsk1wy0.js.map → chunk-jq46m17j.js.map} +2 -2
- package/dist/{chunk-pgjk5ft3.js → chunk-k5jvafmh.js} +1 -1
- package/dist/chunk-kckva77b.js +5 -0
- package/dist/{chunk-dxw8k6f1.js.map → chunk-kckva77b.js.map} +2 -2
- package/dist/{chunk-cz3szqhq.js → chunk-ke6tsnx1.js} +2 -2
- package/dist/{chunk-cz3szqhq.js.map → chunk-ke6tsnx1.js.map} +1 -1
- package/dist/{chunk-qq2yhtpp.js → chunk-kz5zcw6s.js} +2 -2
- package/dist/{chunk-qq2yhtpp.js.map → chunk-kz5zcw6s.js.map} +2 -2
- package/dist/{chunk-h7mcwfg5.js → chunk-nakfv7pa.js} +4 -4
- package/dist/{chunk-h7mcwfg5.js.map → chunk-nakfv7pa.js.map} +2 -2
- package/dist/chunk-nph4mm6k.js +4 -0
- package/dist/{chunk-jb2nst6v.js.map → chunk-nph4mm6k.js.map} +2 -2
- package/dist/{chunk-dwx2y7br.js → chunk-r07s2p1z.js} +4 -4
- package/dist/{chunk-dwx2y7br.js.map → chunk-r07s2p1z.js.map} +2 -2
- package/dist/chunk-teyphwr0.js +5 -0
- package/dist/{chunk-6rhebm18.js.map → chunk-teyphwr0.js.map} +2 -2
- package/dist/{chunk-agabw2w1.js → chunk-tkdxv6cq.js} +2 -2
- package/dist/{chunk-agabw2w1.js.map → chunk-tkdxv6cq.js.map} +1 -1
- package/dist/chunk-v094r7tz.js +6 -0
- package/dist/{chunk-05edp1zf.js.map → chunk-v094r7tz.js.map} +2 -2
- package/dist/{chunk-3xa807p3.js → chunk-v0t5dejz.js} +2 -2
- package/dist/{chunk-3xa807p3.js.map → chunk-v0t5dejz.js.map} +1 -1
- package/dist/{chunk-f4e7fh95.js → chunk-v7y8zm61.js} +3 -3
- package/dist/{chunk-f4e7fh95.js.map → chunk-v7y8zm61.js.map} +2 -2
- package/dist/{chunk-kv2ep453.js → chunk-vj1vt6qs.js} +18 -19
- package/dist/{chunk-kv2ep453.js.map → chunk-vj1vt6qs.js.map} +4 -8
- package/dist/{chunk-71m47kad.js → chunk-wxepr09t.js} +2 -2
- package/dist/{chunk-71m47kad.js.map → chunk-wxepr09t.js.map} +2 -2
- package/dist/{chunk-efp54183.js → chunk-x1g40y59.js} +1 -1
- package/dist/chunk-x5w7es67.js +4 -0
- package/dist/{chunk-s6e7cvek.js.map → chunk-x5w7es67.js.map} +2 -2
- package/dist/chunk-x67dm5ef.js +5 -0
- package/dist/{chunk-jdgvdddd.js.map → chunk-x67dm5ef.js.map} +2 -2
- package/dist/{chunk-fcqc3e3r.js → chunk-xnytbrda.js} +2 -2
- package/dist/{chunk-fcqc3e3r.js.map → chunk-xnytbrda.js.map} +1 -1
- package/dist/chunk-xska2hx3.js +4 -0
- package/dist/{chunk-hrrmxreg.js.map → chunk-xska2hx3.js.map} +2 -2
- package/dist/{chunk-ms8qd7da.js → chunk-yd6aqeyc.js} +2 -2
- package/dist/{chunk-ms8qd7da.js.map → chunk-yd6aqeyc.js.map} +1 -1
- package/dist/{chunk-bb3zvxsf.js → chunk-zacf5ph0.js} +2 -2
- package/dist/{chunk-bb3zvxsf.js.map → chunk-zacf5ph0.js.map} +1 -1
- package/dist/console/run.js +2 -2
- package/dist/console/run.js.map +1 -1
- package/dist/database/DatabaseManager.d.ts.map +1 -1
- package/dist/database/index.js +2 -2
- package/dist/database/index.js.map +1 -1
- package/dist/email/index.js +1 -1
- package/dist/facades/Storage.d.ts +1 -1
- package/dist/facades/Storage.d.ts.map +1 -1
- package/dist/facades/index.js +1 -1
- package/dist/i18n/dictionaryRuntime.js +2 -2
- package/dist/i18n/dictionaryRuntime.js.map +1 -1
- package/dist/i18n/index.js +2 -2
- package/dist/i18n/index.js.map +2 -2
- package/dist/kernel/index.js +2 -2
- package/dist/kernel/index.js.map +2 -2
- package/dist/orm/corpus.d.ts.map +1 -1
- package/dist/orm/dialect/index.d.ts +32 -1
- package/dist/orm/dialect/index.d.ts.map +1 -1
- package/dist/orm/dialect/postgres.d.ts +14 -0
- package/dist/orm/dialect/postgres.d.ts.map +1 -1
- package/dist/orm/dialect/sqlite.d.ts +31 -0
- package/dist/orm/dialect/sqlite.d.ts.map +1 -1
- package/dist/orm/index.js +3 -3
- package/dist/orm/index.js.map +3 -3
- package/dist/orm/types.d.ts +82 -38
- package/dist/orm/types.d.ts.map +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/index.js.map +2 -2
- package/dist/services/email/drivers/ResendDriver.d.ts.map +1 -1
- package/dist/services/file-storage/drivers/S3Driver.d.ts +24 -1
- package/dist/services/file-storage/drivers/S3Driver.d.ts.map +1 -1
- package/dist/services/image-optimization/drivers/SharpDriver.d.ts.map +1 -1
- package/dist/services/index.js +9 -18
- package/dist/services/index.js.map +5 -99
- package/dist/services/rate-limiter/drivers/RedisRateLimiterDriver.d.ts.map +1 -1
- package/dist/services/redis/RedisManager.d.ts +19 -2
- package/dist/services/redis/RedisManager.d.ts.map +1 -1
- package/dist/services/router/ViewRouteDispatcher.d.ts.map +1 -1
- package/dist/services/router/htmlInsertionPoint.d.ts +64 -0
- package/dist/services/router/htmlInsertionPoint.d.ts.map +1 -0
- package/dist/services/router/streamQueryInjection.d.ts +10 -0
- package/dist/services/router/streamQueryInjection.d.ts.map +1 -1
- package/dist/support/sharp.d.ts +21 -0
- package/dist/support/sharp.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-05edp1zf.js +0 -6
- package/dist/chunk-07t0dmdg.js +0 -4
- package/dist/chunk-1snh7yc4.js +0 -4
- package/dist/chunk-2pt6kyn9.js +0 -5
- package/dist/chunk-4qkzdyj7.js +0 -4
- package/dist/chunk-6rhebm18.js +0 -5
- package/dist/chunk-br8ten26.js +0 -4
- package/dist/chunk-c0wcsmpj.js +0 -4
- package/dist/chunk-dxw8k6f1.js +0 -5
- package/dist/chunk-efsk1wy0.js +0 -5
- package/dist/chunk-f13f68c0.js +0 -5
- package/dist/chunk-hk067634.js +0 -4
- package/dist/chunk-hrrmxreg.js +0 -4
- package/dist/chunk-jb2nst6v.js +0 -4
- package/dist/chunk-jdgvdddd.js +0 -5
- package/dist/chunk-k8endm5j.js +0 -9
- package/dist/chunk-n382ygnp.js +0 -81
- package/dist/chunk-r9z5rrk0.js +0 -4
- package/dist/chunk-s6e7cvek.js +0 -4
- /package/dist/{chunk-pgjk5ft3.js.map → chunk-k5jvafmh.js.map} +0 -0
- /package/dist/{chunk-efp54183.js.map → chunk-x1g40y59.js.map} +0 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{df as t0,ef as T0,hf as mq}from"./chunk-7f5ad759.js";var V6=T0((Jw,A6)=>{var C8=0,Z6=-3;function X1(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function lJ(J,K){this.source=J,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=K,this.destLen=0,this.ltree=new X1,this.dtree=new X1}var q6=new X1,H6=new X1,T8=new Uint8Array(30),P8=new Uint16Array(30),W6=new Uint8Array(30),z6=new Uint16Array(30),cJ=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Y6=new X1,W5=new Uint8Array(320);function w6(J,K,Y,Q){var X,Z;for(X=0;X<Y;++X)J[X]=0;for(X=0;X<30-Y;++X)J[X+Y]=X/Y|0;for(Z=Q,X=0;X<30;++X)K[X]=Z,Z+=1<<J[X]}function pJ(J,K){var Y;for(Y=0;Y<7;++Y)J.table[Y]=0;J.table[7]=24,J.table[8]=152,J.table[9]=112;for(Y=0;Y<24;++Y)J.trans[Y]=256+Y;for(Y=0;Y<144;++Y)J.trans[24+Y]=Y;for(Y=0;Y<8;++Y)J.trans[168+Y]=280+Y;for(Y=0;Y<112;++Y)J.trans[176+Y]=144+Y;for(Y=0;Y<5;++Y)K.table[Y]=0;K.table[5]=32;for(Y=0;Y<32;++Y)K.trans[Y]=Y}var Q6=new Uint16Array(16);function D8(J,K,Y,Q){var X,Z;for(X=0;X<16;++X)J.table[X]=0;for(X=0;X<Q;++X)J.table[K[Y+X]]++;J.table[0]=0;for(Z=0,X=0;X<16;++X)Q6[X]=Z,Z+=J.table[X];for(X=0;X<Q;++X)if(K[Y+X])J.trans[Q6[K[Y+X]]++]=X}function iJ(J){if(!J.bitcount--)J.tag=J.source[J.sourceIndex++],J.bitcount=7;var K=J.tag&1;return J.tag>>>=1,K}function z5(J,K,Y){if(!K)return Y;while(J.bitcount<24)J.tag|=J.source[J.sourceIndex++]<<J.bitcount,J.bitcount+=8;var Q=J.tag&65535>>>16-K;return J.tag>>>=K,J.bitcount-=K,Q+Y}function I8(J,K){while(J.bitcount<24)J.tag|=J.source[J.sourceIndex++]<<J.bitcount,J.bitcount+=8;var Y=0,Q=0,X=0,Z=J.tag;do Q=2*Q+(Z&1),Z>>>=1,++X,Y+=K.table[X],Q-=K.table[X];while(Q>=0);return J.tag=Z,J.bitcount-=X,K.trans[Y+Q]}function rJ(J,K,Y){var Q,X,Z,q,W,H;Q=z5(J,5,257),X=z5(J,5,1),Z=z5(J,4,4);for(q=0;q<19;++q)W5[q]=0;for(q=0;q<Z;++q){var z=z5(J,3,0);W5[cJ[q]]=z}D8(Y6,W5,0,19);for(W=0;W<Q+X;){var w=I8(J,Y6);switch(w){case 16:var A=W5[W-1];for(H=z5(J,2,3);H;--H)W5[W++]=A;break;case 17:for(H=z5(J,3,3);H;--H)W5[W++]=0;break;case 18:for(H=z5(J,7,11);H;--H)W5[W++]=0;break;default:W5[W++]=w;break}}D8(K,W5,0,Q),D8(Y,W5,Q,X)}function X6(J,K,Y){while(!0){var Q=I8(J,K);if(Q===256)return C8;if(Q<256)J.dest[J.destLen++]=Q;else{var X,Z,q,W;Q-=257,X=z5(J,T8[Q],P8[Q]),Z=I8(J,Y),q=J.destLen-z5(J,W6[Z],z6[Z]);for(W=q;W<q+X;++W)J.dest[J.destLen++]=J.dest[W]}}}function oJ(J){var K,Y,Q;while(J.bitcount>8)J.sourceIndex--,J.bitcount-=8;if(K=J.source[J.sourceIndex+1],K=256*K+J.source[J.sourceIndex],Y=J.source[J.sourceIndex+3],Y=256*Y+J.source[J.sourceIndex+2],K!==(~Y&65535))return Z6;J.sourceIndex+=4;for(Q=K;Q;--Q)J.dest[J.destLen++]=J.source[J.sourceIndex++];return J.bitcount=0,C8}function nJ(J,K){var Y=new lJ(J,K),Q,X,Z;do{switch(Q=iJ(Y),X=z5(Y,2,0),X){case 0:Z=oJ(Y);break;case 1:Z=X6(Y,q6,H6);break;case 2:rJ(Y,Y.ltree,Y.dtree),Z=X6(Y,Y.ltree,Y.dtree);break;default:Z=Z6}if(Z!==C8)throw Error("Data error")}while(!Q);if(Y.destLen<Y.dest.length)if(typeof Y.dest.slice==="function")return Y.dest.slice(0,Y.destLen);else return Y.dest.subarray(0,Y.destLen);return Y.dest}pJ(q6,H6);w6(T8,P8,4,3);w6(W6,z6,2,1);T8[28]=0;P8[28]=258;A6.exports=nJ});var B6=T0((Kw,$6)=>{var sJ=new Uint8Array(new Uint32Array([305419896]).buffer)[0]===18,U6=(J,K,Y)=>{let Q=J[K];J[K]=J[Y],J[Y]=Q},aJ=(J)=>{let K=J.length;for(let Y=0;Y<K;Y+=4)U6(J,Y,Y+3),U6(J,Y+1,Y+2)},tJ=(J)=>{if(sJ)aJ(J)};$6.exports={swap32LE:tJ}});var L6=T0((Yw,N6)=>{var G6=V6(),{swap32LE:eJ}=B6();class M6{constructor(J){let K=typeof J.readUInt32BE==="function"&&typeof J.slice==="function";if(K||J instanceof Uint8Array){let Y;if(K)this.highStart=J.readUInt32LE(0),this.errorValue=J.readUInt32LE(4),Y=J.readUInt32LE(8),J=J.slice(12);else{let Q=new DataView(J.buffer);this.highStart=Q.getUint32(0,!0),this.errorValue=Q.getUint32(4,!0),Y=Q.getUint32(8,!0),J=J.subarray(12)}J=G6(J,new Uint8Array(Y)),J=G6(J,new Uint8Array(Y)),eJ(J),this.data=new Uint32Array(J.buffer)}else({data:this.data,highStart:this.highStart,errorValue:this.errorValue}=J)}get(J){let K;if(J<0||J>1114111)return this.errorValue;if(J<55296||J>56319&&J<=65535)return K=(this.data[J>>5]<<2)+(J&31),this.data[K];if(J<=65535)return K=(this.data[2048+(J-55296>>5)]<<2)+(J&31),this.data[K];if(J<this.highStart)return K=this.data[2080+(J>>11)],K=this.data[K+(J>>5&63)],K=(K<<2)+(J&31),this.data[K];return this.data[this.data.length-4]}}N6.exports=M6});var O6=T0((y1)=>{var J2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(J){var K=typeof Uint8Array<"u"?Uint8Array:Array,Y=43,Q=47,X=48,Z=97,q=65,W=45,H=95;function z(V){var U=V.charCodeAt(0);if(U===Y||U===W)return 62;if(U===Q||U===H)return 63;if(U<X)return-1;if(U<X+10)return U-X+26+26;if(U<q+26)return U-q;if(U<Z+26)return U-Z+26}function w(V){var U,M,B,G,L,O;if(V.length%4>0)throw Error("Invalid string. Length must be a multiple of 4");var R=V.length;L=V.charAt(R-2)==="="?2:V.charAt(R-1)==="="?1:0,O=new K(V.length*3/4-L),B=L>0?V.length-4:V.length;var D=0;function F(j){O[D++]=j}for(U=0,M=0;U<B;U+=4,M+=3)G=z(V.charAt(U))<<18|z(V.charAt(U+1))<<12|z(V.charAt(U+2))<<6|z(V.charAt(U+3)),F((G&16711680)>>16),F((G&65280)>>8),F(G&255);if(L===2)G=z(V.charAt(U))<<2|z(V.charAt(U+1))>>4,F(G&255);else if(L===1)G=z(V.charAt(U))<<10|z(V.charAt(U+1))<<4|z(V.charAt(U+2))>>2,F(G>>8&255),F(G&255);return O}function A(V){var U,M=V.length%3,B="",G,L;function O(D){return J2.charAt(D)}function R(D){return O(D>>18&63)+O(D>>12&63)+O(D>>6&63)+O(D&63)}for(U=0,L=V.length-M;U<L;U+=3)G=(V[U]<<16)+(V[U+1]<<8)+V[U+2],B+=R(G);switch(M){case 1:G=V[V.length-1],B+=O(G>>2),B+=O(G<<4&63),B+="==";break;case 2:G=(V[V.length-2]<<8)+V[V.length-1],B+=O(G>>10),B+=O(G>>4&63),B+=O(G<<2&63),B+="=";break}return B}J.toByteArray=w,J.fromByteArray=A})(typeof y1>"u"?y1.base64js={}:y1)});var v6=T0((Zw,S6)=>{var k8=40,h8=41,g1=39,g8=34,x8=92,n5=47,b8=44,m8=58,x1=42,$2=117,B2=85,G2=43,M2=/^[a-f0-9?-]+$/i;S6.exports=function(J){var K=[],Y=J,Q,X,Z,q,W,H,z,w,A=0,V=Y.charCodeAt(A),U=Y.length,M=[{nodes:K}],B=0,G,L="",O="",R="";while(A<U)if(V<=32){Q=A;do Q+=1,V=Y.charCodeAt(Q);while(V<=32);if(q=Y.slice(A,Q),Z=K[K.length-1],V===h8&&B)R=q;else if(Z&&Z.type==="div")Z.after=q,Z.sourceEndIndex+=q.length;else if(V===b8||V===m8||V===n5&&Y.charCodeAt(Q+1)!==x1&&(!G||G&&G.type==="function"&&G.value!=="calc"))O=q;else K.push({type:"space",sourceIndex:A,sourceEndIndex:Q,value:q});A=Q}else if(V===g1||V===g8){Q=A,X=V===g1?"'":'"',q={type:"string",sourceIndex:A,quote:X};do if(W=!1,Q=Y.indexOf(X,Q+1),~Q){H=Q;while(Y.charCodeAt(H-1)===x8)H-=1,W=!W}else Y+=X,Q=Y.length-1,q.unclosed=!0;while(W);q.value=Y.slice(A+1,Q),q.sourceEndIndex=q.unclosed?Q:Q+1,K.push(q),A=Q+1,V=Y.charCodeAt(A)}else if(V===n5&&Y.charCodeAt(A+1)===x1){if(Q=Y.indexOf("*/",A),q={type:"comment",sourceIndex:A,sourceEndIndex:Q+2},Q===-1)q.unclosed=!0,Q=Y.length,q.sourceEndIndex=Q;q.value=Y.slice(A+2,Q),K.push(q),A=Q+2,V=Y.charCodeAt(A)}else if((V===n5||V===x1)&&G&&G.type==="function"&&G.value==="calc")q=Y[A],K.push({type:"word",sourceIndex:A-O.length,sourceEndIndex:A+q.length,value:q}),A+=1,V=Y.charCodeAt(A);else if(V===n5||V===b8||V===m8)q=Y[A],K.push({type:"div",sourceIndex:A-O.length,sourceEndIndex:A+q.length,value:q,before:O,after:""}),O="",A+=1,V=Y.charCodeAt(A);else if(k8===V){Q=A;do Q+=1,V=Y.charCodeAt(Q);while(V<=32);if(w=A,q={type:"function",sourceIndex:A-L.length,value:L,before:Y.slice(w+1,Q)},A=Q,L==="url"&&V!==g1&&V!==g8){Q-=1;do if(W=!1,Q=Y.indexOf(")",Q+1),~Q){H=Q;while(Y.charCodeAt(H-1)===x8)H-=1,W=!W}else Y+=")",Q=Y.length-1,q.unclosed=!0;while(W);z=Q;do z-=1,V=Y.charCodeAt(z);while(V<=32);if(w<z){if(A!==z+1)q.nodes=[{type:"word",sourceIndex:A,sourceEndIndex:z+1,value:Y.slice(A,z+1)}];else q.nodes=[];if(q.unclosed&&z+1!==Q)q.after="",q.nodes.push({type:"space",sourceIndex:z+1,sourceEndIndex:Q,value:Y.slice(z+1,Q)});else q.after=Y.slice(z+1,Q),q.sourceEndIndex=Q}else q.after="",q.nodes=[];A=Q+1,q.sourceEndIndex=q.unclosed?Q:A,V=Y.charCodeAt(A),K.push(q)}else B+=1,q.after="",q.sourceEndIndex=A+1,K.push(q),M.push(q),K=q.nodes=[],G=q;L=""}else if(h8===V&&B)A+=1,V=Y.charCodeAt(A),G.after=R,G.sourceEndIndex+=R.length,R="",B-=1,M[M.length-1].sourceEndIndex=A,M.pop(),G=M[B],K=G.nodes;else{Q=A;do{if(V===x8)Q+=1;Q+=1,V=Y.charCodeAt(Q)}while(Q<U&&!(V<=32||V===g1||V===g8||V===b8||V===m8||V===n5||V===k8||V===x1&&G&&G.type==="function"&&G.value==="calc"||V===n5&&G.type==="function"&&G.value==="calc"||V===h8&&B));if(q=Y.slice(A,Q),k8===V)L=q;else if(($2===q.charCodeAt(0)||B2===q.charCodeAt(0))&&G2===q.charCodeAt(1)&&M2.test(q.slice(2)))K.push({type:"unicode-range",sourceIndex:A,sourceEndIndex:Q,value:q});else K.push({type:"word",sourceIndex:A,sourceEndIndex:Q,value:q});A=Q}for(A=M.length-1;A;A-=1)M[A].unclosed=!0,M[A].sourceEndIndex=Y.length;return M[0].nodes}});var k6=T0((qw,y6)=>{y6.exports=function J(K,Y,Q){var X,Z,q,W;for(X=0,Z=K.length;X<Z;X+=1){if(q=K[X],!Q)W=Y(q,X,K);if(W!==!1&&q.type==="function"&&Array.isArray(q.nodes))J(q.nodes,Y,Q);if(Q)Y(q,X,K)}}});var b6=T0((Hw,x6)=>{function h6(J,K){var{type:Y,value:Q}=J,X,Z;if(K&&(Z=K(J))!==void 0)return Z;else if(Y==="word"||Y==="space")return Q;else if(Y==="string")return X=J.quote||"",X+Q+(J.unclosed?"":X);else if(Y==="comment")return"/*"+Q+(J.unclosed?"":"*/");else if(Y==="div")return(J.before||"")+Q+(J.after||"");else if(Array.isArray(J.nodes)){if(X=g6(J.nodes,K),Y!=="function")return X;return Q+"("+(J.before||"")+X+(J.after||"")+(J.unclosed?"":")")}return Q}function g6(J,K){var Y,Q;if(Array.isArray(J)){Y="";for(Q=J.length-1;~Q;Q-=1)Y=h6(J[Q],K)+Y;return Y}return h6(J,K)}x6.exports=g6});var f6=T0((Ww,m6)=>{var b1=45,m1=43,f8=46,N2=101,L2=69;function O2(J){var K=J.charCodeAt(0),Y;if(K===m1||K===b1){if(Y=J.charCodeAt(1),Y>=48&&Y<=57)return!0;var Q=J.charCodeAt(2);if(Y===f8&&Q>=48&&Q<=57)return!0;return!1}if(K===f8){if(Y=J.charCodeAt(1),Y>=48&&Y<=57)return!0;return!1}if(K>=48&&K<=57)return!0;return!1}m6.exports=function(J){var K=0,Y=J.length,Q,X,Z;if(Y===0||!O2(J))return!1;if(Q=J.charCodeAt(K),Q===m1||Q===b1)K++;while(K<Y){if(Q=J.charCodeAt(K),Q<48||Q>57)break;K+=1}if(Q=J.charCodeAt(K),X=J.charCodeAt(K+1),Q===f8&&X>=48&&X<=57){K+=2;while(K<Y){if(Q=J.charCodeAt(K),Q<48||Q>57)break;K+=1}}if(Q=J.charCodeAt(K),X=J.charCodeAt(K+1),Z=J.charCodeAt(K+2),(Q===N2||Q===L2)&&(X>=48&&X<=57||(X===m1||X===b1)&&Z>=48&&Z<=57)){K+=X===m1||X===b1?3:2;while(K<Y){if(Q=J.charCodeAt(K),Q<48||Q>57)break;K+=1}}return{number:J.slice(0,K),unit:J.slice(K)}}});var d8=T0((zw,l6)=>{var j2=v6(),d6=k6(),u6=b6();function _5(J){if(this instanceof _5)return this.nodes=j2(J),this;return new _5(J)}_5.prototype.toString=function(){return Array.isArray(this.nodes)?u6(this.nodes):""};_5.prototype.walk=function(J,K){return d6(this.nodes,J,K),this};_5.unit=f6();_5.walk=d6;_5.stringify=u6;l6.exports=_5});var i6=T0((ww,p6)=>{p6.exports=function(J){if(typeof J==="string")return c6(J);return u8(J)};function u8(J){if(!J||typeof J!=="object")return J;if(F2(J)||R2(J))return J;if(E2(J))return I2(J,u8);return C2(D2(J),function(K,Y){var Q=c6(Y);return K[Q]=u8(J[Y]),K},{})}function c6(J){return J.replace(/[_.-](\w|$)/g,function(K,Y){return Y.toUpperCase()})}var E2=Array.isArray||function(J){return Object.prototype.toString.call(J)==="[object Array]"},F2=function(J){return Object.prototype.toString.call(J)==="[object Date]"},R2=function(J){return Object.prototype.toString.call(J)==="[object RegExp]"},_2=Object.prototype.hasOwnProperty,D2=Object.keys||function(J){var K=[];for(var Y in J)if(_2.call(J,Y))K.push(Y);return K};function I2(J,K){if(J.map)return J.map(K);var Y=[];for(var Q=0;Q<J.length;Q++)Y.push(K(J[Q],Q));return Y}function C2(J,K,Y){if(J.reduce)return J.reduce(K,Y);for(var Q=0;Q<J.length;Q++)Y=K(Y,J[Q],Q);return Y}});var r6=T0((Aw,T2)=>{T2.exports={black:"#000000",silver:"#c0c0c0",gray:"#808080",white:"#ffffff",maroon:"#800000",red:"#ff0000",purple:"#800080",fuchsia:"#ff00ff",green:"#008000",lime:"#00ff00",olive:"#808000",yellow:"#ffff00",navy:"#000080",blue:"#0000ff",teal:"#008080",aqua:"#00ffff",orange:"#ffa500",aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",limegreen:"#32cd32",linen:"#faf0e6",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",oldlace:"#fdf5e6",olivedrab:"#6b8e23",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellowgreen:"#9acd32",rebeccapurple:"#663399"}});var d1=T0((q4)=>{Object.defineProperty(q4,"__esModule",{value:!0});function o8(J){return J&&typeof J==="object"&&"default"in J?J.default:J}var s6=d8(),P2=o8(s6),S2=o8(i6()),v2=o8(r6()),y2=function(K){if(K.type!=="string")return null;return K.value.replace(/\\([0-9a-f]{1,6})(?:\s|$)/gi,function(Y,Q){return String.fromCharCode(parseInt(Q,16))}).replace(/\\/g,"")},k2=/^(#(?:[0-9a-f]{3,4}){1,2})$/i,h2=/^(rgba?|hsla?|hwb|lab|lch|gray|color)$/,g2=function(K){if(K.type==="word"&&(k2.test(K.value)||(K.value in v2)||K.value==="transparent"))return K.value;else if(K.type==="function"&&h2.test(K.value))return s6.stringify(K);return null},x2=/^(none)$/i,b2=/^(auto)$/i,m2=/(^-?[_a-z][_a-z0-9-]*$)/i,f2=/^([+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?)$/i,d2=/^(0$|(?:[+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?)(?=px$))/i,u2=/^([+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?(ch|em|ex|rem|vh|vw|vmin|vmax|cm|mm|in|pc|pt))$/i,l2=/^([+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?(?:deg|rad))$/i,c2=/^([+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?%)$/i,n8=function(K){return function(Y){return K(Y)?"<token>":null}},p2=function(K){return function(Y){return Y.type===K?Y.value:null}},D0=function(K,Y){if(Y===void 0)Y=String;return function(Q){if(Q.type!=="word")return null;var X=Q.value.match(K);if(X===null)return null;var Z=Y(X[1]);return Z}},C0=n8(function(J){return J.type==="space"}),a6=n8(function(J){return J.type==="div"&&J.value==="/"}),i2=n8(function(J){return J.type==="div"&&J.value===","}),r2=p2("word"),s8=D0(x2),p8=D0(b2),a5=D0(f2,Number),f0=D0(d2,Number),G5=D0(u2),t6=D0(l2,function(J){return J.toLowerCase()}),a8=D0(c2),f1=D0(m2),o2=y2,q1=g2,i8=D0(/^(none|underline|line-through)$/i),n2=function(K){var Y=K.expect(a5);if(K.hasTokens())K.expect(a6),Y/=K.expect(a5);return{aspectRatio:Y}},s2=D0(/^(solid|dashed|dotted)$/),a2=1,t2="black",e2="solid",JK=function(K){var Y,Q,X;if(K.matches(s8))return K.expectEmpty(),{borderWidth:0,borderColor:"black",borderStyle:"solid"};var Z=0;while(Z<3&&K.hasTokens()){if(Z!==0)K.expect(C0);if(Y===void 0&&K.matches(f0,G5))Y=K.lastValue;else if(Q===void 0&&K.matches(q1))Q=K.lastValue;else if(X===void 0&&K.matches(s2))X=K.lastValue;else K.throw();Z+=1}if(K.expectEmpty(),Y===void 0)Y=a2;if(Q===void 0)Q=t2;if(X===void 0)X=e2;return{borderWidth:Y,borderColor:Q,borderStyle:X}},H1=function(K){var Y=K.types,Q=Y===void 0?[f0,G5,a8]:Y,X=K.directions,Z=X===void 0?["Top","Right","Bottom","Left"]:X,q=K.prefix,W=q===void 0?"":q,H=K.suffix,z=H===void 0?"":H;return function(w){var A,V=[];V.push(w.expect.apply(w,Q));while(V.length<4&&w.hasTokens())w.expect(C0),V.push(w.expect.apply(w,Q));w.expectEmpty();var U=V[0],M=V[1],B=M===void 0?U:M,G=V[2],L=G===void 0?U:G,O=V[3],R=O===void 0?B:O,D=function(j){return""+W+Z[j]+z};return A={},A[D(0)]=U,A[D(1)]=B,A[D(2)]=L,A[D(3)]=R,A}},e6=function(K){var Y=K.expect(f0),Q=K.matches(C0)?K.expect(f0):Y;return K.expectEmpty(),{width:Y,height:Q}},J4=function(K){var Y,Q,X,Z;if(K.matches(s8))return K.expectEmpty(),{offset:{width:0,height:0},radius:0,color:"black"};var q=!1;while(K.hasTokens()){if(q)K.expect(C0);if(Y===void 0&&K.matches(f0,G5))if(Y=K.lastValue,K.expect(C0),Q=K.expect(f0,G5),K.saveRewindPoint(),K.matches(C0)&&K.matches(f0,G5))X=K.lastValue;else K.rewind();else if(Z===void 0&&K.matches(q1))Z=K.lastValue;else K.throw();q=!0}if(Y===void 0)K.throw();return{offset:{width:Y,height:Q},radius:X!==void 0?X:0,color:Z!==void 0?Z:"black"}},KK=function(K){var Y=J4(K),Q=Y.offset,X=Y.radius,Z=Y.color;return{shadowOffset:Q,shadowRadius:X,shadowColor:Z,shadowOpacity:1}},YK=1,QK=1,XK=0,ZK=function(K){var Y,Q,X;if(K.matches(s8))return K.expectEmpty(),{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(K.saveRewindPoint(),K.matches(p8)&&!K.hasTokens())return{flexGrow:1,flexShrink:1,flexBasis:"auto"};K.rewind();var Z=0;while(Z<2&&K.hasTokens()){if(Z!==0)K.expect(C0);if(Y===void 0&&K.matches(a5))if(Y=K.lastValue,K.saveRewindPoint(),K.matches(C0)&&K.matches(a5))Q=K.lastValue;else K.rewind();else if(X===void 0&&K.matches(f0,G5,a8))X=K.lastValue;else if(X===void 0&&K.matches(p8))X="auto";else K.throw();Z+=1}if(K.expectEmpty(),Y===void 0)Y=YK;if(Q===void 0)Q=QK;if(X===void 0)X=XK;return{flexGrow:Y,flexShrink:Q,flexBasis:X}},qK=D0(/(nowrap|wrap|wrap-reverse)/),HK=D0(/(row|row-reverse|column|column-reverse)/),WK="nowrap",zK="row",wK=function(K){var Y,Q,X=0;while(X<2&&K.hasTokens()){if(X!==0)K.expect(C0);if(Y===void 0&&K.matches(qK))Y=K.lastValue;else if(Q===void 0&&K.matches(HK))Q=K.lastValue;else K.throw();X+=1}if(K.expectEmpty(),Y===void 0)Y=WK;if(Q===void 0)Q=zK;return{flexWrap:Y,flexDirection:Q}},K4=function(K){var Y;if(K.matches(o2))Y=K.lastValue;else{Y=K.expect(f1);while(K.hasTokens()){K.expect(C0);var Q=K.expect(f1);Y+=" "+Q}}return K.expectEmpty(),{fontFamily:Y}},AK=D0(/^(normal)$/),VK=D0(/^(italic)$/),UK=D0(/^([1-9]00|bold)$/),$K=D0(/^(small-caps)$/),BK="normal",GK="normal",MK=[],NK=function(K){var Y,Q,X,Z,q=0;while(q<3&&K.hasTokens()){if(K.matches(AK));else if(Y===void 0&&K.matches(VK))Y=K.lastValue;else if(Q===void 0&&K.matches(UK))Q=K.lastValue;else if(X===void 0&&K.matches($K))X=[K.lastValue];else break;K.expect(C0),q+=1}var W=K.expect(f0,G5);if(K.matches(a6))Z=K.expect(f0,G5);K.expect(C0);var H=K4(K),z=H.fontFamily;if(Y===void 0)Y=BK;if(Q===void 0)Q=GK;if(X===void 0)X=MK;var w={fontStyle:Y,fontWeight:Q,fontVariant:X,fontSize:W,fontFamily:z};if(Z!==void 0)w.lineHeight=Z;return w},LK=function(K){var Y=[K.expect(f1)];while(K.hasTokens())K.expect(C0),Y.push(K.expect(f1));return{fontVariant:Y}},OK=D0(/(flex-(?:start|end)|center|stretch|space-(?:between|around))/),jK=D0(/(flex-(?:start|end)|center|space-(?:between|around|evenly))/),EK=function(K){var Y=K.expect(OK),Q;if(K.hasTokens())K.expect(C0),Q=K.expect(jK);else Q="stretch";return K.expectEmpty(),{alignContent:Y,justifyContent:Q}},FK=D0(/^(solid|double|dotted|dashed)$/),RK="none",_K="solid",DK="black",IK=function(K){var Y,Q,X,Z=!1;while(K.hasTokens()){if(Z)K.expect(C0);if(Y===void 0&&K.matches(i8)){var q=[K.lastValue.toLowerCase()];if(K.saveRewindPoint(),q[0]!=="none"&&K.matches(C0)&&K.matches(i8))q.push(K.lastValue.toLowerCase()),q.sort().reverse();else K.rewind();Y=q.join(" ")}else if(Q===void 0&&K.matches(FK))Q=K.lastValue;else if(X===void 0&&K.matches(q1))X=K.lastValue;else K.throw();Z=!0}return{textDecorationLine:Y!==void 0?Y:RK,textDecorationColor:X!==void 0?X:DK,textDecorationStyle:Q!==void 0?Q:_K}},CK=function(K){var Y=[],Q=!1;while(K.hasTokens()){if(Q)K.expect(C0);Y.push(K.expect(i8).toLowerCase()),Q=!0}return Y.sort().reverse(),{textDecorationLine:Y.join(" ")}},TK=function(K){var Y=J4(K),Q=Y.offset,X=Y.radius,Z=Y.color;return{textShadowOffset:Q,textShadowRadius:X,textShadowColor:Z}},t8=function(K){return function(Y){var Q=Y.expect(K);return Y.expectEmpty(),Q}},l8=t8(a5),o6=t8(f0),s5=t8(t6),e8=function(K){return function(Y,Q){return function(X){var Z,q,W=X.expect(K),H;if(X.hasTokens())X.expect(i2),H=X.expect(K);else if(Q!==void 0)H=Q;else return W;return X.expectEmpty(),[(Z={},Z[Y+"Y"]=H,Z),(q={},q[Y+"X"]=W,q)]}}},PK=e8(a5),SK=e8(f0),vK=e8(t6),yK={perspective:l8,scale:PK("scale"),scaleX:l8,scaleY:l8,translate:SK("translate",0),translateX:o6,translateY:o6,rotate:s5,rotateX:s5,rotateY:s5,rotateZ:s5,skewX:s5,skewY:s5,skew:vK("skew","0deg")},kK=function(K){var Y=[],Q=!1;while(K.hasTokens()){if(Q)K.expect(C0);var X=K.expectFunction(),Z=X.functionName,q=yK[Z](X);if(!Array.isArray(q)){var W;q=[(W={},W[Z]=q,W)]}Y=q.concat(Y),Q=!0}return{transform:Y}},hK=function(K){return{backgroundColor:K.expect(q1)}},gK=H1({types:[q1],prefix:"border",suffix:"Color"}),xK=H1({directions:["TopLeft","TopRight","BottomRight","BottomLeft"],prefix:"border",suffix:"Radius"}),bK=H1({prefix:"border",suffix:"Width"}),mK=H1({types:[f0,G5,a8,p8],prefix:"margin"}),fK=H1({prefix:"padding"}),dK=function(K){return{fontWeight:K.expect(r2)}},uK=function(K){return{shadowOffset:e6(K)}},lK=function(K){return{textShadowOffset:e6(K)}},Y4={aspectRatio:n2,background:hK,border:JK,borderColor:gK,borderRadius:xK,borderWidth:bK,boxShadow:KK,flex:ZK,flexFlow:wK,font:NK,fontFamily:K4,fontVariant:LK,fontWeight:dK,margin:mK,padding:fK,placeContent:EK,shadowOffset:uK,textShadow:TK,textShadowOffset:lK,textDecoration:IK,textDecorationLine:CK,transform:kK},r8;if(Bun.env.NODE_ENV!=="production")r8=["aspectRatio","elevation","flexGrow","flexShrink","opacity","shadowOpacity","zIndex"];var cK=r8!=null?new RegExp(r8.join("|")):null,c8="SYMBOL_MATCH",pK=function(){function J(Y,Q){this.index=0,this.nodes=Y,this.functionName=Q!=null?Q.value:null,this.lastValue=null,this.rewindIndex=-1}var K=J.prototype;return K.hasTokens=function(){return this.index<=this.nodes.length-1},K[c8]=function(){if(!this.hasTokens())return null;var Y=this.nodes[this.index];for(var Q=0;Q<arguments.length;Q+=1){var X=Q<0||arguments.length<=Q?void 0:arguments[Q],Z=X(Y);if(Z!==null)return this.index+=1,this.lastValue=Z,Z}return null},K.matches=function(){return this[c8].apply(this,arguments)!==null},K.expect=function(){var Q=this[c8].apply(this,arguments);return Q!==null?Q:this.throw()},K.matchesFunction=function(){var Q=this.nodes[this.index];if(Q.type!=="function")return null;var X=new J(Q.nodes,Q);return this.index+=1,this.lastValue=null,X},K.expectFunction=function(){var Q=this.matchesFunction();return Q!==null?Q:this.throw()},K.expectEmpty=function(){if(this.hasTokens())this.throw()},K.throw=function(){throw Error("Unexpected token type: "+this.nodes[this.index].type)},K.saveRewindPoint=function(){this.rewindIndex=this.index},K.rewind=function(){if(this.rewindIndex===-1)throw Error("Internal error");this.index=this.rewindIndex,this.lastValue=null},J}(),iK=/^([+-]?(?:\d*\.)?\d+(?:e[+-]?\d+)?)(?:px)?$/i,rK=/^[+-]?(?:\d*\.\d*|[1-9]\d*)(?:e[+-]?\d+)?$/i,oK=/^true|false$/i,nK=/^null$/i,sK=/^undefined$/i,Q4=function(K,Y){if(Bun.env.NODE_ENV!=="production"){var Q=!cK.test(K),X=rK.test(Y);if(Q&&X)console.warn('Expected style "'+K+": "+Y+'" to contain units');if(!Q&&Y!=="0"&&!X)console.warn('Expected style "'+K+": "+Y+'" to be unitless')}var Z=Y.match(iK);if(Z!==null)return Number(Z[1]);var q=Y.match(oK);if(q!==null)return q[0].toLowerCase()==="true";var W=Y.match(nK);if(W!==null)return null;var H=Y.match(sK);if(H!==null)return;return Y},n6=function(K,Y){var Q=P2(Y),X=new pK(Q.nodes);return Y4[K](X)},aK=Bun.env.NODE_ENV==="production"?n6:function(J,K){try{return n6(J,K)}catch(Y){throw Error('Failed to parse declaration "'+J+": "+K+'"')}},X4=function(K,Y,Q){var X,Z=Q===!1||!(K in Y4),q=Y.trim(),W=Z?(X={},X[K]=Q4(K,q),X):aK(K,q);return W},Z4=function(K){var Y=/^--\w+/.test(K);if(Y)return K;return S2(K)},tK=function(K,Y){if(Y===void 0)Y=[];return K.reduce(function(Q,X){var Z=Z4(X[0]),q=X[1],W=Y.indexOf(Z)===-1;return Object.assign(Q,X4(Z,q,W))},{})};q4.default=tK;q4.getPropertyName=Z4;q4.getStylesForProperty=X4;q4.transformRawValue=Q4});var W4=T0((H4,u1)=>{/*!
|
|
3
|
+
* https://github.com/gilmoreorless/css-background-parser
|
|
4
|
+
* Copyright © 2015 Gilmore Davidson under the MIT license: http://gilmoreorless.mit-license.org/
|
|
5
|
+
*/(function(J){function K(q){if(!(this instanceof K))return new K;this.backgrounds=q||[]}K.prototype.toString=function(){return this.backgrounds.join(", ")};function Y(q){if(!(this instanceof Y))return new Y(q);q=q||{};var W=this;function H(z,w){W[z]=z in q?q[z]:w}H("color",""),H("image","none"),H("attachment","scroll"),H("clip","border-box"),H("origin","padding-box"),H("position","0% 0%"),H("repeat","repeat"),H("size","auto")}Y.prototype.toString=function(){var q=[this.image,this.repeat,this.attachment,this.position+" / "+this.size,this.origin,this.clip];if(this.color)q.unshift(this.color);return q.join(" ")},J.BackgroundList=K,J.Background=Y;function Q(q){var W=[],H=/[,\(\)]/,z=0,w="";if(q==null)return W;while(q.length){var A=H.exec(q);if(!A)break;var V=A[0],U=!1;switch(V){case",":if(!z)W.push(w.trim()),w="",U=!0;break;case"(":z++;break;case")":z--;break}var M=A.index+1;w+=q.slice(0,U?M-1:M),q=q.slice(M)}if(w.length||q.length)W.push((w+q).trim());return W}function X(q){return q.trim()}function Z(q){return(q||"").split(",").map(X)}J.parseElementStyle=function(q){var W=new K;if(q==null)return W;var H=Q(q.backgroundImage),z=q.backgroundColor,w=Z(q.backgroundAttachment),A=Z(q.backgroundClip),V=Z(q.backgroundOrigin),U=Z(q.backgroundPosition),M=Z(q.backgroundRepeat),B=Z(q.backgroundSize),G;for(var L=0,O=H.length;L<O;L++){if(G=new Y({image:H[L],attachment:w[L%w.length],clip:A[L%A.length],origin:V[L%V.length],position:U[L%U.length],repeat:M[L%M.length],size:B[L%B.length]}),L===O-1)G.color=z;W.backgrounds.push(G)}return W}})(function(J){if(typeof u1<"u"&&H4!==void 0)return H4;return J.cssBgParser={}}(H4))});var w4=T0((Uw,z4)=>{var QY=/,(?![^\(]*\))/,XY=/\s(?![^(]*\))/,ZY=/^[0-9]+[a-zA-Z%]+?$/,qY=(J)=>{let K=J.split(XY),Y=K.includes("inset"),Q=K.slice(-1)[0],X=!WY(Q)?Q:void 0,Z=K.filter((w)=>w!=="inset").filter((w)=>w!==X).map(zY),[q,W,H,z]=Z;return{inset:Y,offsetX:q,offsetY:W,blurRadius:H,spreadRadius:z,color:X}},HY=(J)=>{let{inset:K,offsetX:Y=0,offsetY:Q=0,blurRadius:X=0,spreadRadius:Z,color:q}=J||{};return[K?"inset":null,Y,Q,X,Z,q].filter((W)=>W!==null&&W!==void 0).map(wY).map((W)=>(""+W).trim()).join(" ")},WY=(J)=>J==="0"||ZY.test(J),zY=(J)=>{if(!/px$/.test(J)&&J!=="0")return J;let K=parseFloat(J);return!isNaN(K)?K:J},wY=(J)=>typeof J==="number"&&J!==0?J+"px":J,AY=(J)=>J.split(QY).map((K)=>K.trim()).map(qY),VY=(J)=>J.map(HY).join(", ");z4.exports={parse:AY,stringify:VY}});var V4=T0(($w,A4)=>{A4.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var $4=T0((Bw,U4)=>{var UY=new RegExp("[^#a-f\\d]","gi"),$Y=new RegExp("^#?[a-f\\d]{3}[a-f\\d]?$|^#?[a-f\\d]{6}([a-f\\d]{2})?$","i");U4.exports=(J,K={})=>{if(typeof J!=="string"||UY.test(J)||!$Y.test(J))throw TypeError("Expected a valid hex string");J=J.replace(/^#/,"");let Y=1;if(J.length===8)Y=Number.parseInt(J.slice(6,8),16)/255,J=J.slice(0,6);if(J.length===4)Y=Number.parseInt(J.slice(3,4).repeat(2),16)/255,J=J.slice(0,3);if(J.length===3)J=J[0]+J[0]+J[1]+J[1]+J[2]+J[2];let Q=Number.parseInt(J,16),X=Q>>16,Z=Q>>8&255,q=Q&255,W=typeof K.alpha==="number"?K.alpha:Y;if(K.format==="array")return[X,Z,q,W];if(K.format==="css"){let H=W===1?"":` / ${Number((W*100).toFixed(2))}%`;return`rgb(${X} ${Z} ${q}${H})`}return{red:X,green:Z,blue:q,alpha:W}}});var O4=T0((Mw,L4)=>{/*!
|
|
6
|
+
* escape-html
|
|
7
|
+
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
8
|
+
* Copyright(c) 2015 Andreas Lubbe
|
|
9
|
+
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
10
|
+
* MIT Licensed
|
|
11
|
+
*/var hY=/["'&<>]/;L4.exports=gY;function gY(J){var K=""+J,Y=hY.exec(K);if(!Y)return K;var Q,X="",Z=0,q=0;for(Z=Y.index;Z<K.length;Z++){switch(K.charCodeAt(Z)){case 34:Q=""";break;case 38:Q="&";break;case 39:Q="'";break;case 60:Q="<";break;case 62:Q=">";break;default:continue}if(q!==Z)X+=K.substring(q,Z);q=Z+1,X+=Q}return q!==Z?X+K.substring(q,Z):X}});var D6=t0(L6(),1),I6=t0(O6(),1),y8={};var K2=5;var j6=12,Y2=13;var Q2=16,X2=17;var Z2=22;var E6=28;var F6=31;var q2=33,k1=34,H2=35,S8=36,v8=37,C6=38,W2=39,z2=40,Z1=41,w2=42,$=0,N=1,q0=2,T6=3,E=4,A2=[[E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,T6,E,E,E,E,E,E,E,E,E,E,E],[$,E,E,N,N,E,E,E,E,N,N,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[$,E,E,N,N,E,E,E,E,N,N,N,N,N,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[E,E,E,N,N,N,E,E,E,N,N,N,N,N,N,N,N,N,N,N,E,q0,E,N,N,N,N,N,N,N,N,N,N],[N,E,E,N,N,N,E,E,E,N,N,N,N,N,N,N,N,N,N,N,E,q0,E,N,N,N,N,N,N,N,N,N,N],[$,E,E,N,N,N,E,E,E,$,$,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,$,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,$,N,$,N,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,$,N,N,N,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[N,E,E,N,N,N,E,E,E,$,$,N,N,N,N,N,N,N,$,$,E,q0,E,N,N,N,N,N,$,N,N,N,$],[N,E,E,N,N,N,E,E,E,$,$,N,N,N,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[N,E,E,N,N,N,E,E,E,N,N,N,N,N,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[N,E,E,N,N,N,E,E,E,N,N,N,N,N,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[N,E,E,N,N,N,E,E,E,N,N,N,N,N,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,N,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,$,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[$,E,E,N,$,N,E,E,E,$,$,N,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[$,E,E,N,$,N,E,E,E,$,$,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[N,E,E,N,N,N,E,E,E,N,N,N,N,N,N,N,N,N,N,N,E,q0,E,N,N,N,N,N,N,N,N,N,$],[$,E,E,N,N,N,E,E,E,$,$,$,$,$,$,N,N,N,$,E,E,q0,E,$,$,$,$,$,$,$,$,N,$],[$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,$,E,$,$,$,$,$,$,$,$,$,$,$,$],[N,E,E,N,N,N,E,E,E,N,N,N,N,N,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[N,E,E,N,N,N,E,E,E,N,N,N,N,N,N,N,N,N,N,N,E,q0,E,N,N,N,N,N,N,N,N,N,N],[$,E,E,N,N,N,E,E,E,$,N,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,N,N,$,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,N,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,N,$,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,N,$,$,$,$,N,N,N,$,$,E,q0,E,N,N,N,N,$,$,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,N,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,N,N,$,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,N,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,N,$,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,$,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,N,$,$,N,$],[$,E,E,N,N,N,E,E,E,$,N,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,N,N,$],[$,E,E,N,N,N,E,E,E,$,N,$,$,$,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[N,E,E,N,N,N,E,E,E,N,N,N,N,N,$,N,N,N,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$],[$,E,E,N,N,$,E,E,E,$,$,$,$,$,$,$,$,$,$,$,E,q0,E,$,$,$,$,$,$,$,$,N,$]],V2=I6.default.toByteArray("AAgOAAAAAAAQ4QAAAQ0P8vDtnQuMXUUZx+eyu7d7797d9m5bHoWltKVUlsjLWE0VJNigQoMVqkStEoNQQUl5GIo1KKmogEgqkKbBRki72lYabZMGKoGAjQRtJJDaCCIRiiigREBQS3z+xzOTnZ3O+3HOhd5NfpkzZx7fN9988zivu2M9hGwB28F94DnwEngd/Asc1EtIs9c/bIPDwCxwLDgezHcodyo4w5C+CCwBS8FnwSXgCnA1uFbI93XwbXAbWAfWgx+CzWAb+An4KfgFeAzsYWWfYuFz4CXwGvgb+Dfo6yNkEEwGh4CZYB44FpwI3g1OY+kfBItZOo2fB84Hy8DF4HJwNbiWpV8PVoO1LH4n2NRXyN+KcAd4kNVP9XsY4aPgcfAbsBfs6SniL4K/sPjfEf6HlanXCRkCw2BGvUh/keWfXS/CY+pFXs7x9XHmM94LTmWIeU2cgbxnS/k/B3kf86jDhU8L9V2E40vAFWAlWFUfb++NOL4F3C7JX4/4GiE+hvgWsF0oS7mXldspnN+F493gyXrh9xTav0cg3EvzgVfBG6wsmVSEkxBOBgdPGpd7JI6PnqRvJ68/xlbHof53gPeA94OzwLngk+ACsAwsByvASrAK3MB0Ws3CtQjvBJvAVrADPMDSHkb4CNijaccTwvnf4fiPEs8Lxy+D18A/QU8/xjgYBjPAbDAKTgYLwOngTHAO+EQ/8wuEF4EvsPiVCFf2+9tsFStzA8LVHuXXBsi6QyqzUYiPMR/7Mc7dAx7oL8bzw/3u/Bw8Bp4Az4AXwCtgHzsmDXP5fiF9iiVvly5d0sHngar16NKlS5cuXbp06fLmYlqHXrcd3ph4P0THUY3iXh49novju4S0tzfs5d+JPKewfAsRntZb3K9ZhOMlrO6lCC8An28U9+OuovcPcPxlVu5rCL/VmHh/iHIrzn3fIPu7SN8Axmg+8AOwEWwCm7tp3bRuWjetm5Y8bSu4B9zbKO6ZVsnORrVU3f4uXTqZ2H3sLoyx3eDXjfDndE9qyj6L838CfwVvgFpzYnof4oNgOhgBc8Fos9DrZIQLmtXPP1MmF6wGj4H+KXoWguvADkXaPil+YpuQy8Am8Ey7ODdtmJDF4HowBp4De6HDTNjhfHAHeBr0DBBy0kDxfPbcgSIusgrcWhtnJ8vL+TPix7UIOQtcBq4C28Cr4KRBnANbwSuDE+s50JgyNNFuXbp06XIgsXjIvPafjvXozKY+fVFz/z0LT1uCtKVSWbrOLWPnztG8e0Xfy7ol8XtZJi7WtG+5od2UFXQ/A12vUeS7jp27yVKHjdsU9lXB869TyNvAzt0lpP2oWbwLdjiO78bx/Sz+EMJHwK9Y/LcIfw+eZ3F67/Hl5vh9xX80J+rwX8SvRDhpgL17iPAQMHNArfPrqHPewLheI+AERV6efwV418B4nOZ/H+IfYHV8GOF5LJ3eAz0fx8sM9S0fUNud39O9CulfGZhY5huI3wzWgNvBelbHZoTbNPVpfYjKQpkHwUNgl0LWblbnk0LbbDxr0OMFpL3iqWdu9nWYPlVAWkXY39LnGdCkDbeqv1YNbfcMQ3t9oe8lzm6NH9N1ZB6Ln4BwfkJZJk7RyFnYKt6b/JDQXx9p5X+eFdqOjzM9P9MB/lUlFzr20aXIdzlY4dmn9F3YqtvoO76/2hp/D/xA5Zue88nNyL8GbFbs075X0tyUig3Qd2MCnf//HjnzpbsR3g9+1kHzzVjdnE71/qVBX9rGPUh/ysNWe1neFzvIDi5zAufV1sT0N0poR22wkFUfTOPfA4N2mbZ5fSrqOHSw+IbkSBbOGSzSRgf91/GTUWYBOB2cIZQ/G8cfBZ8CFwrnL8XxF8FKcA24jqXdiPA7Qr61OF7H4mMItwzuv2/YLth1ISt3Hzu3k4W7EH5JqPdRHD/O4k+z8A8IX5Lq3y7Z4nXE9xn6kX6vQ4bKfy+ok+hH+xf3hq9dnTTHhjKd2GmDuWA242iHMq4cC7A8kJ7i8o1+skSa7Jieo38HCWnoNjKFhdSFBxzpZ7QE6lI8N4S14aASZcryaV/WWHw66f6NHuCoxuQxmvM56GX9QMd8Q4D65ywGP+ZzRJuM+zQvx/MOS2VFeqQ4IXnH26zM9Xe6/E6D+4foAzzuajPZp8Qyw5ayZVDWuH0z0BtYRkeIDqH9KO9VbH1btd/lhNqCzvl8zeLnG0S/hnU6baHfpiuO6yy0rd+DHURo/zYF5H26j03rQsip2ndzz82u1z9N4VjWKWeb68Tedpt95HRVXp7H1R6p+/Wt4FPy/PpWwscOLRJ+PVWF/+W0iVyGzs18TIvXkOJ1Wxm66vSXz+vylenrZcj1ub439W+K8RNCGTJi2p/TJ1K23VaXr35tRpnzmjxequgfcfyk6B/TGBVlyedsNgpdd/h+W1U3P99QyFPNo1X3TwpM/WLTIWYfoBqXrv6iskHZ/RFr79R6hIyHBrH3f1nrUVnjP8SnZZ+rYtzr9Exld5MNbPNErusAPg+77u/eDOPftU9yj39TH7rezxd1LvsZQJlzkWlOirG/79zjMj/mtHUKu7vKy+3/LnXr9okyKedjX5/0He9iP/j63LwOQdarEVlfy8OO/Lqw023j6xcqmwxLiOd6heM2i9cV9LJy8jMJ23yQ+rpbfu7EQ/pXE8KYvUSqvVnb4XzZa6LrHMXHR+zcLvqWbm/Bn0/HzIs6fWPHoat8XfnDKmZGxRxeMbn2UqZ5Q94nmcZRbqqUXbZ8+lcjE+cPX11t814orvvAXNcG8vqj2vvk1MGn3anlj0bIT72v47bvE+Lc98T9b6r7AKn6j+8Duf7D0nnZx/j7Zjn0j9nbpSTndaLr9WNLivP+iN23xF7L+fqv6ZouFyb78jxVXvv5jJ9YUs9/sddO8h7KNg5jrhfaJGztT6G7KF+1d6yCmD5Kdb2fan60rSc552fZr3zeQ9DpnPp+Si5cx5Ktv2QfSzF/mMbWdOm46rFI4XstnU9xeqX4NKb7TKEdcr6pZOK3ID1k/LvFHkVczEuZLEDr499YqvqBym1aEHWgcvoYOtv0M91qQl5TfpO/in6rWx8OVpT1Wedkv3f5xom3T/xeR/6Gx6V86PWAOB4bBpqWdN+yTcVxjIyGRz/FrDGu6w/3d7kPm8StX8RyPu+uuvpNju/vTLJV37GpvoM0oZPnW87VLnL/5pDno1NoW1R6yedU6TyUv3u19a3KFnIbTLYz+ZCLP4T0tU1uivFgso0pnsJ/UtXvarNY28Xq5cvkBDrQP/E5ZaiuQwwfmTlsOiQRU1fMuqrDd/3ISSuwjOwXOfTyGUMpZIXq4GpLn3pUcdfzch2x7XO1u2uZHOPb1G6b3Xg9PH1IIWeEpJlPQtqos2EKW8b0u8rnuP1UeVLoXJb9be0uG9nnbchjU+XTszT5VeNBThPHnc5OKj1U9aj0GTHIVaGy1YhEWT4ixns00DT+XEzWn/7VAsIc63Cov3OdyhwjrnaqQqZvWKXdypRdlq+k8msZ031U+Rm4fA+3TtyeR9hwfW9G9yxDN0fZMN33F+9TE6md4hwoxumfaUzI9fN3PFT3xVV2msrQ3UsnChm6Nulk8TndpS28D3zX9tTIPsF/z7Am5OkTjm1tI1JZW74+4VgsZ0N3L1yXV3WeP5uR7TGHHdvC3JQlxybfpd22tDlk/2eofRK8TzrN/qnar/K/OUTth6I/+jAnEptNbPvFHP2gs40N3+dfMWtwqvVct7/wfd8gtQ7imifial9ZJ9/3IHLYU6eDj3+4PhsNhX+vwvcWLnu6kGfEMe8DuciPfUfGZB8X/7HJy/Gefe5n+VRGFd/wyP2ta7/LO4yh/sbLV/k9lev6kfO9Dt/5U67b1/6u/epqB1U9Me23jfHY9sscAg4tkbLl+e4/U36rJ9ddxfd6sg5vq5ice42Wpk/pb9FOJ36/W9tpv4kbC79nUbZceX8Zu6/qJ+P3WvhvA8v3reh7Jbn2d6rrNC7XNZTLma4Ba0JI9efX2uLzF5scG/w9UNU1ZxW+ymUfzELeTllXlQ1rUuhzjS5fp9c964iFBOqeSz63bU065nZKdU+mDEz3qHIjjifquw0pnb/raRtvrnsYcb46ihT3taoYz6brdNW9l6rWRnE/navdPn1XlR1km7hcz1WlH/elKuSOSvLLuE8U6m8uzwRdfcGl73VyTHuyMvzJ1Sa2cWDTP/Z63Kc94n2B1PYr24dz1JlyHLlcP+S4B6vD1c9EW4q2LWstCvUjeVy63k/LMYdUNd5D1xQfvVTzX1VjkMsUv88N8VH5fReVn/Fjn++/h6X6Q8a6b1/q3g/i/ewi0/Scs8zxXeV6mWIOUPlPzBgdFerW+bZrm2P18dnjuK6HunEp+rHvPMXbr+sHVb/lnL+pTP57jPw9Cvk3PW178JD9qChfzuvTf7Htl38L1QUf/VKu9SFjwWbTWPvFEvu7Uq76y7+31g6QlYPc669pbsm9Xur2LWI9Pu8ypfDXqm3A2z8s1FWGn4ntL9NfQu2oSlftX9uetvTtv7J8Ql4zxfXGZ3zk8PeQ9w59x2uMfqI8/q5eKh/l9cb2rwsu9rSNl06ZP2Pmxtz+rNMx93yno0n2/82rVH7rQ+y9P15H6FyRun9ViH81ATmffI7nJ5r8uXXW6enbP6b/B8/l5OifVHYLnb9S39s2zcc+Ph+rh8+eQgVPS72elzGWY/tUtbbabBpDiI7yN1q6/4th2y+ErAc5+9BVvu/7KamJbWNZeuqI/R4tRf+YyD1HmOZM1bMV3/14Sn10c0Xu+Sj1nOXb5jL73ncdy02uvlXZNde65dOHYl7Vs4KYuS6FzWLn2zJlpZqPXPVPOa5yzKOyn1VhT9lmMfdbfH7D11Wf2PXN5h9y+dD287+qxgSnaYmnIrRtIb8pJe6/Uv9OVer6Whn0zfGO/BEloZI9ojmfAlUflClDd178bTmVHVTpZXOkAlk/lb42UujmI89HH5V+cl7XtowY6vTxLVWok6UrGzoGTHN+bB+6ri05687VNpvfuvRfaP2uMlNQth1D5JjGelm/8yn+9p3p/7qk9gnfeddXZmq/Sm333PJT659Kv1zjNbZ9uv2Oi//67CV8/N1nj1DmviyXDNVeJkaeaX8UsyesYg8cu2+NvdaPfb+lLDu5tvt/"),U2=new D6.default(V2),R6=function(J){switch(J){case q2:return j6;case W2:case z2:case w2:return j6;case H2:return K2;default:return J}},_6=function(J){switch(J){case v8:case C6:return k1;case Z1:return Z2;default:return J}};class h1{constructor(J,K=!1){this.position=J,this.required=K}}class P6{nextCodePoint(){let J=this.string.charCodeAt(this.pos++),K=this.string.charCodeAt(this.pos);if(55296<=J&&J<=56319&&56320<=K&&K<=57343)return this.pos++,(J-55296)*1024+(K-56320)+65536;return J}nextCharClass(){return R6(U2.get(this.nextCodePoint()))}getSimpleBreak(){switch(this.nextClass){case Z1:return!1;case k1:case v8:case C6:return this.curClass=k1,!1;case S8:return this.curClass=S8,!1}return null}getPairTableBreak(J){let K=!1;switch(A2[this.curClass][this.nextClass]){case $:K=!0;break;case N:K=J===Z1;break;case q0:if(K=J===Z1,!K)return K=!1,K;break;case T6:if(J!==Z1)return K;break;case E:break}if(this.LB8a)K=!1;if(this.LB21a&&(this.curClass===Q2||this.curClass===X2))K=!1,this.LB21a=!1;else this.LB21a=this.curClass===Y2;if(this.curClass===E6){if(this.LB30a++,this.LB30a==2&&this.nextClass===E6)K=!0,this.LB30a=0}else this.LB30a=0;return this.curClass=this.nextClass,K}nextBreak(){if(this.curClass==null){let J=this.nextCharClass();this.curClass=_6(J),this.nextClass=J,this.LB8a=J===F6,this.LB30a=0}while(this.pos<this.string.length){this.lastPos=this.pos;let J=this.nextClass;if(this.nextClass=this.nextCharClass(),this.curClass===k1||this.curClass===S8&&this.nextClass!==v8)return this.curClass=_6(R6(this.nextClass)),new h1(this.lastPos,!0);let K=this.getSimpleBreak();if(K===null)K=this.getPairTableBreak(J);if(this.LB8a=this.nextClass===F6,K)return new h1(this.lastPos)}if(this.lastPos<this.string.length)return this.lastPos=this.string.length,new h1(this.string.length);return null}constructor(J){this.string=J,this.pos=0,this.lastPos=0,this.curClass=null,this.nextClass=null,this.LB8a=!1,this.LB21a=!1,this.LB30a=0}}y8=P6;var Z5=t0(d1(),1),CJ=t0(W4(),1),TJ=t0(w4(),1);var G4=t0(V4(),1),M4=t0($4(),1),BY=/^#([a-f0-9]{3,4}|[a-f0-9]{4}(?:[a-f0-9]{2}){1,2})\b$/,GY=new RegExp(BY,"i"),J9="-?\\d*(?:\\.\\d+)",t5=`(${J9}?)`,w5=`(${J9}?%)`,e5=`(${J9}?%?)`,MY=`^
|
|
12
|
+
hsla?\\(
|
|
13
|
+
\\s*(-?\\d*(?:\\.\\d+)?(?:deg|rad|turn)?)\\s*,
|
|
14
|
+
\\s*${w5}\\s*,
|
|
15
|
+
\\s*${w5}\\s*
|
|
16
|
+
(?:,\\s*${e5}\\s*)?
|
|
17
|
+
\\)
|
|
18
|
+
$
|
|
19
|
+
`.replace(/\n|\s/g,""),NY=new RegExp(MY),LY=`^
|
|
20
|
+
hsla?\\(
|
|
21
|
+
\\s*(-?\\d*(?:\\.\\d+)?(?:deg|rad|turn)?)\\s*
|
|
22
|
+
\\s+${w5}
|
|
23
|
+
\\s+${w5}
|
|
24
|
+
\\s*(?:\\s*\\/\\s*${e5}\\s*)?
|
|
25
|
+
\\)
|
|
26
|
+
$
|
|
27
|
+
`.replace(/\n|\s/g,""),OY=new RegExp(LY),jY=`^
|
|
28
|
+
rgba?\\(
|
|
29
|
+
\\s*${t5}\\s*,
|
|
30
|
+
\\s*${t5}\\s*,
|
|
31
|
+
\\s*${t5}\\s*
|
|
32
|
+
(?:,\\s*${e5}\\s*)?
|
|
33
|
+
\\)
|
|
34
|
+
$
|
|
35
|
+
`.replace(/\n|\s/g,""),EY=new RegExp(jY),FY=`^
|
|
36
|
+
rgba?\\(
|
|
37
|
+
\\s*${w5}\\s*,
|
|
38
|
+
\\s*${w5}\\s*,
|
|
39
|
+
\\s*${w5}\\s*
|
|
40
|
+
(?:,\\s*${e5}\\s*)?
|
|
41
|
+
\\)
|
|
42
|
+
$
|
|
43
|
+
`.replace(/\n|\s/g,""),RY=new RegExp(FY),_Y=`^
|
|
44
|
+
rgba?\\(
|
|
45
|
+
\\s*${t5}
|
|
46
|
+
\\s+${t5}
|
|
47
|
+
\\s+${t5}
|
|
48
|
+
\\s*(?:\\s*\\/\\s*${e5}\\s*)?
|
|
49
|
+
\\)
|
|
50
|
+
$
|
|
51
|
+
`.replace(/\n|\s/g,""),DY=new RegExp(_Y),IY=`^
|
|
52
|
+
rgba?\\(
|
|
53
|
+
\\s*${w5}
|
|
54
|
+
\\s+${w5}
|
|
55
|
+
\\s+${w5}
|
|
56
|
+
\\s*(?:\\s*\\/\\s*${e5}\\s*)?
|
|
57
|
+
\\)
|
|
58
|
+
$
|
|
59
|
+
`.replace(/\n|\s/g,""),CY=new RegExp(IY),TY=/^transparent$/,PY=new RegExp(TY,"i"),K9=(J,K,Y)=>Math.min(Math.max(K,J),Y),SY=(J)=>{let K=J;if(typeof K!=="number")K=K.endsWith("%")?parseFloat(K)*255/100:parseFloat(K);return K9(Math.round(K),0,255)},B4=(J)=>K9(parseFloat(J),0,100);function N4(J){let K=J;if(typeof K!=="number")K=K.endsWith("%")?parseFloat(K)/100:parseFloat(K);return K9(K,0,1)}function vY(J){let[K,Y,Q,X]=M4.default(J,{format:"array"});return l1([null,K,Y,Q,X])}function yY([,J,K,Y,Q=1]){let X=J;if(X.endsWith("turn"))X=parseFloat(X)*360/1;else if(X.endsWith("rad"))X=Math.round(parseFloat(X)*180/Math.PI);else X=parseFloat(X);return{type:"hsl",values:[X,B4(K),B4(Y)],alpha:N4(Q===null?1:Q)}}function l1([,J,K,Y,Q=1]){return{type:"rgb",values:[J,K,Y].map(SY),alpha:N4(Q===null?1:Q)}}var kY=(J)=>{if(typeof J!=="string")return null;let K=GY.exec(J);if(K)return vY(K[0]);let Y=OY.exec(J)||NY.exec(J);if(Y)return yY(Y);let Q=DY.exec(J)||CY.exec(J)||EY.exec(J)||RY.exec(J);if(Q)return l1(Q);if(PY.exec(J))return l1([null,0,0,0,0]);let X=G4.default[J.toLowerCase()];if(X)return l1([null,X[0],X[1],X[2],1]);return null},c1=kY;var PJ=t0(d8(),1),SJ=t0(d1(),1),h9=t0(O4(),1);function Q9(J,K=","){let Y=[],Q=0,X=0;K=new RegExp(K);for(let Z=0;Z<J.length;Z++)J[Z]==="("?X++:J[Z]===")"&&X--,X===0&&K.test(J[Z])&&(Y.push(J.slice(Q,Z).trim()),Q=Z+1);return Y.push(J.slice(Q).trim()),Y}function Y9(J){let K=[];for(let Y=0,Q=J.length;Y<Q;){let[X,Z]=Q9(J[Y],/\s+/);xY(J[Y+1])?(K.push({color:X,offset:b5(Z),hint:b5(J[Y+1])}),Y+=2):(K.push({color:X,offset:b5(Z)}),Y++)}return K}var F4=/^(-?\d+\.?\d*)(%|vw|vh|px|em|rem|deg|rad|grad|turn)$/;function xY(J){return F4.test(J)}function b5(J){if(!J)return;let[,K,Y]=J.trim().match(F4)||[];return{value:K,unit:Y}}function R4(J){if(!/^(repeating-)?linear-gradient/.test(J))throw SyntaxError(`could not find syntax for this item: ${J}`);let[,K,Y]=J.match(/(repeating-)?linear-gradient\((.+)\)/),Q={orientation:{type:"directional",value:"bottom"},repeating:!!K,stops:[]},X=Q9(Y),Z=bY(X[0]);return Z&&(Q.orientation=Z,X.shift()),{...Q,stops:Y9(X)}}function bY(J){return J.startsWith("to ")?{type:"directional",value:J.replace("to ","")}:["turn","deg","grad","rad"].some((K)=>J.endsWith(K))?{type:"angular",value:b5(J)}:null}var mY=new Set(["closest-corner","closest-side","farthest-corner","farthest-side"]),fY=new Set(["center","left","top","right","bottom"]);function j4(J){return mY.has(J)}function E4(J){return fY.has(J)}function dY(J){let K=Array(2).fill("");for(let Y=0;Y<2;Y++)J[Y]?K[Y]=J[Y]:K[Y]="center";return K}function _4(J){if(!/(repeating-)?radial-gradient/.test(J))throw SyntaxError(`could not find syntax for this item: ${J}`);let[,K,Y]=J.match(/(repeating-)?radial-gradient\((.+)\)/),Q={shape:"ellipse",repeating:!!K,size:[{type:"keyword",value:"farthest-corner"}],position:{x:{type:"keyword",value:"center"},y:{type:"keyword",value:"center"}},stops:[]},X=Q9(Y);if(uY(X[0]))return{...Q,stops:Y9(X)};let Z=X[0].split("at").map((z)=>z.trim()),q=((Z[0]||"").match(/(circle|ellipse)/)||[])[1],W=(Z[0]||"").match(/(-?\d+\.?\d*(vw|vh|px|em|rem|%|rad|grad|turn|deg)?|closest-corner|closest-side|farthest-corner|farthest-side)/g)||[],H=dY((Z[1]||"").split(" "));return q?Q.shape=q:W.length===1&&!j4(W[0])?Q.shape="circle":Q.shape="ellipse",W.length===0&&W.push("farthest-corner"),Q.size=W.map((z)=>j4(z)?{type:"keyword",value:z}:{type:"length",value:b5(z)}),Q.position.x=E4(H[0])?{type:"keyword",value:H[0]}:{type:"length",value:b5(H[0])},Q.position.y=E4(H[1])?{type:"keyword",value:H[1]}:{type:"length",value:b5(H[1])},(q||W.length>0||Z[1])&&X.shift(),{...Q,stops:Y9(X)}}function uY(J){return/(circle|ellipse|at)/.test(J)?!1:/^(rgba?|hwb|hsl|lab|lch|oklab|color|#|[a-zA-Z]+)/.test(J)}var g9=t0(d1(),1);var p0=Uint8Array,f5=Uint16Array,e4=Uint32Array,J7=new p0([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]),K7=new p0([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]),lY=new p0([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Y7=function(J,K){var Y=new f5(31);for(var Q=0;Q<31;++Q)Y[Q]=K+=1<<J[Q-1];var X=new e4(Y[30]);for(var Q=1;Q<30;++Q)for(var Z=Y[Q];Z<Y[Q+1];++Z)X[Z]=Z-Y[Q]<<5|Q;return[Y,X]},Q7=Y7(J7,2),X7=Q7[0],cY=Q7[1];X7[28]=258,cY[258]=28;var pY=Y7(K7,0),iY=pY[0],U9=new f5(32768);for(X0=0;X0<32768;++X0)A5=(X0&43690)>>>1|(X0&21845)<<1,A5=(A5&52428)>>>2|(A5&13107)<<2,A5=(A5&61680)>>>4|(A5&3855)<<4,U9[X0]=((A5&65280)>>>8|(A5&255)<<8)>>>1;var A5,X0,z1=function(J,K,Y){var Q=J.length,X=0,Z=new f5(K);for(;X<Q;++X)if(J[X])++Z[J[X]-1];var q=new f5(K);for(X=0;X<K;++X)q[X]=q[X-1]+Z[X-1]<<1;var W;if(Y){W=new f5(1<<K);var H=15-K;for(X=0;X<Q;++X)if(J[X]){var z=X<<4|J[X],w=K-J[X],A=q[J[X]-1]++<<w;for(var V=A|(1<<w)-1;A<=V;++A)W[U9[A]>>>H]=z}}else{W=new f5(Q);for(X=0;X<Q;++X)if(J[X])W[X]=U9[q[J[X]-1]++]>>>15-J[X]}return W},V1=new p0(288);for(X0=0;X0<144;++X0)V1[X0]=8;var X0;for(X0=144;X0<256;++X0)V1[X0]=9;var X0;for(X0=256;X0<280;++X0)V1[X0]=7;var X0;for(X0=280;X0<288;++X0)V1[X0]=8;var X0,Z7=new p0(32);for(X0=0;X0<32;++X0)Z7[X0]=5;var X0,rY=z1(V1,9,1),oY=z1(Z7,5,1),X9=function(J){var K=J[0];for(var Y=1;Y<J.length;++Y)if(J[Y]>K)K=J[Y];return K},e0=function(J,K,Y){var Q=K/8|0;return(J[Q]|J[Q+1]<<8)>>(K&7)&Y},Z9=function(J,K){var Y=K/8|0;return(J[Y]|J[Y+1]<<8|J[Y+2]<<16)>>(K&7)},nY=function(J){return(J+7)/8|0},sY=function(J,K,Y){if(K==null||K<0)K=0;if(Y==null||Y>J.length)Y=J.length;var Q=new(J.BYTES_PER_ELEMENT==2?f5:J.BYTES_PER_ELEMENT==4?e4:p0)(Y-K);return Q.set(J.subarray(K,Y)),Q},aY=["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"],C5=function(J,K,Y){var Q=Error(K||aY[J]);if(Q.code=J,Error.captureStackTrace)Error.captureStackTrace(Q,C5);if(!Y)throw Q;return Q},tY=function(J,K,Y){var Q=J.length;if(!Q||Y&&Y.f&&!Y.l)return K||new p0(0);var X=!K||Y,Z=!Y||Y.i;if(!Y)Y={};if(!K)K=new p0(Q*3);var q=function(h){var e=K.length;if(h>e){var Y0=new p0(Math.max(e*2,h));Y0.set(K),K=Y0}},W=Y.f||0,H=Y.p||0,z=Y.b||0,w=Y.l,A=Y.d,V=Y.m,U=Y.n,M=Q*8;do{if(!w){W=e0(J,H,1);var B=e0(J,H+1,3);if(H+=3,!B){var G=nY(H)+4,L=J[G-4]|J[G-3]<<8,O=G+L;if(O>Q){if(Z)C5(0);break}if(X)q(z+L);K.set(J.subarray(G,O),z),Y.b=z+=L,Y.p=H=O*8,Y.f=W;continue}else if(B==1)w=rY,A=oY,V=9,U=5;else if(B==2){var R=e0(J,H,31)+257,D=e0(J,H+10,15)+4,F=R+e0(J,H+5,31)+1;H+=14;var j=new p0(F),C=new p0(19);for(var _=0;_<D;++_)C[lY[_]]=e0(J,H+_*3,7);H+=D*3;var P=X9(C),g=(1<<P)-1,l=z1(C,P,1);for(var _=0;_<F;){var a=l[e0(J,H,g)];H+=a&15;var G=a>>>4;if(G<16)j[_++]=G;else{var r=0,T=0;if(G==16)T=3+e0(J,H,3),H+=2,r=j[_-1];else if(G==17)T=3+e0(J,H,7),H+=3;else if(G==18)T=11+e0(J,H,127),H+=7;while(T--)j[_++]=r}}var y=j.subarray(0,R),I=j.subarray(R);V=X9(y),U=X9(I),w=z1(y,V,1),A=z1(I,U,1)}else C5(1);if(H>M){if(Z)C5(0);break}}if(X)q(z+131072);var f=(1<<V)-1,u=(1<<U)-1,t=H;for(;;t=H){var r=w[Z9(J,H)&f],n=r>>>4;if(H+=r&15,H>M){if(Z)C5(0);break}if(!r)C5(2);if(n<256)K[z++]=n;else if(n==256){t=H,w=null;break}else{var m=n-254;if(n>264){var _=n-257,d=J7[_];m=e0(J,H,(1<<d)-1)+X7[_],H+=d}var v=A[Z9(J,H)&u],k=v>>>4;if(!v)C5(3);H+=v&15;var I=iY[k];if(k>3){var d=K7[k];I+=Z9(J,H)&(1<<d)-1,H+=d}if(H>M){if(Z)C5(0);break}if(X)q(z+131072);var i=z+m;for(;z<i;z+=4)K[z]=K[z-I],K[z+1]=K[z+1-I],K[z+2]=K[z+2-I],K[z+3]=K[z+3-I];z=i}}if(Y.l=w,Y.p=t,Y.b=z,Y.f=W,w)W=1,Y.m=V,Y.d=A,Y.n=U}while(!W);return z==K.length?K:sY(K,0,z)},eY=new p0(0);function JQ(J,K){return tY(J,K)}var KQ=typeof TextDecoder<"u"&&new TextDecoder,YQ=0;try{KQ.decode(eY,{stream:!0}),YQ=1}catch(J){}function v0(){this.commands=[],this.fill="black",this.stroke=null,this.strokeWidth=1}v0.prototype.moveTo=function(J,K){this.commands.push({type:"M",x:J,y:K})};v0.prototype.lineTo=function(J,K){this.commands.push({type:"L",x:J,y:K})};v0.prototype.curveTo=v0.prototype.bezierCurveTo=function(J,K,Y,Q,X,Z){this.commands.push({type:"C",x1:J,y1:K,x2:Y,y2:Q,x:X,y:Z})};v0.prototype.quadTo=v0.prototype.quadraticCurveTo=function(J,K,Y,Q){this.commands.push({type:"Q",x1:J,y1:K,x:Y,y:Q})};v0.prototype.close=v0.prototype.closePath=function(){this.commands.push({type:"Z"})};v0.prototype.extend=function(J){if(J.commands)J=J.commands;Array.prototype.push.apply(this.commands,J)};v0.prototype.toPathData=function(J){J=J!==void 0?J:2;function K(q){if(Math.round(q)===q)return""+Math.round(q);else return q.toFixed(J)}function Y(){var q=arguments,W="";for(var H=0;H<arguments.length;H+=1){var z=q[H];if(z>=0&&H>0)W+=" ";W+=K(z)}return W}var Q="";for(var X=0;X<this.commands.length;X+=1){var Z=this.commands[X];if(Z.type==="M")Q+="M"+Y(Z.x,Z.y);else if(Z.type==="L")Q+="L"+Y(Z.x,Z.y);else if(Z.type==="C")Q+="C"+Y(Z.x1,Z.y1,Z.x2,Z.y2,Z.x,Z.y);else if(Z.type==="Q")Q+="Q"+Y(Z.x1,Z.y1,Z.x,Z.y);else if(Z.type==="Z")Q+="Z"}return Q};var QQ=[".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"],XQ=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"],ZQ=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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"];function q7(J){this.font=J}q7.prototype.charToGlyphIndex=function(J){var K=J.codePointAt(0),Y=this.font.glyphs;if(Y)for(var Q=0;Q<Y.length;Q+=1){var X=Y.get(Q);for(var Z=0;Z<X.unicodes.length;Z+=1)if(X.unicodes[Z]===K)return Q}return null};function H7(J){this.cmap=J}H7.prototype.charToGlyphIndex=function(J){return this.cmap.glyphIndexMap[J.codePointAt(0)]||0};function o1(J,K){this.encoding=J,this.charset=K}o1.prototype.charToGlyphIndex=function(J){var K=J.codePointAt(0),Y=this.encoding[K];return this.charset.indexOf(Y)};function qQ(J){var K,Y=J.tables.cmap.glyphIndexMap,Q=Object.keys(Y);for(var X=0;X<Q.length;X+=1){var Z=Q[X],q=Y[Z];K=J.glyphs.get(q),K.addUnicode(parseInt(Z))}}function HQ(J){J._IndexToUnicodeMap={};var K=J.tables.cmap.glyphIndexMap,Y=Object.keys(K);for(var Q=0;Q<Y.length;Q+=1){var X=Y[Q],Z=K[X];if(J._IndexToUnicodeMap[Z]===void 0)J._IndexToUnicodeMap[Z]={unicodes:[parseInt(X)]};else J._IndexToUnicodeMap[Z].unicodes.push(parseInt(X))}}function WQ(J,K){if(K.lowMemory)HQ(J);else qQ(J)}function W7(J){throw Error(J)}function D4(J,K){if(!J)W7(K)}var W0={fail:W7,argument:D4,assert:D4};function zQ(J,K){var Y=K||new v0;return{configurable:!0,get:function(){if(typeof Y==="function")Y=Y();return Y},set:function(Q){Y=Q}}}function L5(J){this.bindConstructorValues(J)}L5.prototype.bindConstructorValues=function(J){if(this.index=J.index||0,this.name=J.name||null,this.unicode=J.unicode||void 0,this.unicodes=J.unicodes||J.unicode!==void 0?[J.unicode]:[],"xMin"in J)this.xMin=J.xMin;if("yMin"in J)this.yMin=J.yMin;if("xMax"in J)this.xMax=J.xMax;if("yMax"in J)this.yMax=J.yMax;if("advanceWidth"in J)this.advanceWidth=J.advanceWidth;Object.defineProperty(this,"path",zQ(this,J.path))};L5.prototype.addUnicode=function(J){if(this.unicodes.length===0)this.unicode=J;this.unicodes.push(J)};L5.prototype.getPath=function(J,K,Y,Q,X){J=J!==void 0?J:0,K=K!==void 0?K:0,Y=Y!==void 0?Y:72;var Z,q;if(!Q)Q={};var{xScale:W,yScale:H}=Q;if(Q.hinting&&X&&X.hinting)q=this.path&&X.hinting.exec(this,Y);if(q)Z=X.hinting.getCommands(q),J=Math.round(J),K=Math.round(K),W=H=1;else{Z=this.path.commands;var z=1/(this.path.unitsPerEm||1000)*Y;if(W===void 0)W=z;if(H===void 0)H=z}var w=new v0;for(var A=0;A<Z.length;A+=1){var V=Z[A];if(V.type==="M")w.moveTo(J+V.x*W,K+-V.y*H);else if(V.type==="L")w.lineTo(J+V.x*W,K+-V.y*H);else if(V.type==="Q")w.quadraticCurveTo(J+V.x1*W,K+-V.y1*H,J+V.x*W,K+-V.y*H);else if(V.type==="C")w.curveTo(J+V.x1*W,K+-V.y1*H,J+V.x2*W,K+-V.y2*H,J+V.x*W,K+-V.y*H);else if(V.type==="Z")w.closePath()}return w};L5.prototype.getContours=function(){if(this.points===void 0)return[];var J=[],K=[];for(var Y=0;Y<this.points.length;Y+=1){var Q=this.points[Y];if(K.push(Q),Q.lastPointOfContour)J.push(K),K=[]}return W0.argument(K.length===0,"There are still points left in the current contour."),J};L5.prototype.getMetrics=function(){var J=this.path.commands,K=[],Y=[];for(var Q=0;Q<J.length;Q+=1){var X=J[Q];if(X.type!=="Z")K.push(X.x),Y.push(X.y);if(X.type==="Q"||X.type==="C")K.push(X.x1),Y.push(X.y1);if(X.type==="C")K.push(X.x2),Y.push(X.y2)}var Z={xMin:Math.min.apply(null,K),yMin:Math.min.apply(null,Y),xMax:Math.max.apply(null,K),yMax:Math.max.apply(null,Y),leftSideBearing:this.leftSideBearing};if(!isFinite(Z.xMin))Z.xMin=0;if(!isFinite(Z.xMax))Z.xMax=this.advanceWidth;if(!isFinite(Z.yMin))Z.yMin=0;if(!isFinite(Z.yMax))Z.yMax=0;return Z.rightSideBearing=this.advanceWidth-Z.leftSideBearing-(Z.xMax-Z.xMin),Z};function p1(J,K,Y){Object.defineProperty(J,K,{get:function(){return J.path,J[Y]},set:function(Q){J[Y]=Q},enumerable:!0,configurable:!0})}function G9(J,K){if(this.font=J,this.glyphs={},Array.isArray(K))for(var Y=0;Y<K.length;Y++){var Q=K[Y];Q.path.unitsPerEm=J.unitsPerEm,this.glyphs[Y]=Q}this.length=K&&K.length||0}G9.prototype.get=function(J){if(this.glyphs[J]===void 0){if(this.font._push(J),typeof this.glyphs[J]==="function")this.glyphs[J]=this.glyphs[J]();var K=this.glyphs[J],Y=this.font._IndexToUnicodeMap[J];if(Y)for(var Q=0;Q<Y.unicodes.length;Q++)K.addUnicode(Y.unicodes[Q]);this.glyphs[J].advanceWidth=this.font._hmtxTableData[J].advanceWidth,this.glyphs[J].leftSideBearing=this.font._hmtxTableData[J].leftSideBearing}else if(typeof this.glyphs[J]==="function")this.glyphs[J]=this.glyphs[J]();return this.glyphs[J]};G9.prototype.push=function(J,K){this.glyphs[J]=K,this.length++};function wQ(J,K){return new L5({index:K,font:J})}function AQ(J,K,Y,Q,X,Z){return function(){var q=new L5({index:K,font:J});return q.path=function(){Y(q,Q,X);var W=Z(J.glyphs,q);return W.unitsPerEm=J.unitsPerEm,W},p1(q,"xMin","_xMin"),p1(q,"xMax","_xMax"),p1(q,"yMin","_yMin"),p1(q,"yMax","_yMax"),q}}function VQ(J,K,Y,Q){return function(){var X=new L5({index:K,font:J});return X.path=function(){var Z=Y(J,X,Q);return Z.unitsPerEm=J.unitsPerEm,Z},X}}var U5={GlyphSet:G9,glyphLoader:wQ,ttfGlyphLoader:AQ,cffGlyphLoader:VQ};function q9(J,K){var Y=0,Q=J.length-1;while(Y<=Q){var X=Y+Q>>>1,Z=J[X].tag;if(Z===K)return X;else if(Z<K)Y=X+1;else Q=X-1}return-Y-1}function I4(J,K){var Y=0,Q=J.length-1;while(Y<=Q){var X=Y+Q>>>1,Z=J[X];if(Z===K)return X;else if(Z<K)Y=X+1;else Q=X-1}return-Y-1}function C4(J,K){var Y,Q=0,X=J.length-1;while(Q<=X){var Z=Q+X>>>1;Y=J[Z];var q=Y.start;if(q===K)return Y;else if(q<K)Q=Z+1;else X=Z-1}if(Q>0){if(Y=J[Q-1],K>Y.end)return 0;return Y}}function U1(J,K){this.font=J,this.tableName=K}U1.prototype={searchTag:q9,binSearch:I4,getTable:function(J){var K=this.font.tables[this.tableName];if(!K&&J)K=this.font.tables[this.tableName]=this.createDefaultTable();return K},getDefaultScriptName:function(){var J=this.getTable();if(!J)return;var K=!1;for(var Y=0;Y<J.scripts.length;Y++){var Q=J.scripts[Y].tag;if(Q==="DFLT")return Q;if(Q==="latn")K=!0}if(K)return"latn"},getScriptTable:function(J,K){var Y=this.getTable(K);if(Y){J=J||"DFLT";var Q=Y.scripts,X=q9(Y.scripts,J);if(X>=0)return Q[X].script;else if(K){var Z={tag:J,script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}};return Q.splice(-1-X,0,Z),Z.script}}},getLangSysTable:function(J,K,Y){var Q=this.getScriptTable(J,Y);if(Q){if(!K||K==="dflt"||K==="DFLT")return Q.defaultLangSys;var X=q9(Q.langSysRecords,K);if(X>=0)return Q.langSysRecords[X].langSys;else if(Y){var Z={tag:K,langSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]}};return Q.langSysRecords.splice(-1-X,0,Z),Z.langSys}}},getFeatureTable:function(J,K,Y,Q){var X=this.getLangSysTable(J,K,Q);if(X){var Z,q=X.featureIndexes,W=this.font.tables[this.tableName].features;for(var H=0;H<q.length;H++)if(Z=W[q[H]],Z.tag===Y)return Z.feature;if(Q){var z=W.length;return W0.assert(z===0||Y>=W[z-1].tag,"Features must be added in alphabetical order."),Z={tag:Y,feature:{params:0,lookupListIndexes:[]}},W.push(Z),q.push(z),Z.feature}}},getLookupTables:function(J,K,Y,Q,X){var Z=this.getFeatureTable(J,K,Y,X),q=[];if(Z){var W,H=Z.lookupListIndexes,z=this.font.tables[this.tableName].lookups;for(var w=0;w<H.length;w++)if(W=z[H[w]],W.lookupType===Q)q.push(W);if(q.length===0&&X){W={lookupType:Q,lookupFlag:0,subtables:[],markFilteringSet:void 0};var A=z.length;return z.push(W),H.push(A),[W]}}return q},getGlyphClass:function(J,K){switch(J.format){case 1:if(J.startGlyph<=K&&K<J.startGlyph+J.classes.length)return J.classes[K-J.startGlyph];return 0;case 2:var Y=C4(J.ranges,K);return Y?Y.classId:0}},getCoverageIndex:function(J,K){switch(J.format){case 1:var Y=I4(J.glyphs,K);return Y>=0?Y:-1;case 2:var Q=C4(J.ranges,K);return Q?Q.index+K-Q.start:-1}},expandCoverage:function(J){if(J.format===1)return J.glyphs;else{var K=[],Y=J.ranges;for(var Q=0;Q<Y.length;Q++){var X=Y[Q],Z=X.start,q=X.end;for(var W=Z;W<=q;W++)K.push(W)}return K}}};function $1(J){U1.call(this,J,"gpos")}$1.prototype=U1.prototype;$1.prototype.init=function(){var J=this.getDefaultScriptName();this.defaultKerningTables=this.getKerningTables(J)};$1.prototype.getKerningValue=function(J,K,Y){for(var Q=0;Q<J.length;Q++){var X=J[Q].subtables;for(var Z=0;Z<X.length;Z++){var q=X[Z],W=this.getCoverageIndex(q.coverage,K);if(W<0)continue;switch(q.posFormat){case 1:var H=q.pairSets[W];for(var z=0;z<H.length;z++){var w=H[z];if(w.secondGlyph===Y)return w.value1&&w.value1.xAdvance||0}break;case 2:var A=this.getGlyphClass(q.classDef1,K),V=this.getGlyphClass(q.classDef2,Y),U=q.classRecords[A][V];return U.value1&&U.value1.xAdvance||0}}}return 0};$1.prototype.getKerningTables=function(J,K){if(this.font.tables.gpos)return this.getLookupTables(J,K,"kern",2)};function d0(J){U1.call(this,J,"gsub")}function UQ(J,K){var Y=J.length;if(Y!==K.length)return!1;for(var Q=0;Q<Y;Q++)if(J[Q]!==K[Q])return!1;return!0}function M9(J,K,Y){var Q=J.subtables;for(var X=0;X<Q.length;X++){var Z=Q[X];if(Z.substFormat===K)return Z}if(Y)return Q.push(Y),Y;return}d0.prototype=U1.prototype;d0.prototype.createDefaultTable=function(){return{version:1,scripts:[{tag:"DFLT",script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}}],features:[],lookups:[]}};d0.prototype.getSingle=function(J,K,Y){var Q=[],X=this.getLookupTables(K,Y,J,1);for(var Z=0;Z<X.length;Z++){var q=X[Z].subtables;for(var W=0;W<q.length;W++){var H=q[W],z=this.expandCoverage(H.coverage),w=void 0;if(H.substFormat===1){var A=H.deltaGlyphId;for(w=0;w<z.length;w++){var V=z[w];Q.push({sub:V,by:V+A})}}else{var U=H.substitute;for(w=0;w<z.length;w++)Q.push({sub:z[w],by:U[w]})}}}return Q};d0.prototype.getMultiple=function(J,K,Y){var Q=[],X=this.getLookupTables(K,Y,J,2);for(var Z=0;Z<X.length;Z++){var q=X[Z].subtables;for(var W=0;W<q.length;W++){var H=q[W],z=this.expandCoverage(H.coverage),w=void 0;for(w=0;w<z.length;w++){var A=z[w],V=H.sequences[w];Q.push({sub:A,by:V})}}}return Q};d0.prototype.getAlternates=function(J,K,Y){var Q=[],X=this.getLookupTables(K,Y,J,3);for(var Z=0;Z<X.length;Z++){var q=X[Z].subtables;for(var W=0;W<q.length;W++){var H=q[W],z=this.expandCoverage(H.coverage),w=H.alternateSets;for(var A=0;A<z.length;A++)Q.push({sub:z[A],by:w[A]})}}return Q};d0.prototype.getLigatures=function(J,K,Y){var Q=[],X=this.getLookupTables(K,Y,J,4);for(var Z=0;Z<X.length;Z++){var q=X[Z].subtables;for(var W=0;W<q.length;W++){var H=q[W],z=this.expandCoverage(H.coverage),w=H.ligatureSets;for(var A=0;A<z.length;A++){var V=z[A],U=w[A];for(var M=0;M<U.length;M++){var B=U[M];Q.push({sub:[V].concat(B.components),by:B.ligGlyph})}}}}return Q};d0.prototype.addSingle=function(J,K,Y,Q){var X=this.getLookupTables(Y,Q,J,1,!0)[0],Z=M9(X,2,{substFormat:2,coverage:{format:1,glyphs:[]},substitute:[]});W0.assert(Z.coverage.format===1,"Single: unable to modify coverage table format "+Z.coverage.format);var q=K.sub,W=this.binSearch(Z.coverage.glyphs,q);if(W<0)W=-1-W,Z.coverage.glyphs.splice(W,0,q),Z.substitute.splice(W,0,0);Z.substitute[W]=K.by};d0.prototype.addMultiple=function(J,K,Y,Q){W0.assert(K.by instanceof Array&&K.by.length>1,'Multiple: "by" must be an array of two or more ids');var X=this.getLookupTables(Y,Q,J,2,!0)[0],Z=M9(X,1,{substFormat:1,coverage:{format:1,glyphs:[]},sequences:[]});W0.assert(Z.coverage.format===1,"Multiple: unable to modify coverage table format "+Z.coverage.format);var q=K.sub,W=this.binSearch(Z.coverage.glyphs,q);if(W<0)W=-1-W,Z.coverage.glyphs.splice(W,0,q),Z.sequences.splice(W,0,0);Z.sequences[W]=K.by};d0.prototype.addAlternate=function(J,K,Y,Q){var X=this.getLookupTables(Y,Q,J,3,!0)[0],Z=M9(X,1,{substFormat:1,coverage:{format:1,glyphs:[]},alternateSets:[]});W0.assert(Z.coverage.format===1,"Alternate: unable to modify coverage table format "+Z.coverage.format);var q=K.sub,W=this.binSearch(Z.coverage.glyphs,q);if(W<0)W=-1-W,Z.coverage.glyphs.splice(W,0,q),Z.alternateSets.splice(W,0,0);Z.alternateSets[W]=K.by};d0.prototype.addLigature=function(J,K,Y,Q){var X=this.getLookupTables(Y,Q,J,4,!0)[0],Z=X.subtables[0];if(!Z)Z={substFormat:1,coverage:{format:1,glyphs:[]},ligatureSets:[]},X.subtables[0]=Z;W0.assert(Z.coverage.format===1,"Ligature: unable to modify coverage table format "+Z.coverage.format);var q=K.sub[0],W=K.sub.slice(1),H={ligGlyph:K.by,components:W},z=this.binSearch(Z.coverage.glyphs,q);if(z>=0){var w=Z.ligatureSets[z];for(var A=0;A<w.length;A++)if(UQ(w[A].components,W))return;w.push(H)}else z=-1-z,Z.coverage.glyphs.splice(z,0,q),Z.ligatureSets.splice(z,0,[H])};d0.prototype.getFeature=function(J,K,Y){if(/ss\d\d/.test(J))return this.getSingle(J,K,Y);switch(J){case"aalt":case"salt":return this.getSingle(J,K,Y).concat(this.getAlternates(J,K,Y));case"dlig":case"liga":case"rlig":return this.getLigatures(J,K,Y);case"ccmp":return this.getMultiple(J,K,Y).concat(this.getLigatures(J,K,Y));case"stch":return this.getMultiple(J,K,Y)}return};d0.prototype.add=function(J,K,Y,Q){if(/ss\d\d/.test(J))return this.addSingle(J,K,Y,Q);switch(J){case"aalt":case"salt":if(typeof K.by==="number")return this.addSingle(J,K,Y,Q);return this.addAlternate(J,K,Y,Q);case"dlig":case"liga":case"rlig":return this.addLigature(J,K,Y,Q);case"ccmp":if(K.by instanceof Array)return this.addMultiple(J,K,Y,Q);return this.addLigature(J,K,Y,Q)}return};function W1(J,K){if(!J)throw K}function T4(J,K){return J.getUint8(K)}function n1(J,K){return J.getUint16(K,!1)}function $Q(J,K){return J.getInt16(K,!1)}function N9(J,K){return J.getUint32(K,!1)}function z7(J,K){var Y=J.getInt16(K,!1),Q=J.getUint16(K+2,!1);return Y+Q/65535}function BQ(J,K){var Y="";for(var Q=K;Q<K+4;Q+=1)Y+=String.fromCharCode(J.getInt8(Q));return Y}function GQ(J,K,Y){var Q=0;for(var X=0;X<Y;X+=1)Q<<=8,Q+=J.getUint8(K+X);return Q}function MQ(J,K,Y){var Q=[];for(var X=K;X<Y;X+=1)Q.push(J.getUint8(X));return Q}function NQ(J){var K="";for(var Y=0;Y<J.length;Y+=1)K+=String.fromCharCode(J[Y]);return K}var LQ={byte:1,uShort:2,short:2,uLong:4,fixed:4,longDateTime:8,tag:4};function S(J,K){this.data=J,this.offset=K,this.relativeOffset=0}S.prototype.parseByte=function(){var J=this.data.getUint8(this.offset+this.relativeOffset);return this.relativeOffset+=1,J};S.prototype.parseChar=function(){var J=this.data.getInt8(this.offset+this.relativeOffset);return this.relativeOffset+=1,J};S.prototype.parseCard8=S.prototype.parseByte;S.prototype.parseUShort=function(){var J=this.data.getUint16(this.offset+this.relativeOffset);return this.relativeOffset+=2,J};S.prototype.parseCard16=S.prototype.parseUShort;S.prototype.parseSID=S.prototype.parseUShort;S.prototype.parseOffset16=S.prototype.parseUShort;S.prototype.parseShort=function(){var J=this.data.getInt16(this.offset+this.relativeOffset);return this.relativeOffset+=2,J};S.prototype.parseF2Dot14=function(){var J=this.data.getInt16(this.offset+this.relativeOffset)/16384;return this.relativeOffset+=2,J};S.prototype.parseULong=function(){var J=N9(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,J};S.prototype.parseOffset32=S.prototype.parseULong;S.prototype.parseFixed=function(){var J=z7(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,J};S.prototype.parseString=function(J){var K=this.data,Y=this.offset+this.relativeOffset,Q="";this.relativeOffset+=J;for(var X=0;X<J;X++)Q+=String.fromCharCode(K.getUint8(Y+X));return Q};S.prototype.parseTag=function(){return this.parseString(4)};S.prototype.parseLongDateTime=function(){var J=N9(this.data,this.offset+this.relativeOffset+4);return J-=2082844800,this.relativeOffset+=8,J};S.prototype.parseVersion=function(J){var K=n1(this.data,this.offset+this.relativeOffset),Y=n1(this.data,this.offset+this.relativeOffset+2);if(this.relativeOffset+=4,J===void 0)J=4096;return K+Y/J/10};S.prototype.skip=function(J,K){if(K===void 0)K=1;this.relativeOffset+=LQ[J]*K};S.prototype.parseULongList=function(J){if(J===void 0)J=this.parseULong();var K=Array(J),Y=this.data,Q=this.offset+this.relativeOffset;for(var X=0;X<J;X++)K[X]=Y.getUint32(Q),Q+=4;return this.relativeOffset+=J*4,K};S.prototype.parseOffset16List=S.prototype.parseUShortList=function(J){if(J===void 0)J=this.parseUShort();var K=Array(J),Y=this.data,Q=this.offset+this.relativeOffset;for(var X=0;X<J;X++)K[X]=Y.getUint16(Q),Q+=2;return this.relativeOffset+=J*2,K};S.prototype.parseShortList=function(J){var K=Array(J),Y=this.data,Q=this.offset+this.relativeOffset;for(var X=0;X<J;X++)K[X]=Y.getInt16(Q),Q+=2;return this.relativeOffset+=J*2,K};S.prototype.parseByteList=function(J){var K=Array(J),Y=this.data,Q=this.offset+this.relativeOffset;for(var X=0;X<J;X++)K[X]=Y.getUint8(Q++);return this.relativeOffset+=J,K};S.prototype.parseList=function(J,K){if(!K)K=J,J=this.parseUShort();var Y=Array(J);for(var Q=0;Q<J;Q++)Y[Q]=K.call(this);return Y};S.prototype.parseList32=function(J,K){if(!K)K=J,J=this.parseULong();var Y=Array(J);for(var Q=0;Q<J;Q++)Y[Q]=K.call(this);return Y};S.prototype.parseRecordList=function(J,K){if(!K)K=J,J=this.parseUShort();var Y=Array(J),Q=Object.keys(K);for(var X=0;X<J;X++){var Z={};for(var q=0;q<Q.length;q++){var W=Q[q],H=K[W];Z[W]=H.call(this)}Y[X]=Z}return Y};S.prototype.parseRecordList32=function(J,K){if(!K)K=J,J=this.parseULong();var Y=Array(J),Q=Object.keys(K);for(var X=0;X<J;X++){var Z={};for(var q=0;q<Q.length;q++){var W=Q[q],H=K[W];Z[W]=H.call(this)}Y[X]=Z}return Y};S.prototype.parseStruct=function(J){if(typeof J==="function")return J.call(this);else{var K=Object.keys(J),Y={};for(var Q=0;Q<K.length;Q++){var X=K[Q],Z=J[X];Y[X]=Z.call(this)}return Y}};S.prototype.parseValueRecord=function(J){if(J===void 0)J=this.parseUShort();if(J===0)return;var K={};if(J&1)K.xPlacement=this.parseShort();if(J&2)K.yPlacement=this.parseShort();if(J&4)K.xAdvance=this.parseShort();if(J&8)K.yAdvance=this.parseShort();if(J&16)K.xPlaDevice=void 0,this.parseShort();if(J&32)K.yPlaDevice=void 0,this.parseShort();if(J&64)K.xAdvDevice=void 0,this.parseShort();if(J&128)K.yAdvDevice=void 0,this.parseShort();return K};S.prototype.parseValueRecordList=function(){var J=this.parseUShort(),K=this.parseUShort(),Y=Array(K);for(var Q=0;Q<K;Q++)Y[Q]=this.parseValueRecord(J);return Y};S.prototype.parsePointer=function(J){var K=this.parseOffset16();if(K>0)return new S(this.data,this.offset+K).parseStruct(J);return};S.prototype.parsePointer32=function(J){var K=this.parseOffset32();if(K>0)return new S(this.data,this.offset+K).parseStruct(J);return};S.prototype.parseListOfLists=function(J){var K=this.parseOffset16List(),Y=K.length,Q=this.relativeOffset,X=Array(Y);for(var Z=0;Z<Y;Z++){var q=K[Z];if(q===0){X[Z]=void 0;continue}if(this.relativeOffset=q,J){var W=this.parseOffset16List(),H=Array(W.length);for(var z=0;z<W.length;z++)this.relativeOffset=q+W[z],H[z]=J.call(this);X[Z]=H}else X[Z]=this.parseUShortList()}return this.relativeOffset=Q,X};S.prototype.parseCoverage=function(){var J=this.offset+this.relativeOffset,K=this.parseUShort(),Y=this.parseUShort();if(K===1)return{format:1,glyphs:this.parseUShortList(Y)};else if(K===2){var Q=Array(Y);for(var X=0;X<Y;X++)Q[X]={start:this.parseUShort(),end:this.parseUShort(),index:this.parseUShort()};return{format:2,ranges:Q}}throw Error("0x"+J.toString(16)+": Coverage format must be 1 or 2.")};S.prototype.parseClassDef=function(){var J=this.offset+this.relativeOffset,K=this.parseUShort();if(K===1)return{format:1,startGlyph:this.parseUShort(),classes:this.parseUShortList()};else if(K===2)return{format:2,ranges:this.parseRecordList({start:S.uShort,end:S.uShort,classId:S.uShort})};throw Error("0x"+J.toString(16)+": ClassDef format must be 1 or 2.")};S.list=function(J,K){return function(){return this.parseList(J,K)}};S.list32=function(J,K){return function(){return this.parseList32(J,K)}};S.recordList=function(J,K){return function(){return this.parseRecordList(J,K)}};S.recordList32=function(J,K){return function(){return this.parseRecordList32(J,K)}};S.pointer=function(J){return function(){return this.parsePointer(J)}};S.pointer32=function(J){return function(){return this.parsePointer32(J)}};S.tag=S.prototype.parseTag;S.byte=S.prototype.parseByte;S.uShort=S.offset16=S.prototype.parseUShort;S.uShortList=S.prototype.parseUShortList;S.uLong=S.offset32=S.prototype.parseULong;S.uLongList=S.prototype.parseULongList;S.struct=S.prototype.parseStruct;S.coverage=S.prototype.parseCoverage;S.classDef=S.prototype.parseClassDef;var P4={reserved:S.uShort,reqFeatureIndex:S.uShort,featureIndexes:S.uShortList};S.prototype.parseScriptList=function(){return this.parsePointer(S.recordList({tag:S.tag,script:S.pointer({defaultLangSys:S.pointer(P4),langSysRecords:S.recordList({tag:S.tag,langSys:S.pointer(P4)})})}))||[]};S.prototype.parseFeatureList=function(){return this.parsePointer(S.recordList({tag:S.tag,feature:S.pointer({featureParams:S.offset16,lookupListIndexes:S.uShortList})}))||[]};S.prototype.parseLookupList=function(J){return this.parsePointer(S.list(S.pointer(function(){var K=this.parseUShort();W0.argument(1<=K&&K<=9,"GPOS/GSUB lookup type "+K+" unknown.");var Y=this.parseUShort(),Q=Y&16;return{lookupType:K,lookupFlag:Y,subtables:this.parseList(S.pointer(J[K])),markFilteringSet:Q?this.parseUShort():void 0}})))||[]};S.prototype.parseFeatureVariationsList=function(){return this.parsePointer32(function(){var J=this.parseUShort(),K=this.parseUShort();W0.argument(J===1&&K<1,"GPOS/GSUB feature variations table unknown.");var Y=this.parseRecordList32({conditionSetOffset:S.offset32,featureTableSubstitutionOffset:S.offset32});return Y})||[]};var p={getByte:T4,getCard8:T4,getUShort:n1,getCard16:n1,getShort:$Q,getULong:N9,getFixed:z7,getTag:BQ,getOffset:GQ,getBytes:MQ,bytesToString:NQ,Parser:S};function S4(J,K,Y,Q,X){var Z;if((K&Q)>0){if(Z=J.parseByte(),(K&X)===0)Z=-Z;Z=Y+Z}else if((K&X)>0)Z=Y;else Z=Y+J.parseShort();return Z}function w7(J,K,Y){var Q=new p.Parser(K,Y);J.numberOfContours=Q.parseShort(),J._xMin=Q.parseShort(),J._yMin=Q.parseShort(),J._xMax=Q.parseShort(),J._yMax=Q.parseShort();var X,Z;if(J.numberOfContours>0){var q=J.endPointIndices=[];for(var W=0;W<J.numberOfContours;W+=1)q.push(Q.parseUShort());J.instructionLength=Q.parseUShort(),J.instructions=[];for(var H=0;H<J.instructionLength;H+=1)J.instructions.push(Q.parseByte());var z=q[q.length-1]+1;X=[];for(var w=0;w<z;w+=1)if(Z=Q.parseByte(),X.push(Z),(Z&8)>0){var A=Q.parseByte();for(var V=0;V<A;V+=1)X.push(Z),w+=1}if(W0.argument(X.length===z,"Bad flags."),q.length>0){var U=[],M;if(z>0){for(var B=0;B<z;B+=1)Z=X[B],M={},M.onCurve=!!(Z&1),M.lastPointOfContour=q.indexOf(B)>=0,U.push(M);var G=0;for(var L=0;L<z;L+=1)Z=X[L],M=U[L],M.x=S4(Q,Z,G,2,16),G=M.x;var O=0;for(var R=0;R<z;R+=1)Z=X[R],M=U[R],M.y=S4(Q,Z,O,4,32),O=M.y}J.points=U}else J.points=[]}else if(J.numberOfContours===0)J.points=[];else{J.isComposite=!0,J.points=[],J.components=[];var D=!0;while(D){X=Q.parseUShort();var F={glyphIndex:Q.parseUShort(),xScale:1,scale01:0,scale10:0,yScale:1,dx:0,dy:0};if((X&1)>0)if((X&2)>0)F.dx=Q.parseShort(),F.dy=Q.parseShort();else F.matchedPoints=[Q.parseUShort(),Q.parseUShort()];else if((X&2)>0)F.dx=Q.parseChar(),F.dy=Q.parseChar();else F.matchedPoints=[Q.parseByte(),Q.parseByte()];if((X&8)>0)F.xScale=F.yScale=Q.parseF2Dot14();else if((X&64)>0)F.xScale=Q.parseF2Dot14(),F.yScale=Q.parseF2Dot14();else if((X&128)>0)F.xScale=Q.parseF2Dot14(),F.scale01=Q.parseF2Dot14(),F.scale10=Q.parseF2Dot14(),F.yScale=Q.parseF2Dot14();J.components.push(F),D=!!(X&32)}if(X&256){J.instructionLength=Q.parseUShort(),J.instructions=[];for(var j=0;j<J.instructionLength;j+=1)J.instructions.push(Q.parseByte())}}}function H9(J,K){var Y=[];for(var Q=0;Q<J.length;Q+=1){var X=J[Q],Z={x:K.xScale*X.x+K.scale01*X.y+K.dx,y:K.scale10*X.x+K.yScale*X.y+K.dy,onCurve:X.onCurve,lastPointOfContour:X.lastPointOfContour};Y.push(Z)}return Y}function OQ(J){var K=[],Y=[];for(var Q=0;Q<J.length;Q+=1){var X=J[Q];if(Y.push(X),X.lastPointOfContour)K.push(Y),Y=[]}return W0.argument(Y.length===0,"There are still points left in the current contour."),K}function A7(J){var K=new v0;if(!J)return K;var Y=OQ(J);for(var Q=0;Q<Y.length;++Q){var X=Y[Q],Z=null,q=X[X.length-1],W=X[0];if(q.onCurve)K.moveTo(q.x,q.y);else if(W.onCurve)K.moveTo(W.x,W.y);else{var H={x:(q.x+W.x)*0.5,y:(q.y+W.y)*0.5};K.moveTo(H.x,H.y)}for(var z=0;z<X.length;++z)if(Z=q,q=W,W=X[(z+1)%X.length],q.onCurve)K.lineTo(q.x,q.y);else{var w=Z,A=W;if(!Z.onCurve)w={x:(q.x+Z.x)*0.5,y:(q.y+Z.y)*0.5};if(!W.onCurve)A={x:(q.x+W.x)*0.5,y:(q.y+W.y)*0.5};K.quadraticCurveTo(q.x,q.y,A.x,A.y)}K.closePath()}return K}function V7(J,K){if(K.isComposite)for(var Y=0;Y<K.components.length;Y+=1){var Q=K.components[Y],X=J.get(Q.glyphIndex);if(X.getPath(),X.points){var Z=void 0;if(Q.matchedPoints===void 0)Z=H9(X.points,Q);else{if(Q.matchedPoints[0]>K.points.length-1||Q.matchedPoints[1]>X.points.length-1)throw Error("Matched points out of range in "+K.name);var q=K.points[Q.matchedPoints[0]],W=X.points[Q.matchedPoints[1]],H={xScale:Q.xScale,scale01:Q.scale01,scale10:Q.scale10,yScale:Q.yScale,dx:0,dy:0};W=H9([W],H)[0],H.dx=q.x-W.x,H.dy=q.y-W.y,Z=H9(X.points,H)}K.points=K.points.concat(Z)}}return A7(K.points)}function jQ(J,K,Y,Q){var X=new U5.GlyphSet(Q);for(var Z=0;Z<Y.length-1;Z+=1){var q=Y[Z],W=Y[Z+1];if(q!==W)X.push(Z,U5.ttfGlyphLoader(Q,Z,w7,J,K+q,V7));else X.push(Z,U5.glyphLoader(Q,Z))}return X}function EQ(J,K,Y,Q){var X=new U5.GlyphSet(Q);return Q._push=function(Z){var q=Y[Z],W=Y[Z+1];if(q!==W)X.push(Z,U5.ttfGlyphLoader(Q,Z,w7,J,K+q,V7));else X.push(Z,U5.glyphLoader(Q,Z))},X}function FQ(J,K,Y,Q,X){if(X.lowMemory)return EQ(J,K,Y,Q);else return jQ(J,K,Y,Q)}var U7={getPath:A7,parse:FQ},$7,d5,B7,$9;function G7(J){this.font=J,this.getCommands=function(K){return U7.getPath(K).commands},this._fpgmState=this._prepState=void 0,this._errorState=0}function RQ(J){return J}function M7(J){return Math.sign(J)*Math.round(Math.abs(J))}function _Q(J){return Math.sign(J)*Math.round(Math.abs(J*2))/2}function DQ(J){return Math.sign(J)*(Math.round(Math.abs(J)+0.5)-0.5)}function IQ(J){return Math.sign(J)*Math.ceil(Math.abs(J))}function CQ(J){return Math.sign(J)*Math.floor(Math.abs(J))}var N7=function(J){var K=this.srPeriod,Y=this.srPhase,Q=this.srThreshold,X=1;if(J<0)J=-J,X=-1;if(J+=Q-Y,J=Math.trunc(J/K)*K,J+=Y,J<0)return Y*X;return J*X},V5={x:1,y:0,axis:"x",distance:function(J,K,Y,Q){return(Y?J.xo:J.x)-(Q?K.xo:K.x)},interpolate:function(J,K,Y,Q){var X,Z,q,W,H,z,w;if(!Q||Q===this){if(X=J.xo-K.xo,Z=J.xo-Y.xo,H=K.x-K.xo,z=Y.x-Y.xo,q=Math.abs(X),W=Math.abs(Z),w=q+W,w===0){J.x=J.xo+(H+z)/2;return}J.x=J.xo+(H*W+z*q)/w;return}if(X=Q.distance(J,K,!0,!0),Z=Q.distance(J,Y,!0,!0),H=Q.distance(K,K,!1,!0),z=Q.distance(Y,Y,!1,!0),q=Math.abs(X),W=Math.abs(Z),w=q+W,w===0){V5.setRelative(J,J,(H+z)/2,Q,!0);return}V5.setRelative(J,J,(H*W+z*q)/w,Q,!0)},normalSlope:Number.NEGATIVE_INFINITY,setRelative:function(J,K,Y,Q,X){if(!Q||Q===this){J.x=(X?K.xo:K.x)+Y;return}var Z=X?K.xo:K.x,q=X?K.yo:K.y,W=Z+Y*Q.x,H=q+Y*Q.y;J.x=W+(J.y-H)/Q.normalSlope},slope:0,touch:function(J){J.xTouched=!0},touched:function(J){return J.xTouched},untouch:function(J){J.xTouched=!1}},M5={x:0,y:1,axis:"y",distance:function(J,K,Y,Q){return(Y?J.yo:J.y)-(Q?K.yo:K.y)},interpolate:function(J,K,Y,Q){var X,Z,q,W,H,z,w;if(!Q||Q===this){if(X=J.yo-K.yo,Z=J.yo-Y.yo,H=K.y-K.yo,z=Y.y-Y.yo,q=Math.abs(X),W=Math.abs(Z),w=q+W,w===0){J.y=J.yo+(H+z)/2;return}J.y=J.yo+(H*W+z*q)/w;return}if(X=Q.distance(J,K,!0,!0),Z=Q.distance(J,Y,!0,!0),H=Q.distance(K,K,!1,!0),z=Q.distance(Y,Y,!1,!0),q=Math.abs(X),W=Math.abs(Z),w=q+W,w===0){M5.setRelative(J,J,(H+z)/2,Q,!0);return}M5.setRelative(J,J,(H*W+z*q)/w,Q,!0)},normalSlope:0,setRelative:function(J,K,Y,Q,X){if(!Q||Q===this){J.y=(X?K.yo:K.y)+Y;return}var Z=X?K.xo:K.x,q=X?K.yo:K.y,W=Z+Y*Q.x,H=q+Y*Q.y;J.y=H+Q.normalSlope*(J.x-W)},slope:Number.POSITIVE_INFINITY,touch:function(J){J.yTouched=!0},touched:function(J){return J.yTouched},untouch:function(J){J.yTouched=!1}};Object.freeze(V5);Object.freeze(M5);function B1(J,K){this.x=J,this.y=K,this.axis=void 0,this.slope=K/J,this.normalSlope=-J/K,Object.freeze(this)}B1.prototype.distance=function(J,K,Y,Q){return this.x*V5.distance(J,K,Y,Q)+this.y*M5.distance(J,K,Y,Q)};B1.prototype.interpolate=function(J,K,Y,Q){var X,Z,q,W,H,z,w;if(q=Q.distance(J,K,!0,!0),W=Q.distance(J,Y,!0,!0),X=Q.distance(K,K,!1,!0),Z=Q.distance(Y,Y,!1,!0),H=Math.abs(q),z=Math.abs(W),w=H+z,w===0){this.setRelative(J,J,(X+Z)/2,Q,!0);return}this.setRelative(J,J,(X*z+Z*H)/w,Q,!0)};B1.prototype.setRelative=function(J,K,Y,Q,X){Q=Q||this;var Z=X?K.xo:K.x,q=X?K.yo:K.y,W=Z+Y*Q.x,H=q+Y*Q.y,z=Q.normalSlope,w=this.slope,A=J.x,V=J.y;J.x=(w*A-z*W+H-V)/(w-z),J.y=w*(J.x-A)+V};B1.prototype.touch=function(J){J.xTouched=!0,J.yTouched=!0};function G1(J,K){var Y=Math.sqrt(J*J+K*K);if(J/=Y,K/=Y,J===1&&K===0)return V5;else if(J===0&&K===1)return M5;else return new B1(J,K)}function N5(J,K,Y,Q){this.x=this.xo=Math.round(J*64)/64,this.y=this.yo=Math.round(K*64)/64,this.lastPointOfContour=Y,this.onCurve=Q,this.prevPointOnContour=void 0,this.nextPointOnContour=void 0,this.xTouched=!1,this.yTouched=!1,Object.preventExtensions(this)}N5.prototype.nextTouched=function(J){var K=this.nextPointOnContour;while(!J.touched(K)&&K!==this)K=K.nextPointOnContour;return K};N5.prototype.prevTouched=function(J){var K=this.prevPointOnContour;while(!J.touched(K)&&K!==this)K=K.prevPointOnContour;return K};var A1=Object.freeze(new N5(0,0)),TQ={cvCutIn:1.0625,deltaBase:9,deltaShift:0.125,loop:1,minDis:1,autoFlip:!0};function P5(J,K){switch(this.env=J,this.stack=[],this.prog=K,J){case"glyf":this.zp0=this.zp1=this.zp2=1,this.rp0=this.rp1=this.rp2=0;case"prep":this.fv=this.pv=this.dpv=V5,this.round=M7}}G7.prototype.exec=function(J,K){if(typeof K!=="number")throw Error("Point size is not a number!");if(this._errorState>2)return;var Y=this.font,Q=this._prepState;if(!Q||Q.ppem!==K){var X=this._fpgmState;if(!X){if(P5.prototype=TQ,X=this._fpgmState=new P5("fpgm",Y.tables.fpgm),X.funcs=[],X.font=Y,Lw.DEBUG)console.log("---EXEC FPGM---"),X.step=-1;try{d5(X)}catch(z){console.log("Hinting error in FPGM:"+z),this._errorState=3;return}}P5.prototype=X,Q=this._prepState=new P5("prep",Y.tables.prep),Q.ppem=K;var Z=Y.tables.cvt;if(Z){var q=Q.cvt=Array(Z.length),W=K/Y.unitsPerEm;for(var H=0;H<Z.length;H++)q[H]=Z[H]*W}else Q.cvt=[];if(Lw.DEBUG)console.log("---EXEC PREP---"),Q.step=-1;try{d5(Q)}catch(z){if(this._errorState<2)console.log("Hinting error in PREP:"+z);this._errorState=2}}if(this._errorState>1)return;try{return B7(J,Q)}catch(z){if(this._errorState<1)console.log("Hinting error:"+z),console.log("Note: further hinting errors are silenced");this._errorState=1;return}};B7=function(J,K){var Y=K.ppem/K.font.unitsPerEm,Q=Y,X=J.components,Z,q,W;if(P5.prototype=K,!X){if(W=new P5("glyf",J.instructions),Lw.DEBUG)console.log("---EXEC GLYPH---"),W.step=-1;$9(J,W,Y,Q),q=W.gZone}else{var H=K.font;q=[],Z=[];for(var z=0;z<X.length;z++){var w=X[z],A=H.glyphs.get(w.glyphIndex);if(W=new P5("glyf",A.instructions),Lw.DEBUG)console.log("---EXEC COMP "+z+"---"),W.step=-1;$9(A,W,Y,Q);var V=Math.round(w.dx*Y),U=Math.round(w.dy*Q),M=W.gZone,B=W.contours;for(var G=0;G<M.length;G++){var L=M[G];L.xTouched=L.yTouched=!1,L.xo=L.x=L.x+V,L.yo=L.y=L.y+U}var O=q.length;q.push.apply(q,M);for(var R=0;R<B.length;R++)Z.push(B[R]+O)}if(J.instructions&&!W.inhibitGridFit){if(W=new P5("glyf",J.instructions),W.gZone=W.z0=W.z1=W.z2=q,W.contours=Z,q.push(new N5(0,0),new N5(Math.round(J.advanceWidth*Y),0)),Lw.DEBUG)console.log("---EXEC COMPOSITE---"),W.step=-1;d5(W),q.length-=2}}return q};$9=function(J,K,Y,Q){var X=J.points||[],Z=X.length,q=K.gZone=K.z0=K.z1=K.z2=[],W=K.contours=[],H;for(var z=0;z<Z;z++)H=X[z],q[z]=new N5(H.x*Y,H.y*Q,H.lastPointOfContour,H.onCurve);var w,A;for(var V=0;V<Z;V++){if(H=q[V],!w)w=H,W.push(V);if(H.lastPointOfContour)H.nextPointOnContour=w,w.prevPointOnContour=H,w=void 0;else A=q[V+1],H.nextPointOnContour=A,A.prevPointOnContour=H}if(K.inhibitGridFit)return;if(Lw.DEBUG){console.log("PROCESSING GLYPH",K.stack);for(var U=0;U<Z;U++)console.log(U,q[U].x,q[U].y)}if(q.push(new N5(0,0),new N5(Math.round(J.advanceWidth*Y),0)),d5(K),q.length-=2,Lw.DEBUG){console.log("FINISHED GLYPH",K.stack);for(var M=0;M<Z;M++)console.log(M,q[M].x,q[M].y)}};d5=function(J){var K=J.prog;if(!K)return;var Y=K.length,Q;for(J.ip=0;J.ip<Y;J.ip++){if(Lw.DEBUG)J.step++;if(Q=$7[K[J.ip]],!Q)throw Error("unknown instruction: 0x"+Number(K[J.ip]).toString(16));Q(J)}};function s1(J){var K=J.tZone=Array(J.gZone.length);for(var Y=0;Y<K.length;Y++)K[Y]=new N5(0,0)}function L7(J,K){var{prog:Y,ip:Q}=J,X=1,Z;do if(Z=Y[++Q],Z===88)X++;else if(Z===89)X--;else if(Z===64)Q+=Y[Q+1]+1;else if(Z===65)Q+=2*Y[Q+1]+1;else if(Z>=176&&Z<=183)Q+=Z-176+1;else if(Z>=184&&Z<=191)Q+=(Z-184+1)*2;else if(K&&X===1&&Z===27)break;while(X>0);J.ip=Q}function v4(J,K){if(Lw.DEBUG)console.log(K.step,"SVTCA["+J.axis+"]");K.fv=K.pv=K.dpv=J}function y4(J,K){if(Lw.DEBUG)console.log(K.step,"SPVTCA["+J.axis+"]");K.pv=K.dpv=J}function k4(J,K){if(Lw.DEBUG)console.log(K.step,"SFVTCA["+J.axis+"]");K.fv=J}function h4(J,K){var Y=K.stack,Q=Y.pop(),X=Y.pop(),Z=K.z2[Q],q=K.z1[X];if(Lw.DEBUG)console.log("SPVTL["+J+"]",Q,X);var W,H;if(!J)W=q.x-Z.x,H=q.y-Z.y;else W=Z.y-q.y,H=q.x-Z.x;K.pv=K.dpv=G1(W,H)}function g4(J,K){var Y=K.stack,Q=Y.pop(),X=Y.pop(),Z=K.z2[Q],q=K.z1[X];if(Lw.DEBUG)console.log("SFVTL["+J+"]",Q,X);var W,H;if(!J)W=q.x-Z.x,H=q.y-Z.y;else W=Z.y-q.y,H=q.x-Z.x;K.fv=G1(W,H)}function PQ(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"SPVFS[]",Y,Q);J.pv=J.dpv=G1(Q,Y)}function SQ(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"SPVFS[]",Y,Q);J.fv=G1(Q,Y)}function vQ(J){var{stack:K,pv:Y}=J;if(Lw.DEBUG)console.log(J.step,"GPV[]");K.push(Y.x*16384),K.push(Y.y*16384)}function yQ(J){var{stack:K,fv:Y}=J;if(Lw.DEBUG)console.log(J.step,"GFV[]");K.push(Y.x*16384),K.push(Y.y*16384)}function kQ(J){if(J.fv=J.pv,Lw.DEBUG)console.log(J.step,"SFVTPV[]")}function hQ(J){var K=J.stack,Y=K.pop(),Q=K.pop(),X=K.pop(),Z=K.pop(),q=K.pop(),W=J.z0,H=J.z1,z=W[Y],w=W[Q],A=H[X],V=H[Z],U=J.z2[q];if(Lw.DEBUG)console.log("ISECT[], ",Y,Q,X,Z,q);var{x:M,y:B}=z,G=w.x,L=w.y,O=A.x,R=A.y,D=V.x,F=V.y,j=(M-G)*(R-F)-(B-L)*(O-D),C=M*L-B*G,_=O*F-R*D;U.x=(C*(O-D)-_*(M-G))/j,U.y=(C*(R-F)-_*(B-L))/j}function gQ(J){if(J.rp0=J.stack.pop(),Lw.DEBUG)console.log(J.step,"SRP0[]",J.rp0)}function xQ(J){if(J.rp1=J.stack.pop(),Lw.DEBUG)console.log(J.step,"SRP1[]",J.rp1)}function bQ(J){if(J.rp2=J.stack.pop(),Lw.DEBUG)console.log(J.step,"SRP2[]",J.rp2)}function mQ(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"SZP0[]",K);switch(J.zp0=K,K){case 0:if(!J.tZone)s1(J);J.z0=J.tZone;break;case 1:J.z0=J.gZone;break;default:throw Error("Invalid zone pointer")}}function fQ(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"SZP1[]",K);switch(J.zp1=K,K){case 0:if(!J.tZone)s1(J);J.z1=J.tZone;break;case 1:J.z1=J.gZone;break;default:throw Error("Invalid zone pointer")}}function dQ(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"SZP2[]",K);switch(J.zp2=K,K){case 0:if(!J.tZone)s1(J);J.z2=J.tZone;break;case 1:J.z2=J.gZone;break;default:throw Error("Invalid zone pointer")}}function uQ(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"SZPS[]",K);switch(J.zp0=J.zp1=J.zp2=K,K){case 0:if(!J.tZone)s1(J);J.z0=J.z1=J.z2=J.tZone;break;case 1:J.z0=J.z1=J.z2=J.gZone;break;default:throw Error("Invalid zone pointer")}}function lQ(J){if(J.loop=J.stack.pop(),Lw.DEBUG)console.log(J.step,"SLOOP[]",J.loop)}function cQ(J){if(Lw.DEBUG)console.log(J.step,"RTG[]");J.round=M7}function pQ(J){if(Lw.DEBUG)console.log(J.step,"RTHG[]");J.round=DQ}function iQ(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"SMD[]",K);J.minDis=K/64}function rQ(J){if(Lw.DEBUG)console.log(J.step,"ELSE[]");L7(J,!1)}function oQ(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"JMPR[]",K);J.ip+=K-1}function nQ(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"SCVTCI[]",K);J.cvCutIn=K/64}function sQ(J){var K=J.stack;if(Lw.DEBUG)console.log(J.step,"DUP[]");K.push(K[K.length-1])}function W9(J){if(Lw.DEBUG)console.log(J.step,"POP[]");J.stack.pop()}function aQ(J){if(Lw.DEBUG)console.log(J.step,"CLEAR[]");J.stack.length=0}function tQ(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"SWAP[]");K.push(Y),K.push(Q)}function eQ(J){var K=J.stack;if(Lw.DEBUG)console.log(J.step,"DEPTH[]");K.push(K.length)}function JX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"LOOPCALL[]",Y,Q);var{ip:X,prog:Z}=J;J.prog=J.funcs[Y];for(var q=0;q<Q;q++)if(d5(J),Lw.DEBUG)console.log(++J.step,q+1<Q?"next loopcall":"done loopcall",q);J.ip=X,J.prog=Z}function KX(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"CALL[]",K);var{ip:Y,prog:Q}=J;if(J.prog=J.funcs[K],d5(J),J.ip=Y,J.prog=Q,Lw.DEBUG)console.log(++J.step,"returning from",K)}function YX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"CINDEX[]",Y);K.push(K[K.length-Y])}function QX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"MINDEX[]",Y);K.push(K.splice(K.length-Y,1)[0])}function XX(J){if(J.env!=="fpgm")throw Error("FDEF not allowed here");var{stack:K,prog:Y,ip:Q}=J,X=K.pop(),Z=Q;if(Lw.DEBUG)console.log(J.step,"FDEF[]",X);while(Y[++Q]!==45);J.ip=Q,J.funcs[X]=Y.slice(Z+1,Q)}function x4(J,K){var Y=K.stack.pop(),Q=K.z0[Y],X=K.fv,Z=K.pv;if(Lw.DEBUG)console.log(K.step,"MDAP["+J+"]",Y);var q=Z.distance(Q,A1);if(J)q=K.round(q);X.setRelative(Q,A1,q,Z),X.touch(Q),K.rp0=K.rp1=Y}function b4(J,K){var Y=K.z2,Q=Y.length-2,X,Z,q;if(Lw.DEBUG)console.log(K.step,"IUP["+J.axis+"]");for(var W=0;W<Q;W++){if(X=Y[W],J.touched(X))continue;if(Z=X.prevTouched(J),Z===X)continue;if(q=X.nextTouched(J),Z===q)J.setRelative(X,X,J.distance(Z,Z,!1,!0),J,!0);J.interpolate(X,Z,q,J)}}function m4(J,K){var Y=K.stack,Q=J?K.rp1:K.rp2,X=(J?K.z0:K.z1)[Q],Z=K.fv,q=K.pv,W=K.loop,H=K.z2;while(W--){var z=Y.pop(),w=H[z],A=q.distance(X,X,!1,!0);if(Z.setRelative(w,w,A,q),Z.touch(w),Lw.DEBUG)console.log(K.step,(K.loop>1?"loop "+(K.loop-W)+": ":"")+"SHP["+(J?"rp1":"rp2")+"]",z)}K.loop=1}function f4(J,K){var Y=K.stack,Q=J?K.rp1:K.rp2,X=(J?K.z0:K.z1)[Q],Z=K.fv,q=K.pv,W=Y.pop(),H=K.z2[K.contours[W]],z=H;if(Lw.DEBUG)console.log(K.step,"SHC["+J+"]",W);var w=q.distance(X,X,!1,!0);do{if(z!==X)Z.setRelative(z,z,w,q);z=z.nextPointOnContour}while(z!==H)}function d4(J,K){var Y=K.stack,Q=J?K.rp1:K.rp2,X=(J?K.z0:K.z1)[Q],Z=K.fv,q=K.pv,W=Y.pop();if(Lw.DEBUG)console.log(K.step,"SHZ["+J+"]",W);var H;switch(W){case 0:H=K.tZone;break;case 1:H=K.gZone;break;default:throw Error("Invalid zone")}var z,w=q.distance(X,X,!1,!0),A=H.length-2;for(var V=0;V<A;V++)z=H[V],Z.setRelative(z,z,w,q)}function ZX(J){var{stack:K,loop:Y,fv:Q}=J,X=K.pop()/64,Z=J.z2;while(Y--){var q=K.pop(),W=Z[q];if(Lw.DEBUG)console.log(J.step,(J.loop>1?"loop "+(J.loop-Y)+": ":"")+"SHPIX[]",q,X);Q.setRelative(W,W,X),Q.touch(W)}J.loop=1}function qX(J){var{stack:K,rp1:Y,rp2:Q,loop:X}=J,Z=J.z0[Y],q=J.z1[Q],W=J.fv,H=J.dpv,z=J.z2;while(X--){var w=K.pop(),A=z[w];if(Lw.DEBUG)console.log(J.step,(J.loop>1?"loop "+(J.loop-X)+": ":"")+"IP[]",w,Y,"<->",Q);W.interpolate(A,Z,q,H),W.touch(A)}J.loop=1}function u4(J,K){var Y=K.stack,Q=Y.pop()/64,X=Y.pop(),Z=K.z1[X],q=K.z0[K.rp0],W=K.fv,H=K.pv;if(W.setRelative(Z,q,Q,H),W.touch(Z),Lw.DEBUG)console.log(K.step,"MSIRP["+J+"]",Q,X);if(K.rp1=K.rp0,K.rp2=X,J)K.rp0=X}function HX(J){var{stack:K,rp0:Y}=J,Q=J.z0[Y],X=J.loop,Z=J.fv,q=J.pv,W=J.z1;while(X--){var H=K.pop(),z=W[H];if(Lw.DEBUG)console.log(J.step,(J.loop>1?"loop "+(J.loop-X)+": ":"")+"ALIGNRP[]",H);Z.setRelative(z,Q,0,q),Z.touch(z)}J.loop=1}function WX(J){if(Lw.DEBUG)console.log(J.step,"RTDG[]");J.round=_Q}function l4(J,K){var Y=K.stack,Q=Y.pop(),X=Y.pop(),Z=K.z0[X],q=K.fv,W=K.pv,H=K.cvt[Q];if(Lw.DEBUG)console.log(K.step,"MIAP["+J+"]",Q,"(",H,")",X);var z=W.distance(Z,A1);if(J){if(Math.abs(z-H)<K.cvCutIn)z=H;z=K.round(z)}if(q.setRelative(Z,A1,z,W),K.zp0===0)Z.xo=Z.x,Z.yo=Z.y;q.touch(Z),K.rp0=K.rp1=X}function zX(J){var{prog:K,ip:Y,stack:Q}=J,X=K[++Y];if(Lw.DEBUG)console.log(J.step,"NPUSHB[]",X);for(var Z=0;Z<X;Z++)Q.push(K[++Y]);J.ip=Y}function wX(J){var{ip:K,prog:Y,stack:Q}=J,X=Y[++K];if(Lw.DEBUG)console.log(J.step,"NPUSHW[]",X);for(var Z=0;Z<X;Z++){var q=Y[++K]<<8|Y[++K];if(q&32768)q=-((q^65535)+1);Q.push(q)}J.ip=K}function AX(J){var{stack:K,store:Y}=J;if(!Y)Y=J.store=[];var Q=K.pop(),X=K.pop();if(Lw.DEBUG)console.log(J.step,"WS",Q,X);Y[X]=Q}function VX(J){var{stack:K,store:Y}=J,Q=K.pop();if(Lw.DEBUG)console.log(J.step,"RS",Q);var X=Y&&Y[Q]||0;K.push(X)}function UX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"WCVTP",Y,Q);J.cvt[Q]=Y/64}function $X(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"RCVT",Y);K.push(J.cvt[Y]*64)}function c4(J,K){var Y=K.stack,Q=Y.pop(),X=K.z2[Q];if(Lw.DEBUG)console.log(K.step,"GC["+J+"]",Q);Y.push(K.dpv.distance(X,A1,J,!1)*64)}function p4(J,K){var Y=K.stack,Q=Y.pop(),X=Y.pop(),Z=K.z1[Q],q=K.z0[X],W=K.dpv.distance(q,Z,J,J);if(Lw.DEBUG)console.log(K.step,"MD["+J+"]",Q,X,"->",W);K.stack.push(Math.round(W*64))}function BX(J){if(Lw.DEBUG)console.log(J.step,"MPPEM[]");J.stack.push(J.ppem)}function GX(J){if(Lw.DEBUG)console.log(J.step,"FLIPON[]");J.autoFlip=!0}function MX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"LT[]",Y,Q);K.push(Q<Y?1:0)}function NX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"LTEQ[]",Y,Q);K.push(Q<=Y?1:0)}function LX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"GT[]",Y,Q);K.push(Q>Y?1:0)}function OX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"GTEQ[]",Y,Q);K.push(Q>=Y?1:0)}function jX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"EQ[]",Y,Q);K.push(Y===Q?1:0)}function EX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"NEQ[]",Y,Q);K.push(Y!==Q?1:0)}function FX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"ODD[]",Y);K.push(Math.trunc(Y)%2?1:0)}function RX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"EVEN[]",Y);K.push(Math.trunc(Y)%2?0:1)}function _X(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"IF[]",K);if(!K){if(L7(J,!0),Lw.DEBUG)console.log(J.step,"EIF[]")}}function DX(J){if(Lw.DEBUG)console.log(J.step,"EIF[]")}function IX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"AND[]",Y,Q);K.push(Y&&Q?1:0)}function CX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"OR[]",Y,Q);K.push(Y||Q?1:0)}function TX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"NOT[]",Y);K.push(Y?0:1)}function z9(J,K){var Y=K.stack,Q=Y.pop(),X=K.fv,Z=K.pv,q=K.ppem,W=K.deltaBase+(J-1)*16,H=K.deltaShift,z=K.z0;if(Lw.DEBUG)console.log(K.step,"DELTAP["+J+"]",Q,Y);for(var w=0;w<Q;w++){var A=Y.pop(),V=Y.pop(),U=W+((V&240)>>4);if(U!==q)continue;var M=(V&15)-8;if(M>=0)M++;if(Lw.DEBUG)console.log(K.step,"DELTAPFIX",A,"by",M*H);var B=z[A];X.setRelative(B,B,M*H,Z)}}function PX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"SDB[]",Y);J.deltaBase=Y}function SX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"SDS[]",Y);J.deltaShift=Math.pow(0.5,Y)}function vX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"ADD[]",Y,Q);K.push(Q+Y)}function yX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"SUB[]",Y,Q);K.push(Q-Y)}function kX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"DIV[]",Y,Q);K.push(Q*64/Y)}function hX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"MUL[]",Y,Q);K.push(Q*Y/64)}function gX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"ABS[]",Y);K.push(Math.abs(Y))}function xX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"NEG[]",Y);K.push(-Y)}function bX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"FLOOR[]",Y);K.push(Math.floor(Y/64)*64)}function mX(J){var K=J.stack,Y=K.pop();if(Lw.DEBUG)console.log(J.step,"CEILING[]",Y);K.push(Math.ceil(Y/64)*64)}function i1(J,K){var Y=K.stack,Q=Y.pop();if(Lw.DEBUG)console.log(K.step,"ROUND[]");Y.push(K.round(Q/64)*64)}function fX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"WCVTF[]",Y,Q);J.cvt[Q]=Y*J.ppem/J.font.unitsPerEm}function w9(J,K){var Y=K.stack,Q=Y.pop(),X=K.ppem,Z=K.deltaBase+(J-1)*16,q=K.deltaShift;if(Lw.DEBUG)console.log(K.step,"DELTAC["+J+"]",Q,Y);for(var W=0;W<Q;W++){var H=Y.pop(),z=Y.pop(),w=Z+((z&240)>>4);if(w!==X)continue;var A=(z&15)-8;if(A>=0)A++;var V=A*q;if(Lw.DEBUG)console.log(K.step,"DELTACFIX",H,"by",V);K.cvt[H]+=V}}function dX(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"SROUND[]",K);J.round=N7;var Y;switch(K&192){case 0:Y=0.5;break;case 64:Y=1;break;case 128:Y=2;break;default:throw Error("invalid SROUND value")}switch(J.srPeriod=Y,K&48){case 0:J.srPhase=0;break;case 16:J.srPhase=0.25*Y;break;case 32:J.srPhase=0.5*Y;break;case 48:J.srPhase=0.75*Y;break;default:throw Error("invalid SROUND value")}if(K&=15,K===0)J.srThreshold=0;else J.srThreshold=(K/8-0.5)*Y}function uX(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"S45ROUND[]",K);J.round=N7;var Y;switch(K&192){case 0:Y=Math.sqrt(2)/2;break;case 64:Y=Math.sqrt(2);break;case 128:Y=2*Math.sqrt(2);break;default:throw Error("invalid S45ROUND value")}switch(J.srPeriod=Y,K&48){case 0:J.srPhase=0;break;case 16:J.srPhase=0.25*Y;break;case 32:J.srPhase=0.5*Y;break;case 48:J.srPhase=0.75*Y;break;default:throw Error("invalid S45ROUND value")}if(K&=15,K===0)J.srThreshold=0;else J.srThreshold=(K/8-0.5)*Y}function lX(J){if(Lw.DEBUG)console.log(J.step,"ROFF[]");J.round=RQ}function cX(J){if(Lw.DEBUG)console.log(J.step,"RUTG[]");J.round=IQ}function pX(J){if(Lw.DEBUG)console.log(J.step,"RDTG[]");J.round=CQ}function iX(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"SCANCTRL[]",K)}function i4(J,K){var Y=K.stack,Q=Y.pop(),X=Y.pop(),Z=K.z2[Q],q=K.z1[X];if(Lw.DEBUG)console.log(K.step,"SDPVTL["+J+"]",Q,X);var W,H;if(!J)W=q.x-Z.x,H=q.y-Z.y;else W=Z.y-q.y,H=q.x-Z.x;K.dpv=G1(W,H)}function rX(J){var K=J.stack,Y=K.pop(),Q=0;if(Lw.DEBUG)console.log(J.step,"GETINFO[]",Y);if(Y&1)Q=35;if(Y&32)Q|=4096;K.push(Q)}function oX(J){var K=J.stack,Y=K.pop(),Q=K.pop(),X=K.pop();if(Lw.DEBUG)console.log(J.step,"ROLL[]");K.push(Q),K.push(Y),K.push(X)}function nX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"MAX[]",Y,Q);K.push(Math.max(Q,Y))}function sX(J){var K=J.stack,Y=K.pop(),Q=K.pop();if(Lw.DEBUG)console.log(J.step,"MIN[]",Y,Q);K.push(Math.min(Q,Y))}function aX(J){var K=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"SCANTYPE[]",K)}function tX(J){var K=J.stack.pop(),Y=J.stack.pop();if(Lw.DEBUG)console.log(J.step,"INSTCTRL[]",K,Y);switch(K){case 1:J.inhibitGridFit=!!Y;return;case 2:J.ignoreCvt=!!Y;return;default:throw Error("invalid INSTCTRL[] selector")}}function D5(J,K){var{stack:Y,prog:Q,ip:X}=K;if(Lw.DEBUG)console.log(K.step,"PUSHB["+J+"]");for(var Z=0;Z<J;Z++)Y.push(Q[++X]);K.ip=X}function I5(J,K){var{ip:Y,prog:Q,stack:X}=K;if(Lw.DEBUG)console.log(K.ip,"PUSHW["+J+"]");for(var Z=0;Z<J;Z++){var q=Q[++Y]<<8|Q[++Y];if(q&32768)q=-((q^65535)+1);X.push(q)}K.ip=Y}function c(J,K,Y,Q,X,Z){var q=Z.stack,W=J&&q.pop(),H=q.pop(),z=Z.rp0,w=Z.z0[z],A=Z.z1[H],V=Z.minDis,U=Z.fv,M=Z.dpv,B,G,L,O;if(G=B=M.distance(A,w,!0,!0),L=G>=0?1:-1,G=Math.abs(G),J){if(O=Z.cvt[W],Q&&Math.abs(G-O)<Z.cvCutIn)G=O}if(Y&&G<V)G=V;if(Q)G=Z.round(G);if(U.setRelative(A,w,L*G,M),U.touch(A),Lw.DEBUG)console.log(Z.step,(J?"MIRP[":"MDRP[")+(K?"M":"m")+(Y?">":"_")+(Q?"R":"_")+(X===0?"Gr":X===1?"Bl":X===2?"Wh":"")+"]",J?W+"("+Z.cvt[W]+","+O+")":"",H,"(d =",B,"->",L*G,")");if(Z.rp1=Z.rp0,Z.rp2=H,K)Z.rp0=H}$7=[v4.bind(void 0,M5),v4.bind(void 0,V5),y4.bind(void 0,M5),y4.bind(void 0,V5),k4.bind(void 0,M5),k4.bind(void 0,V5),h4.bind(void 0,0),h4.bind(void 0,1),g4.bind(void 0,0),g4.bind(void 0,1),PQ,SQ,vQ,yQ,kQ,hQ,gQ,xQ,bQ,mQ,fQ,dQ,uQ,lQ,cQ,pQ,iQ,rQ,oQ,nQ,void 0,void 0,sQ,W9,aQ,tQ,eQ,YX,QX,void 0,void 0,void 0,JX,KX,XX,void 0,x4.bind(void 0,0),x4.bind(void 0,1),b4.bind(void 0,M5),b4.bind(void 0,V5),m4.bind(void 0,0),m4.bind(void 0,1),f4.bind(void 0,0),f4.bind(void 0,1),d4.bind(void 0,0),d4.bind(void 0,1),ZX,qX,u4.bind(void 0,0),u4.bind(void 0,1),HX,WX,l4.bind(void 0,0),l4.bind(void 0,1),zX,wX,AX,VX,UX,$X,c4.bind(void 0,0),c4.bind(void 0,1),void 0,p4.bind(void 0,0),p4.bind(void 0,1),BX,void 0,GX,void 0,void 0,MX,NX,LX,OX,jX,EX,FX,RX,_X,DX,IX,CX,TX,z9.bind(void 0,1),PX,SX,vX,yX,kX,hX,gX,xX,bX,mX,i1.bind(void 0,0),i1.bind(void 0,1),i1.bind(void 0,2),i1.bind(void 0,3),void 0,void 0,void 0,void 0,fX,z9.bind(void 0,2),z9.bind(void 0,3),w9.bind(void 0,1),w9.bind(void 0,2),w9.bind(void 0,3),dX,uX,void 0,void 0,lX,void 0,cX,pX,W9,W9,void 0,void 0,void 0,void 0,void 0,iX,i4.bind(void 0,0),i4.bind(void 0,1),rX,void 0,oX,nX,sX,aX,tX,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,D5.bind(void 0,1),D5.bind(void 0,2),D5.bind(void 0,3),D5.bind(void 0,4),D5.bind(void 0,5),D5.bind(void 0,6),D5.bind(void 0,7),D5.bind(void 0,8),I5.bind(void 0,1),I5.bind(void 0,2),I5.bind(void 0,3),I5.bind(void 0,4),I5.bind(void 0,5),I5.bind(void 0,6),I5.bind(void 0,7),I5.bind(void 0,8),c.bind(void 0,0,0,0,0,0),c.bind(void 0,0,0,0,0,1),c.bind(void 0,0,0,0,0,2),c.bind(void 0,0,0,0,0,3),c.bind(void 0,0,0,0,1,0),c.bind(void 0,0,0,0,1,1),c.bind(void 0,0,0,0,1,2),c.bind(void 0,0,0,0,1,3),c.bind(void 0,0,0,1,0,0),c.bind(void 0,0,0,1,0,1),c.bind(void 0,0,0,1,0,2),c.bind(void 0,0,0,1,0,3),c.bind(void 0,0,0,1,1,0),c.bind(void 0,0,0,1,1,1),c.bind(void 0,0,0,1,1,2),c.bind(void 0,0,0,1,1,3),c.bind(void 0,0,1,0,0,0),c.bind(void 0,0,1,0,0,1),c.bind(void 0,0,1,0,0,2),c.bind(void 0,0,1,0,0,3),c.bind(void 0,0,1,0,1,0),c.bind(void 0,0,1,0,1,1),c.bind(void 0,0,1,0,1,2),c.bind(void 0,0,1,0,1,3),c.bind(void 0,0,1,1,0,0),c.bind(void 0,0,1,1,0,1),c.bind(void 0,0,1,1,0,2),c.bind(void 0,0,1,1,0,3),c.bind(void 0,0,1,1,1,0),c.bind(void 0,0,1,1,1,1),c.bind(void 0,0,1,1,1,2),c.bind(void 0,0,1,1,1,3),c.bind(void 0,1,0,0,0,0),c.bind(void 0,1,0,0,0,1),c.bind(void 0,1,0,0,0,2),c.bind(void 0,1,0,0,0,3),c.bind(void 0,1,0,0,1,0),c.bind(void 0,1,0,0,1,1),c.bind(void 0,1,0,0,1,2),c.bind(void 0,1,0,0,1,3),c.bind(void 0,1,0,1,0,0),c.bind(void 0,1,0,1,0,1),c.bind(void 0,1,0,1,0,2),c.bind(void 0,1,0,1,0,3),c.bind(void 0,1,0,1,1,0),c.bind(void 0,1,0,1,1,1),c.bind(void 0,1,0,1,1,2),c.bind(void 0,1,0,1,1,3),c.bind(void 0,1,1,0,0,0),c.bind(void 0,1,1,0,0,1),c.bind(void 0,1,1,0,0,2),c.bind(void 0,1,1,0,0,3),c.bind(void 0,1,1,0,1,0),c.bind(void 0,1,1,0,1,1),c.bind(void 0,1,1,0,1,2),c.bind(void 0,1,1,0,1,3),c.bind(void 0,1,1,1,0,0),c.bind(void 0,1,1,1,0,1),c.bind(void 0,1,1,1,0,2),c.bind(void 0,1,1,1,0,3),c.bind(void 0,1,1,1,1,0),c.bind(void 0,1,1,1,1,1),c.bind(void 0,1,1,1,1,2),c.bind(void 0,1,1,1,1,3)];function K1(J){this.char=J,this.state={},this.activeState=null}function L9(J,K,Y){this.contextName=Y,this.startIndex=J,this.endOffset=K}function eX(J,K,Y){this.contextName=J,this.openRange=null,this.ranges=[],this.checkStart=K,this.checkEnd=Y}function J5(J,K){this.context=J,this.index=K,this.length=J.length,this.current=J[K],this.backtrack=J.slice(0,K),this.lookahead=J.slice(K+1)}function a1(J){this.eventId=J,this.subscribers=[]}function JZ(J){var K=this,Y=["start","end","next","newToken","contextStart","contextEnd","insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD","updateContextsRanges"];if(Y.forEach(function(X){Object.defineProperty(K.events,X,{value:new a1(X)})}),J)Y.forEach(function(X){var Z=J[X];if(typeof Z==="function")K.events[X].subscribe(Z)});var Q=["insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD"];Q.forEach(function(X){K.events[X].subscribe(K.updateContextsRanges)})}function L0(J){this.tokens=[],this.registeredContexts={},this.contextCheckers=[],this.events={},this.registeredModifiers=[],JZ.call(this,J)}K1.prototype.setState=function(J,K){return this.state[J]=K,this.activeState={key:J,value:this.state[J]},this.activeState};K1.prototype.getState=function(J){return this.state[J]||null};L0.prototype.inboundIndex=function(J){return J>=0&&J<this.tokens.length};L0.prototype.composeRUD=function(J){var K=this,Y=!0,Q=J.map(function(Z){return K[Z[0]].apply(K,Z.slice(1).concat(Y))}),X=function(Z){return typeof Z==="object"&&Z.hasOwnProperty("FAIL")};if(Q.every(X))return{FAIL:"composeRUD: one or more operations hasn't completed successfully",report:Q.filter(X)};this.dispatch("composeRUD",[Q.filter(function(Z){return!X(Z)})])};L0.prototype.replaceRange=function(J,K,Y,Q){K=K!==null?K:this.tokens.length;var X=Y.every(function(q){return q instanceof K1});if(!isNaN(J)&&this.inboundIndex(J)&&X){var Z=this.tokens.splice.apply(this.tokens,[J,K].concat(Y));if(!Q)this.dispatch("replaceToken",[J,K,Y]);return[Z,Y]}else return{FAIL:"replaceRange: invalid tokens or startIndex."}};L0.prototype.replaceToken=function(J,K,Y){if(!isNaN(J)&&this.inboundIndex(J)&&K instanceof K1){var Q=this.tokens.splice(J,1,K);if(!Y)this.dispatch("replaceToken",[J,K]);return[Q[0],K]}else return{FAIL:"replaceToken: invalid token or index."}};L0.prototype.removeRange=function(J,K,Y){K=!isNaN(K)?K:this.tokens.length;var Q=this.tokens.splice(J,K);if(!Y)this.dispatch("removeRange",[Q,J,K]);return Q};L0.prototype.removeToken=function(J,K){if(!isNaN(J)&&this.inboundIndex(J)){var Y=this.tokens.splice(J,1);if(!K)this.dispatch("removeToken",[Y,J]);return Y}else return{FAIL:"removeToken: invalid token index."}};L0.prototype.insertToken=function(J,K,Y){var Q=J.every(function(X){return X instanceof K1});if(Q){if(this.tokens.splice.apply(this.tokens,[K,0].concat(J)),!Y)this.dispatch("insertToken",[J,K]);return J}else return{FAIL:"insertToken: invalid token(s)."}};L0.prototype.registerModifier=function(J,K,Y){this.events.newToken.subscribe(function(Q,X){var Z=[Q,X],q=K===null||K.apply(this,Z)===!0,W=[Q,X];if(q){var H=Y.apply(this,W);Q.setState(J,H)}}),this.registeredModifiers.push(J)};a1.prototype.subscribe=function(J){if(typeof J==="function")return this.subscribers.push(J)-1;else return{FAIL:"invalid '"+this.eventId+"' event handler"}};a1.prototype.unsubscribe=function(J){this.subscribers.splice(J,1)};J5.prototype.setCurrentIndex=function(J){this.index=J,this.current=this.context[J],this.backtrack=this.context.slice(0,J),this.lookahead=this.context.slice(J+1)};J5.prototype.get=function(J){switch(!0){case J===0:return this.current;case(J<0&&Math.abs(J)<=this.backtrack.length):return this.backtrack.slice(J)[0];case(J>0&&J<=this.lookahead.length):return this.lookahead[J-1];default:return null}};L0.prototype.rangeToText=function(J){if(J instanceof L9)return this.getRangeTokens(J).map(function(K){return K.char}).join("")};L0.prototype.getText=function(){return this.tokens.map(function(J){return J.char}).join("")};L0.prototype.getContext=function(J){var K=this.registeredContexts[J];return K?K:null};L0.prototype.on=function(J,K){var Y=this.events[J];if(Y)return Y.subscribe(K);else return null};L0.prototype.dispatch=function(J,K){var Y=this,Q=this.events[J];if(Q instanceof a1)Q.subscribers.forEach(function(X){X.apply(Y,K||[])})};L0.prototype.registerContextChecker=function(J,K,Y){if(this.getContext(J))return{FAIL:"context name '"+J+"' is already registered."};if(typeof K!=="function")return{FAIL:"missing context start check."};if(typeof Y!=="function")return{FAIL:"missing context end check."};var Q=new eX(J,K,Y);return this.registeredContexts[J]=Q,this.contextCheckers.push(Q),Q};L0.prototype.getRangeTokens=function(J){var K=J.startIndex+J.endOffset;return[].concat(this.tokens.slice(J.startIndex,K))};L0.prototype.getContextRanges=function(J){var K=this.getContext(J);if(K)return K.ranges;else return{FAIL:"context checker '"+J+"' is not registered."}};L0.prototype.resetContextsRanges=function(){var J=this.registeredContexts;for(var K in J)if(J.hasOwnProperty(K)){var Y=J[K];Y.ranges=[]}};L0.prototype.updateContextsRanges=function(){this.resetContextsRanges();var J=this.tokens.map(function(Q){return Q.char});for(var K=0;K<J.length;K++){var Y=new J5(J,K);this.runContextCheck(Y)}this.dispatch("updateContextsRanges",[this.registeredContexts])};L0.prototype.setEndOffset=function(J,K){var Y=this.getContext(K).openRange.startIndex,Q=new L9(Y,J,K),X=this.getContext(K).ranges;return Q.rangeId=K+"."+X.length,X.push(Q),this.getContext(K).openRange=null,Q};L0.prototype.runContextCheck=function(J){var K=this,Y=J.index;this.contextCheckers.forEach(function(Q){var X=Q.contextName,Z=K.getContext(X).openRange;if(!Z&&Q.checkStart(J))Z=new L9(Y,null,X),K.getContext(X).openRange=Z,K.dispatch("contextStart",[X,Y]);if(!!Z&&Q.checkEnd(J)){var q=Y-Z.startIndex+1,W=K.setEndOffset(q,X);K.dispatch("contextEnd",[X,W])}})};L0.prototype.tokenize=function(J){this.tokens=[],this.resetContextsRanges();var K=Array.from(J);this.dispatch("start");for(var Y=0;Y<K.length;Y++){var Q=K[Y],X=new J5(K,Y);this.dispatch("next",[X]),this.runContextCheck(X);var Z=new K1(Q);this.tokens.push(Z),this.dispatch("newToken",[Z,X])}return this.dispatch("end",[this.tokens]),this.tokens};function S5(J){return/[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(J)}function O7(J){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(J)}function v5(J){return/[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(J)}function r1(J){return/[A-z]/.test(J)}function KZ(J){return/\s/.test(J)}function u0(J){this.font=J,this.features={}}function m5(J){this.id=J.id,this.tag=J.tag,this.substitution=J.substitution}function M1(J,K){if(!J)return-1;switch(K.format){case 1:return K.glyphs.indexOf(J);case 2:var Y=K.ranges;for(var Q=0;Q<Y.length;Q++){var X=Y[Q];if(J>=X.start&&J<=X.end){var Z=J-X.start;return X.index+Z}}break;default:return-1}return-1}function YZ(J,K){var Y=M1(J,K.coverage);if(Y===-1)return null;return J+K.deltaGlyphId}function QZ(J,K){var Y=M1(J,K.coverage);if(Y===-1)return null;return K.substitute[Y]}function A9(J,K){var Y=[];for(var Q=0;Q<J.length;Q++){var X=J[Q],Z=K.current;Z=Array.isArray(Z)?Z[0]:Z;var q=M1(Z,X);if(q!==-1)Y.push(q)}if(Y.length!==J.length)return-1;return Y}function XZ(J,K){var Y=K.inputCoverage.length+K.lookaheadCoverage.length+K.backtrackCoverage.length;if(J.context.length<Y)return[];var Q=A9(K.inputCoverage,J);if(Q===-1)return[];var X=K.inputCoverage.length-1;if(J.lookahead.length<K.lookaheadCoverage.length)return[];var Z=J.lookahead.slice(X);while(Z.length&&v5(Z[0].char))Z.shift();var q=new J5(Z,0),W=A9(K.lookaheadCoverage,q),H=[].concat(J.backtrack);H.reverse();while(H.length&&v5(H[0].char))H.shift();if(H.length<K.backtrackCoverage.length)return[];var z=new J5(H,0),w=A9(K.backtrackCoverage,z),A=Q.length===K.inputCoverage.length&&W.length===K.lookaheadCoverage.length&&w.length===K.backtrackCoverage.length,V=[];if(A)for(var U=0;U<K.lookupRecords.length;U++){var M=K.lookupRecords[U],B=M.lookupListIndex,G=this.getLookupByIndex(B);for(var L=0;L<G.subtables.length;L++){var O=G.subtables[L],R=this.getLookupMethod(G,O),D=this.getSubstitutionType(G,O);if(D==="12")for(var F=0;F<Q.length;F++){var j=J.get(F),C=R(j);if(C)V.push(C)}}}return V}function ZZ(J,K){var Y=J.current,Q=M1(Y,K.coverage);if(Q===-1)return null;var X,Z=K.ligatureSets[Q];for(var q=0;q<Z.length;q++){X=Z[q];for(var W=0;W<X.components.length;W++){var H=J.lookahead[W],z=X.components[W];if(H!==z)break;if(W===X.components.length-1)return X}}return null}function qZ(J,K){var Y=M1(J,K.coverage);if(Y===-1)return null;return K.sequences[Y]}u0.prototype.getDefaultScriptFeaturesIndexes=function(){var J=this.font.tables.gsub.scripts;for(var K=0;K<J.length;K++){var Y=J[K];if(Y.tag==="DFLT")return Y.script.defaultLangSys.featureIndexes}return[]};u0.prototype.getScriptFeaturesIndexes=function(J){var K=this.font.tables;if(!K.gsub)return[];if(!J)return this.getDefaultScriptFeaturesIndexes();var Y=this.font.tables.gsub.scripts;for(var Q=0;Q<Y.length;Q++){var X=Y[Q];if(X.tag===J&&X.script.defaultLangSys)return X.script.defaultLangSys.featureIndexes;else{var Z=X.langSysRecords;if(Z)for(var q=0;q<Z.length;q++){var W=Z[q];if(W.tag===J){var H=W.langSys;return H.featureIndexes}}}}return this.getDefaultScriptFeaturesIndexes()};u0.prototype.mapTagsToFeatures=function(J,K){var Y={};for(var Q=0;Q<J.length;Q++){var X=J[Q].tag,Z=J[Q].feature;Y[X]=Z}this.features[K].tags=Y};u0.prototype.getScriptFeatures=function(J){var K=this.features[J];if(this.features.hasOwnProperty(J))return K;var Y=this.getScriptFeaturesIndexes(J);if(!Y)return null;var Q=this.font.tables.gsub;return K=Y.map(function(X){return Q.features[X]}),this.features[J]=K,this.mapTagsToFeatures(K,J),K};u0.prototype.getSubstitutionType=function(J,K){var Y=J.lookupType.toString(),Q=K.substFormat.toString();return Y+Q};u0.prototype.getLookupMethod=function(J,K){var Y=this,Q=this.getSubstitutionType(J,K);switch(Q){case"11":return function(X){return YZ.apply(Y,[X,K])};case"12":return function(X){return QZ.apply(Y,[X,K])};case"63":return function(X){return XZ.apply(Y,[X,K])};case"41":return function(X){return ZZ.apply(Y,[X,K])};case"21":return function(X){return qZ.apply(Y,[X,K])};default:throw Error("lookupType: "+J.lookupType+" - substFormat: "+K.substFormat+" is not yet supported")}};u0.prototype.lookupFeature=function(J){var K=J.contextParams,Y=K.index,Q=this.getFeature({tag:J.tag,script:J.script});if(!Q)return Error("font '"+this.font.names.fullName.en+"' doesn't support feature '"+J.tag+"' for script '"+J.script+"'.");var X=this.getFeatureLookups(Q),Z=[].concat(K.context);for(var q=0;q<X.length;q++){var W=X[q],H=this.getLookupSubtables(W);for(var z=0;z<H.length;z++){var w=H[z],A=this.getSubstitutionType(W,w),V=this.getLookupMethod(W,w),U=void 0;switch(A){case"11":if(U=V(K.current),U)Z.splice(Y,1,new m5({id:11,tag:J.tag,substitution:U}));break;case"12":if(U=V(K.current),U)Z.splice(Y,1,new m5({id:12,tag:J.tag,substitution:U}));break;case"63":if(U=V(K),Array.isArray(U)&&U.length)Z.splice(Y,1,new m5({id:63,tag:J.tag,substitution:U}));break;case"41":if(U=V(K),U)Z.splice(Y,1,new m5({id:41,tag:J.tag,substitution:U}));break;case"21":if(U=V(K.current),U)Z.splice(Y,1,new m5({id:21,tag:J.tag,substitution:U}));break}if(K=new J5(Z,Y),Array.isArray(U)&&!U.length)continue;U=null}}return Z.length?Z:null};u0.prototype.supports=function(J){if(!J.script)return!1;this.getScriptFeatures(J.script);var K=this.features.hasOwnProperty(J.script);if(!J.tag)return K;var Y=this.features[J.script].some(function(Q){return Q.tag===J.tag});return K&&Y};u0.prototype.getLookupSubtables=function(J){return J.subtables||null};u0.prototype.getLookupByIndex=function(J){var K=this.font.tables.gsub.lookups;return K[J]||null};u0.prototype.getFeatureLookups=function(J){return J.lookupListIndexes.map(this.getLookupByIndex.bind(this))};u0.prototype.getFeature=function(K){if(!this.font)return{FAIL:"No font was found"};if(!this.features.hasOwnProperty(K.script))this.getScriptFeatures(K.script);var Y=this.features[K.script];if(!Y)return{FAIL:"No feature for script "+K.script};if(!Y.tags[K.tag])return null;return this.features[K.script].tags[K.tag]};function HZ(J){var K=J.current,Y=J.get(-1);return Y===null&&S5(K)||!S5(Y)&&S5(K)}function WZ(J){var K=J.get(1);return K===null||!S5(K)}var zZ={startCheck:HZ,endCheck:WZ};function wZ(J){var K=J.current,Y=J.get(-1);return(S5(K)||v5(K))&&!S5(Y)}function AZ(J){var K=J.get(1);switch(!0){case K===null:return!0;case(!S5(K)&&!v5(K)):var Y=KZ(K);if(!Y)return!0;if(Y){var Q=!1;if(Q=J.lookahead.some(function(X){return S5(X)||v5(X)}),!Q)return!0}break;default:return!1}}var VZ={startCheck:wZ,endCheck:AZ};function UZ(J,K,Y){K[Y].setState(J.tag,J.substitution)}function $Z(J,K,Y){K[Y].setState(J.tag,J.substitution)}function BZ(J,K,Y){J.substitution.forEach(function(Q,X){var Z=K[Y+X];Z.setState(J.tag,Q)})}function GZ(J,K,Y){var Q=K[Y];Q.setState(J.tag,J.substitution.ligGlyph);var X=J.substitution.components.length;for(var Z=0;Z<X;Z++)Q=K[Y+Z+1],Q.setState("deleted",!0)}var r4={11:UZ,12:$Z,63:BZ,41:GZ};function O9(J,K,Y){if(J instanceof m5&&r4[J.id])r4[J.id](J,K,Y)}function MZ(J){var K=[].concat(J.backtrack);for(var Y=K.length-1;Y>=0;Y--){var Q=K[Y],X=O7(Q),Z=v5(Q);if(!X&&!Z)return!0;if(X)return!1}return!1}function NZ(J){if(O7(J.current))return!1;for(var K=0;K<J.lookahead.length;K++){var Y=J.lookahead[K],Q=v5(Y);if(!Q)return!0}return!1}function LZ(J){var K=this,Y="arab",Q=this.featuresTags[Y],X=this.tokenizer.getRangeTokens(J);if(X.length===1)return;var Z=new J5(X.map(function(W){return W.getState("glyphIndex")}),0),q=new J5(X.map(function(W){return W.char}),0);X.forEach(function(W,H){if(v5(W.char))return;Z.setCurrentIndex(H),q.setCurrentIndex(H);var z=0;if(MZ(q))z|=1;if(NZ(q))z|=2;var w;switch(z){case 1:w="fina";break;case 2:w="init";break;case 3:w="medi";break}if(Q.indexOf(w)===-1)return;var A=K.query.lookupFeature({tag:w,script:Y,contextParams:Z});if(A instanceof Error)return console.info(A.message);A.forEach(function(V,U){if(V instanceof m5)O9(V,X,U),Z.context[U]=V.substitution})})}function o4(J,K){var Y=J.map(function(Q){return Q.activeState.value});return new J5(Y,K||0)}function OZ(J){var K=this,Y="arab",Q=this.tokenizer.getRangeTokens(J),X=o4(Q);X.context.forEach(function(Z,q){X.setCurrentIndex(q);var W=K.query.lookupFeature({tag:"rlig",script:Y,contextParams:X});if(W.length)W.forEach(function(H){return O9(H,Q,q)}),X=o4(Q)})}function jZ(J){var K=J.current,Y=J.get(-1);return Y===null&&r1(K)||!r1(Y)&&r1(K)}function EZ(J){var K=J.get(1);return K===null||!r1(K)}var FZ={startCheck:jZ,endCheck:EZ};function n4(J,K){var Y=J.map(function(Q){return Q.activeState.value});return new J5(Y,K||0)}function RZ(J){var K=this,Y="latn",Q=this.tokenizer.getRangeTokens(J),X=n4(Q);X.context.forEach(function(Z,q){X.setCurrentIndex(q);var W=K.query.lookupFeature({tag:"liga",script:Y,contextParams:X});if(W.length)W.forEach(function(H){return O9(H,Q,q)}),X=n4(Q)})}function Q5(J){this.baseDir=J||"ltr",this.tokenizer=new L0,this.featuresTags={}}Q5.prototype.setText=function(J){this.text=J};Q5.prototype.contextChecks={latinWordCheck:FZ,arabicWordCheck:zZ,arabicSentenceCheck:VZ};function V9(J){var K=this.contextChecks[J+"Check"];return this.tokenizer.registerContextChecker(J,K.startCheck,K.endCheck)}function _Z(){return V9.call(this,"latinWord"),V9.call(this,"arabicWord"),V9.call(this,"arabicSentence"),this.tokenizer.tokenize(this.text)}function DZ(){var J=this,K=this.tokenizer.getContextRanges("arabicSentence");K.forEach(function(Y){var Q=J.tokenizer.getRangeTokens(Y);J.tokenizer.replaceRange(Y.startIndex,Y.endOffset,Q.reverse())})}Q5.prototype.registerFeatures=function(J,K){var Y=this,Q=K.filter(function(X){return Y.query.supports({script:J,tag:X})});if(!this.featuresTags.hasOwnProperty(J))this.featuresTags[J]=Q;else this.featuresTags[J]=this.featuresTags[J].concat(Q)};Q5.prototype.applyFeatures=function(J,K){if(!J)throw Error("No valid font was provided to apply features");if(!this.query)this.query=new u0(J);for(var Y=0;Y<K.length;Y++){var Q=K[Y];if(!this.query.supports({script:Q.script}))continue;this.registerFeatures(Q.script,Q.tags)}};Q5.prototype.registerModifier=function(J,K,Y){this.tokenizer.registerModifier(J,K,Y)};function j9(){if(this.tokenizer.registeredModifiers.indexOf("glyphIndex")===-1)throw Error("glyphIndex modifier is required to apply arabic presentation features.")}function IZ(){var J=this,K="arab";if(!this.featuresTags.hasOwnProperty(K))return;j9.call(this);var Y=this.tokenizer.getContextRanges("arabicWord");Y.forEach(function(Q){LZ.call(J,Q)})}function CZ(){var J=this,K="arab";if(!this.featuresTags.hasOwnProperty(K))return;var Y=this.featuresTags[K];if(Y.indexOf("rlig")===-1)return;j9.call(this);var Q=this.tokenizer.getContextRanges("arabicWord");Q.forEach(function(X){OZ.call(J,X)})}function TZ(){var J=this,K="latn";if(!this.featuresTags.hasOwnProperty(K))return;var Y=this.featuresTags[K];if(Y.indexOf("liga")===-1)return;j9.call(this);var Q=this.tokenizer.getContextRanges("latinWord");Q.forEach(function(X){RZ.call(J,X)})}Q5.prototype.checkContextReady=function(J){return!!this.tokenizer.getContext(J)};Q5.prototype.applyFeaturesToContexts=function(){if(this.checkContextReady("arabicWord"))IZ.call(this),CZ.call(this);if(this.checkContextReady("latinWord"))TZ.call(this);if(this.checkContextReady("arabicSentence"))DZ.call(this)};Q5.prototype.processText=function(J){if(!this.text||this.text!==J)this.setText(J),_Z.call(this),this.applyFeaturesToContexts()};Q5.prototype.getBidiText=function(J){return this.processText(J),this.tokenizer.getText()};Q5.prototype.getTextGlyphs=function(J){this.processText(J);var K=[];for(var Y=0;Y<this.tokenizer.tokens.length;Y++){var Q=this.tokenizer.tokens[Y];if(Q.state.deleted)continue;var X=Q.activeState.value;K.push(Array.isArray(X)?X[0]:X)}return K};function y0(J){if(J=J||{},J.tables=J.tables||{},!J.empty)W1(J.familyName,"When creating a new Font object, familyName is required."),W1(J.styleName,"When creating a new Font object, styleName is required."),W1(J.unitsPerEm,"When creating a new Font object, unitsPerEm is required."),W1(J.ascender,"When creating a new Font object, ascender is required."),W1(J.descender<=0,"When creating a new Font object, negative descender value is required."),this.unitsPerEm=J.unitsPerEm||1000,this.ascender=J.ascender,this.descender=J.descender,this.createdTimestamp=J.createdTimestamp,this.tables=Object.assign(J.tables,{os2:Object.assign({usWeightClass:J.weightClass||this.usWeightClasses.MEDIUM,usWidthClass:J.widthClass||this.usWidthClasses.MEDIUM,fsSelection:J.fsSelection||this.fsSelectionValues.REGULAR},J.tables.os2)});this.supported=!0,this.glyphs=new U5.GlyphSet(this,J.glyphs||[]),this.encoding=new q7(this),this.position=new $1(this),this.substitution=new d0(this),this.tables=this.tables||{},this._push=null,this._hmtxTableData={},Object.defineProperty(this,"hinting",{get:function(){if(this._hinting)return this._hinting;if(this.outlinesFormat==="truetype")return this._hinting=new G7(this)}})}y0.prototype.hasChar=function(J){return this.encoding.charToGlyphIndex(J)!==null};y0.prototype.charToGlyphIndex=function(J){return this.encoding.charToGlyphIndex(J)};y0.prototype.charToGlyph=function(J){var K=this.charToGlyphIndex(J),Y=this.glyphs.get(K);if(!Y)Y=this.glyphs.get(0);return Y};y0.prototype.updateFeatures=function(J){return this.defaultRenderOptions.features.map(function(K){if(K.script==="latn")return{script:"latn",tags:K.tags.filter(function(Y){return J[Y]})};else return K})};y0.prototype.stringToGlyphs=function(J,K){var Y=this,Q=new Q5,X=function(A){return Y.charToGlyphIndex(A.char)};Q.registerModifier("glyphIndex",null,X);var Z=K?this.updateFeatures(K.features):this.defaultRenderOptions.features;Q.applyFeatures(this,Z);var q=Q.getTextGlyphs(J),W=q.length,H=Array(W),z=this.glyphs.get(0);for(var w=0;w<W;w+=1)H[w]=this.glyphs.get(q[w])||z;return H};y0.prototype.getKerningValue=function(J,K){J=J.index||J,K=K.index||K;var Y=this.position.defaultKerningTables;if(Y)return this.position.getKerningValue(Y,J,K);return this.kerningPairs[J+","+K]||0};y0.prototype.defaultRenderOptions={kerning:!0,features:[{script:"arab",tags:["init","medi","fina","rlig"]},{script:"latn",tags:["liga","rlig"]}]};y0.prototype.forEachGlyph=function(J,K,Y,Q,X,Z){K=K!==void 0?K:0,Y=Y!==void 0?Y:0,Q=Q!==void 0?Q:72,X=Object.assign({},this.defaultRenderOptions,X);var q=1/this.unitsPerEm*Q,W=this.stringToGlyphs(J,X),H;if(X.kerning){var z=X.script||this.position.getDefaultScriptName();H=this.position.getKerningTables(z,X.language)}for(var w=0;w<W.length;w+=1){var A=W[w];if(Z.call(this,A,K,Y,Q,X),A.advanceWidth)K+=A.advanceWidth*q;if(X.kerning&&w<W.length-1){var V=H?this.position.getKerningValue(H,A.index,W[w+1].index):this.getKerningValue(A,W[w+1]);K+=V*q}if(X.letterSpacing)K+=X.letterSpacing*Q;else if(X.tracking)K+=X.tracking/1000*Q}return K};y0.prototype.getPath=function(J,K,Y,Q,X){var Z=new v0;return this.forEachGlyph(J,K,Y,Q,X,function(q,W,H,z){var w=q.getPath(W,H,z,X,this);Z.extend(w)}),Z};y0.prototype.getPaths=function(J,K,Y,Q,X){var Z=[];return this.forEachGlyph(J,K,Y,Q,X,function(q,W,H,z){var w=q.getPath(W,H,z,X,this);Z.push(w)}),Z};y0.prototype.getAdvanceWidth=function(J,K,Y){return this.forEachGlyph(J,0,0,K,Y,function(){})};y0.prototype.fsSelectionValues={ITALIC:1,UNDERSCORE:2,NEGATIVE:4,OUTLINED:8,STRIKEOUT:16,BOLD:32,REGULAR:64,USER_TYPO_METRICS:128,WWS:256,OBLIQUE:512};y0.prototype.usWidthClasses={ULTRA_CONDENSED:1,EXTRA_CONDENSED:2,CONDENSED:3,SEMI_CONDENSED:4,MEDIUM:5,SEMI_EXPANDED:6,EXPANDED:7,EXTRA_EXPANDED:8,ULTRA_EXPANDED:9};y0.prototype.usWeightClasses={THIN:100,EXTRA_LIGHT:200,LIGHT:300,NORMAL:400,MEDIUM:500,SEMI_BOLD:600,BOLD:700,EXTRA_BOLD:800,BLACK:900};function PZ(J,K){K.parseUShort(),J.length=K.parseULong(),J.language=K.parseULong();var Y;J.groupCount=Y=K.parseULong(),J.glyphIndexMap={};for(var Q=0;Q<Y;Q+=1){var X=K.parseULong(),Z=K.parseULong(),q=K.parseULong();for(var W=X;W<=Z;W+=1)J.glyphIndexMap[W]=q,q++}}function SZ(J,K,Y,Q,X){J.length=K.parseUShort(),J.language=K.parseUShort();var Z;J.segCount=Z=K.parseUShort()>>1,K.skip("uShort",3),J.glyphIndexMap={};var q=new p.Parser(Y,Q+X+14),W=new p.Parser(Y,Q+X+16+Z*2),H=new p.Parser(Y,Q+X+16+Z*4),z=new p.Parser(Y,Q+X+16+Z*6),w=Q+X+16+Z*8;for(var A=0;A<Z-1;A+=1){var V=void 0,U=q.parseUShort(),M=W.parseUShort(),B=H.parseShort(),G=z.parseUShort();for(var L=M;L<=U;L+=1){if(G!==0){if(w=z.offset+z.relativeOffset-2,w+=G,w+=(L-M)*2,V=p.getUShort(Y,w),V!==0)V=V+B&65535}else V=L+B&65535;J.glyphIndexMap[L]=V}}}function vZ(J,K){var Y={};Y.version=p.getUShort(J,K),W0.argument(Y.version===0,"cmap table version should be 0."),Y.numTables=p.getUShort(J,K+2);var Q=-1;for(var X=Y.numTables-1;X>=0;X-=1){var Z=p.getUShort(J,K+4+X*8),q=p.getUShort(J,K+4+X*8+2);if(Z===3&&(q===0||q===1||q===10)||Z===0&&(q===0||q===1||q===2||q===3||q===4)){Q=p.getULong(J,K+4+X*8+4);break}}if(Q===-1)throw Error("No valid cmap sub-tables found.");var W=new p.Parser(J,K+Q);if(Y.format=W.parseUShort(),Y.format===12)PZ(Y,W);else if(Y.format===4)SZ(Y,W,J,K,Q);else throw Error("Only format 4 and 12 cmap tables are supported (found format "+Y.format+").");return Y}var yZ={parse:vZ};function B9(J){var K;if(J.length<1240)K=107;else if(J.length<33900)K=1131;else K=32768;return K}function T5(J,K,Y){var Q=[],X=[],Z=p.getCard16(J,K),q,W;if(Z!==0){var H=p.getByte(J,K+2);q=K+(Z+1)*H+2;var z=K+3;for(var w=0;w<Z+1;w+=1)Q.push(p.getOffset(J,z,H)),z+=H;W=q+Q[Z]}else W=K+2;for(var A=0;A<Q.length-1;A+=1){var V=p.getBytes(J,q+Q[A],q+Q[A+1]);if(Y)V=Y(V);X.push(V)}return{objects:X,startOffset:K,endOffset:W}}function kZ(J,K){var Y=[],Q=p.getCard16(J,K),X,Z;if(Q!==0){var q=p.getByte(J,K+2);X=K+(Q+1)*q+2;var W=K+3;for(var H=0;H<Q+1;H+=1)Y.push(p.getOffset(J,W,q)),W+=q;Z=X+Y[Q]}else Z=K+2;return{offsets:Y,startOffset:K,endOffset:Z}}function hZ(J,K,Y,Q,X){var Z=p.getCard16(Y,Q),q=0;if(Z!==0){var W=p.getByte(Y,Q+2);q=Q+(Z+1)*W+2}var H=p.getBytes(Y,q+K[J],q+K[J+1]);if(X)H=X(H);return H}function gZ(J){var K="",Y=15,Q=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"];while(!0){var X=J.parseByte(),Z=X>>4,q=X&15;if(Z===Y)break;if(K+=Q[Z],q===Y)break;K+=Q[q]}return parseFloat(K)}function xZ(J,K){var Y,Q,X,Z;if(K===28)return Y=J.parseByte(),Q=J.parseByte(),Y<<8|Q;if(K===29)return Y=J.parseByte(),Q=J.parseByte(),X=J.parseByte(),Z=J.parseByte(),Y<<24|Q<<16|X<<8|Z;if(K===30)return gZ(J);if(K>=32&&K<=246)return K-139;if(K>=247&&K<=250)return Y=J.parseByte(),(K-247)*256+Y+108;if(K>=251&&K<=254)return Y=J.parseByte(),-(K-251)*256-Y-108;throw Error("Invalid b0 "+K)}function bZ(J){var K={};for(var Y=0;Y<J.length;Y+=1){var Q=J[Y][0],X=J[Y][1],Z=void 0;if(X.length===1)Z=X[0];else Z=X;if(K.hasOwnProperty(Q)&&!isNaN(K[Q]))throw Error("Object "+K+" already has key "+Q);K[Q]=Z}return K}function j7(J,K,Y){K=K!==void 0?K:0;var Q=new p.Parser(J,K),X=[],Z=[];Y=Y!==void 0?Y:J.length;while(Q.relativeOffset<Y){var q=Q.parseByte();if(q<=21){if(q===12)q=1200+Q.parseByte();X.push([q,Z]),Z=[]}else Z.push(xZ(Q,q))}return bZ(X)}function w1(J,K){if(K<=390)K=QQ[K];else K=J[K-391];return K}function E7(J,K,Y){var Q={},X;for(var Z=0;Z<K.length;Z+=1){var q=K[Z];if(Array.isArray(q.type)){var W=[];W.length=q.type.length;for(var H=0;H<q.type.length;H++){if(X=J[q.op]!==void 0?J[q.op][H]:void 0,X===void 0)X=q.value!==void 0&&q.value[H]!==void 0?q.value[H]:null;if(q.type[H]==="SID")X=w1(Y,X);W[H]=X}Q[q.name]=W}else{if(X=J[q.op],X===void 0)X=q.value!==void 0?q.value:null;if(q.type==="SID")X=w1(Y,X);Q[q.name]=X}}return Q}function mZ(J,K){var Y={};return Y.formatMajor=p.getCard8(J,K),Y.formatMinor=p.getCard8(J,K+1),Y.size=p.getCard8(J,K+2),Y.offsetSize=p.getCard8(J,K+3),Y.startOffset=K,Y.endOffset=K+4,Y}var fZ=[{name:"version",op:0,type:"SID"},{name:"notice",op:1,type:"SID"},{name:"copyright",op:1200,type:"SID"},{name:"fullName",op:2,type:"SID"},{name:"familyName",op:3,type:"SID"},{name:"weight",op:4,type:"SID"},{name:"isFixedPitch",op:1201,type:"number",value:0},{name:"italicAngle",op:1202,type:"number",value:0},{name:"underlinePosition",op:1203,type:"number",value:-100},{name:"underlineThickness",op:1204,type:"number",value:50},{name:"paintType",op:1205,type:"number",value:0},{name:"charstringType",op:1206,type:"number",value:2},{name:"fontMatrix",op:1207,type:["real","real","real","real","real","real"],value:[0.001,0,0,0.001,0,0]},{name:"uniqueId",op:13,type:"number"},{name:"fontBBox",op:5,type:["number","number","number","number"],value:[0,0,0,0]},{name:"strokeWidth",op:1208,type:"number",value:0},{name:"xuid",op:14,type:[],value:null},{name:"charset",op:15,type:"offset",value:0},{name:"encoding",op:16,type:"offset",value:0},{name:"charStrings",op:17,type:"offset",value:0},{name:"private",op:18,type:["number","offset"],value:[0,0]},{name:"ros",op:1230,type:["SID","SID","number"]},{name:"cidFontVersion",op:1231,type:"number",value:0},{name:"cidFontRevision",op:1232,type:"number",value:0},{name:"cidFontType",op:1233,type:"number",value:0},{name:"cidCount",op:1234,type:"number",value:8720},{name:"uidBase",op:1235,type:"number"},{name:"fdArray",op:1236,type:"offset"},{name:"fdSelect",op:1237,type:"offset"},{name:"fontName",op:1238,type:"SID"}],dZ=[{name:"subrs",op:19,type:"offset",value:0},{name:"defaultWidthX",op:20,type:"number",value:0},{name:"nominalWidthX",op:21,type:"number",value:0}];function uZ(J,K){var Y=j7(J,0,J.byteLength);return E7(Y,fZ,K)}function F7(J,K,Y,Q){var X=j7(J,K,Y);return E7(X,dZ,Q)}function s4(J,K,Y,Q){var X=[];for(var Z=0;Z<Y.length;Z+=1){var q=new DataView(new Uint8Array(Y[Z]).buffer),W=uZ(q,Q);W._subrs=[],W._subrsBias=0,W._defaultWidthX=0,W._nominalWidthX=0;var H=W.private[0],z=W.private[1];if(H!==0&&z!==0){var w=F7(J,z+K,H,Q);if(W._defaultWidthX=w.defaultWidthX,W._nominalWidthX=w.nominalWidthX,w.subrs!==0){var A=z+w.subrs,V=T5(J,A+K);W._subrs=V.objects,W._subrsBias=B9(W._subrs)}W._privateDict=w}X.push(W)}return X}function lZ(J,K,Y,Q){var X,Z,q=new p.Parser(J,K);Y-=1;var W=[".notdef"],H=q.parseCard8();if(H===0)for(var z=0;z<Y;z+=1)X=q.parseSID(),W.push(w1(Q,X));else if(H===1)while(W.length<=Y){X=q.parseSID(),Z=q.parseCard8();for(var w=0;w<=Z;w+=1)W.push(w1(Q,X)),X+=1}else if(H===2)while(W.length<=Y){X=q.parseSID(),Z=q.parseCard16();for(var A=0;A<=Z;A+=1)W.push(w1(Q,X)),X+=1}else throw Error("Unknown charset format "+H);return W}function cZ(J,K,Y){var Q,X={},Z=new p.Parser(J,K),q=Z.parseCard8();if(q===0){var W=Z.parseCard8();for(var H=0;H<W;H+=1)Q=Z.parseCard8(),X[Q]=H}else if(q===1){var z=Z.parseCard8();Q=1;for(var w=0;w<z;w+=1){var A=Z.parseCard8(),V=Z.parseCard8();for(var U=A;U<=A+V;U+=1)X[U]=Q,Q+=1}}else throw Error("Unknown encoding format "+q);return new o1(X,Y)}function a4(J,K,Y){var Q,X,Z,q,W=new v0,H=[],z=0,w=!1,A=!1,V=0,U=0,M,B,G,L;if(J.isCIDFont){var O=J.tables.cff.topDict._fdSelect[K.index],R=J.tables.cff.topDict._fdArray[O];M=R._subrs,B=R._subrsBias,G=R._defaultWidthX,L=R._nominalWidthX}else M=J.tables.cff.topDict._subrs,B=J.tables.cff.topDict._subrsBias,G=J.tables.cff.topDict._defaultWidthX,L=J.tables.cff.topDict._nominalWidthX;var D=G;function F(_,P){if(A)W.closePath();W.moveTo(_,P),A=!0}function j(){var _=H.length%2!==0;if(_&&!w)D=H.shift()+L;z+=H.length>>1,H.length=0,w=!0}function C(_){var P,g,l,a,r,T,y,I,f,u,t,n,m=0;while(m<_.length){var d=_[m];switch(m+=1,d){case 1:j();break;case 3:j();break;case 4:if(H.length>1&&!w)D=H.shift()+L,w=!0;U+=H.pop(),F(V,U);break;case 5:while(H.length>0)V+=H.shift(),U+=H.shift(),W.lineTo(V,U);break;case 6:while(H.length>0){if(V+=H.shift(),W.lineTo(V,U),H.length===0)break;U+=H.shift(),W.lineTo(V,U)}break;case 7:while(H.length>0){if(U+=H.shift(),W.lineTo(V,U),H.length===0)break;V+=H.shift(),W.lineTo(V,U)}break;case 8:while(H.length>0)Q=V+H.shift(),X=U+H.shift(),Z=Q+H.shift(),q=X+H.shift(),V=Z+H.shift(),U=q+H.shift(),W.curveTo(Q,X,Z,q,V,U);break;case 10:if(r=H.pop()+B,T=M[r],T)C(T);break;case 11:return;case 12:switch(d=_[m],m+=1,d){case 35:Q=V+H.shift(),X=U+H.shift(),Z=Q+H.shift(),q=X+H.shift(),y=Z+H.shift(),I=q+H.shift(),f=y+H.shift(),u=I+H.shift(),t=f+H.shift(),n=u+H.shift(),V=t+H.shift(),U=n+H.shift(),H.shift(),W.curveTo(Q,X,Z,q,y,I),W.curveTo(f,u,t,n,V,U);break;case 34:Q=V+H.shift(),X=U,Z=Q+H.shift(),q=X+H.shift(),y=Z+H.shift(),I=q,f=y+H.shift(),u=q,t=f+H.shift(),n=U,V=t+H.shift(),W.curveTo(Q,X,Z,q,y,I),W.curveTo(f,u,t,n,V,U);break;case 36:Q=V+H.shift(),X=U+H.shift(),Z=Q+H.shift(),q=X+H.shift(),y=Z+H.shift(),I=q,f=y+H.shift(),u=q,t=f+H.shift(),n=u+H.shift(),V=t+H.shift(),W.curveTo(Q,X,Z,q,y,I),W.curveTo(f,u,t,n,V,U);break;case 37:if(Q=V+H.shift(),X=U+H.shift(),Z=Q+H.shift(),q=X+H.shift(),y=Z+H.shift(),I=q+H.shift(),f=y+H.shift(),u=I+H.shift(),t=f+H.shift(),n=u+H.shift(),Math.abs(t-V)>Math.abs(n-U))V=t+H.shift();else U=n+H.shift();W.curveTo(Q,X,Z,q,y,I),W.curveTo(f,u,t,n,V,U);break;default:console.log("Glyph "+K.index+": unknown operator 1200"+d),H.length=0}break;case 14:if(H.length>0&&!w)D=H.shift()+L,w=!0;if(A)W.closePath(),A=!1;break;case 18:j();break;case 19:case 20:j(),m+=z+7>>3;break;case 21:if(H.length>2&&!w)D=H.shift()+L,w=!0;U+=H.pop(),V+=H.pop(),F(V,U);break;case 22:if(H.length>1&&!w)D=H.shift()+L,w=!0;V+=H.pop(),F(V,U);break;case 23:j();break;case 24:while(H.length>2)Q=V+H.shift(),X=U+H.shift(),Z=Q+H.shift(),q=X+H.shift(),V=Z+H.shift(),U=q+H.shift(),W.curveTo(Q,X,Z,q,V,U);V+=H.shift(),U+=H.shift(),W.lineTo(V,U);break;case 25:while(H.length>6)V+=H.shift(),U+=H.shift(),W.lineTo(V,U);Q=V+H.shift(),X=U+H.shift(),Z=Q+H.shift(),q=X+H.shift(),V=Z+H.shift(),U=q+H.shift(),W.curveTo(Q,X,Z,q,V,U);break;case 26:if(H.length%2)V+=H.shift();while(H.length>0)Q=V,X=U+H.shift(),Z=Q+H.shift(),q=X+H.shift(),V=Z,U=q+H.shift(),W.curveTo(Q,X,Z,q,V,U);break;case 27:if(H.length%2)U+=H.shift();while(H.length>0)Q=V+H.shift(),X=U,Z=Q+H.shift(),q=X+H.shift(),V=Z+H.shift(),U=q,W.curveTo(Q,X,Z,q,V,U);break;case 28:P=_[m],g=_[m+1],H.push((P<<24|g<<16)>>16),m+=2;break;case 29:if(r=H.pop()+J.gsubrsBias,T=J.gsubrs[r],T)C(T);break;case 30:while(H.length>0){if(Q=V,X=U+H.shift(),Z=Q+H.shift(),q=X+H.shift(),V=Z+H.shift(),U=q+(H.length===1?H.shift():0),W.curveTo(Q,X,Z,q,V,U),H.length===0)break;Q=V+H.shift(),X=U,Z=Q+H.shift(),q=X+H.shift(),U=q+H.shift(),V=Z+(H.length===1?H.shift():0),W.curveTo(Q,X,Z,q,V,U)}break;case 31:while(H.length>0){if(Q=V+H.shift(),X=U,Z=Q+H.shift(),q=X+H.shift(),U=q+H.shift(),V=Z+(H.length===1?H.shift():0),W.curveTo(Q,X,Z,q,V,U),H.length===0)break;Q=V,X=U+H.shift(),Z=Q+H.shift(),q=X+H.shift(),V=Z+H.shift(),U=q+(H.length===1?H.shift():0),W.curveTo(Q,X,Z,q,V,U)}break;default:if(d<32)console.log("Glyph "+K.index+": unknown operator "+d);else if(d<247)H.push(d-139);else if(d<251)P=_[m],m+=1,H.push((d-247)*256+P+108);else if(d<255)P=_[m],m+=1,H.push(-(d-251)*256-P-108);else P=_[m],g=_[m+1],l=_[m+2],a=_[m+3],m+=4,H.push((P<<24|g<<16|l<<8|a)/65536)}}}return C(Y),K.advanceWidth=D,W}function pZ(J,K,Y,Q){var X=[],Z,q=new p.Parser(J,K),W=q.parseCard8();if(W===0)for(var H=0;H<Y;H++){if(Z=q.parseCard8(),Z>=Q)throw Error("CFF table CID Font FDSelect has bad FD index value "+Z+" (FD count "+Q+")");X.push(Z)}else if(W===3){var z=q.parseCard16(),w=q.parseCard16();if(w!==0)throw Error("CFF Table CID Font FDSelect format 3 range has bad initial GID "+w);var A;for(var V=0;V<z;V++){if(Z=q.parseCard8(),A=q.parseCard16(),Z>=Q)throw Error("CFF table CID Font FDSelect has bad FD index value "+Z+" (FD count "+Q+")");if(A>Y)throw Error("CFF Table CID Font FDSelect format 3 range has bad GID "+A);for(;w<A;w++)X.push(Z);w=A}if(A!==Y)throw Error("CFF Table CID Font FDSelect format 3 range has bad final GID "+A)}else throw Error("CFF Table CID Font FDSelect table has unsupported format "+W);return X}function iZ(J,K,Y,Q){Y.tables.cff={};var X=mZ(J,K),Z=T5(J,X.endOffset,p.bytesToString),q=T5(J,Z.endOffset),W=T5(J,q.endOffset,p.bytesToString),H=T5(J,W.endOffset);Y.gsubrs=H.objects,Y.gsubrsBias=B9(Y.gsubrs);var z=s4(J,K,q.objects,W.objects);if(z.length!==1)throw Error("CFF table has too many fonts in 'FontSet' - count of fonts NameIndex.length = "+z.length);var w=z[0];if(Y.tables.cff.topDict=w,w._privateDict)Y.defaultWidthX=w._privateDict.defaultWidthX,Y.nominalWidthX=w._privateDict.nominalWidthX;if(w.ros[0]!==void 0&&w.ros[1]!==void 0)Y.isCIDFont=!0;if(Y.isCIDFont){var{fdArray:A,fdSelect:V}=w;if(A===0||V===0)throw Error("Font is marked as a CID font, but FDArray and/or FDSelect information is missing");A+=K;var U=T5(J,A),M=s4(J,K,U.objects,W.objects);w._fdArray=M,V+=K,w._fdSelect=pZ(J,V,Y.numGlyphs,M.length)}var B=K+w.private[1],G=F7(J,B,w.private[0],W.objects);if(Y.defaultWidthX=G.defaultWidthX,Y.nominalWidthX=G.nominalWidthX,G.subrs!==0){var L=B+G.subrs,O=T5(J,L);Y.subrs=O.objects,Y.subrsBias=B9(Y.subrs)}else Y.subrs=[],Y.subrsBias=0;var R;if(Q.lowMemory)R=kZ(J,K+w.charStrings),Y.nGlyphs=R.offsets.length;else R=T5(J,K+w.charStrings),Y.nGlyphs=R.objects.length;var D=lZ(J,K+w.charset,Y.nGlyphs,W.objects);if(w.encoding===0)Y.cffEncoding=new o1(XQ,D);else if(w.encoding===1)Y.cffEncoding=new o1(ZQ,D);else Y.cffEncoding=cZ(J,K+w.encoding,D);if(Y.encoding=Y.encoding||Y.cffEncoding,Y.glyphs=new U5.GlyphSet(Y),Q.lowMemory)Y._push=function(C){var _=hZ(C,R.offsets,J,K+w.charStrings);Y.glyphs.push(C,U5.cffGlyphLoader(Y,C,a4,_))};else for(var F=0;F<Y.nGlyphs;F+=1){var j=R.objects[F];Y.glyphs.push(F,U5.cffGlyphLoader(Y,F,a4,j))}}var rZ={parse:iZ};function oZ(J,K,Y){var Q={},X=new p.Parser(J,K);return Q.tag=X.parseTag(),Q.minValue=X.parseFixed(),Q.defaultValue=X.parseFixed(),Q.maxValue=X.parseFixed(),X.skip("uShort",1),Q.name=Y[X.parseUShort()]||{},Q}function nZ(J,K,Y,Q){var X={},Z=new p.Parser(J,K);X.name=Q[Z.parseUShort()]||{},Z.skip("uShort",1),X.coordinates={};for(var q=0;q<Y.length;++q)X.coordinates[Y[q].tag]=Z.parseFixed();return X}function sZ(J,K,Y){var Q=new p.Parser(J,K),X=Q.parseULong();W0.argument(X===65536,"Unsupported fvar table version.");var Z=Q.parseOffset16();Q.skip("uShort",1);var q=Q.parseUShort(),W=Q.parseUShort(),H=Q.parseUShort(),z=Q.parseUShort(),w=[];for(var A=0;A<q;A++)w.push(oZ(J,K+Z+A*W,Y));var V=[],U=K+Z+q*W;for(var M=0;M<H;M++)V.push(nZ(J,U+M*z,w,Y));return{axes:w,instances:V}}var aZ={parse:sZ},tZ=function(){return{coverage:this.parsePointer(S.coverage),attachPoints:this.parseList(S.pointer(S.uShortList))}},eZ=function(){var J=this.parseUShort();if(W0.argument(J===1||J===2||J===3,"Unsupported CaretValue table version."),J===1)return{coordinate:this.parseShort()};else if(J===2)return{pointindex:this.parseShort()};else if(J===3)return{coordinate:this.parseShort()}},Jq=function(){return this.parseList(S.pointer(eZ))},Kq=function(){return{coverage:this.parsePointer(S.coverage),ligGlyphs:this.parseList(S.pointer(Jq))}},Yq=function(){return this.parseUShort(),this.parseList(S.pointer(S.coverage))};function Qq(J,K){K=K||0;var Y=new S(J,K),Q=Y.parseVersion(1);W0.argument(Q===1||Q===1.2||Q===1.3,"Unsupported GDEF table version.");var X={version:Q,classDef:Y.parsePointer(S.classDef),attachList:Y.parsePointer(tZ),ligCaretList:Y.parsePointer(Kq),markAttachClassDef:Y.parsePointer(S.classDef)};if(Q>=1.2)X.markGlyphSets=Y.parsePointer(Yq);return X}var Xq={parse:Qq},K5=[,,,,,,,,,,];K5[1]=function(){var K=this.offset+this.relativeOffset,Y=this.parseUShort();if(Y===1)return{posFormat:1,coverage:this.parsePointer(S.coverage),value:this.parseValueRecord()};else if(Y===2)return{posFormat:2,coverage:this.parsePointer(S.coverage),values:this.parseValueRecordList()};W0.assert(!1,"0x"+K.toString(16)+": GPOS lookup type 1 format must be 1 or 2.")};K5[2]=function(){var K=this.offset+this.relativeOffset,Y=this.parseUShort();W0.assert(Y===1||Y===2,"0x"+K.toString(16)+": GPOS lookup type 2 format must be 1 or 2.");var Q=this.parsePointer(S.coverage),X=this.parseUShort(),Z=this.parseUShort();if(Y===1)return{posFormat:Y,coverage:Q,valueFormat1:X,valueFormat2:Z,pairSets:this.parseList(S.pointer(S.list(function(){return{secondGlyph:this.parseUShort(),value1:this.parseValueRecord(X),value2:this.parseValueRecord(Z)}})))};else if(Y===2){var q=this.parsePointer(S.classDef),W=this.parsePointer(S.classDef),H=this.parseUShort(),z=this.parseUShort();return{posFormat:Y,coverage:Q,valueFormat1:X,valueFormat2:Z,classDef1:q,classDef2:W,class1Count:H,class2Count:z,classRecords:this.parseList(H,S.list(z,function(){return{value1:this.parseValueRecord(X),value2:this.parseValueRecord(Z)}}))}}};K5[3]=function(){return{error:"GPOS Lookup 3 not supported"}};K5[4]=function(){return{error:"GPOS Lookup 4 not supported"}};K5[5]=function(){return{error:"GPOS Lookup 5 not supported"}};K5[6]=function(){return{error:"GPOS Lookup 6 not supported"}};K5[7]=function(){return{error:"GPOS Lookup 7 not supported"}};K5[8]=function(){return{error:"GPOS Lookup 8 not supported"}};K5[9]=function(){return{error:"GPOS Lookup 9 not supported"}};function Zq(J,K){K=K||0;var Y=new S(J,K),Q=Y.parseVersion(1);if(W0.argument(Q===1||Q===1.1,"Unsupported GPOS table version "+Q),Q===1)return{version:Q,scripts:Y.parseScriptList(),features:Y.parseFeatureList(),lookups:Y.parseLookupList(K5)};else return{version:Q,scripts:Y.parseScriptList(),features:Y.parseFeatureList(),lookups:Y.parseLookupList(K5),variations:Y.parseFeatureVariationsList()}}var qq={parse:Zq},Y5=[,,,,,,,,,];Y5[1]=function(){var K=this.offset+this.relativeOffset,Y=this.parseUShort();if(Y===1)return{substFormat:1,coverage:this.parsePointer(S.coverage),deltaGlyphId:this.parseUShort()};else if(Y===2)return{substFormat:2,coverage:this.parsePointer(S.coverage),substitute:this.parseOffset16List()};W0.assert(!1,"0x"+K.toString(16)+": lookup type 1 format must be 1 or 2.")};Y5[2]=function(){var K=this.parseUShort();return W0.argument(K===1,"GSUB Multiple Substitution Subtable identifier-format must be 1"),{substFormat:K,coverage:this.parsePointer(S.coverage),sequences:this.parseListOfLists()}};Y5[3]=function(){var K=this.parseUShort();return W0.argument(K===1,"GSUB Alternate Substitution Subtable identifier-format must be 1"),{substFormat:K,coverage:this.parsePointer(S.coverage),alternateSets:this.parseListOfLists()}};Y5[4]=function(){var K=this.parseUShort();return W0.argument(K===1,"GSUB ligature table identifier-format must be 1"),{substFormat:K,coverage:this.parsePointer(S.coverage),ligatureSets:this.parseListOfLists(function(){return{ligGlyph:this.parseUShort(),components:this.parseUShortList(this.parseUShort()-1)}})}};var J1={sequenceIndex:S.uShort,lookupListIndex:S.uShort};Y5[5]=function(){var K=this.offset+this.relativeOffset,Y=this.parseUShort();if(Y===1)return{substFormat:Y,coverage:this.parsePointer(S.coverage),ruleSets:this.parseListOfLists(function(){var Z=this.parseUShort(),q=this.parseUShort();return{input:this.parseUShortList(Z-1),lookupRecords:this.parseRecordList(q,J1)}})};else if(Y===2)return{substFormat:Y,coverage:this.parsePointer(S.coverage),classDef:this.parsePointer(S.classDef),classSets:this.parseListOfLists(function(){var Z=this.parseUShort(),q=this.parseUShort();return{classes:this.parseUShortList(Z-1),lookupRecords:this.parseRecordList(q,J1)}})};else if(Y===3){var Q=this.parseUShort(),X=this.parseUShort();return{substFormat:Y,coverages:this.parseList(Q,S.pointer(S.coverage)),lookupRecords:this.parseRecordList(X,J1)}}W0.assert(!1,"0x"+K.toString(16)+": lookup type 5 format must be 1, 2 or 3.")};Y5[6]=function(){var K=this.offset+this.relativeOffset,Y=this.parseUShort();if(Y===1)return{substFormat:1,coverage:this.parsePointer(S.coverage),chainRuleSets:this.parseListOfLists(function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(J1)}})};else if(Y===2)return{substFormat:2,coverage:this.parsePointer(S.coverage),backtrackClassDef:this.parsePointer(S.classDef),inputClassDef:this.parsePointer(S.classDef),lookaheadClassDef:this.parsePointer(S.classDef),chainClassSet:this.parseListOfLists(function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(J1)}})};else if(Y===3)return{substFormat:3,backtrackCoverage:this.parseList(S.pointer(S.coverage)),inputCoverage:this.parseList(S.pointer(S.coverage)),lookaheadCoverage:this.parseList(S.pointer(S.coverage)),lookupRecords:this.parseRecordList(J1)};W0.assert(!1,"0x"+K.toString(16)+": lookup type 6 format must be 1, 2 or 3.")};Y5[7]=function(){var K=this.parseUShort();W0.argument(K===1,"GSUB Extension Substitution subtable identifier-format must be 1");var Y=this.parseUShort(),Q=new S(this.data,this.offset+this.parseULong());return{substFormat:1,lookupType:Y,extension:Y5[Y].call(Q)}};Y5[8]=function(){var K=this.parseUShort();return W0.argument(K===1,"GSUB Reverse Chaining Contextual Single Substitution Subtable identifier-format must be 1"),{substFormat:K,coverage:this.parsePointer(S.coverage),backtrackCoverage:this.parseList(S.pointer(S.coverage)),lookaheadCoverage:this.parseList(S.pointer(S.coverage)),substitutes:this.parseUShortList()}};function Hq(J,K){K=K||0;var Y=new S(J,K),Q=Y.parseVersion(1);if(W0.argument(Q===1||Q===1.1,"Unsupported GSUB table version."),Q===1)return{version:Q,scripts:Y.parseScriptList(),features:Y.parseFeatureList(),lookups:Y.parseLookupList(Y5)};else return{version:Q,scripts:Y.parseScriptList(),features:Y.parseFeatureList(),lookups:Y.parseLookupList(Y5),variations:Y.parseFeatureVariationsList()}}var Wq={parse:Hq};function zq(J,K){var Y={},Q=new p.Parser(J,K);return Y.version=Q.parseVersion(),Y.fontRevision=Math.round(Q.parseFixed()*1000)/1000,Y.checkSumAdjustment=Q.parseULong(),Y.magicNumber=Q.parseULong(),W0.argument(Y.magicNumber===1594834165,"Font header has wrong magic number."),Y.flags=Q.parseUShort(),Y.unitsPerEm=Q.parseUShort(),Y.created=Q.parseLongDateTime(),Y.modified=Q.parseLongDateTime(),Y.xMin=Q.parseShort(),Y.yMin=Q.parseShort(),Y.xMax=Q.parseShort(),Y.yMax=Q.parseShort(),Y.macStyle=Q.parseUShort(),Y.lowestRecPPEM=Q.parseUShort(),Y.fontDirectionHint=Q.parseShort(),Y.indexToLocFormat=Q.parseShort(),Y.glyphDataFormat=Q.parseShort(),Y}var wq={parse:zq};function Aq(J,K){var Y={},Q=new p.Parser(J,K);return Y.version=Q.parseVersion(),Y.ascender=Q.parseShort(),Y.descender=Q.parseShort(),Y.lineGap=Q.parseShort(),Y.advanceWidthMax=Q.parseUShort(),Y.minLeftSideBearing=Q.parseShort(),Y.minRightSideBearing=Q.parseShort(),Y.xMaxExtent=Q.parseShort(),Y.caretSlopeRise=Q.parseShort(),Y.caretSlopeRun=Q.parseShort(),Y.caretOffset=Q.parseShort(),Q.relativeOffset+=8,Y.metricDataFormat=Q.parseShort(),Y.numberOfHMetrics=Q.parseUShort(),Y}var Vq={parse:Aq};function Uq(J,K,Y,Q,X){var Z,q,W=new p.Parser(J,K);for(var H=0;H<Q;H+=1){if(H<Y)Z=W.parseUShort(),q=W.parseShort();var z=X.get(H);z.advanceWidth=Z,z.leftSideBearing=q}}function $q(J,K,Y,Q,X){J._hmtxTableData={};var Z,q,W=new p.Parser(K,Y);for(var H=0;H<X;H+=1){if(H<Q)Z=W.parseUShort(),q=W.parseShort();J._hmtxTableData[H]={advanceWidth:Z,leftSideBearing:q}}}function Bq(J,K,Y,Q,X,Z,q){if(q.lowMemory)$q(J,K,Y,Q,X);else Uq(K,Y,Q,X,Z)}var Gq={parse:Bq};function Mq(J){var K={};J.skip("uShort");var Y=J.parseUShort();W0.argument(Y===0,"Unsupported kern sub-table version."),J.skip("uShort",2);var Q=J.parseUShort();J.skip("uShort",3);for(var X=0;X<Q;X+=1){var Z=J.parseUShort(),q=J.parseUShort(),W=J.parseShort();K[Z+","+q]=W}return K}function Nq(J){var K={};J.skip("uShort");var Y=J.parseULong();if(Y>1)console.warn("Only the first kern subtable is supported.");J.skip("uLong");var Q=J.parseUShort(),X=Q&255;if(J.skip("uShort"),X===0){var Z=J.parseUShort();J.skip("uShort",3);for(var q=0;q<Z;q+=1){var W=J.parseUShort(),H=J.parseUShort(),z=J.parseShort();K[W+","+H]=z}}return K}function Lq(J,K){var Y=new p.Parser(J,K),Q=Y.parseUShort();if(Q===0)return Mq(Y);else if(Q===1)return Nq(Y);else throw Error("Unsupported kern table version ("+Q+").")}var Oq={parse:Lq};function jq(J,K){var Y=new p.Parser(J,K),Q=Y.parseULong();W0.argument(Q===1,"Unsupported ltag table version."),Y.skip("uLong",1);var X=Y.parseULong(),Z=[];for(var q=0;q<X;q++){var W="",H=K+Y.parseUShort(),z=Y.parseUShort();for(var w=H;w<H+z;++w)W+=String.fromCharCode(J.getInt8(w));Z.push(W)}return Z}var Eq={parse:jq};function Fq(J,K,Y,Q){var X=new p.Parser(J,K),Z=Q?X.parseUShort:X.parseULong,q=[];for(var W=0;W<Y+1;W+=1){var H=Z.call(X);if(Q)H*=2;q.push(H)}return q}var Rq={parse:Fq};function _q(J,K){var Y={},Q=new p.Parser(J,K);if(Y.version=Q.parseVersion(),Y.numGlyphs=Q.parseUShort(),Y.version===1)Y.maxPoints=Q.parseUShort(),Y.maxContours=Q.parseUShort(),Y.maxCompositePoints=Q.parseUShort(),Y.maxCompositeContours=Q.parseUShort(),Y.maxZones=Q.parseUShort(),Y.maxTwilightPoints=Q.parseUShort(),Y.maxStorage=Q.parseUShort(),Y.maxFunctionDefs=Q.parseUShort(),Y.maxInstructionDefs=Q.parseUShort(),Y.maxStackElements=Q.parseUShort(),Y.maxSizeOfInstructions=Q.parseUShort(),Y.maxComponentElements=Q.parseUShort(),Y.maxComponentDepth=Q.parseUShort();return Y}var Dq={parse:_q};function Iq(J,K){var Y={},Q=new p.Parser(J,K);Y.version=Q.parseUShort(),Y.xAvgCharWidth=Q.parseShort(),Y.usWeightClass=Q.parseUShort(),Y.usWidthClass=Q.parseUShort(),Y.fsType=Q.parseUShort(),Y.ySubscriptXSize=Q.parseShort(),Y.ySubscriptYSize=Q.parseShort(),Y.ySubscriptXOffset=Q.parseShort(),Y.ySubscriptYOffset=Q.parseShort(),Y.ySuperscriptXSize=Q.parseShort(),Y.ySuperscriptYSize=Q.parseShort(),Y.ySuperscriptXOffset=Q.parseShort(),Y.ySuperscriptYOffset=Q.parseShort(),Y.yStrikeoutSize=Q.parseShort(),Y.yStrikeoutPosition=Q.parseShort(),Y.sFamilyClass=Q.parseShort(),Y.panose=[];for(var X=0;X<10;X++)Y.panose[X]=Q.parseByte();if(Y.ulUnicodeRange1=Q.parseULong(),Y.ulUnicodeRange2=Q.parseULong(),Y.ulUnicodeRange3=Q.parseULong(),Y.ulUnicodeRange4=Q.parseULong(),Y.achVendID=String.fromCharCode(Q.parseByte(),Q.parseByte(),Q.parseByte(),Q.parseByte()),Y.fsSelection=Q.parseUShort(),Y.usFirstCharIndex=Q.parseUShort(),Y.usLastCharIndex=Q.parseUShort(),Y.sTypoAscender=Q.parseShort(),Y.sTypoDescender=Q.parseShort(),Y.sTypoLineGap=Q.parseShort(),Y.usWinAscent=Q.parseUShort(),Y.usWinDescent=Q.parseUShort(),Y.version>=1)Y.ulCodePageRange1=Q.parseULong(),Y.ulCodePageRange2=Q.parseULong();if(Y.version>=2)Y.sxHeight=Q.parseShort(),Y.sCapHeight=Q.parseShort(),Y.usDefaultChar=Q.parseUShort(),Y.usBreakChar=Q.parseUShort(),Y.usMaxContent=Q.parseUShort();return Y}var Cq={parse:Iq};function Tq(J,K){var Y={},Q=new p.Parser(J,K);switch(Y.version=Q.parseVersion(),Y.italicAngle=Q.parseFixed(),Y.underlinePosition=Q.parseShort(),Y.underlineThickness=Q.parseShort(),Y.isFixedPitch=Q.parseULong(),Y.minMemType42=Q.parseULong(),Y.maxMemType42=Q.parseULong(),Y.minMemType1=Q.parseULong(),Y.maxMemType1=Q.parseULong(),Y.names=[],Y.version){case 1:break;case 2:Y.numberOfGlyphs=Q.parseUShort(),Y.glyphNameIndex=Array(Y.numberOfGlyphs);for(var X=0;X<Y.numberOfGlyphs;X++)Y.glyphNameIndex[X]=Q.parseUShort();break;case 2.5:Y.numberOfGlyphs=Q.parseUShort(),Y.offset=Array(Y.numberOfGlyphs);for(var Z=0;Z<Y.numberOfGlyphs;Z++)Y.offset[Z]=Q.parseChar();break}return Y}var Pq={parse:Tq},t1={};t1.UTF8=function(J,K,Y){var Q=[],X=Y;for(var Z=0;Z<X;Z++,K+=1)Q[Z]=J.getUint8(K);return String.fromCharCode.apply(null,Q)};t1.UTF16=function(J,K,Y){var Q=[],X=Y/2;for(var Z=0;Z<X;Z++,K+=2)Q[Z]=J.getUint16(K);return String.fromCharCode.apply(null,Q)};var Sq={"x-mac-croatian":"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\u0160\u2122\xB4\xA8\u2260\u017D\xD8\u221E\xB1\u2264\u2265\u2206\xB5\u2202\u2211\u220F\u0161\u222B\xAA\xBA\u03A9\u017E\xF8"+"\xBF\xA1\xAC\u221A\u0192\u2248\u0106\xAB\u010C\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u0110\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\uF8FF\xA9\u2044\u20AC\u2039\u203A\xC6\xBB\u2013\xB7\u201A\u201E\u2030\xC2\u0107\xC1\u010D\xC8\xCD\xCE\xCF\xCC\xD3\xD4\u0111\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u03C0\xCB\u02DA\xB8\xCA\xE6\u02C7","x-mac-cyrillic":"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u2020\xB0\u0490\xA3\xA7\u2022\xB6\u0406\xAE\xA9\u2122\u0402\u0452\u2260\u0403\u0453\u221E\xB1\u2264\u2265\u0456\xB5\u0491\u0408\u0404\u0454\u0407\u0457\u0409\u0459\u040A\u045A"+"\u0458\u0405\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\u040B\u045B\u040C\u045C\u0455\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u201E\u040E\u045E\u040F\u045F\u2116\u0401\u0451\u044F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E","x-mac-gaelic":"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u1E02\xB1\u2264\u2265\u1E03\u010A\u010B\u1E0A\u1E0B\u1E1E\u1E1F\u0120\u0121\u1E40\xE6\xF8"+"\u1E41\u1E56\u1E57\u027C\u0192\u017F\u1E60\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\u1E61\u1E9B\xFF\u0178\u1E6A\u20AC\u2039\u203A\u0176\u0177\u1E6B\xB7\u1EF2\u1EF3\u204A\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\u2663\xD2\xDA\xDB\xD9\u0131\xDD\xFD\u0174\u0175\u1E84\u1E85\u1E80\u1E81\u1E82\u1E83","x-mac-greek":"\xC4\xB9\xB2\xC9\xB3\xD6\xDC\u0385\xE0\xE2\xE4\u0384\xA8\xE7\xE9\xE8\xEA\xEB\xA3\u2122\xEE\xEF\u2022\xBD\u2030\xF4\xF6\xA6\u20AC\xF9\xFB\xFC\u2020\u0393\u0394\u0398\u039B\u039E\u03A0\xDF\xAE\xA9\u03A3\u03AA\xA7\u2260\xB0\xB7\u0391\xB1\u2264\u2265\xA5\u0392\u0395\u0396\u0397\u0399\u039A\u039C\u03A6\u03AB\u03A8\u03A9"+"\u03AC\u039D\xAC\u039F\u03A1\u2248\u03A4\xAB\xBB\u2026\xA0\u03A5\u03A7\u0386\u0388\u0153\u2013\u2015\u201C\u201D\u2018\u2019\xF7\u0389\u038A\u038C\u038E\u03AD\u03AE\u03AF\u03CC\u038F\u03CD\u03B1\u03B2\u03C8\u03B4\u03B5\u03C6\u03B3\u03B7\u03B9\u03BE\u03BA\u03BB\u03BC\u03BD\u03BF\u03C0\u03CE\u03C1\u03C3\u03C4\u03B8\u03C9\u03C2\u03C7\u03C5\u03B6\u03CA\u03CB\u0390\u03B0\xAD","x-mac-icelandic":"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\xDD\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u03A9\xE6\xF8"+"\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\u20AC\xD0\xF0\xDE\xFE\xFD\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uF8FF\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7","x-mac-inuit":"\u1403\u1404\u1405\u1406\u140A\u140B\u1431\u1432\u1433\u1434\u1438\u1439\u1449\u144E\u144F\u1450\u1451\u1455\u1456\u1466\u146D\u146E\u146F\u1470\u1472\u1473\u1483\u148B\u148C\u148D\u148E\u1490\u1491\xB0\u14A1\u14A5\u14A6\u2022\xB6\u14A7\xAE\xA9\u2122\u14A8\u14AA\u14AB\u14BB\u14C2\u14C3\u14C4\u14C5\u14C7\u14C8\u14D0\u14EF\u14F0\u14F1\u14F2\u14F4\u14F5\u1505\u14D5\u14D6\u14D7"+"\u14D8\u14DA\u14DB\u14EA\u1528\u1529\u152A\u152B\u152D\u2026\xA0\u152E\u153E\u1555\u1556\u1557\u2013\u2014\u201C\u201D\u2018\u2019\u1558\u1559\u155A\u155D\u1546\u1547\u1548\u1549\u154B\u154C\u1550\u157F\u1580\u1581\u1582\u1583\u1584\u1585\u158F\u1590\u1591\u1592\u1593\u1594\u1595\u1671\u1672\u1673\u1674\u1675\u1676\u1596\u15A0\u15A1\u15A2\u15A3\u15A4\u15A5\u15A6\u157C\u0141\u0142","x-mac-ce":"\xC4\u0100\u0101\xC9\u0104\xD6\xDC\xE1\u0105\u010C\xE4\u010D\u0106\u0107\xE9\u0179\u017A\u010E\xED\u010F\u0112\u0113\u0116\xF3\u0117\xF4\xF6\xF5\xFA\u011A\u011B\xFC\u2020\xB0\u0118\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\u0119\xA8\u2260\u0123\u012E\u012F\u012A\u2264\u2265\u012B\u0136\u2202\u2211\u0142\u013B\u013C\u013D\u013E\u0139\u013A\u0145"+"\u0146\u0143\xAC\u221A\u0144\u0147\u2206\xAB\xBB\u2026\xA0\u0148\u0150\xD5\u0151\u014C\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\u014D\u0154\u0155\u0158\u2039\u203A\u0159\u0156\u0157\u0160\u201A\u201E\u0161\u015A\u015B\xC1\u0164\u0165\xCD\u017D\u017E\u016A\xD3\xD4\u016B\u016E\xDA\u016F\u0170\u0171\u0172\u0173\xDD\xFD\u0137\u017B\u0141\u017C\u0122\u02C7",macintosh:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u03A9\xE6\xF8"+"\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\u20AC\u2039\u203A\uFB01\uFB02\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uF8FF\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7","x-mac-romanian":"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\u0102\u0218\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u03A9\u0103\u0219"+"\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\u20AC\u2039\u203A\u021A\u021B\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uF8FF\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7","x-mac-turkish":"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u03A9\xE6\xF8"+"\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u011E\u011F\u0130\u0131\u015E\u015F\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uF8FF\xD2\xDA\xDB\xD9\uF8A0\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"};t1.MACSTRING=function(J,K,Y,Q){var X=Sq[Q];if(X===void 0)return;var Z="";for(var q=0;q<Y;q++){var W=J.getUint8(K+q);if(W<=127)Z+=String.fromCharCode(W);else Z+=X[W&127]}return Z};function vq(J,K){var Y=new p.Parser(J,K),Q=Y.parseULong();W0.argument(Q===1,"Unsupported META table version."),Y.parseULong(),Y.parseULong();var X=Y.parseULong(),Z={};for(var q=0;q<X;q++){var W=Y.parseTag(),H=Y.parseULong(),z=Y.parseULong(),w=t1.UTF8(J,K+H,z);Z[W]=w}return Z}var yq={parse:vq};function t4(J,K){var Y=[],Q=12;for(var X=0;X<K;X+=1){var Z=p.getTag(J,Q),q=p.getULong(J,Q+4),W=p.getULong(J,Q+8),H=p.getULong(J,Q+12);Y.push({tag:Z,checksum:q,offset:W,length:H,compression:!1}),Q+=16}return Y}function kq(J,K){var Y=[],Q=44;for(var X=0;X<K;X+=1){var Z=p.getTag(J,Q),q=p.getULong(J,Q+4),W=p.getULong(J,Q+8),H=p.getULong(J,Q+12),z=void 0;if(W<H)z="WOFF";else z=!1;Y.push({tag:Z,offset:q,compression:z,compressedLength:W,length:H}),Q+=20}return Y}function F0(J,K){if(K.compression==="WOFF"){var Y=new Uint8Array(J.buffer,K.offset+2,K.compressedLength-2),Q=new Uint8Array(K.length);if(JQ(Y,Q),Q.byteLength!==K.length)throw Error("Decompression error: "+K.tag+" decompressed length doesn't match recorded length");var X=new DataView(Q.buffer,0);return{data:X,offset:0}}else return{data:J,offset:K.offset}}function hq(J,K){K=K===void 0||K===null?{}:K;var Y,Q=new y0({empty:!0}),X=new DataView(J,0),Z,q=[],W=p.getTag(X,0);if(W===String.fromCharCode(0,1,0,0)||W==="true"||W==="typ1")Q.outlinesFormat="truetype",Z=p.getUShort(X,4),q=t4(X,Z);else if(W==="OTTO")Q.outlinesFormat="cff",Z=p.getUShort(X,4),q=t4(X,Z);else if(W==="wOFF"){var H=p.getTag(X,4);if(H===String.fromCharCode(0,1,0,0))Q.outlinesFormat="truetype";else if(H==="OTTO")Q.outlinesFormat="cff";else throw Error("Unsupported OpenType flavor "+W);Z=p.getUShort(X,12),q=kq(X,Z)}else throw Error("Unsupported OpenType signature "+W);var z,w,A,V,U,M,B,G,L,O,R;for(var D=0;D<Z;D+=1){var F=q[D],j=void 0;switch(F.tag){case"cmap":j=F0(X,F),Q.tables.cmap=yZ.parse(j.data,j.offset),Q.encoding=new H7(Q.tables.cmap);break;case"cvt ":j=F0(X,F),R=new p.Parser(j.data,j.offset),Q.tables.cvt=R.parseShortList(F.length/2);break;case"fvar":w=F;break;case"fpgm":j=F0(X,F),R=new p.Parser(j.data,j.offset),Q.tables.fpgm=R.parseByteList(F.length);break;case"head":j=F0(X,F),Q.tables.head=wq.parse(j.data,j.offset),Q.unitsPerEm=Q.tables.head.unitsPerEm,Y=Q.tables.head.indexToLocFormat;break;case"hhea":j=F0(X,F),Q.tables.hhea=Vq.parse(j.data,j.offset),Q.ascender=Q.tables.hhea.ascender,Q.descender=Q.tables.hhea.descender,Q.numberOfHMetrics=Q.tables.hhea.numberOfHMetrics;break;case"hmtx":B=F;break;case"ltag":j=F0(X,F),ltagTable=Eq.parse(j.data,j.offset);break;case"maxp":j=F0(X,F),Q.tables.maxp=Dq.parse(j.data,j.offset),Q.numGlyphs=Q.tables.maxp.numGlyphs;break;case"OS/2":j=F0(X,F),Q.tables.os2=Cq.parse(j.data,j.offset);break;case"post":j=F0(X,F),Q.tables.post=Pq.parse(j.data,j.offset);break;case"prep":j=F0(X,F),R=new p.Parser(j.data,j.offset),Q.tables.prep=R.parseByteList(F.length);break;case"glyf":A=F;break;case"loca":L=F;break;case"CFF ":z=F;break;case"kern":G=F;break;case"GDEF":V=F;break;case"GPOS":U=F;break;case"GSUB":M=F;break;case"meta":O=F;break}}if(A&&L){var C=Y===0,_=F0(X,L),P=Rq.parse(_.data,_.offset,Q.numGlyphs,C),g=F0(X,A);Q.glyphs=U7.parse(g.data,g.offset,P,Q,K)}else if(z){var l=F0(X,z);rZ.parse(l.data,l.offset,Q,K)}else throw Error("Font doesn't contain TrueType or CFF outlines.");var a=F0(X,B);if(Gq.parse(Q,a.data,a.offset,Q.numberOfHMetrics,Q.numGlyphs,Q.glyphs,K),WQ(Q,K),G){var r=F0(X,G);Q.kerningPairs=Oq.parse(r.data,r.offset)}else Q.kerningPairs={};if(V){var T=F0(X,V);Q.tables.gdef=Xq.parse(T.data,T.offset)}if(U){var y=F0(X,U);Q.tables.gpos=qq.parse(y.data,y.offset),Q.position.init()}if(M){var I=F0(X,M);Q.tables.gsub=Wq.parse(I.data,I.offset)}if(w){var f=F0(X,w);Q.tables.fvar=aZ.parse(f.data,f.offset,Q.names)}if(O){var u=F0(X,O);Q.tables.meta=yq.parse(u.data,u.offset),Q.metas=Q.tables.meta}return Q}function gq(){}function xq(){}var bq=Object.freeze({__proto__:null,Font:y0,Glyph:L5,Path:v0,_parse:p,parse:hq,load:gq,loadSync:xq}),e1=bq;var{create:fq,defineProperty:M8,getOwnPropertyDescriptor:dq,getOwnPropertyNames:uq,getPrototypeOf:lq}=Object,cq=Object.prototype.hasOwnProperty,f9=(J,K)=>()=>(J&&(K=J(J=0)),K),s=(J,K)=>()=>(K||J((K={exports:{}}).exports,K),K.exports),d9=(J,K)=>{for(var Y in K)M8(J,Y,{get:K[Y],enumerable:!0})},n7=(J,K,Y,Q)=>{if(K&&typeof K=="object"||typeof K=="function")for(let X of uq(K))!cq.call(J,X)&&X!==Y&&M8(J,X,{get:()=>K[X],enumerable:!(Q=dq(K,X))||Q.enumerable});return J},pq=(J,K,Y)=>(Y=J!=null?fq(lq(J)):{},n7(K||!J||!J.__esModule?M8(Y,"default",{value:J,enumerable:!0}):Y,J)),B8=(J)=>n7(M8({},"__esModule",{value:!0}),J),s7={};d9(s7,{getYogaModule:()=>iq});async function iq(){let{default:J}=await import("./chunk-3bw1jk21.js");return J()}var rq=f9(()=>{}),a7=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"default",{enumerable:!0,get:()=>K});function K(Y){if(Y=`${Y}`,Y==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(Y))return Y.replace(/^[+-]?/,(Q)=>Q==="-"?"":"-");if(Y.includes("var(")||Y.includes("calc("))return`calc(${Y} * -1)`}}),oq=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"default",{enumerable:!0,get:()=>K});var K=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","display","aspectRatio","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","whitespace","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content"]}),nq=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"default",{enumerable:!0,get:()=>K});function K(Y,Q){return Y===void 0?Q:Array.isArray(Y)?Y:[...new Set(Q.filter((X)=>Y!==!1&&Y[X]!==!1).concat(Object.keys(Y).filter((X)=>Y[X]!==!1)))]}}),t7=s((J,K)=>{K.exports={content:[],presets:[],darkMode:"media",theme:{screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:({colors:Y})=>({inherit:Y.inherit,current:Y.current,transparent:Y.transparent,black:Y.black,white:Y.white,slate:Y.slate,gray:Y.gray,zinc:Y.zinc,neutral:Y.neutral,stone:Y.stone,red:Y.red,orange:Y.orange,amber:Y.amber,yellow:Y.yellow,lime:Y.lime,green:Y.green,emerald:Y.emerald,teal:Y.teal,cyan:Y.cyan,sky:Y.sky,blue:Y.blue,indigo:Y.indigo,violet:Y.violet,purple:Y.purple,fuchsia:Y.fuchsia,pink:Y.pink,rose:Y.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",0.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:Y})=>Y("blur"),backdropBrightness:({theme:Y})=>Y("brightness"),backdropContrast:({theme:Y})=>Y("contrast"),backdropGrayscale:({theme:Y})=>Y("grayscale"),backdropHueRotate:({theme:Y})=>Y("hueRotate"),backdropInvert:({theme:Y})=>Y("invert"),backdropOpacity:({theme:Y})=>Y("opacity"),backdropSaturate:({theme:Y})=>Y("saturate"),backdropSepia:({theme:Y})=>Y("sepia"),backgroundColor:({theme:Y})=>Y("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:Y})=>Y("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},borderColor:({theme:Y})=>({...Y("colors"),DEFAULT:Y("colors.gray.200","currentColor")}),borderOpacity:({theme:Y})=>Y("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:Y})=>({...Y("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:Y})=>Y("colors"),caretColor:({theme:Y})=>Y("colors"),accentColor:({theme:Y})=>({...Y("colors"),auto:"auto"}),contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},container:{},content:{none:"none"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:Y})=>Y("borderColor"),divideOpacity:({theme:Y})=>Y("borderOpacity"),divideWidth:({theme:Y})=>Y("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:Y})=>Y("colors"),grayscale:{0:"0",DEFAULT:"100%"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{0:"0",DEFAULT:"100%"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:Y})=>({auto:"auto",...Y("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:Y})=>Y("spacing"),gradientColorStops:({theme:Y})=>Y("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",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"},gridColumnStart:{auto:"auto",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"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-full":"1 / -1"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},height:({theme:Y})=>({auto:"auto",...Y("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),inset:({theme:Y})=>({auto:"auto",...Y("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},margin:({theme:Y})=>({auto:"auto",...Y("spacing")}),maxHeight:({theme:Y})=>({...Y("spacing"),full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:Y,breakpoints:Q})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...Q(Y("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"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"},padding:({theme:Y})=>Y("spacing"),placeholderColor:({theme:Y})=>Y("colors"),placeholderOpacity:({theme:Y})=>Y("opacity"),outlineColor:({theme:Y})=>Y("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringColor:({theme:Y})=>({DEFAULT:Y("colors.blue.500","#3b82f6"),...Y("colors")}),ringOffsetColor:({theme:Y})=>Y("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:Y})=>({DEFAULT:"0.5",...Y("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},scrollMargin:({theme:Y})=>({...Y("spacing")}),scrollPadding:({theme:Y})=>Y("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:Y})=>({...Y("spacing")}),stroke:({theme:Y})=>Y("colors"),strokeWidth:{0:"0",1:"1",2:"2"},textColor:({theme:Y})=>Y("colors"),textDecorationColor:({theme:Y})=>Y("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:Y})=>({...Y("spacing")}),textOpacity:({theme:Y})=>Y("opacity"),transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1000:"1000ms"},transitionDuration:{DEFAULT:"150ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1000:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:Y})=>({...Y("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),width:({theme:Y})=>({auto:"auto",...Y("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},variantOrder:["first","last","odd","even","visited","checked","empty","read-only","group-hover","group-focus","focus-within","hover","focus","focus-visible","active","disabled"],plugins:[]}}),N8={};d9(N8,{default:()=>e7});var e7,u9=f9(()=>{e7={info(J,K){console.info(...Array.isArray(J)?[J]:[K,J])},warn(J,K){console.warn(...Array.isArray(J)?[J]:[K,J])},risk(J,K){console.error(...Array.isArray(J)?[J]:[K,J])}}}),sq=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"default",{enumerable:!0,get:()=>X});var K=Y((u9(),B8(N8)));function Y(Z){return Z&&Z.__esModule?Z:{default:Z}}function Q({version:Z,from:q,to:W}){K.default.warn(`${q}-color-renamed`,[`As of Tailwind CSS ${Z}, \`${q}\` has been renamed to \`${W}\`.`,"Update your configuration file to silence this warning."])}var X={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},get lightBlue(){return Q({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return Q({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return Q({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return Q({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return Q({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}),aq=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"defaults",{enumerable:!0,get:()=>K});function K(Y,...Q){for(let q of Q){for(let W in q){var X;!(Y==null||(X=Y.hasOwnProperty)===null||X===void 0)&&X.call(Y,W)||(Y[W]=q[W])}for(let W of Object.getOwnPropertySymbols(q)){var Z;!(Y==null||(Z=Y.hasOwnProperty)===null||Z===void 0)&&Z.call(Y,W)||(Y[W]=q[W])}}return Y}}),tq=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"toPath",{enumerable:!0,get:()=>K});function K(Y){if(Array.isArray(Y))return Y;let Q=Y.split("[").length-1,X=Y.split("]").length-1;if(Q!==X)throw Error(`Path is invalid. Has unbalanced brackets: ${Y}`);return Y.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}}),eq=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"normalizeConfig",{enumerable:!0,get:()=>X});var K=Q((u9(),B8(N8)));function Y(Z){if(typeof WeakMap!="function")return null;var q=new WeakMap,W=new WeakMap;return(Y=function(H){return H?W:q})(Z)}function Q(Z,q){if(!q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var W=Y(q);if(W&&W.has(Z))return W.get(Z);var H={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in Z)if(w!=="default"&&Object.prototype.hasOwnProperty.call(Z,w)){var A=z?Object.getOwnPropertyDescriptor(Z,w):null;A&&(A.get||A.set)?Object.defineProperty(H,w,A):H[w]=Z[w]}return H.default=Z,W&&W.set(Z,H),H}function X(Z){if((()=>{if(Z.purge||!Z.content||!Array.isArray(Z.content)&&!(typeof Z.content=="object"&&Z.content!==null))return!1;if(Array.isArray(Z.content))return Z.content.every((W)=>typeof W=="string"?!0:!(typeof(W==null?void 0:W.raw)!="string"||W!=null&&W.extension&&typeof(W==null?void 0:W.extension)!="string"));if(typeof Z.content=="object"&&Z.content!==null){if(Object.keys(Z.content).some((W)=>!["files","extract","transform"].includes(W)))return!1;if(Array.isArray(Z.content.files)){if(!Z.content.files.every((W)=>typeof W=="string"?!0:!(typeof(W==null?void 0:W.raw)!="string"||W!=null&&W.extension&&typeof(W==null?void 0:W.extension)!="string")))return!1;if(typeof Z.content.extract=="object"){for(let W of Object.values(Z.content.extract))if(typeof W!="function")return!1}else if(!(Z.content.extract===void 0||typeof Z.content.extract=="function"))return!1;if(typeof Z.content.transform=="object"){for(let W of Object.values(Z.content.transform))if(typeof W!="function")return!1}else if(!(Z.content.transform===void 0||typeof Z.content.transform=="function"))return!1}return!0}return!1})()||K.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),Z.safelist=(()=>{var W;let{content:H,purge:z,safelist:w}=Z;return Array.isArray(w)?w:Array.isArray(H==null?void 0:H.safelist)?H.safelist:Array.isArray(z==null?void 0:z.safelist)?z.safelist:Array.isArray(z==null||(W=z.options)===null||W===void 0?void 0:W.safelist)?z.options.safelist:[]})(),typeof Z.prefix=="function")K.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),Z.prefix="";else{var q;Z.prefix=(q=Z.prefix)!==null&&q!==void 0?q:""}Z.content={files:(()=>{let{content:W,purge:H}=Z;return Array.isArray(H)?H:Array.isArray(H==null?void 0:H.content)?H.content:Array.isArray(W)?W:Array.isArray(W==null?void 0:W.content)?W.content:Array.isArray(W==null?void 0:W.files)?W.files:[]})(),extract:(()=>{let W=(()=>{var w,A,V,U,M,B,G,L,O,R;return!((w=Z.purge)===null||w===void 0)&&w.extract?Z.purge.extract:!((A=Z.content)===null||A===void 0)&&A.extract?Z.content.extract:!((V=Z.purge)===null||V===void 0||(U=V.extract)===null||U===void 0)&&U.DEFAULT?Z.purge.extract.DEFAULT:!((M=Z.content)===null||M===void 0||(B=M.extract)===null||B===void 0)&&B.DEFAULT?Z.content.extract.DEFAULT:!((G=Z.purge)===null||G===void 0||(L=G.options)===null||L===void 0)&&L.extractors?Z.purge.options.extractors:!((O=Z.content)===null||O===void 0||(R=O.options)===null||R===void 0)&&R.extractors?Z.content.options.extractors:{}})(),H={},z=(()=>{var w,A,V,U;if(!((w=Z.purge)===null||w===void 0||(A=w.options)===null||A===void 0)&&A.defaultExtractor)return Z.purge.options.defaultExtractor;if(!((V=Z.content)===null||V===void 0||(U=V.options)===null||U===void 0)&&U.defaultExtractor)return Z.content.options.defaultExtractor})();if(z!==void 0&&(H.DEFAULT=z),typeof W=="function")H.DEFAULT=W;else if(Array.isArray(W))for(let{extensions:w,extractor:A}of W??[])for(let V of w)H[V]=A;else typeof W=="object"&&W!==null&&Object.assign(H,W);return H})(),transform:(()=>{let W=(()=>{var z,w,A,V,U,M;return!((z=Z.purge)===null||z===void 0)&&z.transform?Z.purge.transform:!((w=Z.content)===null||w===void 0)&&w.transform?Z.content.transform:!((A=Z.purge)===null||A===void 0||(V=A.transform)===null||V===void 0)&&V.DEFAULT?Z.purge.transform.DEFAULT:!((U=Z.content)===null||U===void 0||(M=U.transform)===null||M===void 0)&&M.DEFAULT?Z.content.transform.DEFAULT:{}})(),H={};return typeof W=="function"&&(H.DEFAULT=W),typeof W=="object"&&W!==null&&Object.assign(H,W),H})()};for(let W of Z.content.files)if(typeof W=="string"&&/{([^,]*?)}/g.test(W)){K.default.warn("invalid-glob-braces",[`The glob pattern ${(0,K.dim)(W)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,K.dim)(W.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return Z}}),JH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"default",{enumerable:!0,get:()=>K});function K(Y){if(Object.prototype.toString.call(Y)!=="[object Object]")return!1;let Q=Object.getPrototypeOf(Y);return Q===null||Q===Object.prototype}}),KH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"cloneDeep",{enumerable:!0,get:()=>K});function K(Y){return Array.isArray(Y)?Y.map((Q)=>K(Q)):typeof Y=="object"&&Y!==null?Object.fromEntries(Object.entries(Y).map(([Q,X])=>[Q,K(X)])):Y}}),JJ=s((J,K)=>{J.__esModule=!0,J.default=X;function Y(Z){for(var q=Z.toLowerCase(),W="",H=!1,z=0;z<6&&q[z]!==void 0;z++){var w=q.charCodeAt(z),A=w>=97&&w<=102||w>=48&&w<=57;if(H=w===32,!A)break;W+=q[z]}if(W.length!==0){var V=parseInt(W,16),U=V>=55296&&V<=57343;return U||V===0||V>1114111?["\uFFFD",W.length+(H?1:0)]:[String.fromCodePoint(V),W.length+(H?1:0)]}}var Q=/\\/;function X(Z){var q=Q.test(Z);if(!q)return Z;for(var W="",H=0;H<Z.length;H++){if(Z[H]==="\\"){var z=Y(Z.slice(H+1,H+7));if(z!==void 0){W+=z[0],H+=z[1];continue}if(Z[H+1]==="\\"){W+="\\",H++;continue}Z.length===H+1&&(W+=Z[H]);continue}W+=Z[H]}return W}K.exports=J.default}),YH=s((J,K)=>{J.__esModule=!0,J.default=Y;function Y(Q){for(var X=arguments.length,Z=Array(X>1?X-1:0),q=1;q<X;q++)Z[q-1]=arguments[q];for(;Z.length>0;){var W=Z.shift();if(!Q[W])return;Q=Q[W]}return Q}K.exports=J.default}),QH=s((J,K)=>{J.__esModule=!0,J.default=Y;function Y(Q){for(var X=arguments.length,Z=Array(X>1?X-1:0),q=1;q<X;q++)Z[q-1]=arguments[q];for(;Z.length>0;){var W=Z.shift();Q[W]||(Q[W]={}),Q=Q[W]}}K.exports=J.default}),XH=s((J,K)=>{J.__esModule=!0,J.default=Y;function Y(Q){for(var X="",Z=Q.indexOf("/*"),q=0;Z>=0;){X=X+Q.slice(q,Z);var W=Q.indexOf("*/",Z+2);if(W<0)return X;q=W+2,Z=Q.indexOf("/*",q)}return X=X+Q.slice(q),X}K.exports=J.default}),L8=s((J)=>{J.__esModule=!0,J.stripComments=J.ensureObject=J.getProp=J.unesc=void 0;var K=Z(JJ());J.unesc=K.default;var Y=Z(YH());J.getProp=Y.default;var Q=Z(QH());J.ensureObject=Q.default;var X=Z(XH());J.stripComments=X.default;function Z(q){return q&&q.__esModule?q:{default:q}}}),k5=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=L8();function Q(W,H){for(var z=0;z<H.length;z++){var w=H[z];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(W,w.key,w)}}function X(W,H,z){return H&&Q(W.prototype,H),z&&Q(W,z),W}var Z=function W(H,z){if(typeof H!="object"||H===null)return H;var w=new H.constructor;for(var A in H)if(H.hasOwnProperty(A)){var V=H[A],U=typeof V;A==="parent"&&U==="object"?z&&(w[A]=z):V instanceof Array?w[A]=V.map(function(M){return W(M,w)}):w[A]=W(V,w)}return w},q=function(){function W(z){z===void 0&&(z={}),Object.assign(this,z),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var H=W.prototype;return H.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},H.replaceWith=function(){if(this.parent){for(var z in arguments)this.parent.insertBefore(this,arguments[z]);this.remove()}return this},H.next=function(){return this.parent.at(this.parent.index(this)+1)},H.prev=function(){return this.parent.at(this.parent.index(this)-1)},H.clone=function(z){z===void 0&&(z={});var w=Z(this);for(var A in z)w[A]=z[A];return w},H.appendToPropertyAndEscape=function(z,w,A){this.raws||(this.raws={});var V=this[z],U=this.raws[z];this[z]=V+w,U||A!==w?this.raws[z]=(U||V)+A:delete this.raws[z]},H.setPropertyAndEscape=function(z,w,A){this.raws||(this.raws={}),this[z]=w,this.raws[z]=A},H.setPropertyWithoutEscape=function(z,w){this[z]=w,this.raws&&delete this.raws[z]},H.isAtPosition=function(z,w){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>z||this.source.end.line<z||this.source.start.line===z&&this.source.start.column>w||this.source.end.line===z&&this.source.end.column<w)},H.stringifyProperty=function(z){return this.raws&&this.raws[z]||this[z]},H.valueToString=function(){return String(this.stringifyProperty("value"))},H.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},X(W,[{key:"rawSpaceBefore",get:function(){var z=this.raws&&this.raws.spaces&&this.raws.spaces.before;return z===void 0&&(z=this.spaces&&this.spaces.before),z||""},set:function(z){(0,Y.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=z}},{key:"rawSpaceAfter",get:function(){var z=this.raws&&this.raws.spaces&&this.raws.spaces.after;return z===void 0&&(z=this.spaces.after),z||""},set:function(z){(0,Y.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=z}}]),W}();J.default=q,K.exports=J.default}),k0=s((J)=>{J.__esModule=!0,J.UNIVERSAL=J.ATTRIBUTE=J.CLASS=J.COMBINATOR=J.COMMENT=J.ID=J.NESTING=J.PSEUDO=J.ROOT=J.SELECTOR=J.STRING=J.TAG=void 0;var K="tag";J.TAG=K;var Y="string";J.STRING=Y;var Q="selector";J.SELECTOR=Q;var X="root";J.ROOT=X;var Z="pseudo";J.PSEUDO=Z;var q="nesting";J.NESTING=q;var W="id";J.ID=W;var H="comment";J.COMMENT=H;var z="combinator";J.COMBINATOR=z;var w="class";J.CLASS=w;var A="attribute";J.ATTRIBUTE=A;var V="universal";J.UNIVERSAL=V}),l9=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=q(k5()),Q=Z(k0());function X(){if(typeof WeakMap!="function")return null;var B=new WeakMap;return X=function(){return B},B}function Z(B){if(B&&B.__esModule)return B;if(B===null||typeof B!="object"&&typeof B!="function")return{default:B};var G=X();if(G&&G.has(B))return G.get(B);var L={},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in B)if(Object.prototype.hasOwnProperty.call(B,R)){var D=O?Object.getOwnPropertyDescriptor(B,R):null;D&&(D.get||D.set)?Object.defineProperty(L,R,D):L[R]=B[R]}return L.default=B,G&&G.set(B,L),L}function q(B){return B&&B.__esModule?B:{default:B}}function W(B,G){var L;if(typeof Symbol>"u"||B[Symbol.iterator]==null){if(Array.isArray(B)||(L=H(B))||G&&B&&typeof B.length=="number"){L&&(B=L);var O=0;return function(){return O>=B.length?{done:!0}:{done:!1,value:B[O++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
60
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return L=B[Symbol.iterator](),L.next.bind(L)}function H(B,G){if(B){if(typeof B=="string")return z(B,G);var L=Object.prototype.toString.call(B).slice(8,-1);if(L==="Object"&&B.constructor&&(L=B.constructor.name),L==="Map"||L==="Set")return Array.from(B);if(L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L))return z(B,G)}}function z(B,G){(G==null||G>B.length)&&(G=B.length);for(var L=0,O=Array(G);L<G;L++)O[L]=B[L];return O}function w(B,G){for(var L=0;L<G.length;L++){var O=G[L];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(B,O.key,O)}}function A(B,G,L){return G&&w(B.prototype,G),L&&w(B,L),B}function V(B,G){B.prototype=Object.create(G.prototype),B.prototype.constructor=B,U(B,G)}function U(B,G){return U=Object.setPrototypeOf||function(L,O){return L.__proto__=O,L},U(B,G)}var M=function(B){V(G,B);function G(O){var R;return R=B.call(this,O)||this,R.nodes||(R.nodes=[]),R}var L=G.prototype;return L.append=function(O){return O.parent=this,this.nodes.push(O),this},L.prepend=function(O){return O.parent=this,this.nodes.unshift(O),this},L.at=function(O){return this.nodes[O]},L.index=function(O){return typeof O=="number"?O:this.nodes.indexOf(O)},L.removeChild=function(O){O=this.index(O),this.at(O).parent=void 0,this.nodes.splice(O,1);var R;for(var D in this.indexes)R=this.indexes[D],R>=O&&(this.indexes[D]=R-1);return this},L.removeAll=function(){for(var O=W(this.nodes),R;!(R=O()).done;){var D=R.value;D.parent=void 0}return this.nodes=[],this},L.empty=function(){return this.removeAll()},L.insertAfter=function(O,R){R.parent=this;var D=this.index(O);this.nodes.splice(D+1,0,R),R.parent=this;var F;for(var j in this.indexes)F=this.indexes[j],D<=F&&(this.indexes[j]=F+1);return this},L.insertBefore=function(O,R){R.parent=this;var D=this.index(O);this.nodes.splice(D,0,R),R.parent=this;var F;for(var j in this.indexes)F=this.indexes[j],F<=D&&(this.indexes[j]=F+1);return this},L._findChildAtPosition=function(O,R){var D=void 0;return this.each(function(F){if(F.atPosition){var j=F.atPosition(O,R);if(j)return D=j,!1}else if(F.isAtPosition(O,R))return D=F,!1}),D},L.atPosition=function(O,R){if(this.isAtPosition(O,R))return this._findChildAtPosition(O,R)||this},L._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},L.each=function(O){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var R=this.lastEach;if(this.indexes[R]=0,!!this.length){for(var D,F;this.indexes[R]<this.length&&(D=this.indexes[R],F=O(this.at(D),D),F!==!1);)this.indexes[R]+=1;if(delete this.indexes[R],F===!1)return!1}},L.walk=function(O){return this.each(function(R,D){var F=O(R,D);if(F!==!1&&R.length&&(F=R.walk(O)),F===!1)return!1})},L.walkAttributes=function(O){var R=this;return this.walk(function(D){if(D.type===Q.ATTRIBUTE)return O.call(R,D)})},L.walkClasses=function(O){var R=this;return this.walk(function(D){if(D.type===Q.CLASS)return O.call(R,D)})},L.walkCombinators=function(O){var R=this;return this.walk(function(D){if(D.type===Q.COMBINATOR)return O.call(R,D)})},L.walkComments=function(O){var R=this;return this.walk(function(D){if(D.type===Q.COMMENT)return O.call(R,D)})},L.walkIds=function(O){var R=this;return this.walk(function(D){if(D.type===Q.ID)return O.call(R,D)})},L.walkNesting=function(O){var R=this;return this.walk(function(D){if(D.type===Q.NESTING)return O.call(R,D)})},L.walkPseudos=function(O){var R=this;return this.walk(function(D){if(D.type===Q.PSEUDO)return O.call(R,D)})},L.walkTags=function(O){var R=this;return this.walk(function(D){if(D.type===Q.TAG)return O.call(R,D)})},L.walkUniversals=function(O){var R=this;return this.walk(function(D){if(D.type===Q.UNIVERSAL)return O.call(R,D)})},L.split=function(O){var R=this,D=[];return this.reduce(function(F,j,C){var _=O.call(R,j);return D.push(j),_?(F.push(D),D=[]):C===R.length-1&&F.push(D),F},[])},L.map=function(O){return this.nodes.map(O)},L.reduce=function(O,R){return this.nodes.reduce(O,R)},L.every=function(O){return this.nodes.every(O)},L.some=function(O){return this.nodes.some(O)},L.filter=function(O){return this.nodes.filter(O)},L.sort=function(O){return this.nodes.sort(O)},L.toString=function(){return this.map(String).join("")},A(G,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),G}(Y.default);J.default=M,K.exports=J.default}),KJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=X(l9()),Q=k0();function X(w){return w&&w.__esModule?w:{default:w}}function Z(w,A){for(var V=0;V<A.length;V++){var U=A[V];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(w,U.key,U)}}function q(w,A,V){return A&&Z(w.prototype,A),V&&Z(w,V),w}function W(w,A){w.prototype=Object.create(A.prototype),w.prototype.constructor=w,H(w,A)}function H(w,A){return H=Object.setPrototypeOf||function(V,U){return V.__proto__=U,V},H(w,A)}var z=function(w){W(A,w);function A(U){var M;return M=w.call(this,U)||this,M.type=Q.ROOT,M}var V=A.prototype;return V.toString=function(){var U=this.reduce(function(M,B){return M.push(String(B)),M},[]).join(",");return this.trailingComma?U+",":U},V.error=function(U,M){return this._error?this._error(U,M):Error(U)},q(A,[{key:"errorGenerator",set:function(U){this._error=U}}]),A}(Y.default);J.default=z,K.exports=J.default}),YJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=X(l9()),Q=k0();function X(H){return H&&H.__esModule?H:{default:H}}function Z(H,z){H.prototype=Object.create(z.prototype),H.prototype.constructor=H,q(H,z)}function q(H,z){return q=Object.setPrototypeOf||function(w,A){return w.__proto__=A,w},q(H,z)}var W=function(H){Z(z,H);function z(w){var A;return A=H.call(this,w)||this,A.type=Q.SELECTOR,A}return z}(Y.default);J.default=W,K.exports=J.default}),c9=s((J,K)=>{var Y={},Q=Y.hasOwnProperty,X=function(z,w){if(!z)return w;var A={};for(var V in w)A[V]=Q.call(z,V)?z[V]:w[V];return A},Z=/[ -,\.\/:-@\[-\^`\{-~]/,q=/[ -,\.\/:-@\[\]\^`\{-~]/,W=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,H=function z(w,A){A=X(A,z.options),A.quotes!="single"&&A.quotes!="double"&&(A.quotes="single");for(var V=A.quotes=="double"?'"':"'",U=A.isIdentifier,M=w.charAt(0),B="",G=0,L=w.length;G<L;){var O=w.charAt(G++),R=O.charCodeAt(),D=void 0;if(R<32||R>126){if(R>=55296&&R<=56319&&G<L){var F=w.charCodeAt(G++);(F&64512)==56320?R=((R&1023)<<10)+(F&1023)+65536:G--}D="\\"+R.toString(16).toUpperCase()+" "}else A.escapeEverything?Z.test(O)?D="\\"+O:D="\\"+R.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(O)?D="\\"+R.toString(16).toUpperCase()+" ":O=="\\"||!U&&(O=='"'&&V==O||O=="'"&&V==O)||U&&q.test(O)?D="\\"+O:D=O;B+=D}return U&&(/^-[-\d]/.test(B)?B="\\-"+B.slice(1):/\d/.test(M)&&(B="\\3"+M+" "+B.slice(1))),B=B.replace(W,function(j,C,_){return C&&C.length%2?j:(C||"")+_}),!U&&A.wrap?V+B+V:B};H.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},H.version="3.0.0",K.exports=H}),QJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=q(c9()),Q=L8(),X=q(k5()),Z=k0();function q(V){return V&&V.__esModule?V:{default:V}}function W(V,U){for(var M=0;M<U.length;M++){var B=U[M];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(V,B.key,B)}}function H(V,U,M){return U&&W(V.prototype,U),M&&W(V,M),V}function z(V,U){V.prototype=Object.create(U.prototype),V.prototype.constructor=V,w(V,U)}function w(V,U){return w=Object.setPrototypeOf||function(M,B){return M.__proto__=B,M},w(V,U)}var A=function(V){z(U,V);function U(B){var G;return G=V.call(this,B)||this,G.type=Z.CLASS,G._constructed=!0,G}var M=U.prototype;return M.valueToString=function(){return"."+V.prototype.valueToString.call(this)},H(U,[{key:"value",get:function(){return this._value},set:function(B){if(this._constructed){var G=(0,Y.default)(B,{isIdentifier:!0});G!==B?((0,Q.ensureObject)(this,"raws"),this.raws.value=G):this.raws&&delete this.raws.value}this._value=B}}]),U}(X.default);J.default=A,K.exports=J.default}),XJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=X(k5()),Q=k0();function X(H){return H&&H.__esModule?H:{default:H}}function Z(H,z){H.prototype=Object.create(z.prototype),H.prototype.constructor=H,q(H,z)}function q(H,z){return q=Object.setPrototypeOf||function(w,A){return w.__proto__=A,w},q(H,z)}var W=function(H){Z(z,H);function z(w){var A;return A=H.call(this,w)||this,A.type=Q.COMMENT,A}return z}(Y.default);J.default=W,K.exports=J.default}),ZJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=X(k5()),Q=k0();function X(H){return H&&H.__esModule?H:{default:H}}function Z(H,z){H.prototype=Object.create(z.prototype),H.prototype.constructor=H,q(H,z)}function q(H,z){return q=Object.setPrototypeOf||function(w,A){return w.__proto__=A,w},q(H,z)}var W=function(H){Z(z,H);function z(A){var V;return V=H.call(this,A)||this,V.type=Q.ID,V}var w=z.prototype;return w.valueToString=function(){return"#"+H.prototype.valueToString.call(this)},z}(Y.default);J.default=W,K.exports=J.default}),p9=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=Z(c9()),Q=L8(),X=Z(k5());function Z(A){return A&&A.__esModule?A:{default:A}}function q(A,V){for(var U=0;U<V.length;U++){var M=V[U];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(A,M.key,M)}}function W(A,V,U){return V&&q(A.prototype,V),U&&q(A,U),A}function H(A,V){A.prototype=Object.create(V.prototype),A.prototype.constructor=A,z(A,V)}function z(A,V){return z=Object.setPrototypeOf||function(U,M){return U.__proto__=M,U},z(A,V)}var w=function(A){H(V,A);function V(){return A.apply(this,arguments)||this}var U=V.prototype;return U.qualifiedName=function(M){return this.namespace?this.namespaceString+"|"+M:M},U.valueToString=function(){return this.qualifiedName(A.prototype.valueToString.call(this))},W(V,[{key:"namespace",get:function(){return this._namespace},set:function(M){if(M===!0||M==="*"||M==="&"){this._namespace=M,this.raws&&delete this.raws.namespace;return}var B=(0,Y.default)(M,{isIdentifier:!0});this._namespace=M,B!==M?((0,Q.ensureObject)(this,"raws"),this.raws.namespace=B):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(M){this.namespace=M}},{key:"namespaceString",get:function(){if(this.namespace){var M=this.stringifyProperty("namespace");return M===!0?"":M}else return""}}]),V}(X.default);J.default=w,K.exports=J.default}),qJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=X(p9()),Q=k0();function X(H){return H&&H.__esModule?H:{default:H}}function Z(H,z){H.prototype=Object.create(z.prototype),H.prototype.constructor=H,q(H,z)}function q(H,z){return q=Object.setPrototypeOf||function(w,A){return w.__proto__=A,w},q(H,z)}var W=function(H){Z(z,H);function z(w){var A;return A=H.call(this,w)||this,A.type=Q.TAG,A}return z}(Y.default);J.default=W,K.exports=J.default}),HJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=X(k5()),Q=k0();function X(H){return H&&H.__esModule?H:{default:H}}function Z(H,z){H.prototype=Object.create(z.prototype),H.prototype.constructor=H,q(H,z)}function q(H,z){return q=Object.setPrototypeOf||function(w,A){return w.__proto__=A,w},q(H,z)}var W=function(H){Z(z,H);function z(w){var A;return A=H.call(this,w)||this,A.type=Q.STRING,A}return z}(Y.default);J.default=W,K.exports=J.default}),WJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=X(l9()),Q=k0();function X(H){return H&&H.__esModule?H:{default:H}}function Z(H,z){H.prototype=Object.create(z.prototype),H.prototype.constructor=H,q(H,z)}function q(H,z){return q=Object.setPrototypeOf||function(w,A){return w.__proto__=A,w},q(H,z)}var W=function(H){Z(z,H);function z(A){var V;return V=H.call(this,A)||this,V.type=Q.PSEUDO,V}var w=z.prototype;return w.toString=function(){var A=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),A,this.rawSpaceAfter].join("")},z}(Y.default);J.default=W,K.exports=J.default}),ZH=s((J,K)=>{K.exports=function(Y,Q){return function(...X){return console.warn(Q),Y(...X)}}}),zJ=s((J)=>{J.__esModule=!0,J.unescapeValue=G,J.default=void 0;var K=q(c9()),Y=q(JJ()),Q=q(p9()),X=k0(),Z;function q(F){return F&&F.__esModule?F:{default:F}}function W(F,j){for(var C=0;C<j.length;C++){var _=j[C];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(F,_.key,_)}}function H(F,j,C){return j&&W(F.prototype,j),C&&W(F,C),F}function z(F,j){F.prototype=Object.create(j.prototype),F.prototype.constructor=F,w(F,j)}function w(F,j){return w=Object.setPrototypeOf||function(C,_){return C.__proto__=_,C},w(F,j)}var A=ZH(),V=/^('|")([^]*)\1$/,U=A(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),M=A(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),B=A(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function G(F){var j=!1,C=null,_=F,P=_.match(V);return P&&(C=P[1],_=P[2]),_=(0,Y.default)(_),_!==F&&(j=!0),{deprecatedUsage:j,unescaped:_,quoteMark:C}}function L(F){if(F.quoteMark!==void 0||F.value===void 0)return F;B();var j=G(F.value),C=j.quoteMark,_=j.unescaped;return F.raws||(F.raws={}),F.raws.value===void 0&&(F.raws.value=F.value),F.value=_,F.quoteMark=C,F}var O=function(F){z(j,F);function j(_){var P;return _===void 0&&(_={}),P=F.call(this,L(_))||this,P.type=X.ATTRIBUTE,P.raws=P.raws||{},Object.defineProperty(P.raws,"unquoted",{get:A(function(){return P.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:A(function(){return P.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),P._constructed=!0,P}var C=j.prototype;return C.getQuotedValue=function(_){_===void 0&&(_={});var P=this._determineQuoteMark(_),g=R[P],l=(0,K.default)(this._value,g);return l},C._determineQuoteMark=function(_){return _.smart?this.smartQuoteMark(_):this.preferredQuoteMark(_)},C.setValue=function(_,P){P===void 0&&(P={}),this._value=_,this._quoteMark=this._determineQuoteMark(P),this._syncRawValue()},C.smartQuoteMark=function(_){var P=this.value,g=P.replace(/[^']/g,"").length,l=P.replace(/[^"]/g,"").length;if(g+l===0){var a=(0,K.default)(P,{isIdentifier:!0});if(a===P)return j.NO_QUOTE;var r=this.preferredQuoteMark(_);if(r===j.NO_QUOTE){var T=this.quoteMark||_.quoteMark||j.DOUBLE_QUOTE,y=R[T],I=(0,K.default)(P,y);if(I.length<a.length)return T}return r}else return l===g?this.preferredQuoteMark(_):l<g?j.DOUBLE_QUOTE:j.SINGLE_QUOTE},C.preferredQuoteMark=function(_){var P=_.preferCurrentQuoteMark?this.quoteMark:_.quoteMark;return P===void 0&&(P=_.preferCurrentQuoteMark?_.quoteMark:this.quoteMark),P===void 0&&(P=j.DOUBLE_QUOTE),P},C._syncRawValue=function(){var _=(0,K.default)(this._value,R[this.quoteMark]);_===this._value?this.raws&&delete this.raws.value:this.raws.value=_},C._handleEscapes=function(_,P){if(this._constructed){var g=(0,K.default)(P,{isIdentifier:!0});g!==P?this.raws[_]=g:delete this.raws[_]}},C._spacesFor=function(_){var P={before:"",after:""},g=this.spaces[_]||{},l=this.raws.spaces&&this.raws.spaces[_]||{};return Object.assign(P,g,l)},C._stringFor=function(_,P,g){P===void 0&&(P=_),g===void 0&&(g=D);var l=this._spacesFor(P);return g(this.stringifyProperty(_),l)},C.offsetOf=function(_){var P=1,g=this._spacesFor("attribute");if(P+=g.before.length,_==="namespace"||_==="ns")return this.namespace?P:-1;if(_==="attributeNS"||(P+=this.namespaceString.length,this.namespace&&(P+=1),_==="attribute"))return P;P+=this.stringifyProperty("attribute").length,P+=g.after.length;var l=this._spacesFor("operator");P+=l.before.length;var a=this.stringifyProperty("operator");if(_==="operator")return a?P:-1;P+=a.length,P+=l.after.length;var r=this._spacesFor("value");P+=r.before.length;var T=this.stringifyProperty("value");if(_==="value")return T?P:-1;P+=T.length,P+=r.after.length;var y=this._spacesFor("insensitive");return P+=y.before.length,_==="insensitive"&&this.insensitive?P:-1},C.toString=function(){var _=this,P=[this.rawSpaceBefore,"["];return P.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(P.push(this._stringFor("operator")),P.push(this._stringFor("value")),P.push(this._stringFor("insensitiveFlag","insensitive",function(g,l){return g.length>0&&!_.quoted&&l.before.length===0&&!(_.spaces.value&&_.spaces.value.after)&&(l.before=" "),D(g,l)}))),P.push("]"),P.push(this.rawSpaceAfter),P.join("")},H(j,[{key:"quoted",get:function(){var _=this.quoteMark;return _==="'"||_==='"'},set:function(_){M()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(_){if(!this._constructed){this._quoteMark=_;return}this._quoteMark!==_&&(this._quoteMark=_,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(_){if(this._constructed){var P=G(_),g=P.deprecatedUsage,l=P.unescaped,a=P.quoteMark;if(g&&U(),l===this._value&&a===this._quoteMark)return;this._value=l,this._quoteMark=a,this._syncRawValue()}else this._value=_}},{key:"attribute",get:function(){return this._attribute},set:function(_){this._handleEscapes("attribute",_),this._attribute=_}}]),j}(Q.default);J.default=O,O.NO_QUOTE=null,O.SINGLE_QUOTE="'",O.DOUBLE_QUOTE='"';var R=(Z={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},Z[null]={isIdentifier:!0},Z);function D(F,j){return""+j.before+F+j.after}}),wJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=X(p9()),Q=k0();function X(H){return H&&H.__esModule?H:{default:H}}function Z(H,z){H.prototype=Object.create(z.prototype),H.prototype.constructor=H,q(H,z)}function q(H,z){return q=Object.setPrototypeOf||function(w,A){return w.__proto__=A,w},q(H,z)}var W=function(H){Z(z,H);function z(w){var A;return A=H.call(this,w)||this,A.type=Q.UNIVERSAL,A.value="*",A}return z}(Y.default);J.default=W,K.exports=J.default}),AJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=X(k5()),Q=k0();function X(H){return H&&H.__esModule?H:{default:H}}function Z(H,z){H.prototype=Object.create(z.prototype),H.prototype.constructor=H,q(H,z)}function q(H,z){return q=Object.setPrototypeOf||function(w,A){return w.__proto__=A,w},q(H,z)}var W=function(H){Z(z,H);function z(w){var A;return A=H.call(this,w)||this,A.type=Q.COMBINATOR,A}return z}(Y.default);J.default=W,K.exports=J.default}),VJ=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=X(k5()),Q=k0();function X(H){return H&&H.__esModule?H:{default:H}}function Z(H,z){H.prototype=Object.create(z.prototype),H.prototype.constructor=H,q(H,z)}function q(H,z){return q=Object.setPrototypeOf||function(w,A){return w.__proto__=A,w},q(H,z)}var W=function(H){Z(z,H);function z(w){var A;return A=H.call(this,w)||this,A.type=Q.NESTING,A.value="&",A}return z}(Y.default);J.default=W,K.exports=J.default}),qH=s((J,K)=>{J.__esModule=!0,J.default=Y;function Y(Q){return Q.sort(function(X,Z){return X-Z})}K.exports=J.default}),UJ=s((J)=>{J.__esModule=!0,J.combinator=J.word=J.comment=J.str=J.tab=J.newline=J.feed=J.cr=J.backslash=J.bang=J.slash=J.doubleQuote=J.singleQuote=J.space=J.greaterThan=J.pipe=J.equals=J.plus=J.caret=J.tilde=J.dollar=J.closeSquare=J.openSquare=J.closeParenthesis=J.openParenthesis=J.semicolon=J.colon=J.comma=J.at=J.asterisk=J.ampersand=void 0;var K=38;J.ampersand=K;var Y=42;J.asterisk=Y;var Q=64;J.at=Q;var X=44;J.comma=X;var Z=58;J.colon=Z;var q=59;J.semicolon=q;var W=40;J.openParenthesis=W;var H=41;J.closeParenthesis=H;var z=91;J.openSquare=z;var w=93;J.closeSquare=w;var A=36;J.dollar=A;var V=126;J.tilde=V;var U=94;J.caret=U;var M=43;J.plus=M;var B=61;J.equals=B;var G=124;J.pipe=G;var L=62;J.greaterThan=L;var O=32;J.space=O;var R=39;J.singleQuote=R;var D=34;J.doubleQuote=D;var F=47;J.slash=F;var j=33;J.bang=j;var C=92;J.backslash=C;var _=13;J.cr=_;var P=12;J.feed=P;var g=10;J.newline=g;var l=9;J.tab=l;var a=R;J.str=a;var r=-1;J.comment=r;var T=-2;J.word=T;var y=-3;J.combinator=y}),HH=s((J)=>{J.__esModule=!0,J.default=M,J.FIELDS=void 0;var K=Z(UJ()),Y,Q;function X(){if(typeof WeakMap!="function")return null;var B=new WeakMap;return X=function(){return B},B}function Z(B){if(B&&B.__esModule)return B;if(B===null||typeof B!="object"&&typeof B!="function")return{default:B};var G=X();if(G&&G.has(B))return G.get(B);var L={},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var R in B)if(Object.prototype.hasOwnProperty.call(B,R)){var D=O?Object.getOwnPropertyDescriptor(B,R):null;D&&(D.get||D.set)?Object.defineProperty(L,R,D):L[R]=B[R]}return L.default=B,G&&G.set(B,L),L}var q=(Y={},Y[K.tab]=!0,Y[K.newline]=!0,Y[K.cr]=!0,Y[K.feed]=!0,Y),W=(Q={},Q[K.space]=!0,Q[K.tab]=!0,Q[K.newline]=!0,Q[K.cr]=!0,Q[K.feed]=!0,Q[K.ampersand]=!0,Q[K.asterisk]=!0,Q[K.bang]=!0,Q[K.comma]=!0,Q[K.colon]=!0,Q[K.semicolon]=!0,Q[K.openParenthesis]=!0,Q[K.closeParenthesis]=!0,Q[K.openSquare]=!0,Q[K.closeSquare]=!0,Q[K.singleQuote]=!0,Q[K.doubleQuote]=!0,Q[K.plus]=!0,Q[K.pipe]=!0,Q[K.tilde]=!0,Q[K.greaterThan]=!0,Q[K.equals]=!0,Q[K.dollar]=!0,Q[K.caret]=!0,Q[K.slash]=!0,Q),H={},z="0123456789abcdefABCDEF";for(w=0;w<z.length;w++)H[z.charCodeAt(w)]=!0;var w;function A(B,G){var L=G,O;do{if(O=B.charCodeAt(L),W[O])return L-1;O===K.backslash?L=V(B,L)+1:L++}while(L<B.length);return L-1}function V(B,G){var L=G,O=B.charCodeAt(L+1);if(!q[O])if(H[O]){var R=0;do L++,R++,O=B.charCodeAt(L+1);while(H[O]&&R<6);R<6&&O===K.space&&L++}else L++;return L}var U={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};J.FIELDS=U;function M(B){var G=[],L=B.css.valueOf(),O=L,R=O.length,D=-1,F=1,j=0,C=0,_,P,g,l,a,r,T,y,I,f,u,t,n;function m(d,v){if(B.safe)L+=v,I=L.length-1;else throw B.error("Unclosed "+d,F,j-D,j)}for(;j<R;){switch(_=L.charCodeAt(j),_===K.newline&&(D=j,F+=1),_){case K.space:case K.tab:case K.newline:case K.cr:case K.feed:I=j;do I+=1,_=L.charCodeAt(I),_===K.newline&&(D=I,F+=1);while(_===K.space||_===K.newline||_===K.tab||_===K.cr||_===K.feed);n=K.space,l=F,g=I-D-1,C=I;break;case K.plus:case K.greaterThan:case K.tilde:case K.pipe:I=j;do I+=1,_=L.charCodeAt(I);while(_===K.plus||_===K.greaterThan||_===K.tilde||_===K.pipe);n=K.combinator,l=F,g=j-D,C=I;break;case K.asterisk:case K.ampersand:case K.bang:case K.comma:case K.equals:case K.dollar:case K.caret:case K.openSquare:case K.closeSquare:case K.colon:case K.semicolon:case K.openParenthesis:case K.closeParenthesis:I=j,n=_,l=F,g=j-D,C=I+1;break;case K.singleQuote:case K.doubleQuote:t=_===K.singleQuote?"'":'"',I=j;do for(a=!1,I=L.indexOf(t,I+1),I===-1&&m("quote",t),r=I;L.charCodeAt(r-1)===K.backslash;)r-=1,a=!a;while(a);n=K.str,l=F,g=j-D,C=I+1;break;default:_===K.slash&&L.charCodeAt(j+1)===K.asterisk?(I=L.indexOf("*/",j+2)+1,I===0&&m("comment","*/"),P=L.slice(j,I+1),y=P.split(`
|
|
61
|
+
`),T=y.length-1,T>0?(f=F+T,u=I-y[T].length):(f=F,u=D),n=K.comment,F=f,l=f,g=I-u):_===K.slash?(I=j,n=_,l=F,g=j-D,C=I+1):(I=A(L,j),n=K.word,l=F,g=I-D),C=I+1;break}G.push([n,F,j-D,l,g,j,C]),u&&(D=u,u=null),j=C}return G}}),WH=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=C(KJ()),Q=C(YJ()),X=C(QJ()),Z=C(XJ()),q=C(ZJ()),W=C(qJ()),H=C(HJ()),z=C(WJ()),w=j(zJ()),A=C(wJ()),V=C(AJ()),U=C(VJ()),M=C(qH()),B=j(HH()),G=j(UJ()),L=j(k0()),O=L8(),R,D;function F(){if(typeof WeakMap!="function")return null;var m=new WeakMap;return F=function(){return m},m}function j(m){if(m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var d=F();if(d&&d.has(m))return d.get(m);var v={},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in m)if(Object.prototype.hasOwnProperty.call(m,i)){var h=k?Object.getOwnPropertyDescriptor(m,i):null;h&&(h.get||h.set)?Object.defineProperty(v,i,h):v[i]=m[i]}return v.default=m,d&&d.set(m,v),v}function C(m){return m&&m.__esModule?m:{default:m}}function _(m,d){for(var v=0;v<d.length;v++){var k=d[v];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(m,k.key,k)}}function P(m,d,v){return d&&_(m.prototype,d),v&&_(m,v),m}var g=(R={},R[G.space]=!0,R[G.cr]=!0,R[G.feed]=!0,R[G.newline]=!0,R[G.tab]=!0,R),l=Object.assign({},g,(D={},D[G.comment]=!0,D));function a(m){return{line:m[B.FIELDS.START_LINE],column:m[B.FIELDS.START_COL]}}function r(m){return{line:m[B.FIELDS.END_LINE],column:m[B.FIELDS.END_COL]}}function T(m,d,v,k){return{start:{line:m,column:d},end:{line:v,column:k}}}function y(m){return T(m[B.FIELDS.START_LINE],m[B.FIELDS.START_COL],m[B.FIELDS.END_LINE],m[B.FIELDS.END_COL])}function I(m,d){if(m)return T(m[B.FIELDS.START_LINE],m[B.FIELDS.START_COL],d[B.FIELDS.END_LINE],d[B.FIELDS.END_COL])}function f(m,d){var v=m[d];if(typeof v=="string")return v.indexOf("\\")!==-1&&((0,O.ensureObject)(m,"raws"),m[d]=(0,O.unesc)(v),m.raws[d]===void 0&&(m.raws[d]=v)),m}function u(m,d){for(var v=-1,k=[];(v=m.indexOf(d,v+1))!==-1;)k.push(v);return k}function t(){var m=Array.prototype.concat.apply([],arguments);return m.filter(function(d,v){return v===m.indexOf(d)})}var n=function(){function m(v,k){k===void 0&&(k={}),this.rule=v,this.options=Object.assign({lossy:!1,safe:!1},k),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,B.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=I(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new Y.default({source:i}),this.root.errorGenerator=this._errorGenerator();var h=new Q.default({source:{start:{line:1,column:1}}});this.root.append(h),this.current=h,this.loop()}var d=m.prototype;return d._errorGenerator=function(){var v=this;return function(k,i){return typeof v.rule=="string"?Error(k):v.rule.error(k,i)}},d.attribute=function(){var v=[],k=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[B.FIELDS.TYPE]!==G.closeSquare;)v.push(this.currToken),this.position++;if(this.currToken[B.FIELDS.TYPE]!==G.closeSquare)return this.expected("closing square bracket",this.currToken[B.FIELDS.START_POS]);var i=v.length,h={source:T(k[1],k[2],this.currToken[3],this.currToken[4]),sourceIndex:k[B.FIELDS.START_POS]};if(i===1&&!~[G.word].indexOf(v[0][B.FIELDS.TYPE]))return this.expected("attribute",v[0][B.FIELDS.START_POS]);for(var e=0,Y0="",Q0="",J0=null,A0=!1;e<i;){var j0=v[e],K0=this.content(j0),U0=v[e+1];switch(j0[B.FIELDS.TYPE]){case G.space:if(A0=!0,this.options.lossy)break;if(J0){(0,O.ensureObject)(h,"spaces",J0);var I0=h.spaces[J0].after||"";h.spaces[J0].after=I0+K0;var x0=(0,O.getProp)(h,"raws","spaces",J0,"after")||null;x0&&(h.raws.spaces[J0].after=x0+K0)}else Y0=Y0+K0,Q0=Q0+K0;break;case G.asterisk:if(U0[B.FIELDS.TYPE]===G.equals)h.operator=K0,J0="operator";else if((!h.namespace||J0==="namespace"&&!A0)&&U0){Y0&&((0,O.ensureObject)(h,"spaces","attribute"),h.spaces.attribute.before=Y0,Y0=""),Q0&&((0,O.ensureObject)(h,"raws","spaces","attribute"),h.raws.spaces.attribute.before=Y0,Q0=""),h.namespace=(h.namespace||"")+K0;var P0=(0,O.getProp)(h,"raws","namespace")||null;P0&&(h.raws.namespace+=K0),J0="namespace"}A0=!1;break;case G.dollar:if(J0==="value"){var R0=(0,O.getProp)(h,"raws","value");h.value+="$",R0&&(h.raws.value=R0+"$");break}case G.caret:U0[B.FIELDS.TYPE]===G.equals&&(h.operator=K0,J0="operator"),A0=!1;break;case G.combinator:if(K0==="~"&&U0[B.FIELDS.TYPE]===G.equals&&(h.operator=K0,J0="operator"),K0!=="|"){A0=!1;break}U0[B.FIELDS.TYPE]===G.equals?(h.operator=K0,J0="operator"):!h.namespace&&!h.attribute&&(h.namespace=!0),A0=!1;break;case G.word:if(U0&&this.content(U0)==="|"&&v[e+2]&&v[e+2][B.FIELDS.TYPE]!==G.equals&&!h.operator&&!h.namespace)h.namespace=K0,J0="namespace";else if(!h.attribute||J0==="attribute"&&!A0){Y0&&((0,O.ensureObject)(h,"spaces","attribute"),h.spaces.attribute.before=Y0,Y0=""),Q0&&((0,O.ensureObject)(h,"raws","spaces","attribute"),h.raws.spaces.attribute.before=Q0,Q0=""),h.attribute=(h.attribute||"")+K0;var h0=(0,O.getProp)(h,"raws","attribute")||null;h0&&(h.raws.attribute+=K0),J0="attribute"}else if(!h.value&&h.value!==""||J0==="value"&&!A0){var b0=(0,O.unesc)(K0),m0=(0,O.getProp)(h,"raws","value")||"",o0=h.value||"";h.value=o0+b0,h.quoteMark=null,(b0!==K0||m0)&&((0,O.ensureObject)(h,"raws"),h.raws.value=(m0||o0)+K0),J0="value"}else{var n0=K0==="i"||K0==="I";(h.value||h.value==="")&&(h.quoteMark||A0)?(h.insensitive=n0,(!n0||K0==="I")&&((0,O.ensureObject)(h,"raws"),h.raws.insensitiveFlag=K0),J0="insensitive",Y0&&((0,O.ensureObject)(h,"spaces","insensitive"),h.spaces.insensitive.before=Y0,Y0=""),Q0&&((0,O.ensureObject)(h,"raws","spaces","insensitive"),h.raws.spaces.insensitive.before=Q0,Q0="")):(h.value||h.value==="")&&(J0="value",h.value+=K0,h.raws.value&&(h.raws.value+=K0))}A0=!1;break;case G.str:if(!h.attribute||!h.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:j0[B.FIELDS.START_POS]});var l0=(0,w.unescapeValue)(K0),p5=l0.unescaped,j5=l0.quoteMark;h.value=p5,h.quoteMark=j5,J0="value",(0,O.ensureObject)(h,"raws"),h.raws.value=K0,A0=!1;break;case G.equals:if(!h.attribute)return this.expected("attribute",j0[B.FIELDS.START_POS],K0);if(h.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:j0[B.FIELDS.START_POS]});h.operator=h.operator?h.operator+K0:K0,J0="operator",A0=!1;break;case G.comment:if(J0)if(A0||U0&&U0[B.FIELDS.TYPE]===G.space||J0==="insensitive"){var h5=(0,O.getProp)(h,"spaces",J0,"after")||"",i5=(0,O.getProp)(h,"raws","spaces",J0,"after")||h5;(0,O.ensureObject)(h,"raws","spaces",J0),h.raws.spaces[J0].after=i5+K0}else{var P1=h[J0]||"",r5=(0,O.getProp)(h,"raws",J0)||P1;(0,O.ensureObject)(h,"raws"),h.raws[J0]=r5+K0}else Q0=Q0+K0;break;default:return this.error('Unexpected "'+K0+'" found.',{index:j0[B.FIELDS.START_POS]})}e++}f(h,"attribute"),f(h,"namespace"),this.newNode(new w.default(h)),this.position++},d.parseWhitespaceEquivalentTokens=function(v){v<0&&(v=this.tokens.length);var k=this.position,i=[],h="",e=void 0;do if(g[this.currToken[B.FIELDS.TYPE]])this.options.lossy||(h+=this.content());else if(this.currToken[B.FIELDS.TYPE]===G.comment){var Y0={};h&&(Y0.before=h,h=""),e=new Z.default({value:this.content(),source:y(this.currToken),sourceIndex:this.currToken[B.FIELDS.START_POS],spaces:Y0}),i.push(e)}while(++this.position<v);if(h){if(e)e.spaces.after=h;else if(!this.options.lossy){var Q0=this.tokens[k],J0=this.tokens[this.position-1];i.push(new H.default({value:"",source:T(Q0[B.FIELDS.START_LINE],Q0[B.FIELDS.START_COL],J0[B.FIELDS.END_LINE],J0[B.FIELDS.END_COL]),sourceIndex:Q0[B.FIELDS.START_POS],spaces:{before:h,after:""}}))}}return i},d.convertWhitespaceNodesToSpace=function(v,k){var i=this;k===void 0&&(k=!1);var h="",e="";v.forEach(function(Q0){var J0=i.lossySpace(Q0.spaces.before,k),A0=i.lossySpace(Q0.rawSpaceBefore,k);h+=J0+i.lossySpace(Q0.spaces.after,k&&J0.length===0),e+=J0+Q0.value+i.lossySpace(Q0.rawSpaceAfter,k&&A0.length===0)}),e===h&&(e=void 0);var Y0={space:h,rawSpace:e};return Y0},d.isNamedCombinator=function(v){return v===void 0&&(v=this.position),this.tokens[v+0]&&this.tokens[v+0][B.FIELDS.TYPE]===G.slash&&this.tokens[v+1]&&this.tokens[v+1][B.FIELDS.TYPE]===G.word&&this.tokens[v+2]&&this.tokens[v+2][B.FIELDS.TYPE]===G.slash},d.namedCombinator=function(){if(this.isNamedCombinator()){var v=this.content(this.tokens[this.position+1]),k=(0,O.unesc)(v).toLowerCase(),i={};k!==v&&(i.value="/"+v+"/");var h=new V.default({value:"/"+k+"/",source:T(this.currToken[B.FIELDS.START_LINE],this.currToken[B.FIELDS.START_COL],this.tokens[this.position+2][B.FIELDS.END_LINE],this.tokens[this.position+2][B.FIELDS.END_COL]),sourceIndex:this.currToken[B.FIELDS.START_POS],raws:i});return this.position=this.position+3,h}else this.unexpected()},d.combinator=function(){var v=this;if(this.content()==="|")return this.namespace();var k=this.locateNextMeaningfulToken(this.position);if(k<0||this.tokens[k][B.FIELDS.TYPE]===G.comma){var i=this.parseWhitespaceEquivalentTokens(k);if(i.length>0){var h=this.current.last;if(h){var e=this.convertWhitespaceNodesToSpace(i),Y0=e.space,Q0=e.rawSpace;Q0!==void 0&&(h.rawSpaceAfter+=Q0),h.spaces.after+=Y0}else i.forEach(function(m0){return v.newNode(m0)})}return}var J0=this.currToken,A0=void 0;k>this.position&&(A0=this.parseWhitespaceEquivalentTokens(k));var j0;if(this.isNamedCombinator()?j0=this.namedCombinator():this.currToken[B.FIELDS.TYPE]===G.combinator?(j0=new V.default({value:this.content(),source:y(this.currToken),sourceIndex:this.currToken[B.FIELDS.START_POS]}),this.position++):g[this.currToken[B.FIELDS.TYPE]]||A0||this.unexpected(),j0){if(A0){var K0=this.convertWhitespaceNodesToSpace(A0),U0=K0.space,I0=K0.rawSpace;j0.spaces.before=U0,j0.rawSpaceBefore=I0}}else{var x0=this.convertWhitespaceNodesToSpace(A0,!0),P0=x0.space,R0=x0.rawSpace;R0||(R0=P0);var h0={},b0={spaces:{}};P0.endsWith(" ")&&R0.endsWith(" ")?(h0.before=P0.slice(0,P0.length-1),b0.spaces.before=R0.slice(0,R0.length-1)):P0.startsWith(" ")&&R0.startsWith(" ")?(h0.after=P0.slice(1),b0.spaces.after=R0.slice(1)):b0.value=R0,j0=new V.default({value:" ",source:I(J0,this.tokens[this.position-1]),sourceIndex:J0[B.FIELDS.START_POS],spaces:h0,raws:b0})}return this.currToken&&this.currToken[B.FIELDS.TYPE]===G.space&&(j0.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(j0)},d.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var v=new Q.default({source:{start:a(this.tokens[this.position+1])}});this.current.parent.append(v),this.current=v,this.position++},d.comment=function(){var v=this.currToken;this.newNode(new Z.default({value:this.content(),source:y(v),sourceIndex:v[B.FIELDS.START_POS]})),this.position++},d.error=function(v,k){throw this.root.error(v,k)},d.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[B.FIELDS.START_POS]})},d.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[B.FIELDS.START_POS])},d.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[B.FIELDS.START_POS])},d.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[B.FIELDS.START_POS])},d.namespace=function(){var v=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[B.FIELDS.TYPE]===G.word)return this.position++,this.word(v);if(this.nextToken[B.FIELDS.TYPE]===G.asterisk)return this.position++,this.universal(v)},d.nesting=function(){if(this.nextToken){var v=this.content(this.nextToken);if(v==="|"){this.position++;return}}var k=this.currToken;this.newNode(new U.default({value:this.content(),source:y(k),sourceIndex:k[B.FIELDS.START_POS]})),this.position++},d.parentheses=function(){var v=this.current.last,k=1;if(this.position++,v&&v.type===L.PSEUDO){var i=new Q.default({source:{start:a(this.tokens[this.position-1])}}),h=this.current;for(v.append(i),this.current=i;this.position<this.tokens.length&&k;)this.currToken[B.FIELDS.TYPE]===G.openParenthesis&&k++,this.currToken[B.FIELDS.TYPE]===G.closeParenthesis&&k--,k?this.parse():(this.current.source.end=r(this.currToken),this.current.parent.source.end=r(this.currToken),this.position++);this.current=h}else{for(var e=this.currToken,Y0="(",Q0;this.position<this.tokens.length&&k;)this.currToken[B.FIELDS.TYPE]===G.openParenthesis&&k++,this.currToken[B.FIELDS.TYPE]===G.closeParenthesis&&k--,Q0=this.currToken,Y0+=this.parseParenthesisToken(this.currToken),this.position++;v?v.appendToPropertyAndEscape("value",Y0,Y0):this.newNode(new H.default({value:Y0,source:T(e[B.FIELDS.START_LINE],e[B.FIELDS.START_COL],Q0[B.FIELDS.END_LINE],Q0[B.FIELDS.END_COL]),sourceIndex:e[B.FIELDS.START_POS]}))}if(k)return this.expected("closing parenthesis",this.currToken[B.FIELDS.START_POS])},d.pseudo=function(){for(var v=this,k="",i=this.currToken;this.currToken&&this.currToken[B.FIELDS.TYPE]===G.colon;)k+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[B.FIELDS.TYPE]===G.word)this.splitWord(!1,function(h,e){k+=h,v.newNode(new z.default({value:k,source:I(i,v.currToken),sourceIndex:i[B.FIELDS.START_POS]})),e>1&&v.nextToken&&v.nextToken[B.FIELDS.TYPE]===G.openParenthesis&&v.error("Misplaced parenthesis.",{index:v.nextToken[B.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[B.FIELDS.START_POS])},d.space=function(){var v=this.content();this.position===0||this.prevToken[B.FIELDS.TYPE]===G.comma||this.prevToken[B.FIELDS.TYPE]===G.openParenthesis||this.current.nodes.every(function(k){return k.type==="comment"})?(this.spaces=this.optionalSpace(v),this.position++):this.position===this.tokens.length-1||this.nextToken[B.FIELDS.TYPE]===G.comma||this.nextToken[B.FIELDS.TYPE]===G.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(v),this.position++):this.combinator()},d.string=function(){var v=this.currToken;this.newNode(new H.default({value:this.content(),source:y(v),sourceIndex:v[B.FIELDS.START_POS]})),this.position++},d.universal=function(v){var k=this.nextToken;if(k&&this.content(k)==="|")return this.position++,this.namespace();var i=this.currToken;this.newNode(new A.default({value:this.content(),source:y(i),sourceIndex:i[B.FIELDS.START_POS]}),v),this.position++},d.splitWord=function(v,k){for(var i=this,h=this.nextToken,e=this.content();h&&~[G.dollar,G.caret,G.equals,G.word].indexOf(h[B.FIELDS.TYPE]);){this.position++;var Y0=this.content();if(e+=Y0,Y0.lastIndexOf("\\")===Y0.length-1){var Q0=this.nextToken;Q0&&Q0[B.FIELDS.TYPE]===G.space&&(e+=this.requiredSpace(this.content(Q0)),this.position++)}h=this.nextToken}var J0=u(e,".").filter(function(U0){var I0=e[U0-1]==="\\",x0=/^\d+\.\d+%$/.test(e);return!I0&&!x0}),A0=u(e,"#").filter(function(U0){return e[U0-1]!=="\\"}),j0=u(e,"#{");j0.length&&(A0=A0.filter(function(U0){return!~j0.indexOf(U0)}));var K0=(0,M.default)(t([0].concat(J0,A0)));K0.forEach(function(U0,I0){var x0=K0[I0+1]||e.length,P0=e.slice(U0,x0);if(I0===0&&k)return k.call(i,P0,K0.length);var R0,h0=i.currToken,b0=h0[B.FIELDS.START_POS]+K0[I0],m0=T(h0[1],h0[2]+U0,h0[3],h0[2]+(x0-1));if(~J0.indexOf(U0)){var o0={value:P0.slice(1),source:m0,sourceIndex:b0};R0=new X.default(f(o0,"value"))}else if(~A0.indexOf(U0)){var n0={value:P0.slice(1),source:m0,sourceIndex:b0};R0=new q.default(f(n0,"value"))}else{var l0={value:P0,source:m0,sourceIndex:b0};f(l0,"value"),R0=new W.default(l0)}i.newNode(R0,v),v=null}),this.position++},d.word=function(v){var k=this.nextToken;return k&&this.content(k)==="|"?(this.position++,this.namespace()):this.splitWord(v)},d.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},d.parse=function(v){switch(this.currToken[B.FIELDS.TYPE]){case G.space:this.space();break;case G.comment:this.comment();break;case G.openParenthesis:this.parentheses();break;case G.closeParenthesis:v&&this.missingParenthesis();break;case G.openSquare:this.attribute();break;case G.dollar:case G.caret:case G.equals:case G.word:this.word();break;case G.colon:this.pseudo();break;case G.comma:this.comma();break;case G.asterisk:this.universal();break;case G.ampersand:this.nesting();break;case G.slash:case G.combinator:this.combinator();break;case G.str:this.string();break;case G.closeSquare:this.missingSquareBracket();case G.semicolon:this.missingBackslash();default:this.unexpected()}},d.expected=function(v,k,i){if(Array.isArray(v)){var h=v.pop();v=v.join(", ")+" or "+h}var e=/^[aeiou]/.test(v[0])?"an":"a";return i?this.error("Expected "+e+" "+v+', found "'+i+'" instead.',{index:k}):this.error("Expected "+e+" "+v+".",{index:k})},d.requiredSpace=function(v){return this.options.lossy?" ":v},d.optionalSpace=function(v){return this.options.lossy?"":v},d.lossySpace=function(v,k){return this.options.lossy?k?" ":"":v},d.parseParenthesisToken=function(v){var k=this.content(v);return v[B.FIELDS.TYPE]===G.space?this.requiredSpace(k):k},d.newNode=function(v,k){return k&&(/^ +$/.test(k)&&(this.options.lossy||(this.spaces=(this.spaces||"")+k),k=!0),v.namespace=k,f(v,"namespace")),this.spaces&&(v.spaces.before=this.spaces,this.spaces=""),this.current.append(v)},d.content=function(v){return v===void 0&&(v=this.currToken),this.css.slice(v[B.FIELDS.START_POS],v[B.FIELDS.END_POS])},d.locateNextMeaningfulToken=function(v){v===void 0&&(v=this.position+1);for(var k=v;k<this.tokens.length;)if(l[this.tokens[k][B.FIELDS.TYPE]]){k++;continue}else return k;return-1},P(m,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),m}();J.default=n,K.exports=J.default}),zH=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=Q(WH());function Q(Z){return Z&&Z.__esModule?Z:{default:Z}}var X=function(){function Z(W,H){this.func=W||function(){},this.funcRes=null,this.options=H}var q=Z.prototype;return q._shouldUpdateSelector=function(W,H){H===void 0&&(H={});var z=Object.assign({},this.options,H);return z.updateSelector===!1?!1:typeof W!="string"},q._isLossy=function(W){W===void 0&&(W={});var H=Object.assign({},this.options,W);return H.lossless===!1},q._root=function(W,H){H===void 0&&(H={});var z=new Y.default(W,this._parseOptions(H));return z.root},q._parseOptions=function(W){return{lossy:this._isLossy(W)}},q._run=function(W,H){var z=this;return H===void 0&&(H={}),new Promise(function(w,A){try{var V=z._root(W,H);Promise.resolve(z.func(V)).then(function(U){var M=void 0;return z._shouldUpdateSelector(W,H)&&(M=V.toString(),W.selector=M),{transform:U,root:V,string:M}}).then(w,A)}catch(U){A(U);return}})},q._runSync=function(W,H){H===void 0&&(H={});var z=this._root(W,H),w=this.func(z);if(w&&typeof w.then=="function")throw Error("Selector processor returned a promise to a synchronous call.");var A=void 0;return H.updateSelector&&typeof W!="string"&&(A=z.toString(),W.selector=A),{transform:w,root:z,string:A}},q.ast=function(W,H){return this._run(W,H).then(function(z){return z.root})},q.astSync=function(W,H){return this._runSync(W,H).root},q.transform=function(W,H){return this._run(W,H).then(function(z){return z.transform})},q.transformSync=function(W,H){return this._runSync(W,H).transform},q.process=function(W,H){return this._run(W,H).then(function(z){return z.string||z.root.toString()})},q.processSync=function(W,H){var z=this._runSync(W,H);return z.string||z.root.toString()},Z}();J.default=X,K.exports=J.default}),wH=s((J)=>{J.__esModule=!0,J.universal=J.tag=J.string=J.selector=J.root=J.pseudo=J.nesting=J.id=J.comment=J.combinator=J.className=J.attribute=void 0;var K=U(zJ()),Y=U(QJ()),Q=U(AJ()),X=U(XJ()),Z=U(ZJ()),q=U(VJ()),W=U(WJ()),H=U(KJ()),z=U(YJ()),w=U(HJ()),A=U(qJ()),V=U(wJ());function U(g){return g&&g.__esModule?g:{default:g}}var M=function(g){return new K.default(g)};J.attribute=M;var B=function(g){return new Y.default(g)};J.className=B;var G=function(g){return new Q.default(g)};J.combinator=G;var L=function(g){return new X.default(g)};J.comment=L;var O=function(g){return new Z.default(g)};J.id=O;var R=function(g){return new q.default(g)};J.nesting=R;var D=function(g){return new W.default(g)};J.pseudo=D;var F=function(g){return new H.default(g)};J.root=F;var j=function(g){return new z.default(g)};J.selector=j;var C=function(g){return new w.default(g)};J.string=C;var _=function(g){return new A.default(g)};J.tag=_;var P=function(g){return new V.default(g)};J.universal=P}),AH=s((J)=>{J.__esModule=!0,J.isNode=X,J.isPseudoElement=O,J.isPseudoClass=R,J.isContainer=D,J.isNamespace=F,J.isUniversal=J.isTag=J.isString=J.isSelector=J.isRoot=J.isPseudo=J.isNesting=J.isIdentifier=J.isComment=J.isCombinator=J.isClassName=J.isAttribute=void 0;var K=k0(),Y,Q=(Y={},Y[K.ATTRIBUTE]=!0,Y[K.CLASS]=!0,Y[K.COMBINATOR]=!0,Y[K.COMMENT]=!0,Y[K.ID]=!0,Y[K.NESTING]=!0,Y[K.PSEUDO]=!0,Y[K.ROOT]=!0,Y[K.SELECTOR]=!0,Y[K.STRING]=!0,Y[K.TAG]=!0,Y[K.UNIVERSAL]=!0,Y);function X(j){return typeof j=="object"&&Q[j.type]}function Z(j,C){return X(C)&&C.type===j}var q=Z.bind(null,K.ATTRIBUTE);J.isAttribute=q;var W=Z.bind(null,K.CLASS);J.isClassName=W;var H=Z.bind(null,K.COMBINATOR);J.isCombinator=H;var z=Z.bind(null,K.COMMENT);J.isComment=z;var w=Z.bind(null,K.ID);J.isIdentifier=w;var A=Z.bind(null,K.NESTING);J.isNesting=A;var V=Z.bind(null,K.PSEUDO);J.isPseudo=V;var U=Z.bind(null,K.ROOT);J.isRoot=U;var M=Z.bind(null,K.SELECTOR);J.isSelector=M;var B=Z.bind(null,K.STRING);J.isString=B;var G=Z.bind(null,K.TAG);J.isTag=G;var L=Z.bind(null,K.UNIVERSAL);J.isUniversal=L;function O(j){return V(j)&&j.value&&(j.value.startsWith("::")||j.value.toLowerCase()===":before"||j.value.toLowerCase()===":after"||j.value.toLowerCase()===":first-letter"||j.value.toLowerCase()===":first-line")}function R(j){return V(j)&&!O(j)}function D(j){return!!(X(j)&&j.walk)}function F(j){return q(j)||G(j)}}),VH=s((J)=>{J.__esModule=!0;var K=k0();Object.keys(K).forEach(function(X){X==="default"||X==="__esModule"||X in J&&J[X]===K[X]||(J[X]=K[X])});var Y=wH();Object.keys(Y).forEach(function(X){X==="default"||X==="__esModule"||X in J&&J[X]===Y[X]||(J[X]=Y[X])});var Q=AH();Object.keys(Q).forEach(function(X){X==="default"||X==="__esModule"||X in J&&J[X]===Q[X]||(J[X]=Q[X])})}),UH=s((J,K)=>{J.__esModule=!0,J.default=void 0;var Y=q(zH()),Q=Z(VH());function X(){if(typeof WeakMap!="function")return null;var z=new WeakMap;return X=function(){return z},z}function Z(z){if(z&&z.__esModule)return z;if(z===null||typeof z!="object"&&typeof z!="function")return{default:z};var w=X();if(w&&w.has(z))return w.get(z);var A={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in z)if(Object.prototype.hasOwnProperty.call(z,U)){var M=V?Object.getOwnPropertyDescriptor(z,U):null;M&&(M.get||M.set)?Object.defineProperty(A,U,M):A[U]=z[U]}return A.default=z,w&&w.set(z,A),A}function q(z){return z&&z.__esModule?z:{default:z}}var W=function(z){return new Y.default(z)};Object.assign(W,Q),delete W.__esModule;var H=W;J.default=H,K.exports=J.default}),$H=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"default",{enumerable:!0,get:()=>K});function K(Y){return Y.replace(/\\,/g,"\\2c ")}}),BH=s((J,K)=>{K.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),$J=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0});function K(M,B){for(var G in B)Object.defineProperty(M,G,{enumerable:!0,get:B[G]})}K(J,{parseColor:()=>V,formatColor:()=>U});var Y=Q(BH());function Q(M){return M&&M.__esModule?M:{default:M}}var X=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,Z=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,q=/(?:\d+|\d*\.\d+)%?/,W=/(?:\s*,\s*|\s+)/,H=/\s*[,/]\s*/,z=/var\(--(?:[^ )]*?)\)/,w=new RegExp(`^(rgb)a?\\(\\s*(${q.source}|${z.source})(?:${W.source}(${q.source}|${z.source}))?(?:${W.source}(${q.source}|${z.source}))?(?:${H.source}(${q.source}|${z.source}))?\\s*\\)$`),A=new RegExp(`^(hsl)a?\\(\\s*((?:${q.source})(?:deg|rad|grad|turn)?|${z.source})(?:${W.source}(${q.source}|${z.source}))?(?:${W.source}(${q.source}|${z.source}))?(?:${H.source}(${q.source}|${z.source}))?\\s*\\)$`);function V(M,{loose:B=!1}={}){var G,L;if(typeof M!="string")return null;if(M=M.trim(),M==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(M in Y.default)return{mode:"rgb",color:Y.default[M].map((j)=>j.toString())};let O=M.replace(Z,(j,C,_,P,g)=>["#",C,C,_,_,P,P,g?g+g:""].join("")).match(X);if(O!==null)return{mode:"rgb",color:[parseInt(O[1],16),parseInt(O[2],16),parseInt(O[3],16)].map((j)=>j.toString()),alpha:O[4]?(parseInt(O[4],16)/255).toString():void 0};var R;let D=(R=M.match(w))!==null&&R!==void 0?R:M.match(A);if(D===null)return null;let F=[D[2],D[3],D[4]].filter(Boolean).map((j)=>j.toString());return!B&&F.length!==3||F.length<3&&!F.some((j)=>/^var\(.*?\)$/.test(j))?null:{mode:D[1],color:F,alpha:(G=D[5])===null||G===void 0||(L=G.toString)===null||L===void 0?void 0:L.call(G)}}function U({mode:M,color:B,alpha:G}){let L=G!==void 0;return`${M}(${B.join(" ")}${L?` / ${G}`:""})`}}),BJ=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0});function K(Z,q){for(var W in q)Object.defineProperty(Z,W,{enumerable:!0,get:q[W]})}K(J,{withAlphaValue:()=>Q,default:()=>X});var Y=$J();function Q(Z,q,W){if(typeof Z=="function")return Z({opacityValue:q});let H=(0,Y.parseColor)(Z,{loose:!0});return H===null?W:(0,Y.formatColor)({...H,alpha:q})}function X({color:Z,property:q,variable:W}){let H=[].concat(q);if(typeof Z=="function")return{[W]:"1",...Object.fromEntries(H.map((w)=>[w,Z({opacityVariable:W,opacityValue:`var(${W})`})]))};let z=(0,Y.parseColor)(Z);return z===null?Object.fromEntries(H.map((w)=>[w,Z])):z.alpha!==void 0?Object.fromEntries(H.map((w)=>[w,Z])):{[W]:"1",...Object.fromEntries(H.map((w)=>[w,(0,Y.formatColor)({...z,alpha:`var(${W})`})]))}}}),GH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0});function K(V,U){for(var M in U)Object.defineProperty(V,M,{enumerable:!0,get:U[M]})}K(J,{pattern:()=>Z,withoutCapturing:()=>q,any:()=>W,optional:()=>H,zeroOrMore:()=>z,nestedBrackets:()=>w,escape:()=>A});var Y=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(Y.source);function X(V){return V=Array.isArray(V)?V:[V],V=V.map((U)=>U instanceof RegExp?U.source:U),V.join("")}function Z(V){return new RegExp(X(V),"g")}function q(V){return new RegExp(`(?:${X(V)})`,"g")}function W(V){return`(?:${V.map(X).join("|")})`}function H(V){return`(?:${X(V)})?`}function z(V){return`(?:${X(V)})*`}function w(V,U,M=1){return q([A(V),/[^\s]*/,M===1?`[^${A(V)}${A(U)}s]*`:W([`[^${A(V)}${A(U)}s]*`,w(V,U,M-1)]),/[^\s]*/,A(U)])}function A(V){return V&&Q.test(V)?V.replace(Y,"\\$&"):V||""}}),MH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"splitAtTopLevelOnly",{enumerable:!0,get:()=>X});var K=Q(GH());function Y(Z){if(typeof WeakMap!="function")return null;var q=new WeakMap,W=new WeakMap;return(Y=function(H){return H?W:q})(Z)}function Q(Z,q){if(!q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var W=Y(q);if(W&&W.has(Z))return W.get(Z);var H={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in Z)if(w!=="default"&&Object.prototype.hasOwnProperty.call(Z,w)){var A=z?Object.getOwnPropertyDescriptor(Z,w):null;A&&(A.get||A.set)?Object.defineProperty(H,w,A):H[w]=Z[w]}return H.default=Z,W&&W.set(Z,H),H}function*X(Z,q){let W=new RegExp(`[(){}\\[\\]${K.escape(q)}]`,"g"),H=0,z=0,w=!1,A=0,V=0,U=q.length;for(let M of Z.matchAll(W)){let B=M[0]===q[A],G=A===U-1,L=B&&G;M[0]==="("&&H++,M[0]===")"&&H--,M[0]==="["&&H++,M[0]==="]"&&H--,M[0]==="{"&&H++,M[0]==="}"&&H--,B&&H===0&&(V===0&&(V=M.index),A++),L&&H===0&&(w=!0,yield Z.substring(z,V),z=V+U),A===U&&(A=0,V=0)}w?yield Z.substring(z):yield Z}}),NH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0});function K(H,z){for(var w in z)Object.defineProperty(H,w,{enumerable:!0,get:z[w]})}K(J,{parseBoxShadowValue:()=>q,formatBoxShadowValue:()=>W});var Y=MH(),Q=new Set(["inset","inherit","initial","revert","unset"]),X=/\ +(?![^(]*\))/g,Z=/^-?(\d+|\.\d+)(.*?)$/g;function q(H){return Array.from((0,Y.splitAtTopLevelOnly)(H,",")).map((z)=>{let w=z.trim(),A={raw:w},V=w.split(X),U=new Set;for(let M of V)Z.lastIndex=0,!U.has("KEYWORD")&&Q.has(M)?(A.keyword=M,U.add("KEYWORD")):Z.test(M)?U.has("X")?U.has("Y")?U.has("BLUR")?U.has("SPREAD")||(A.spread=M,U.add("SPREAD")):(A.blur=M,U.add("BLUR")):(A.y=M,U.add("Y")):(A.x=M,U.add("X")):A.color?(A.unknown||(A.unknown=[]),A.unknown.push(M)):A.color=M;return A.valid=A.x!==void 0&&A.y!==void 0,A})}function W(H){return H.map((z)=>z.valid?[z.keyword,z.x,z.y,z.blur,z.spread,z.color].filter(Boolean).join(" "):z.raw).join(", ")}}),LH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0});function K(T,y){for(var I in y)Object.defineProperty(T,I,{enumerable:!0,get:y[I]})}K(J,{normalize:()=>W,url:()=>H,number:()=>z,percentage:()=>w,length:()=>U,lineWidth:()=>B,shadow:()=>G,color:()=>L,image:()=>O,gradient:()=>D,position:()=>j,familyName:()=>C,genericName:()=>P,absoluteSize:()=>l,relativeSize:()=>r});var Y=$J(),Q=NH(),X=["min","max","clamp","calc"],Z=/,(?![^(]*\))/g,q=/_(?![^(]*\))/g;function W(T,y=!0){return T.includes("url(")?T.split(/(url\(.*?\))/g).filter(Boolean).map((I)=>/^url\(.*?\)$/.test(I)?I:W(I,!1)).join(""):(T=T.replace(/([^\\])_+/g,(I,f)=>f+" ".repeat(I.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),y&&(T=T.trim()),T=T.replace(/(calc|min|max|clamp)\(.+\)/g,(I)=>I.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ")),T)}function H(T){return T.startsWith("url(")}function z(T){return!isNaN(Number(T))||X.some((y)=>new RegExp(`^${y}\\(.+?`).test(T))}function w(T){return T.split(q).every((y)=>/%$/g.test(y)||X.some((I)=>new RegExp(`^${I}\\(.+?%`).test(y)))}var A=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","vw","vh","vmin","vmax"],V=`(?:${A.join("|")})`;function U(T){return T.split(q).every((y)=>y==="0"||new RegExp(`${V}$`).test(y)||X.some((I)=>new RegExp(`^${I}\\(.+?${V}`).test(y)))}var M=new Set(["thin","medium","thick"]);function B(T){return M.has(T)}function G(T){let y=(0,Q.parseBoxShadowValue)(W(T));for(let I of y)if(!I.valid)return!1;return!0}function L(T){let y=0;return T.split(q).every((I)=>(I=W(I),I.startsWith("var(")?!0:(0,Y.parseColor)(I,{loose:!0})!==null?(y++,!0):!1))?y>0:!1}function O(T){let y=0;return T.split(Z).every((I)=>(I=W(I),I.startsWith("var(")?!0:H(I)||D(I)||["element(","image(","cross-fade(","image-set("].some((f)=>I.startsWith(f))?(y++,!0):!1))?y>0:!1}var R=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function D(T){T=W(T);for(let y of R)if(T.startsWith(`${y}(`))return!0;return!1}var F=new Set(["center","top","right","bottom","left"]);function j(T){let y=0;return T.split(q).every((I)=>(I=W(I),I.startsWith("var(")?!0:F.has(I)||U(I)||w(I)?(y++,!0):!1))?y>0:!1}function C(T){let y=0;return T.split(Z).every((I)=>(I=W(I),I.startsWith("var(")?!0:I.includes(" ")&&!/(['"])([^"']+)\1/g.test(I)||/^\d/g.test(I)?!1:(y++,!0)))?y>0:!1}var _=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function P(T){return _.has(T)}var g=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function l(T){return g.has(T)}var a=new Set(["larger","smaller"]);function r(T){return a.has(T)}}),OH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0});function K(j,C){for(var _ in C)Object.defineProperty(j,_,{enumerable:!0,get:C[_]})}K(J,{updateAllClasses:()=>H,asValue:()=>A,parseColorFormat:()=>M,asColor:()=>B,asLookupValue:()=>G,coerceValue:()=>F});var Y=W(UH()),Q=W($H()),X=BJ(),Z=LH(),q=W(a7());function W(j){return j&&j.__esModule?j:{default:j}}function H(j,C){return(0,Y.default)((_)=>{_.walkClasses((P)=>{let g=C(P.value);P.value=g,P.raws&&P.raws.value&&(P.raws.value=(0,Q.default)(P.raws.value))})}).processSync(j)}function z(j,C){if(!V(j))return;let _=j.slice(1,-1);if(C(_))return(0,Z.normalize)(_)}function w(j,C={},_){let P=C[j];if(P!==void 0)return(0,q.default)(P);if(V(j)){let g=z(j,_);return g===void 0?void 0:(0,q.default)(g)}}function A(j,C={},{validate:_=()=>!0}={}){var P;let g=(P=C.values)===null||P===void 0?void 0:P[j];return g!==void 0?g:C.supportsNegativeValues&&j.startsWith("-")?w(j.slice(1),C.values,_):z(j,_)}function V(j){return j.startsWith("[")&&j.endsWith("]")}function U(j){let C=j.lastIndexOf("/");return C===-1||C===j.length-1?[j]:[j.slice(0,C),j.slice(C+1)]}function M(j){if(typeof j=="string"&&j.includes("<alpha-value>")){let C=j;return({opacityValue:_=1})=>C.replace("<alpha-value>",_)}return j}function B(j,C={},{tailwindConfig:_={}}={}){var P;if(((P=C.values)===null||P===void 0?void 0:P[j])!==void 0){var g;return M((g=C.values)===null||g===void 0?void 0:g[j])}let[l,a]=U(j);if(a!==void 0){var r,T,y,I;let f=(I=(r=C.values)===null||r===void 0?void 0:r[l])!==null&&I!==void 0?I:V(l)?l.slice(1,-1):void 0;return f===void 0?void 0:(f=M(f),V(a)?(0,X.withAlphaValue)(f,a.slice(1,-1)):((T=_.theme)===null||T===void 0||(y=T.opacity)===null||y===void 0?void 0:y[a])===void 0?void 0:(0,X.withAlphaValue)(f,_.theme.opacity[a]))}return A(j,C,{validate:Z.color})}function G(j,C={}){var _;return(_=C.values)===null||_===void 0?void 0:_[j]}function L(j){return(C,_)=>A(C,_,{validate:j})}var O={any:A,color:B,url:L(Z.url),image:L(Z.image),length:L(Z.length),percentage:L(Z.percentage),position:L(Z.position),lookup:G,"generic-name":L(Z.genericName),"family-name":L(Z.familyName),number:L(Z.number),"line-width":L(Z.lineWidth),"absolute-size":L(Z.absoluteSize),"relative-size":L(Z.relativeSize),shadow:L(Z.shadow)},R=Object.keys(O);function D(j,C){let _=j.indexOf(C);return _===-1?[void 0,j]:[j.slice(0,_),j.slice(_+1)]}function F(j,C,_,P){if(V(C)){let g=C.slice(1,-1),[l,a]=D(g,":");if(!/^[\w-_]+$/g.test(l))a=g;else if(l!==void 0&&!R.includes(l))return[];if(a.length>0&&R.includes(l))return[A(`[${a}]`,_),l]}for(let g of[].concat(j)){let l=O[g](C,_,{tailwindConfig:P});if(l!==void 0)return[l,g]}return[]}}),jH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"default",{enumerable:!0,get:()=>K});function K(Y){return typeof Y=="function"?Y({}):Y}}),EH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"default",{enumerable:!0,get:()=>r});var K=M(a7()),Y=M(oq()),Q=M(nq()),X=M(t7()),Z=M(sq()),q=aq(),W=tq(),H=eq(),z=M(JH()),w=KH(),A=OH(),V=BJ(),U=M(jH());function M(T){return T&&T.__esModule?T:{default:T}}function B(T){return typeof T=="function"}function G(T){return typeof T=="object"&&T!==null}function L(T,...y){let I=y.pop();for(let f of y)for(let u in f){let t=I(T[u],f[u]);t===void 0?G(T[u])&&G(f[u])?T[u]=L(T[u],f[u],I):T[u]=f[u]:T[u]=t}return T}var O={colors:Z.default,negative(T){return Object.keys(T).filter((y)=>T[y]!=="0").reduce((y,I)=>{let f=(0,K.default)(T[I]);return f!==void 0&&(y[`-${I}`]=f),y},{})},breakpoints(T){return Object.keys(T).filter((y)=>typeof T[y]=="string").reduce((y,I)=>({...y,[`screen-${I}`]:T[I]}),{})}};function R(T,...y){return B(T)?T(...y):T}function D(T){return T.reduce((y,{extend:I})=>L(y,I,(f,u)=>f===void 0?[u]:Array.isArray(f)?[u,...f]:[u,f]),{})}function F(T){return{...T.reduce((y,I)=>(0,q.defaults)(y,I),{}),extend:D(T)}}function j(T,y){if(Array.isArray(T)&&G(T[0]))return T.concat(y);if(Array.isArray(y)&&G(y[0])&&G(T))return[T,...y];if(Array.isArray(y))return y}function C({extend:T,...y}){return L(y,T,(I,f)=>!B(I)&&!f.some(B)?L({},I,...f,j):(u,t)=>L({},...[I,...f].map((n)=>R(n,u,t)),j))}function*_(T){let y=(0,W.toPath)(T);if(y.length===0||(yield y,Array.isArray(T)))return;let I=/^(.*?)\s*\/\s*([^/]+)$/,f=T.match(I);if(f!==null){let[,u,t]=f,n=(0,W.toPath)(u);n.alpha=t,yield n}}function P(T){let y=(I,f)=>{for(let u of _(I)){let t=0,n=T;for(;n!=null&&t<u.length;)n=n[u[t++]],n=B(n)&&(u.alpha===void 0||t<=u.length-1)?n(y,O):n;if(n!==void 0){if(u.alpha!==void 0){let m=(0,A.parseColorFormat)(n);return(0,V.withAlphaValue)(m,u.alpha,(0,U.default)(m))}return(0,z.default)(n)?(0,w.cloneDeep)(n):n}}return f};return Object.assign(y,{theme:y,...O}),Object.keys(T).reduce((I,f)=>(I[f]=B(T[f])?T[f](y,O):T[f],I),{})}function g(T){let y=[];return T.forEach((I)=>{y=[...y,I];var f;let u=(f=I==null?void 0:I.plugins)!==null&&f!==void 0?f:[];u.length!==0&&u.forEach((t)=>{t.__isOptionsFunction&&(t=t());var n;y=[...y,...g([(n=t==null?void 0:t.config)!==null&&n!==void 0?n:{}])]})}),y}function l(T){return[...T].reduceRight((y,I)=>B(I)?I({corePlugins:y}):(0,Q.default)(I,y),Y.default)}function a(T){return[...T].reduceRight((y,I)=>[...y,...I],[])}function r(T){let y=[...g(T),{prefix:"",important:!1,separator:":",variantOrder:X.default.variantOrder}];var I,f;return(0,H.normalizeConfig)((0,q.defaults)({theme:P(C(F(y.map((u)=>(I=u==null?void 0:u.theme)!==null&&I!==void 0?I:{})))),corePlugins:l(y.map((u)=>u.corePlugins)),plugins:a(T.map((u)=>(f=u==null?void 0:u.plugins)!==null&&f!==void 0?f:[]))},...y))}}),GJ={};d9(GJ,{default:()=>MJ});var MJ,FH=f9(()=>{MJ={yellow:(J)=>J}}),RH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0});function K(A,V){for(var U in V)Object.defineProperty(A,U,{enumerable:!0,get:V[U]})}K(J,{flagEnabled:()=>W,issueFlagNotices:()=>z,default:()=>w});var Y=X((FH(),B8(GJ))),Q=X((u9(),B8(N8)));function X(A){return A&&A.__esModule?A:{default:A}}var Z={optimizeUniversalDefaults:!1},q={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity"],experimental:["optimizeUniversalDefaults","matchVariant"]};function W(A,V){if(q.future.includes(V)){var U,M,B;return A.future==="all"||((B=(M=A==null||(U=A.future)===null||U===void 0?void 0:U[V])!==null&&M!==void 0?M:Z[V])!==null&&B!==void 0?B:!1)}if(q.experimental.includes(V)){var G,L,O;return A.experimental==="all"||((O=(L=A==null||(G=A.experimental)===null||G===void 0?void 0:G[V])!==null&&L!==void 0?L:Z[V])!==null&&O!==void 0?O:!1)}return!1}function H(A){if(A.experimental==="all")return q.experimental;var V;return Object.keys((V=A==null?void 0:A.experimental)!==null&&V!==void 0?V:{}).filter((U)=>q.experimental.includes(U)&&A.experimental[U])}function z(A){if(process.env.JEST_WORKER_ID===void 0&&H(A).length>0){let V=H(A).map((U)=>Y.default.yellow(U)).join(", ");Q.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${V}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}var w=q}),_H=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"default",{enumerable:!0,get:()=>X});var K=Q(t7()),Y=RH();function Q(Z){return Z&&Z.__esModule?Z:{default:Z}}function X(Z){var q;let W=((q=Z==null?void 0:Z.presets)!==null&&q!==void 0?q:[K.default]).slice().reverse().flatMap((w)=>X(typeof w=="function"?w():w)),H={respectDefaultRingColorOpacity:{theme:{ringColor:{DEFAULT:"#3b82f67f"}}}},z=Object.keys(H).filter((w)=>(0,Y.flagEnabled)(Z,w)).map((w)=>H[w]);return[Z,...z,...W]}}),DH=s((J)=>{Object.defineProperty(J,"__esModule",{value:!0}),Object.defineProperty(J,"default",{enumerable:!0,get:()=>X});var K=Q(EH()),Y=Q(_H());function Q(Z){return Z&&Z.__esModule?Z:{default:Z}}function X(...Z){let[,...q]=(0,Y.default)(Z[0]);return(0,K.default)([...Z,...q])}}),IH=s((J,K)=>{var Y=DH();K.exports=(Y.__esModule?Y:{default:Y}).default}),F1;function Ow(J){F1=J}var N1=null;async function O8(){return F1||(N1?(await N1,F1):(N1=Promise.resolve().then(()=>(rq(),s7)).then((J)=>J.getYogaModule()).then((J)=>F1=J),await N1,N1=null,F1))}var D1=(J,K)=>()=>(K||J((K={exports:{}}).exports,K),K.exports),CH=D1((J,K)=>{K.exports=["em","ex","ch","rem","vh","vw","vmin","vmax","px","mm","cm","in","pt","pc","mozmm"]}),TH=D1((J,K)=>{K.exports=["deg","grad","rad","turn"]}),PH=D1((J,K)=>{K.exports=["dpi","dpcm","dppx"]}),SH=D1((J,K)=>{K.exports=["Hz","kHz"]}),vH=D1((J,K)=>{K.exports=["s","ms"]}),yH=CH(),NJ=TH(),LJ=PH(),OJ=SH(),jJ=vH();function i9(J){if(/\.\D?$/.test(J))throw Error("The dot should be followed by a number");if(/^[+-]{2}/.test(J))throw Error("Only one leading +/- is allowed");if(kH(J)>1)throw Error("Only one dot is allowed");if(/%$/.test(J)){this.type="percentage",this.value=E9(J),this.unit="%";return}var K=gH(J);if(!K){this.type="number",this.value=E9(J);return}this.type=bH(K),this.value=E9(J.substr(0,J.length-K.length)),this.unit=K}i9.prototype.valueOf=function(){return this.value};i9.prototype.toString=function(){return this.value+(this.unit||"")};function I1(J){return new i9(J)}function kH(J){var K=J.match(/\./g);return K?K.length:0}function E9(J){var K=parseFloat(J);if(isNaN(K))throw Error("Invalid number: "+J);return K}var hH=[].concat(NJ,OJ,yH,LJ,jJ);function gH(J){var K=J.match(/\D+$/),Y=K&&K[0];if(Y&&hH.indexOf(Y)===-1)throw Error("Invalid unit: "+Y);return Y}var xH=Object.assign(J8(NJ,"angle"),J8(OJ,"frequency"),J8(LJ,"resolution"),J8(jJ,"time"));function J8(J,K){return Object.fromEntries(J.map((Y)=>[Y,K]))}function bH(J){return xH[J]||"length"}function w8(J){let K=typeof J;return!(K==="number"||K==="bigint"||K==="string"||K==="boolean")}function mH(J){return/^class\s/.test(J.toString())}function fH(J){return"dangerouslySetInnerHTML"in J}function dH(J){let K=typeof J>"u"?[]:[].concat(J).flat(1/0),Y=[];for(let Q=0;Q<K.length;Q++){let X=K[Q];typeof X>"u"||typeof X=="boolean"||X===null||(typeof X=="number"&&(X=String(X)),typeof X=="string"&&Y.length&&typeof Y[Y.length-1]=="string"?Y[Y.length-1]+=X:Y.push(X))}return Y}function z0(J,K,Y,Q,X=!1){if(typeof J=="number")return J;try{if(J=J.trim(),/[ /\(,]/.test(J))return;if(J===String(+J))return+J;let Z=new I1(J);if(Z.type==="length")switch(Z.unit){case"em":return Z.value*K;case"rem":return Z.value*16;case"vw":return~~(Z.value*Q._viewportWidth/100);case"vh":return~~(Z.value*Q._viewportHeight/100);default:return Z.value}else{if(Z.type==="angle")return EJ(J);if(Z.type==="percentage"&&X)return Z.value/100*Y}}catch{}}function EJ(J){let K=new I1(J);switch(K.unit){case"deg":return K.value;case"rad":return K.value*180/Math.PI;case"turn":return K.value*360;case"grad":return 0.9*K.value}}function A8(J,K){return[J[0]*K[0]+J[2]*K[1],J[1]*K[0]+J[3]*K[1],J[0]*K[2]+J[2]*K[3],J[1]*K[2]+J[3]*K[3],J[0]*K[4]+J[2]*K[5]+J[4],J[1]*K[4]+J[3]*K[5]+J[5]]}function X5(J,K,Y,Q){let X=K[J];if(typeof X>"u"){if(Q&&typeof J<"u")throw Error(`Invalid value for CSS property "${Q}". Allowed values: ${Object.keys(K).map((Z)=>`"${Z}"`).join(" | ")}. Received: "${J}".`);X=Y}return X}var F9,R9,uH=[32,160,4961,65792,65793,4153,4241,10].map((J)=>String.fromCodePoint(J));function q5(J,K,Y){if(!F9||!R9){if(!(typeof Intl<"u"&&("Segmenter"in Intl)))throw Error("Intl.Segmenter does not exist, please use import a polyfill.");F9=new Intl.Segmenter(Y,{granularity:"word"}),R9=new Intl.Segmenter(Y,{granularity:"grapheme"})}if(K==="grapheme")return[...R9.segment(J)].map((Q)=>Q.segment);{let Q=[...F9.segment(J)].map((q)=>q.segment),X=[],Z=0;for(;Z<Q.length;){let q=Q[Z];if(q=="\xA0"){let W=Z===0?"":X.pop(),H=Z===Q.length-1?"":Q[Z+1];X.push(W+"\xA0"+H),Z+=2}else X.push(q),Z++}return X}}function o(J,K,Y){let Q="";for(let[X,Z]of Object.entries(K))typeof Z<"u"&&(Q+=` ${X}="${Z}"`);return Y?`<${J}${Q}>${Y}</${J}>`:`<${J}${Q}/>`}function lH(J=20){let K=new Map;function Y(Z,q){if(K.size>=J){let W=K.keys().next().value;K.delete(W)}K.set(Z,q)}function Q(Z){if(!K.has(Z))return;let q=K.get(Z);return K.delete(Z),K.set(Z,q),q}function X(){K.clear()}return{set:Y,get:Q,clear:X}}function r9(J){return J?J.split(/[, ]/).filter(Boolean).map(Number):null}function cH(J){return Object.prototype.toString.call(J)}function FJ(J){return typeof J=="string"}function pH(J){return typeof J=="number"}function iH(J){return cH(J)==="[object Undefined]"}function rH(J,K){if(K==="break-all")return{words:q5(J,"grapheme"),requiredBreaks:[]};if(K==="keep-all")return{words:q5(J,"word"),requiredBreaks:[]};let Y=new y8(J),Q=0,X=Y.nextBreak(),Z=[],q=[!1];for(;X;){let W=J.slice(Q,X.position);Z.push(W),X.required?q.push(!0):q.push(!1),Q=X.position,X=Y.nextBreak()}return{words:Z,requiredBreaks:q}}var oH=(J)=>J.replaceAll(/([A-Z])/g,(K,Y)=>`-${Y.toLowerCase()}`);function RJ(J,K=","){let Y=[],Q=0,X=0;K=new RegExp(K);for(let Z=0;Z<J.length;Z++)J[Z]==="("?X++:J[Z]===")"&&X--,X===0&&K.test(J[Z])&&(Y.push(J.slice(Q,Z).trim()),Q=Z+1);return Y.push(J.slice(Q).trim()),Y}var nH="image/avif",sH="image/webp",j8="image/apng",E8="image/png",F8="image/jpeg",R8="image/gif",o9="image/svg+xml";function _J(J){let K=new DataView(J),Y=4,Q=K.byteLength;for(;Y<Q;){let X=K.getUint16(Y,!1);if(X>Q)throw TypeError("Invalid JPEG");let Z=K.getUint8(X+1+Y);if(Z===192||Z===193||Z===194)return[K.getUint16(X+7+Y,!1),K.getUint16(X+5+Y,!1)];Y+=X+2}throw TypeError("Invalid JPEG")}function DJ(J){let K=new Uint8Array(J.slice(6,10));return[K[0]|K[1]<<8,K[2]|K[3]<<8]}function IJ(J){let K=new DataView(J);return[K.getUint16(18,!1),K.getUint16(22,!1)]}var y5=lH(100),V8=new Map,aH=[E8,j8,F8,R8,o9];function tH(J){let K="",Y=new Uint8Array(J);for(let Q=0;Q<Y.byteLength;Q++)K+=String.fromCharCode(Y[Q]);return btoa(K)}function eH(J){let K=atob(J),Y=K.length,Q=new Uint8Array(Y);for(let X=0;X<Y;X++)Q[X]=K.charCodeAt(X);return Q.buffer}function R7(J,K){let Y=K.match(/<svg[^>]*>/)[0],Q=Y.match(/viewBox=['"](.+)['"]/),X=Q?r9(Q[1]):null,Z=Y.match(/width=['"](\d*\.\d+|\d+)['"]/),q=Y.match(/height=['"](\d*\.\d+|\d+)['"]/);if(!X&&(!Z||!q))throw Error(`Failed to parse SVG from ${J}: missing "viewBox"`);let W=X?[X[2],X[3]]:[+Z[1],+q[1]],H=W[0]/W[1];return Z&&q?[+Z[1],+q[1]]:Z?[+Z[1],+Z[1]/H]:q?[+q[1]*H,+q[1]]:[W[0],W[1]]}function _7(J){let K,Y=JW(new Uint8Array(J));switch(Y){case E8:case j8:K=IJ(J);break;case R8:K=DJ(J);break;case F8:K=_J(J);break}if(!aH.includes(Y))throw Error(`Unsupported image type: ${Y||"unknown"}`);return[`data:${Y};base64,${tH(J)}`,K]}async function n9(J){if(!J)throw Error("Image source is not provided.");if(typeof J=="object"){let[X,Z]=_7(J);return[X,...Z]}if((J.startsWith('"')&&J.endsWith('"')||J.startsWith("'")&&J.endsWith("'"))&&(J=J.slice(1,-1)),typeof window>"u"&&!J.startsWith("http")&&!J.startsWith("data:"))throw Error(`Image source must be an absolute URL: ${J}`);if(J.startsWith("data:")){let X;try{X=/data:(?<imageType>[a-z/+]+)(;[^;=]+=[^;=]+)*?(;(?<encodingType>[^;,]+))?,(?<dataString>.*)/g.exec(J).groups}catch{return console.warn("Image data URI resolved without size:"+J),[J]}let{imageType:Z,encodingType:q,dataString:W}=X;if(Z===o9){let H=q==="base64"?atob(W):decodeURIComponent(W.replace(/ /g,"%20")),z=q==="base64"?J:`data:image/svg+xml;base64,${btoa(H)}`,w=R7(J,H);return y5.set(J,[z,...w]),[z,...w]}else if(q==="base64"){let H,z=eH(W);switch(Z){case E8:case j8:H=IJ(z);break;case R8:H=DJ(z);break;case F8:H=_J(z);break}return y5.set(J,[J,...H]),[J,...H]}else return console.warn("Image data URI resolved without size:"+J),y5.set(J,[J]),[J]}if(!globalThis.fetch)throw Error("`fetch` is required to be polyfilled to load images.");if(V8.has(J))return V8.get(J);let K=y5.get(J);if(K)return K;let Y=J,Q=fetch(Y).then((X)=>{let Z=X.headers.get("content-type");return Z==="image/svg+xml"||Z==="application/svg+xml"?X.text():X.arrayBuffer()}).then((X)=>{if(typeof X=="string")try{let W=`data:image/svg+xml;base64,${btoa(X)}`,H=R7(Y,X);return[W,...H]}catch(W){throw Error(`Failed to parse SVG image: ${W.message}`)}let[Z,q]=_7(X);return[Z,...q]}).then((X)=>(y5.set(Y,X),X)).catch((X)=>(console.error(`Can't load image ${Y}: `+X.message),y5.set(Y,[]),[]));return V8.set(Y,Q),Q}function JW(J){return[255,216,255].every((K,Y)=>J[Y]===K)?F8:[137,80,78,71,13,10,26,10].every((K,Y)=>J[Y]===K)?KW(J)?j8:E8:[71,73,70,56].every((K,Y)=>J[Y]===K)?R8:[82,73,70,70,0,0,0,0,87,69,66,80].every((K,Y)=>!K||J[Y]===K)?sH:[60,63,120,109,108].every((K,Y)=>J[Y]===K)?o9:[0,0,0,0,102,116,121,112,97,118,105,102].every((K,Y)=>!K||J[Y]===K)?nH:null}function KW(J){let K=new DataView(J.buffer),Y,Q,X=8,Z=!1;for(;!Z&&Y!=="IEND"&&X<J.length;){Q=K.getUint32(X);let q=J.subarray(X+4,X+8);Y=String.fromCharCode(...q),Z=Y==="acTL",X+=12+Q}return Z}var y9={accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",href:"href",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xmlSpace:"xml:space",xmlnsXlink:"xmlns:xlink"},YW=/[\r\n%#()<>?[\\\]^`{|}"']/g;function k9(J,K){if(!J)return"";if(Array.isArray(J))return J.map((z)=>k9(z,K)).join("");if(typeof J!="object")return String(J);let Y=J.type;if(Y==="text")throw Error("<text> nodes are not currently supported, please convert them to <path>");let{children:Q,style:X,...Z}=J.props||{},q=(X==null?void 0:X.color)||K,W=`${Object.entries(Z).map(([z,w])=>(typeof w=="string"&&w.toLowerCase()==="currentcolor"&&(w=q),z==="href"&&Y==="image"?` ${y9[z]||z}="${y5.get(w)[0]}"`:` ${y9[z]||z}="${w}"`)).join("")}`,H=X?` style="${Object.entries(X).map(([z,w])=>`${oH(z)}:${w}`).join(";")}"`:"";return`<${Y}${W}${H}>${k9(Q,q)}</${Y}>`}async function QW(J){let K=new Set,Y=(Q)=>{if(Q&&w8(Q)){if(Array.isArray(Q)){Q.forEach((X)=>Y(X));return}else typeof Q=="object"&&(Q.type==="image"?K.has(Q.props.href)||K.add(Q.props.href):Q.type==="img"&&(K.has(Q.props.src)||K.add(Q.props.src)));Array.isArray(Q.props.children)?Q.props.children.map((X)=>Y(X)):Y(Q.props.children)}};return Y(J),Promise.all(Array.from(K).map((Q)=>n9(Q)))}async function XW(J,K){let{viewBox:Y,viewbox:Q,width:X,height:Z,className:q,style:W,children:H,...z}=J.props||{};Y||=Q,z.xmlns="http://www.w3.org/2000/svg";let w=(W==null?void 0:W.color)||K,A=r9(Y),V=A?A[3]/A[2]:null;return X=X||V&&Z?Z/V:null,Z=Z||V&&X?X*V:null,z.width=X,z.height=Z,Y&&(z.viewBox=Y),`data:image/svg+xml;utf8,${`<svg ${Object.entries(z).map(([U,M])=>(typeof M=="string"&&M.toLowerCase()==="currentcolor"&&(M=w),` ${y9[U]||U}="${M}"`)).join("")}>${k9(H,w)}</svg>`.replace(YW,encodeURIComponent)}`}var i0="flex",ZW={p:{display:i0,marginTop:"1em",marginBottom:"1em"},div:{display:i0},blockquote:{display:i0,marginTop:"1em",marginBottom:"1em",marginLeft:40,marginRight:40},center:{display:i0,textAlign:"center"},hr:{display:i0,marginTop:"0.5em",marginBottom:"0.5em",marginLeft:"auto",marginRight:"auto",borderWidth:1,borderStyle:"solid"},h1:{display:i0,fontSize:"2em",marginTop:"0.67em",marginBottom:"0.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h2:{display:i0,fontSize:"1.5em",marginTop:"0.83em",marginBottom:"0.83em",marginLeft:0,marginRight:0,fontWeight:"bold"},h3:{display:i0,fontSize:"1.17em",marginTop:"1em",marginBottom:"1em",marginLeft:0,marginRight:0,fontWeight:"bold"},h4:{display:i0,marginTop:"1.33em",marginBottom:"1.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},h5:{display:i0,fontSize:"0.83em",marginTop:"1.67em",marginBottom:"1.67em",marginLeft:0,marginRight:0,fontWeight:"bold"},h6:{display:i0,fontSize:"0.67em",marginTop:"2.33em",marginBottom:"2.33em",marginLeft:0,marginRight:0,fontWeight:"bold"},u:{textDecoration:"underline"},strong:{fontWeight:"bold"},b:{fontWeight:"bold"},i:{fontStyle:"italic"},em:{fontStyle:"italic"},code:{fontFamily:"monospace"},kbd:{fontFamily:"monospace"},pre:{display:i0,fontFamily:"monospace",whiteSpace:"pre",marginTop:"1em",marginBottom:"1em"},mark:{backgroundColor:"yellow",color:"black"},big:{fontSize:"larger"},small:{fontSize:"smaller"},s:{textDecoration:"line-through"}},qW=new Set(["color","font","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","textAlign","textTransform","textShadowOffset","textShadowColor","textShadowRadius","WebkitTextStrokeWidth","WebkitTextStrokeColor","textDecorationLine","textDecorationStyle","textDecorationColor","whiteSpace","transform","wordBreak","tabSize","opacity","filter","_viewportWidth","_viewportHeight","_inheritedClipPathId","_inheritedMaskId","_inheritedBackgroundClipTextPath"]);function HW(J){let K={};for(let Y in J)qW.has(Y)&&(K[Y]=J[Y]);return K}function WW(J,K){try{let Y=new I1(J);switch(Y.unit){case"px":return{absolute:Y.value};case"em":return{absolute:Y.value*K};case"rem":return{absolute:Y.value*16};case"%":return{relative:Y.value};default:return{}}}catch{return{}}}function _9(J,K,Y){switch(J){case"top":return{yRelative:0};case"left":return{xRelative:0};case"right":return{xRelative:100};case"bottom":return{yRelative:100};case"center":return{};default:{let Q=WW(J,K);return Q.absolute?{[Y?"xAbsolute":"yAbsolute"]:Q.absolute}:Q.relative?{[Y?"xRelative":"yRelative"]:Q.relative}:{}}}}function zW(J,K){if(typeof J=="number")return{xAbsolute:J};let Y;try{Y=PJ.default(J).nodes.filter((Q)=>Q.type==="word").map((Q)=>Q.value)}catch{return{}}return Y.length===1?_9(Y[0],K,!0):Y.length===2?((Y[0]==="top"||Y[0]==="bottom"||Y[1]==="left"||Y[1]==="right")&&Y.reverse(),{..._9(Y[0],K,!0),..._9(Y[1],K,!1)}):{}}function L1(J,K){let Y=SJ.getPropertyName(`mask-${K}`);return J[Y]||J[`WebkitM${Y.substring(1)}`]}function wW(J){let K=J.maskImage||J.WebkitMaskImage,Y={position:L1(J,"position")||"0% 0%",size:L1(J,"size")||"100% 100%",repeat:L1(J,"repeat")||"repeat",origin:L1(J,"origin")||"border-box",clip:L1(J,"origin")||"border-box"};return RJ(K).filter((Q)=>Q&&Q!=="none").reverse().map((Q)=>({image:Q,...Y}))}var AW=new Set(["flex","flexGrow","flexShrink","flexBasis","fontWeight","lineHeight","opacity","scale","scaleX","scaleY"]),VW=new Set(["lineHeight"]);function UW(J,K,Y,Q){return J==="textDecoration"&&!Y.includes(K.textDecorationColor)&&(K.textDecorationColor=Q),K}function u5(J,K){let Y=Number(K);return isNaN(Y)?K:AW.has(J)?VW.has(J)?Y:String(K):Y+"px"}function $W(J,K,Y){if(J==="lineHeight")return{lineHeight:u5(J,K)};if(J==="fontFamily")return{fontFamily:K.split(",").map((Q)=>Q.trim().replace(/(^['"])|(['"]$)/g,"").toLocaleLowerCase())};if(J==="borderRadius"){if(typeof K!="string"||!K.includes("/"))return;let[Q,X]=K.split("/"),Z=Z5.getStylesForProperty(J,Q,!0),q=Z5.getStylesForProperty(J,X,!0);for(let W in Z)q[W]=u5(J,Z[W])+" "+u5(J,q[W]);return q}if(/^border(Top|Right|Bottom|Left)?$/.test(J)){let Q=Z5.getStylesForProperty("border",K,!0);Q.borderWidth===1&&!String(K).includes("1px")&&(Q.borderWidth=3),Q.borderColor==="black"&&!String(K).includes("black")&&(Q.borderColor=Y);let X={Width:u5(J+"Width",Q.borderWidth),Style:X5(Q.borderStyle,{solid:"solid",dashed:"dashed"},"solid",J+"Style"),Color:Q.borderColor},Z={};for(let q of J==="border"?["Top","Right","Bottom","Left"]:[J.slice(6)])for(let W in X)Z["border"+q+W]=X[W];return Z}if(J==="boxShadow"){if(!K)throw Error('Invalid `boxShadow` value: "'+K+'".');return{[J]:typeof K=="string"?TJ.parse(K):K}}if(J==="transform"){if(typeof K!="string")throw Error("Invalid `transform` value.");let Q={},X=K.replace(/(-?[\d.]+%)/g,(q,W)=>{let H=~~(Math.random()*1e9);return Q[H]=W,H+"px"}),Z=Z5.getStylesForProperty("transform",X,!0);for(let q of Z.transform)for(let W in q)Q[q[W]]&&(q[W]=Q[q[W]]);return Z}if(J==="background")return K=K.toString().trim(),/^(linear-gradient|radial-gradient|url|repeating-linear-gradient)\(/.test(K)?Z5.getStylesForProperty("backgroundImage",K,!0):Z5.getStylesForProperty("background",K,!0);if(J==="textShadow"){K=K.toString().trim();let Q={},X=RJ(K);for(let Z of X){let q=Z5.getStylesForProperty("textShadow",Z,!0);for(let W in q)Q[W]?Q[W].push(q[W]):Q[W]=[q[W]]}return Q}if(J==="WebkitTextStroke"){K=K.toString().trim();let Q=K.split(" ");if(Q.length!==2)throw Error("Invalid `WebkitTextStroke` value.");return{WebkitTextStrokeWidth:u5(J,Q[0]),WebkitTextStrokeColor:u5(J,Q[1])}}}function D7(J){return J==="transform"?" Only absolute lengths such as `10px` are supported.":""}var I7=/rgb\((\d+)\s+(\d+)\s+(\d+)\s*\/\s*([\.\d]+)\)/;function vJ(J){if(typeof J=="string"&&I7.test(J.trim()))return J.trim().replace(I7,(K,Y,Q,X,Z)=>`rgba(${Y}, ${Q}, ${X}, ${Z})`);if(typeof J=="object"&&J!==null){for(let K in J)J[K]=vJ(J[K]);return J}return J}function C7(J,K){let Y={};if(J){let X=GW(J.color,K.color);Y.color=X;for(let Z in J){if(Z.startsWith("_")){Y[Z]=J[Z];continue}if(Z==="color")continue;let q=Z5.getPropertyName(Z),W=NW(J[Z],X);try{let H=$W(q,W,X)||UW(q,Z5.getStylesForProperty(q,u5(q,W),!0),W,X);Object.assign(Y,H)}catch(H){throw Error(H.message+(H.message.includes(W)?`
|
|
62
|
+
`+D7(q):`
|
|
63
|
+
in CSS rule \`${q}: ${W}\`.${D7(q)}`))}}}if(Y.backgroundImage){let{backgrounds:X}=CJ.parseElementStyle(Y);Y.backgroundImage=X}(Y.maskImage||Y.WebkitMaskImage)&&(Y.maskImage=wW(Y));let Q=BW(Y.fontSize,K.fontSize);typeof Y.fontSize<"u"&&(Y.fontSize=Q),Y.transformOrigin&&(Y.transformOrigin=zW(Y.transformOrigin,Q));for(let X in Y){let Z=Y[X];if(X==="lineHeight")typeof Z=="string"&&Z!=="normal"&&(Z=Y[X]=z0(Z,Q,Q,K,!0)/Q);else{if(typeof Z=="string"){let q=z0(Z,Q,Q,K);typeof q<"u"&&(Y[X]=q),Z=Y[X]}if(typeof Z=="string"||typeof Z=="object"){let q=vJ(Z);q&&(Y[X]=q),Z=Y[X]}}if(X==="opacity"&&typeof Z=="number"&&(Y.opacity=Z*K.opacity),X==="transform"){let q=Z;for(let W of q){let H=Object.keys(W)[0],z=W[H],w=typeof z=="string"?z0(z,Q,Q,K)??z:z;W[H]=w}}if(X==="textShadowRadius"){let q=Z;Y.textShadowRadius=q.map((W)=>z0(W,Q,0,K,!1))}if(X==="textShadowOffset"){let q=Z;Y.textShadowOffset=q.map(({height:W,width:H})=>({height:z0(W,Q,0,K,!1),width:z0(H,Q,0,K,!1)}))}}return Y}function BW(J,K){if(typeof J=="number")return J;try{let Y=new I1(J);switch(Y.unit){case"em":return Y.value*K;case"rem":return Y.value*16}}catch{return K}}function T7(J){if(J.startsWith("hsl")){let K=c1(J),[Y,Q,X]=K.values;return`hsl(${[Y,`${Q}%`,`${X}%`].concat(K.alpha===1?[]:[K.alpha]).join(",")})`}return J}function GW(J,K){return J&&J.toLowerCase()!=="currentcolor"?T7(J):T7(K)}function MW(J,K){return J.replace(/currentcolor/gi,K)}function NW(J,K){return FJ(J)&&(J=MW(J,K)),J}async function LW(J,K,Y,Q,X){let Z=await O8(),q={...Y,...C7(ZW[K],Y),...C7(Q,Y)};if(K==="img"){let[W,H,z]=await n9(X.src);if(H===void 0&&z===void 0){if(X.width===void 0||X.height===void 0)throw Error("Image size cannot be determined. Please provide the width and height of the image.");H=parseInt(X.width),z=parseInt(X.height)}let w=z/H,A=(q.borderLeftWidth||0)+(q.borderRightWidth||0)+(q.paddingLeft||0)+(q.paddingRight||0),V=(q.borderTopWidth||0)+(q.borderBottomWidth||0)+(q.paddingTop||0)+(q.paddingBottom||0),U=q.width||X.width,M=q.height||X.height,B=typeof U=="number"&&typeof M=="number";B&&(U-=A,M-=V),U===void 0&&M===void 0?(U="100%",J.setAspectRatio(1/w)):U===void 0?typeof M=="number"?U=M/w:J.setAspectRatio(1/w):M===void 0&&(typeof U=="number"?M=U*w:J.setAspectRatio(1/w)),q.width=B?U+A:U,q.height=B?M+V:M,q.__src=W}if(K==="svg"){let W=X.viewBox||X.viewbox,H=r9(W),z=H?H[3]/H[2]:null,{width:w,height:A}=X;typeof w>"u"&&A?z==null?w=0:typeof A=="string"&&A.endsWith("%")?w=parseInt(A)/z+"%":(A=z0(A,Y.fontSize,1,Y),w=A/z):typeof A>"u"&&w?z==null?w=0:typeof w=="string"&&w.endsWith("%")?A=parseInt(w)*z+"%":(w=z0(w,Y.fontSize,1,Y),A=w*z):(typeof w<"u"&&(w=z0(w,Y.fontSize,1,Y)||w),typeof A<"u"&&(A=z0(A,Y.fontSize,1,Y)||A),w||=H==null?void 0:H[2],A||=H==null?void 0:H[3]),!q.width&&w&&(q.width=w),!q.height&&A&&(q.height=A)}return J.setDisplay(X5(q.display,{flex:Z.DISPLAY_FLEX,block:Z.DISPLAY_FLEX,none:Z.DISPLAY_NONE,"-webkit-box":Z.DISPLAY_FLEX},Z.DISPLAY_FLEX,"display")),J.setAlignContent(X5(q.alignContent,{stretch:Z.ALIGN_STRETCH,center:Z.ALIGN_CENTER,"flex-start":Z.ALIGN_FLEX_START,"flex-end":Z.ALIGN_FLEX_END,"space-between":Z.ALIGN_SPACE_BETWEEN,"space-around":Z.ALIGN_SPACE_AROUND,baseline:Z.ALIGN_BASELINE,normal:Z.ALIGN_AUTO},Z.ALIGN_AUTO,"alignContent")),J.setAlignItems(X5(q.alignItems,{stretch:Z.ALIGN_STRETCH,center:Z.ALIGN_CENTER,"flex-start":Z.ALIGN_FLEX_START,"flex-end":Z.ALIGN_FLEX_END,baseline:Z.ALIGN_BASELINE,normal:Z.ALIGN_AUTO},Z.ALIGN_STRETCH,"alignItems")),J.setAlignSelf(X5(q.alignSelf,{stretch:Z.ALIGN_STRETCH,center:Z.ALIGN_CENTER,"flex-start":Z.ALIGN_FLEX_START,"flex-end":Z.ALIGN_FLEX_END,baseline:Z.ALIGN_BASELINE,normal:Z.ALIGN_AUTO},Z.ALIGN_AUTO,"alignSelf")),J.setJustifyContent(X5(q.justifyContent,{center:Z.JUSTIFY_CENTER,"flex-start":Z.JUSTIFY_FLEX_START,"flex-end":Z.JUSTIFY_FLEX_END,"space-between":Z.JUSTIFY_SPACE_BETWEEN,"space-around":Z.JUSTIFY_SPACE_AROUND},Z.JUSTIFY_FLEX_START,"justifyContent")),J.setFlexDirection(X5(q.flexDirection,{row:Z.FLEX_DIRECTION_ROW,column:Z.FLEX_DIRECTION_COLUMN,"row-reverse":Z.FLEX_DIRECTION_ROW_REVERSE,"column-reverse":Z.FLEX_DIRECTION_COLUMN_REVERSE},Z.FLEX_DIRECTION_ROW,"flexDirection")),J.setFlexWrap(X5(q.flexWrap,{wrap:Z.WRAP_WRAP,nowrap:Z.WRAP_NO_WRAP,"wrap-reverse":Z.WRAP_WRAP_REVERSE},Z.WRAP_NO_WRAP,"flexWrap")),typeof q.gap<"u"&&J.setGap(Z.GUTTER_ALL,q.gap),typeof q.rowGap<"u"&&J.setGap(Z.GUTTER_ROW,q.rowGap),typeof q.columnGap<"u"&&J.setGap(Z.GUTTER_COLUMN,q.columnGap),typeof q.flexBasis<"u"&&J.setFlexBasis(q.flexBasis),J.setFlexGrow(typeof q.flexGrow>"u"?0:q.flexGrow),J.setFlexShrink(typeof q.flexShrink>"u"?0:q.flexShrink),typeof q.maxHeight<"u"&&J.setMaxHeight(q.maxHeight),typeof q.maxWidth<"u"&&J.setMaxWidth(q.maxWidth),typeof q.minHeight<"u"&&J.setMinHeight(q.minHeight),typeof q.minWidth<"u"&&J.setMinWidth(q.minWidth),J.setOverflow(X5(q.overflow,{visible:Z.OVERFLOW_VISIBLE,hidden:Z.OVERFLOW_HIDDEN},Z.OVERFLOW_VISIBLE,"overflow")),J.setMargin(Z.EDGE_TOP,q.marginTop||0),J.setMargin(Z.EDGE_BOTTOM,q.marginBottom||0),J.setMargin(Z.EDGE_LEFT,q.marginLeft||0),J.setMargin(Z.EDGE_RIGHT,q.marginRight||0),J.setBorder(Z.EDGE_TOP,q.borderTopWidth||0),J.setBorder(Z.EDGE_BOTTOM,q.borderBottomWidth||0),J.setBorder(Z.EDGE_LEFT,q.borderLeftWidth||0),J.setBorder(Z.EDGE_RIGHT,q.borderRightWidth||0),J.setPadding(Z.EDGE_TOP,q.paddingTop||0),J.setPadding(Z.EDGE_BOTTOM,q.paddingBottom||0),J.setPadding(Z.EDGE_LEFT,q.paddingLeft||0),J.setPadding(Z.EDGE_RIGHT,q.paddingRight||0),J.setPositionType(X5(q.position,{absolute:Z.POSITION_TYPE_ABSOLUTE,relative:Z.POSITION_TYPE_RELATIVE},Z.POSITION_TYPE_RELATIVE,"position")),typeof q.top<"u"&&J.setPosition(Z.EDGE_TOP,q.top),typeof q.bottom<"u"&&J.setPosition(Z.EDGE_BOTTOM,q.bottom),typeof q.left<"u"&&J.setPosition(Z.EDGE_LEFT,q.left),typeof q.right<"u"&&J.setPosition(Z.EDGE_RIGHT,q.right),typeof q.height<"u"?J.setHeight(q.height):J.setHeightAuto(),typeof q.width<"u"?J.setWidth(q.width):J.setWidthAuto(),[q,HW(q)]}var P7=[1,0,0,1,0,0];function OW(J,K,Y){let Q=[...P7];for(let X of J){let Z=Object.keys(X)[0],q=X[Z];if(typeof q=="string")if(Z==="translateX")q=parseFloat(q)/100*K,X[Z]=q;else if(Z==="translateY")q=parseFloat(q)/100*Y,X[Z]=q;else throw Error(`Invalid transform: "${Z}: ${q}".`);let W=q,H=[...P7];switch(Z){case"translateX":H[4]=W;break;case"translateY":H[5]=W;break;case"scale":H[0]=W,H[3]=W;break;case"scaleX":H[0]=W;break;case"scaleY":H[3]=W;break;case"rotate":{let z=W*Math.PI/180,w=Math.cos(z),A=Math.sin(z);H[0]=w,H[1]=A,H[2]=-A,H[3]=w;break}case"skewX":H[2]=Math.tan(W*Math.PI/180);break;case"skewY":H[1]=Math.tan(W*Math.PI/180);break}Q=A8(H,Q)}J.splice(0,J.length),J.push(...Q),J.__resolved=!0}function yJ({left:J,top:K,width:Y,height:Q},X,Z,q){let W;X.__resolved||OW(X,Y,Q);let H=X;if(Z)W=H;else{let z=(q==null?void 0:q.xAbsolute)??((q==null?void 0:q.xRelative)??50)*Y/100,w=(q==null?void 0:q.yAbsolute)??((q==null?void 0:q.yRelative)??50)*Q/100,A=J+z,V=K+w;W=A8([1,0,0,1,A,V],A8(H,[1,0,0,1,-A,-V])),H.__parent&&(W=A8(H.__parent,W)),H.splice(0,6,...W)}return`matrix(${W.map((z)=>z.toFixed(2)).join(",")})`}function jW({left:J,top:K,width:Y,height:Q,isInheritingTransform:X},Z){let q="",W=1;return Z.transform&&(q=yJ({left:J,top:K,width:Y,height:Q},Z.transform,X,Z.transformOrigin)),Z.opacity!==void 0&&(W=+Z.opacity),{matrix:q,opacity:W}}function EW({id:J,content:K,filter:Y,left:Q,top:X,width:Z,height:q,matrix:W,opacity:H,image:z,clipPathId:w,debug:A,shape:V,decorationShape:U},M){let B="";if(A&&(B=o("rect",{x:Q,y:X-q,width:Z,height:q,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:W||void 0,"clip-path":w?`url(#${w})`:void 0})),z){let L={href:z,x:Q,y:X,width:Z,height:q,transform:W||void 0,"clip-path":w?`url(#${w})`:void 0,style:M.filter?`filter:${M.filter}`:void 0};return[(Y?`${Y}<g filter="url(#satori_s-${J})">`:"")+o("image",{...L,opacity:H!==1?H:void 0})+(U||"")+(Y?"</g>":"")+B,""]}let G={x:Q,y:X,width:Z,height:q,"font-weight":M.fontWeight,"font-style":M.fontStyle,"font-size":M.fontSize,"font-family":M.fontFamily,"letter-spacing":M.letterSpacing||void 0,transform:W||void 0,"clip-path":w?`url(#${w})`:void 0,style:M.filter?`filter:${M.filter}`:void 0,"stroke-width":M.WebkitTextStrokeWidth?`${M.WebkitTextStrokeWidth}px`:void 0,stroke:M.WebkitTextStrokeWidth?M.WebkitTextStrokeColor:void 0,"stroke-linejoin":M.WebkitTextStrokeWidth?"round":void 0,"paint-order":M.WebkitTextStrokeWidth?"stroke":void 0};return[(Y?`${Y}<g filter="url(#satori_s-${J})">`:"")+o("text",{...G,fill:M.color,opacity:H!==1?H:void 0},h9.default(K))+(U||"")+(Y?"</g>":"")+B,V?o("text",G,h9.default(K)):""]}function FW(J,K,Y){return J.replace(/([MA])([0-9.-]+),([0-9.-]+)/g,function(Q,X,Z,q){return X+(parseFloat(Z)+K)+","+(parseFloat(q)+Y)})}var K8=1.1;function RW({id:J,width:K,height:Y},Q){if(!Q.shadowColor||!Q.shadowOffset||typeof Q.shadowRadius>"u")return"";let X=Q.shadowColor.length,Z="",q="",W=0,H=K,z=0,w=Y;for(let A=0;A<X;A++){let V=Q.shadowRadius[A]*Q.shadowRadius[A]/4;W=Math.min(Q.shadowOffset[A].width-V,W),H=Math.max(Q.shadowOffset[A].width+V+K,H),z=Math.min(Q.shadowOffset[A].height-V,z),w=Math.max(Q.shadowOffset[A].height+V+Y,w),Z+=o("feDropShadow",{dx:Q.shadowOffset[A].width,dy:Q.shadowOffset[A].height,stdDeviation:Q.shadowRadius[A]/2,"flood-color":Q.shadowColor[A],"flood-opacity":1,...X>1?{in:"SourceGraphic",result:`satori_s-${J}-result-${A}`}:{}}),X>1&&(q=o("feMergeNode",{in:`satori_s-${J}-result-${A}`})+q)}return o("filter",{id:`satori_s-${J}`,x:(W/K*100*K8).toFixed(2)+"%",y:(z/Y*100*K8).toFixed(2)+"%",width:((H-W)/K*100*K8).toFixed(2)+"%",height:((w-z)/Y*100*K8).toFixed(2)+"%"},Z+(q?o("feMerge",{},q):""))}function _W({width:J,height:K,shape:Y,opacity:Q,id:X},Z){if(!Z.boxShadow)return null;let q="",W="";for(let H=Z.boxShadow.length-1;H>=0;H--){let z="",w=Z.boxShadow[H];w.spreadRadius&&w.inset&&(w.spreadRadius=-w.spreadRadius);let A=w.blurRadius*w.blurRadius/4+(w.spreadRadius||0),V=Math.min(-A-(w.inset?w.offsetX:0),0),U=Math.max(A+J-(w.inset?w.offsetX:0),J),M=Math.min(-A-(w.inset?w.offsetY:0),0),B=Math.max(A+K-(w.inset?w.offsetY:0),K),G=`satori_s-${X}-${H}`,L=`satori_ms-${X}-${H}`,O=w.spreadRadius?Y.replace('stroke-width="0"',`stroke-width="${w.spreadRadius*2}"`):Y;z+=o("mask",{id:L,maskUnits:"userSpaceOnUse"},o("rect",{x:0,y:0,width:Z._viewportWidth||"100%",height:Z._viewportHeight||"100%",fill:w.inset?"#000":"#fff"})+O.replace('fill="#fff"',w.inset?'fill="#fff"':'fill="#000"').replace('stroke="#fff"',""));let R=O.replace(/d="([^"]+)"/,(D,F)=>'d="'+FW(F,w.offsetX,w.offsetY)+'"').replace(/x="([^"]+)"/,(D,F)=>'x="'+(parseFloat(F)+w.offsetX)+'"').replace(/y="([^"]+)"/,(D,F)=>'y="'+(parseFloat(F)+w.offsetY)+'"');w.spreadRadius&&w.spreadRadius<0&&(z+=o("mask",{id:L+"-neg",maskUnits:"userSpaceOnUse"},R.replace('stroke="#fff"','stroke="#000"').replace(/stroke-width="[^"]+"/,`stroke-width="${-w.spreadRadius*2}"`))),w.spreadRadius&&w.spreadRadius<0&&(R=o("g",{mask:`url(#${L}-neg)`},R)),z+=o("defs",{},o("filter",{id:G,x:`${V/J*100}%`,y:`${M/K*100}%`,width:`${(U-V)/J*100}%`,height:`${(B-M)/K*100}%`},o("feGaussianBlur",{stdDeviation:w.blurRadius/2,result:"b"})+o("feFlood",{"flood-color":w.color,in:"SourceGraphic",result:"f"})+o("feComposite",{in:"f",in2:"b",operator:w.inset?"out":"in"})))+o("g",{mask:`url(#${L})`,filter:`url(#${G})`,opacity:Q},R),w.inset?W+=z:q+=z}return[q,W]}function DW({width:J,left:K,top:Y,ascender:Q,clipPathId:X,matrix:Z},q){let{textDecorationColor:W,textDecorationStyle:H,textDecorationLine:z,fontSize:w,color:A}=q;if(!z||z==="none")return"";let V=Math.max(1,w*0.1),U=z==="line-through"?Y+Q*0.7:z==="underline"?Y+Q*1.1:Y,M=H==="dashed"?`${V*1.2} ${V*2}`:H==="dotted"?`0 ${V*2}`:void 0;return(X?`<g clip-path="url(#${X})">`:"")+o("line",{x1:K,y1:U,x2:K+J,y2:U,stroke:W||A,"stroke-width":V,"stroke-dasharray":M,"stroke-linecap":H==="dotted"?"round":"square",transform:Z})+(X?"</g>":"")}function s9(J){return J=J.replace("U+","0x"),String.fromCodePoint(Number(J))}var _1=s9("U+0020"),kJ=s9("U+0009"),U8=s9("U+2026");function IW(J,K,Y){let{fontSize:Q,letterSpacing:X}=Y,Z=new Map;function q(z){if(Z.has(z))return Z.get(z);let w=J.measure(z,{fontSize:Q,letterSpacing:X});return Z.set(z,w),w}function W(z){let w=0;for(let A of z)K(A)?w+=Q:w+=q(A);return w}function H(z){return W(q5(z,"grapheme"))}return{measureGrapheme:q,measureGraphemeArray:W,measureText:H}}function CW(J,K,Y){let{textTransform:Q,whiteSpace:X,wordBreak:Z}=K;J=TW(J,Q,Y);let{content:q,shouldCollapseTabsAndSpaces:W,allowSoftWrap:H}=vW(J,X),{words:z,requiredBreaks:w,allowBreakWord:A}=SW(q,Z),[V,U]=PW(K,H);return{words:z,requiredBreaks:w,allowSoftWrap:H,allowBreakWord:A,processedContent:q,shouldCollapseTabsAndSpaces:W,lineLimit:V,blockEllipsis:U}}function TW(J,K,Y){return K==="uppercase"?J=J.toLocaleUpperCase(Y):K==="lowercase"?J=J.toLocaleLowerCase(Y):K==="capitalize"&&(J=q5(J,"word",Y).map((Q)=>q5(Q,"grapheme",Y).map((X,Z)=>Z===0?X.toLocaleUpperCase(Y):X).join("")).join("")),J}function PW(J,K){let{textOverflow:Y,lineClamp:Q,WebkitLineClamp:X,WebkitBoxOrient:Z,overflow:q,display:W}=J;if(W==="block"&&Q){let[H,z=U8]=yW(Q);if(H)return[H,z]}return Y==="ellipsis"&&W==="-webkit-box"&&Z==="vertical"&&pH(X)&&X>0?[X,U8]:Y==="ellipsis"&&q==="hidden"&&!K?[1,U8]:[1/0]}function SW(J,K){let Y=["break-all","break-word"].includes(K),{words:Q,requiredBreaks:X}=rH(J,K);return{words:Q,requiredBreaks:X,allowBreakWord:Y}}function vW(J,K){let Y=["pre","pre-wrap","pre-line"].includes(K),Q=["normal","nowrap","pre-line"].includes(K),X=!["pre","nowrap"].includes(K);return Y||(J=J.replace(/\n/g,_1)),Q&&(J=J.replace(/([ ]|\t)+/g,_1).replace(/^[ ]|[ ]$/g,"")),{content:J,shouldCollapseTabsAndSpaces:Q,allowSoftWrap:X}}function yW(J){if(typeof J=="number")return[J];let K=/^(\d+)\s*"(.*)"$/,Y=/^(\d+)\s*'(.*)'$/,Q=K.exec(J),X=Y.exec(J);if(Q){let Z=+Q[1],q=Q[2];return[Z,q]}else if(X){let Z=+X[1],q=X[2];return[Z,q]}return[]}var kW=new Set([kJ]);function hW(J){return kW.has(J)}async function*gW(J,K){let Y=await O8(),{parentStyle:Q,inheritedStyle:X,parent:Z,font:q,id:W,isInheritingTransform:H,debug:z,embedFont:w,graphemeImages:A,locale:V,canLoadAdditionalAssets:U}=K,{textAlign:M,lineHeight:B,textWrap:G,fontSize:L,filter:O,tabSize:R=8,letterSpacing:D,_inheritedBackgroundClipTextPath:F,flexShrink:j}=Q,{words:C,requiredBreaks:_,allowSoftWrap:P,allowBreakWord:g,processedContent:l,shouldCollapseTabsAndSpaces:a,lineLimit:r,blockEllipsis:T}=CW(J,Q,V),y=xW(Y,M);Z.insertChild(y,Z.getChildCount()),iH(j)&&Z.setFlexShrink(1);let I=q.getEngine(L,B,Q,V),f=U?q5(l,"grapheme").filter((Z0)=>!hW(Z0)&&!I.has(Z0)):[];yield f.map((Z0)=>({word:Z0,locale:V})),f.length&&(I=q.getEngine(L,B,Q,V));function u(Z0){return!!(A&&A[Z0])}let{measureGrapheme:t,measureGraphemeArray:n,measureText:m}=IW(I,u,{fontSize:L,letterSpacing:D}),d=FJ(R)?z0(R,L,1,Q):t(_1)*R,v=(Z0,G0)=>{if(Z0.length===0)return{originWidth:0,endingSpacesWidth:0,text:Z0};let{index:N0,tabCount:w0}=bW(Z0),E0=0;if(w0>0){let _0=Z0.slice(0,N0),O0=Z0.slice(N0+w0),$0=m(_0),H5=$0+G0;E0=(d===0?$0:(Math.floor(H5/d)+w0)*d)+m(O0)}else E0=m(Z0);let V0=Z0.trimEnd()===Z0?E0:m(Z0.trimEnd());return{originWidth:E0,endingSpacesWidth:E0-V0,text:Z0}},k=[],i=[],h=[],e=[],Y0=[];function Q0(Z0){let G0=0,N0=0,w0=-1,E0=0,V0=0,_0=0,O0=0;k=[],h=[0],e=[],Y0=[];let $0=0,H5=0;for(;$0<C.length&&G0<r;){let H0=C[$0],g5=_[$0],c0=0,{originWidth:F5,endingSpacesWidth:S1,text:R5}=v(H0,V0);H0=R5,c0=F5;let M0=S1;g5&&_0===0&&(_0=I.height(H0));let S0=",.!?:-@)>]}%#".indexOf(H0[0])<0,s0=!V0,v1=$0&&S0&&V0+c0>Z0+M0&&P;if(g&&c0>Z0&&(!V0||v1||g5)){let g0=q5(H0,"grapheme");C.splice($0,1,...g0),V0>0&&(k.push(V0-H5),i.push(O0),G0++,E0+=_0,V0=0,_0=0,O0=0,h.push(1),w0=-1),H5=M0;continue}if(g5||v1)a&&H0===_1&&(c0=0),k.push(V0-H5),i.push(O0),G0++,E0+=_0,V0=c0,_0=c0?I.height(H0):0,O0=c0?I.baseline(H0):0,h.push(1),w0=-1,g5||(N0=Math.max(N0,Z0));else{V0+=c0;let g0=I.height(H0);g0>_0&&(_0=g0,O0=I.baseline(H0)),s0&&h[h.length-1]++}s0&&w0++,N0=Math.max(N0,V0);let Y1=V0-c0;if(c0===0)Y0.push({y:E0,x:Y1,width:0,line:G0,lineIndex:w0,isImage:!1});else{let g0=q5(H0,"word");for(let a0=0;a0<g0.length;a0++){let x5=g0[a0],B5=0,Q1=!1;u(x5)?(B5=L,Q1=!0):B5=t(x5),e.push(x5),Y0.push({y:E0,x:Y1,width:B5,line:G0,lineIndex:w0,isImage:Q1}),Y1+=B5}}$0++,H5=M0}return V0&&(G0<r&&(E0+=_0),G0++,k.push(V0),i.push(O0)),{width:N0,height:E0}}let J0={width:0,height:0};y.setMeasureFunc((Z0)=>{let{width:G0,height:N0}=Q0(Z0);if(G==="balance"){let E0=G0/2,V0=G0,_0=G0;for(;E0+1<V0;){_0=(E0+V0)/2;let{height:$0}=Q0(_0);$0>N0?E0=_0:V0=_0}Q0(V0);let O0=Math.ceil(V0);return J0={width:O0,height:N0},{width:O0,height:N0}}let w0=Math.ceil(G0);return J0={width:w0,height:N0},{width:w0,height:N0}});let[A0,j0]=yield,K0="",U0="",I0=X._inheritedClipPathId,x0=X._inheritedMaskId,{left:P0,top:R0,width:h0,height:b0}=y.getComputedLayout(),m0=Z.getComputedWidth()-Z.getComputedPadding(Y.EDGE_LEFT)-Z.getComputedPadding(Y.EDGE_RIGHT)-Z.getComputedBorder(Y.EDGE_LEFT)-Z.getComputedBorder(Y.EDGE_RIGHT),o0=A0+P0,n0=j0+R0,{matrix:l0,opacity:p5}=jW({left:P0,top:R0,width:h0,height:b0,isInheritingTransform:H},Q),j5="";if(Q.textShadowOffset){let{textShadowColor:Z0,textShadowOffset:G0,textShadowRadius:N0}=Q;j5=RW({width:J0.width,height:J0.height,id:W},{shadowColor:Z0,shadowOffset:G0,shadowRadius:N0}),j5=o("defs",{},j5)}let h5="",i5="",P1="",r5=-1,o5={},E5=null,e9=0;for(let Z0=0;Z0<e.length;Z0++){let G0=Y0[Z0],N0=Y0[Z0+1];if(!G0)continue;let w0=e[Z0],E0=null,V0=!1,_0=A?A[w0]:null,O0=G0.y,$0=G0.x,H5=G0.width,H0=G0.line;if(H0===r5)continue;let g5=!1;if(k.length>1){let M0=h0-k[H0];if(M==="right"||M==="end")$0+=M0;else if(M==="center")$0+=M0/2;else if(M==="justify"&&H0<k.length-1){let S0=h[H0],s0=S0>1?M0/(S0-1):0;$0+=s0*G0.lineIndex,g5=!0}}let c0=i[H0],F5=I.baseline(w0),S1=I.height(w0),R5=c0-F5;if(o5[H0]||(o5[H0]=[$0,n0+O0+R5,F5,g5?h0:k[H0]]),r!==1/0){let M0=function(g0,a0){let x5=q5(a0,"grapheme",V),B5="",Q1=0;for(let J6 of x5){let K6=g0+n([B5+J6]);if(B5&&K6+s0>m0)break;B5+=J6,Q1=K6}return{subset:B5,resolvedWidth:Q1}},S0=T,s0=t(T);s0>m0&&(S0=U8,s0=t(S0));let v1=t(_1),Y1=H0<k.length-1;if(H0+1===r&&(Y1||k[H0]>m0)){if($0+H5+s0+v1>m0){let{subset:g0,resolvedWidth:a0}=M0($0,w0);w0=g0+S0,r5=H0,o5[H0][2]=a0,V0=!0}else if(N0&&N0.line!==H0)if(M==="center"){let{subset:g0,resolvedWidth:a0}=M0($0,w0);w0=g0+S0,r5=H0,o5[H0][2]=a0,V0=!0}else{let g0=e[Z0+1],{subset:a0,resolvedWidth:x5}=M0(H5+$0,g0);w0=w0+a0+S0,r5=H0,o5[H0][2]=x5,V0=!0}}}if(_0)O0+=0;else if(w){if(!w0.includes(kJ)&&!uH.includes(w0)&&e[Z0+1]&&N0&&!N0.isImage&&O0===N0.y&&!V0){E5===null&&(e9=$0),E5=E5===null?w0:E5+w0;continue}let M0=E5===null?w0:E5+w0,S0=E5===null?$0:e9,s0=G0.width+$0-S0;E0=I.getSVG(M0.replace(/(\t)+/g,""),{fontSize:L,left:o0+S0,top:n0+O0+F5+R5,letterSpacing:D}),E5=null,z&&(P1+=o("rect",{x:o0+S0,y:n0+O0+R5,width:s0,height:S1,fill:"transparent",stroke:"#575eff","stroke-width":1,transform:l0||void 0,"clip-path":I0?`url(#${I0})`:void 0})+o("line",{x1:o0+$0,x2:o0+$0+G0.width,y1:n0+O0+R5+F5,y2:n0+O0+R5+F5,stroke:"#14c000","stroke-width":1,transform:l0||void 0,"clip-path":I0?`url(#${I0})`:void 0}))}else O0+=F5+R5;if(Q.textDecorationLine){let M0=o5[H0];M0&&!M0[4]&&(h5+=DW({left:o0+M0[0],top:M0[1],width:M0[3],ascender:M0[2],clipPathId:I0,matrix:l0},Q),M0[4]=1)}if(E0!==null)i5+=E0+" ";else{let[M0,S0]=EW({content:w0,filter:j5,id:W,left:o0+$0,top:n0+O0,width:H5,height:S1,matrix:l0,opacity:p5,image:_0,clipPathId:I0,debug:z,shape:!!F,decorationShape:h5},Q);K0+=M0,U0+=S0,h5=""}if(V0)break}if(i5){let Z0=Q.color!=="transparent"&&p5!==0?o("path",{fill:Q.color,d:i5,transform:l0||void 0,opacity:p5!==1?p5:void 0,"clip-path":I0?`url(#${I0})`:void 0,mask:x0?`url(#${x0})`:void 0,style:O?`filter:${O}`:void 0,"stroke-width":X.WebkitTextStrokeWidth?`${X.WebkitTextStrokeWidth}px`:void 0,stroke:X.WebkitTextStrokeWidth?X.WebkitTextStrokeColor:void 0,"stroke-linejoin":X.WebkitTextStrokeWidth?"round":void 0,"paint-order":X.WebkitTextStrokeWidth?"stroke":void 0}):"";F&&(U0=o("path",{d:i5,transform:l0||void 0})),K0+=(j5?j5+o("g",{filter:`url(#satori_s-${W})`},Z0+h5):Z0+h5)+P1}return U0&&(Q._inheritedBackgroundClipTextPath.value+=U0),K0}function xW(J,K){let Y=J.Node.create();return Y.setAlignItems(J.ALIGN_BASELINE),Y.setJustifyContent(X5(K,{left:J.JUSTIFY_FLEX_START,right:J.JUSTIFY_FLEX_END,center:J.JUSTIFY_CENTER,justify:J.JUSTIFY_SPACE_BETWEEN,start:J.JUSTIFY_FLEX_START,end:J.JUSTIFY_FLEX_END},J.JUSTIFY_FLEX_START,"textAlign")),Y}function bW(J){let K=/(\t)+/.exec(J);return K?{index:K.index,tabCount:K[0].length}:{index:null,tabCount:0}}function hJ(J,K,Y,Q,X){let Z=[];for(let z of K){let{color:w}=z;if(!Z.length&&(Z.push({offset:0,color:w}),!z.offset||z.offset.value==="0"))continue;let A=typeof z.offset>"u"?void 0:z.offset.unit==="%"?+z.offset.value/100:Number(z0(`${z.offset.value}${z.offset.unit}`,Y.fontSize,J,Y,!0))/J;Z.push({offset:A,color:w})}Z.length||Z.push({offset:0,color:"transparent"});let q=Z[Z.length-1];q.offset!==1&&(typeof q.offset>"u"?q.offset=1:Q?Z[Z.length-1]={offset:1,color:q.color}:Z.push({offset:1,color:q.color}));let W=0,H=1;for(let z=0;z<Z.length;z++)if(typeof Z[z].offset>"u"){for(H<z&&(H=z);typeof Z[H].offset>"u";)H++;Z[z].offset=(Z[H].offset-Z[W].offset)/(H-W)*(z-W)+Z[W].offset}else W=z;return X==="mask"?Z.map((z)=>{let w=c1(z.color);return w?w.alpha===0?{...z,color:"rgba(0, 0, 0, 1)"}:{...z,color:`rgba(255, 255, 255, ${w.alpha})`}:z}):Z}function mW({id:J,width:K,height:Y,repeatX:Q,repeatY:X},Z,q,W,H,z){let w=R4(Z),[A,V]=q,U=Z.startsWith("repeating"),M,B,G;if(w.orientation.type==="directional")M=dW(w.orientation.value),B=Math.sqrt(Math.pow((M.x2-M.x1)*A,2)+Math.pow((M.y2-M.y1)*V,2));else if(w.orientation.type==="angular"){let{length:F,...j}=uW(EJ(`${w.orientation.value.value}${w.orientation.value.unit}`)/180*Math.PI,A,V);B=F,M=j}G=U?lW(w.stops,B,M,H):M;let L=hJ(U?fW(w.stops,B):B,w.stops,H,U,z),O=`satori_bi${J}`,R=`satori_pattern_${J}`,D=o("pattern",{id:R,x:W[0]/K,y:W[1]/Y,width:Q?A/K:"1",height:X?V/Y:"1",patternUnits:"objectBoundingBox"},o("linearGradient",{id:O,...G,spreadMethod:U?"repeat":"pad"},L.map((F)=>o("stop",{offset:(F.offset??0)*100+"%","stop-color":F.color})).join(""))+o("rect",{x:0,y:0,width:A,height:V,fill:`url(#${O})`}));return[R,D]}function fW(J,K){let Y=J[J.length-1],{offset:Q}=Y;return Q?Q.unit==="%"?Number(Q.value)/100*K:Number(Q.value):K}function dW(J){let K=0,Y=0,Q=0,X=0;return J.includes("top")?Y=1:J.includes("bottom")&&(X=1),J.includes("left")?K=1:J.includes("right")&&(Q=1),!K&&!Q&&!Y&&!X&&(Y=1),{x1:K,y1:Y,x2:Q,y2:X}}function uW(J,K,Y){let Q=Math.pow(Y/K,2);J=(J%(Math.PI*2)+Math.PI*2)%(Math.PI*2);let X,Z,q,W,H,z,w,A,V=(U)=>{if(U===0){X=0,Z=Y,q=0,W=0,H=Y;return}else if(U===Math.PI/2){X=0,Z=0,q=K,W=0,H=K;return}if(U>0&&U<Math.PI/2){X=(Q*K/2/Math.tan(U)-Y/2)/(Math.tan(U)+Q/Math.tan(U)),Z=Math.tan(U)*X+Y,q=Math.abs(K/2-X)+K/2,W=Y/2-Math.abs(Z-Y/2),H=Math.sqrt(Math.pow(q-X,2)+Math.pow(W-Z,2)),w=(K/2/Math.tan(U)-Y/2)/(Math.tan(U)+1/Math.tan(U)),A=Math.tan(U)*w+Y,H=2*Math.sqrt(Math.pow(K/2-w,2)+Math.pow(Y/2-A,2));return}else if(U>Math.PI/2&&U<Math.PI){X=(Y/2+Q*K/2/Math.tan(U))/(Math.tan(U)+Q/Math.tan(U)),Z=Math.tan(U)*X,q=Math.abs(K/2-X)+K/2,W=Y/2+Math.abs(Z-Y/2),w=(K/2/Math.tan(U)+Y/2)/(Math.tan(U)+1/Math.tan(U)),A=Math.tan(U)*w,H=2*Math.sqrt(Math.pow(K/2-w,2)+Math.pow(Y/2-A,2));return}else U>=Math.PI&&(V(U-Math.PI),z=X,X=q,q=z,z=Z,Z=W,W=z)};return V(J),{x1:X/K,y1:Z/Y,x2:q/K,y2:W/Y,length:H}}function lW(J,K,Y,Q){let{x1:X,x2:Z,y1:q,y2:W}=Y,H=J[0].offset?J[0].offset.unit==="%"?Number(J[0].offset.value)/100:z0(`${J[0].offset.value}${J[0].offset.unit}`,Q.fontSize,K,Q,!0)/K:0,z=J.at(-1).offset?J.at(-1).offset.unit==="%"?Number(J.at(-1).offset.value)/100:z0(`${J.at(-1).offset.value}${J.at(-1).offset.unit}`,Q.fontSize,K,Q,!0)/K:1,w=(Z-X)*H+X,A=(W-q)*H+q,V=(Z-X)*z+X,U=(W-q)*z+q;return{x1:w,y1:A,x2:V,y2:U}}function cW({id:J,width:K,height:Y,repeatX:Q,repeatY:X},Z,q,W,H,z){var w;let{shape:A,stops:V,position:U,size:M}=_4(Z),[B,G]=q,L=B/2,O=G/2,R=pW(U.x,U.y,B,G,H.fontSize,H);L=R.x,O=R.y;let D=hJ(K,V,H,!1,z),F=`satori_radial_${J}`,j=`satori_pattern_${J}`,C=`satori_mask_${J}`,_=iW(A,M,H.fontSize,{x:L,y:O},[B,G],H),P=o("pattern",{id:j,x:W[0]/K,y:W[1]/Y,width:Q?B/K:"1",height:X?G/Y:"1",patternUnits:"objectBoundingBox"},o("radialGradient",{id:F},D.map((g)=>o("stop",{offset:g.offset||0,"stop-color":g.color})).join(""))+o("mask",{id:C},o("rect",{x:0,y:0,width:B,height:G,fill:"#fff"}))+o("rect",{x:0,y:0,width:B,height:G,fill:((w=D.at(-1))==null?void 0:w.color)||"transparent"})+o(A,{cx:L,cy:O,width:B,height:G,..._,fill:`url(#${F})`,mask:`url(#${C})`}));return[j,P]}function pW(J,K,Y,Q,X,Z){let q={x:Y/2,y:Q/2};return J.type==="keyword"?Object.assign(q,S7(J.value,Y,Q,"x")):q.x=z0(`${J.value.value}${J.value.unit}`,X,Y,Z,!0)||Y/2,K.type==="keyword"?Object.assign(q,S7(K.value,Y,Q,"y")):q.y=z0(`${K.value.value}${K.value.unit}`,X,Q,Z,!0)||Q/2,q}function S7(J,K,Y,Q){switch(J){case"center":return{[Q]:Q==="x"?K/2:Y/2};case"left":return{x:0};case"top":return{y:0};case"right":return{x:K};case"bottom":return{y:Y}}}function iW(J,K,Y,Q,X,Z){let[q,W]=X,{x:H,y:z}=Q,w={},A=0,V=0;if(rW(K)){if(K.some((U)=>U.value.value.startsWith("-")))throw Error("disallow setting negative values to the size of the shape. Check https://w3c.github.io/csswg-drafts/css-images/#valdef-rg-size-length-0");return J==="circle"?{r:Number(z0(`${K[0].value.value}${K[0].value.unit}`,Y,q,Z,!0))}:{rx:Number(z0(`${K[0].value.value}${K[0].value.unit}`,Y,q,Z,!0)),ry:Number(z0(`${K[1].value.value}${K[1].value.unit}`,Y,W,Z,!0))}}switch(K[0].value){case"farthest-corner":A=Math.max(Math.abs(q-H),Math.abs(H)),V=Math.max(Math.abs(W-z),Math.abs(z));break;case"closest-corner":A=Math.min(Math.abs(q-H),Math.abs(H)),V=Math.min(Math.abs(W-z),Math.abs(z));break;case"farthest-side":return J==="circle"?w.r=Math.max(Math.abs(q-H),Math.abs(H),Math.abs(W-z),Math.abs(z)):(w.rx=Math.max(Math.abs(q-H),Math.abs(H)),w.ry=Math.max(Math.abs(W-z),Math.abs(z))),w;case"closest-side":return J==="circle"?w.r=Math.min(Math.abs(q-H),Math.abs(H),Math.abs(W-z),Math.abs(z)):(w.rx=Math.min(Math.abs(q-H),Math.abs(H)),w.ry=Math.min(Math.abs(W-z),Math.abs(z))),w}if(J==="circle")w.r=Math.sqrt(A*A+V*V);else{let U=V!==0?A/V:1;A===0?(w.rx=0,w.ry=0):(w.ry=Math.sqrt(A*A+V*V*U*U)/U,w.rx=w.ry*U)}return w}function rW(J){return!J.some((K)=>K.type==="keyword")}function oW(J,K){return typeof J=="string"&&J.endsWith("%")?K*parseFloat(J)/100:+J}function D9(J,{x:K,y:Y,defaultX:Q,defaultY:X}){return(J?J.split(" ").map((Z)=>{try{let q=new I1(Z);return q.type==="length"||q.type==="number"?q.value:q.value+q.unit}catch{return null}}).filter((Z)=>Z!==null):[Q,X]).map((Z,q)=>oW(Z,[K,Y][q]))}async function gJ({id:J,width:K,height:Y,left:Q,top:X},{image:Z,size:q,position:W,repeat:H},z,w){H=H||"repeat",w=w||"background";let A=H==="repeat-x"||H==="repeat",V=H==="repeat-y"||H==="repeat",U=D9(q,{x:K,y:Y,defaultX:K,defaultY:Y}),M=D9(W,{x:K,y:Y,defaultX:0,defaultY:0});if(Z.startsWith("linear-gradient(")||Z.startsWith("repeating-linear-gradient("))return mW({id:J,width:K,height:Y,repeatX:A,repeatY:V},Z,U,M,z,w);if(Z.startsWith("radial-gradient("))return cW({id:J,width:K,height:Y,repeatX:A,repeatY:V},Z,U,M,z,w);if(Z.startsWith("url(")){let B=D9(q,{x:K,y:Y,defaultX:0,defaultY:0}),[G,L,O]=await n9(Z.slice(4,-1)),R=w==="mask"?L||B[0]:B[0]||L,D=w==="mask"?O||B[1]:B[1]||O;return[`satori_bi${J}`,o("pattern",{id:`satori_bi${J}`,patternContentUnits:"userSpaceOnUse",patternUnits:"userSpaceOnUse",x:M[0]+Q,y:M[1]+X,width:A?R:"100%",height:V?D:"100%"},o("image",{x:0,y:0,width:R,height:D,preserveAspectRatio:"none",href:G}))]}throw Error(`Invalid background image: "${Z}"`)}function nW([J,K]){return Math.round(J*1000)===0&&Math.round(K*1000)===0?0:Math.round(J*K/Math.sqrt(J*J+K*K)*1000)/1000}function Y8(J,K,Y){return Y<J+K&&(Y/2<J&&Y/2<K?J=K=Y/2:Y/2<J?J=Y-K:Y/2<K&&(K=Y-J)),[J,K]}function Q8(J){J[0]=J[1]=Math.min(J[0],J[1])}function X8(J,K,Y,Q,X){if(typeof J=="string"){let Z=J.split(" ").map((W)=>W.trim()),q=!Z[1]&&!Z[0].endsWith("%");return Z[1]=Z[1]||Z[0],[q,[Math.min(z0(Z[0],Q,K,X,!0),K),Math.min(z0(Z[1],Q,Y,X,!0),Y)]]}return typeof J=="number"?[!0,[Math.min(J,K),Math.min(J,Y)]]:[!0,void 0]}var Z8=(J)=>J&&J[0]!==0&&J[1]!==0;function sW({id:J,borderRadiusPath:K,borderType:Y,left:Q,top:X,width:Z,height:q},W){let H=`satori_brc-${J}`;return[o("clipPath",{id:H},o(Y,{x:Q,y:X,width:Z,height:q,d:K||void 0})),H]}function G8({left:J,top:K,width:Y,height:Q},X,Z){let{borderTopLeftRadius:q,borderTopRightRadius:W,borderBottomLeftRadius:H,borderBottomRightRadius:z,fontSize:w}=X,A,V,U,M;if([A,q]=X8(q,Y,Q,w,X),[V,W]=X8(W,Y,Q,w,X),[U,H]=X8(H,Y,Q,w,X),[M,z]=X8(z,Y,Q,w,X),!Z&&!Z8(q)&&!Z8(W)&&!Z8(H)&&!Z8(z))return"";q||=[0,0],W||=[0,0],H||=[0,0],z||=[0,0],[q[0],W[0]]=Y8(q[0],W[0],Y),[H[0],z[0]]=Y8(H[0],z[0],Y),[q[1],H[1]]=Y8(q[1],H[1],Q),[W[1],z[1]]=Y8(W[1],z[1],Q),A&&Q8(q),V&&Q8(W),U&&Q8(H),M&&Q8(z);let B=[];B[0]=[W,W],B[1]=[z,[-z[0],z[1]]],B[2]=[H,[-H[0],-H[1]]],B[3]=[q,[q[0],-q[1]]];let G=`h${Y-q[0]-W[0]} a${B[0][0]} 0 0 1 ${B[0][1]}`,L=`v${Q-W[1]-z[1]} a${B[1][0]} 0 0 1 ${B[1][1]}`,O=`h${z[0]+H[0]-Y} a${B[2][0]} 0 0 1 ${B[2][1]}`,R=`v${H[1]+q[1]-Q} a${B[3][0]} 0 0 1 ${B[3][1]}`;if(Z){let D=function(a){let r=nW([q,W,z,H][a]);return a===0?[[J+q[0]-r,K+q[1]-r],[J+q[0],K]]:a===1?[[J+Y-W[0]+r,K+W[1]-r],[J+Y,K+W[1]]]:a===2?[[J+Y-z[0]+r,K+Q-z[1]+r],[J+Y-z[0],K+Q]]:[[J+H[0]-r,K+Q-H[1]+r],[J,K+Q-H[1]]]},F=Z.indexOf(!1);if(!Z.includes(!0))throw Error("Invalid `partialSides`.");if(F===-1)F=0;else for(;!Z[F];)F=(F+1)%4;let j="",C=D(F),_=`M${C[0]} A${B[(F+3)%4][0]} 0 0 1 ${C[1]}`,P=0;for(;P<4&&Z[(F+P)%4];P++)j+=_+" ",_=[G,L,O,R][(F+P)%4];let g=(F+P)%4;j+=_.split(" ")[0];let l=D(g);return j+=` A${B[(g+3)%4][0]} 0 0 1 ${l[0]}`,j}return`M${J+q[0]},${K} ${G} ${L} ${O} ${R}`}function v7(J,K,Y){return Y[J+"Width"]===Y[K+"Width"]&&Y[J+"Style"]===Y[K+"Style"]&&Y[J+"Color"]===Y[K+"Color"]}function aW({id:J,currentClipPathId:K,borderPath:Y,borderType:Q,left:X,top:Z,width:q,height:W},H){if(!(H.borderTopWidth||H.borderRightWidth||H.borderBottomWidth||H.borderLeftWidth))return null;let z=`satori_bc-${J}`;return[o("clipPath",{id:z,"clip-path":K?`url(#${K})`:void 0},o(Q,{x:X,y:Z,width:q,height:W,d:Y||void 0})),z]}function xJ({left:J,top:K,width:Y,height:Q,props:X,asContentMask:Z,maskBorderOnly:q},W){let H=["borderTop","borderRight","borderBottom","borderLeft"];if(!Z&&!H.some((U)=>W[U+"Width"]))return"";let z="",w=0;for(;w>0&&v7(H[w],H[(w+3)%4],W);)w=(w+3)%4;let A=[!1,!1,!1,!1],V=[];for(let U=0;U<4;U++){let M=(w+U)%4,B=(w+U+1)%4,G=H[M],L=H[B];if(A[M]=!0,V=[W[G+"Width"],W[G+"Style"],W[G+"Color"],G],!v7(G,L,W)){let O=(V[0]||0)+(Z&&!q&&W[G.replace("border","padding")]||0);O&&(z+=o("path",{width:Y,height:Q,...X,fill:"none",stroke:Z?"#000":V[2],"stroke-width":O*2,"stroke-dasharray":!Z&&V[1]==="dashed"?O*2+" "+O:void 0,d:G8({left:J,top:K,width:Y,height:Q},W,A)})),A=[!1,!1,!1,!1]}}if(A.some(Boolean)){let U=(V[0]||0)+(Z&&!q&&W[V[3].replace("border","padding")]||0);U&&(z+=o("path",{width:Y,height:Q,...X,fill:"none",stroke:Z?"#000":V[2],"stroke-width":U*2,"stroke-dasharray":!Z&&V[1]==="dashed"?U*2+" "+U:void 0,d:G8({left:J,top:K,width:Y,height:Q},W,A)}))}return z}function tW({id:J,left:K,top:Y,width:Q,height:X,matrix:Z,borderOnly:q},W){let H=(W.borderLeftWidth||0)+(q?0:W.paddingLeft||0),z=(W.borderTopWidth||0)+(q?0:W.paddingTop||0),w=(W.borderRightWidth||0)+(q?0:W.paddingRight||0),A=(W.borderBottomWidth||0)+(q?0:W.paddingBottom||0),V={x:K+H,y:Y+z,width:Q-H-w,height:X-z-A};return o("mask",{id:J},o("rect",{...V,fill:"#fff",transform:W.overflow==="hidden"&&W.transform&&Z?Z:void 0,mask:W._inheritedMaskId?`url(#${W._inheritedMaskId})`:void 0})+xJ({left:K,top:Y,width:Q,height:X,props:{transform:Z||void 0},asContentMask:!0,maskBorderOnly:q},W))}var O1={circle:/circle\((.+)\)/,ellipse:/ellipse\((.+)\)/,path:/path\((.+)\)/,polygon:/polygon\((.+)\)/,inset:/inset\((.+)\)/};function eW({width:J,height:K},Y,Q){function X(z){let w=z.match(O1.circle);if(!w)return null;let[,A]=w,[V,U=""]=A.split("at").map((G)=>G.trim()),{x:M,y:B}=k7(U,J,K);return{type:"circle",r:z0(V,Q.fontSize,Math.sqrt(Math.pow(J,2)+Math.pow(K,2))/Math.sqrt(2),Q,!0),cx:z0(M,Q.fontSize,J,Q,!0),cy:z0(B,Q.fontSize,K,Q,!0)}}function Z(z){let w=z.match(O1.ellipse);if(!w)return null;let[,A]=w,[V,U=""]=A.split("at").map((O)=>O.trim()),[M,B]=V.split(" "),{x:G,y:L}=k7(U,J,K);return{type:"ellipse",rx:z0(M||"50%",Q.fontSize,J,Q,!0),ry:z0(B||"50%",Q.fontSize,K,Q,!0),cx:z0(G,Q.fontSize,J,Q,!0),cy:z0(L,Q.fontSize,K,Q,!0)}}function q(z){let w=z.match(O1.path);if(!w)return null;let[A,V]=y7(w[1]);return{type:"path",d:V,"fill-rule":A}}function W(z){let w=z.match(O1.polygon);if(!w)return null;let[A,V]=y7(w[1]);return{type:"polygon","fill-rule":A,points:V.split(",").map((U)=>U.split(" ").map((M,B)=>z0(M,Q.fontSize,B===0?J:K,Q,!0)).join(" ")).join(",")}}function H(z){let w=z.match(O1.inset);if(!w)return null;let[A,V]=(w[1].includes("round")?w[1]:`${w[1].trim()} round 0`).split("round"),U=g9.getStylesForProperty("borderRadius",V,!0),M=Object.values(U).map((D)=>String(D)).map((D,F)=>z0(D,Q.fontSize,F===0||F===2?K:J,Q,!0)||0),B=Object.values(g9.getStylesForProperty("margin",A,!0)).map((D)=>String(D)).map((D,F)=>z0(D,Q.fontSize,F===0||F===2?K:J,Q,!0)||0),G=B[3],L=B[0],O=J-(B[1]+B[3]),R=K-(B[0]+B[2]);return M.some((D)=>D>0)?{type:"path",d:G8({left:G,top:L,width:O,height:R},{...Y,...U})}:{type:"rect",x:G,y:L,width:O,height:R}}return{parseCircle:X,parseEllipse:Z,parsePath:q,parsePolygon:W,parseInset:H}}function y7(J){let[,K="nonzero",Y]=J.replace(/('|")/g,"").match(/^(nonzero|evenodd)?,?(.+)/)||[];return[K,Y]}function k7(J,K,Y){let Q=J.split(" "),X={x:Q[0]||"50%",y:Q[1]||"50%"};return Q.forEach((Z)=>{Z==="top"?X.y=0:Z==="bottom"?X.y=Y:Z==="left"?X.x=0:Z==="right"?X.x=K:Z==="center"&&(X.x=K/2,X.y=Y/2)}),X}function a9(J){return`satori_cp-${J}`}function Jz(J){return`url(#${a9(J)})`}function Kz(J,K,Y){if(K.clipPath==="none")return"";let Q=eW(J,K,Y),X=K.clipPath,Z={type:""};for(let q of Object.keys(Q))if(Z=Q[q](X),Z)break;if(Z){let{type:q,...W}=Z;return o("clipPath",{id:a9(J.id),"clip-path":J.currentClipPath,transform:`translate(${J.left}, ${J.top})`},o(q,W))}return""}function Yz({left:J,top:K,width:Y,height:Q,path:X,matrix:Z,id:q,currentClipPath:W,src:H},z,w){let A="",V=z.clipPath&&z.clipPath!=="none"?Kz({left:J,top:K,width:Y,height:Q,path:X,id:q,matrix:Z,currentClipPath:W,src:H},z,w):"";if(z.overflow!=="hidden"&&!H)A="";else{let M=V?`satori_ocp-${q}`:a9(q);A=o("clipPath",{id:M,"clip-path":W},o(X?"path":"rect",{x:J,y:K,width:Y,height:Q,d:X||void 0,transform:z.overflow==="hidden"&&z.transform&&Z?Z:void 0}))}let U=tW({id:`satori_om-${q}`,left:J,top:K,width:Y,height:Q,matrix:Z,borderOnly:!H},z);return V+A+U}var Qz=(J)=>`satori_mi-${J}`;async function Xz(J,K,Y){if(!K.maskImage)return["",""];let{left:Q,top:X,width:Z,height:q,id:W}=J,H=K.maskImage,z=H.length;if(!z)return["",""];let w=Qz(W),A="";for(let V=0;V<z;V++){let U=H[V],[M,B]=await gJ({id:`${w}-${V}`,left:Q,top:X,width:Z,height:q},U,Y,"mask");A+=B+o("rect",{x:Q,y:X,width:Z,height:q,fill:`url(#${M})`})}return A=o("mask",{id:w},A),[w,A]}async function I9({id:J,left:K,top:Y,width:Q,height:X,isInheritingTransform:Z,src:q,debug:W},H,z){if(H.display==="none")return"";let w=!!q,A="rect",V="",U="",M=[],B=1,G="";H.backgroundColor&&M.push(H.backgroundColor),H.opacity!==void 0&&(B=+H.opacity),H.transform&&(V=yJ({left:K,top:Y,width:Q,height:X},H.transform,Z,H.transformOrigin));let L="";if(H.backgroundImage){let y=[];for(let I=0;I<H.backgroundImage.length;I++){let f=H.backgroundImage[I],u=await gJ({id:J+"_"+I,width:Q,height:X,left:K,top:Y},f,z);u&&y.unshift(u)}for(let I of y)M.push(`url(#${I[0]})`),U+=I[1],I[2]&&(L+=I[2])}let[O,R]=await Xz({id:J,left:K,top:Y,width:Q,height:X},H,z);U+=R;let D=O?`url(#${O})`:H._inheritedMaskId?`url(#${H._inheritedMaskId})`:void 0,F=G8({left:K,top:Y,width:Q,height:X},H);F&&(A="path");let j=H._inheritedClipPathId;W&&(G=o("rect",{x:K,y:Y,width:Q,height:X,fill:"transparent",stroke:"#ff5757","stroke-width":1,transform:V||void 0,"clip-path":j?`url(#${j})`:void 0}));let{backgroundClip:C,filter:_}=H,P=C==="text"?`url(#satori_bct-${J})`:j?`url(#${j})`:H.clipPath?Jz(J):void 0,g=Yz({left:K,top:Y,width:Q,height:X,path:F,id:J,matrix:V,currentClipPath:P,src:q},H,z),l=M.map((y)=>o(A,{x:K,y:Y,width:Q,height:X,fill:y,d:F||void 0,transform:V||void 0,"clip-path":H.transform?void 0:P,style:_?`filter:${_}`:void 0,mask:H.transform?void 0:D})).join(""),a=aW({id:J,left:K,top:Y,width:Q,height:X,currentClipPathId:j,borderPath:F,borderType:A},H),r;if(w){let y=(H.borderLeftWidth||0)+(H.paddingLeft||0),I=(H.borderTopWidth||0)+(H.paddingTop||0),f=(H.borderRightWidth||0)+(H.paddingRight||0),u=(H.borderBottomWidth||0)+(H.paddingBottom||0),t=H.objectFit==="contain"?"xMidYMid":H.objectFit==="cover"?"xMidYMid slice":"none";H.transform&&(r=sW({id:J,borderRadiusPath:F,borderType:A,left:K,top:Y,width:Q,height:X},H)),l+=o("image",{x:K+y,y:Y+I,width:Q-y-f,height:X-I-u,href:q,preserveAspectRatio:t,transform:V||void 0,style:_?`filter:${_}`:void 0,"clip-path":H.transform?r?`url(#${r[1]})`:void 0:`url(#satori_cp-${J})`,mask:H.transform?void 0:O?`url(#${O})`:`url(#satori_om-${J})`})}if(a){U+=a[0];let y=a[1];l+=xJ({left:K,top:Y,width:Q,height:X,props:{transform:V||void 0,"clip-path":`url(#${y})`}},H)}let T=_W({width:Q,height:X,id:J,opacity:B,shape:o(A,{x:K,y:Y,width:Q,height:X,fill:"#fff",stroke:"#fff","stroke-width":0,d:F||void 0,transform:V||void 0,"clip-path":P,mask:D})},H);return(U?o("defs",{},U):"")+(T?T[0]:"")+(r?r[0]:"")+g+(B!==1?`<g opacity="${B}">`:"")+(H.transform&&(P||D)?`<g${P?` clip-path="${P}"`:""}${D?` mask="${D}"`:""}>`:"")+(L||l)+(H.transform&&(P||D)?"</g>":"")+(B!==1?"</g>":"")+(T?T[1]:"")+G}var Zz=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,qz=new RegExp(Zz(),""),x9={emoji:qz,symbol:/\p{Symbol}/u,math:/\p{Math}/u},b9={"ja-JP":/\p{scx=Hira}|\p{scx=Kana}|\p{scx=Han}|[\u3000]|[\uFF00-\uFFEF]/u,"ko-KR":/\p{scx=Hangul}/u,"zh-CN":/\p{scx=Han}/u,"zh-TW":/\p{scx=Han}/u,"zh-HK":/\p{scx=Han}/u,"th-TH":/\p{scx=Thai}/u,"bn-IN":/\p{scx=Bengali}/u,"ar-AR":/\p{scx=Arabic}/u,"ta-IN":/\p{scx=Tamil}/u,"ml-IN":/\p{scx=Malayalam}/u,"he-IL":/\p{scx=Hebrew}/u,"te-IN":/\p{scx=Telugu}/u,devanagari:/\p{scx=Devanagari}/u,kannada:/\p{scx=Kannada}/u},t9=Object.keys({...b9,...x9});function Hz(J){return t9.includes(J)}function Wz(J,K){for(let Q of Object.keys(x9))if(x9[Q].test(J))return[Q];let Y=Object.keys(b9).filter((Q)=>b9[Q].test(J));if(Y.length===0)return["unknown"];if(K){let Q=Y.findIndex((X)=>X===K);Q!==-1&&(Y.splice(Q,1),Y.unshift(K))}return Y}function zz(J){if(J)return t9.find((K)=>K.toLowerCase().startsWith(J.toLowerCase()))}async function*m9(J,K){var Y;let Q=await O8(),{id:X,inheritedStyle:Z,parent:q,font:W,debug:H,locale:z,embedFont:w=!0,graphemeImages:A,canLoadAdditionalAssets:V,getTwStyles:U}=K;if(J===null||typeof J>"u")return yield,yield,"";if(!w8(J)||typeof J.type=="function"){let k;if(!w8(J))k=gW(String(J),K),yield(await k.next()).value;else{if(mH(J.type))throw Error("Class component is not supported.");k=m9(J.type(J.props),K),yield(await k.next()).value}await k.next();let i=yield;return(await k.next(i)).value}let{type:M,props:B}=J;if(B&&fH(B))throw Error("dangerouslySetInnerHTML property is not supported. See documentation for more information https://github.com/vercel/satori#jsx.");let{style:G,children:L,tw:O,lang:R=z}=B||{},D=zz(R);if(O){let k=U(O,G);G=Object.assign(k,G)}let F=Q.Node.create();q.insertChild(F,q.getChildCount());let[j,C]=await LW(F,M,Z,G,B),_=j.transform===Z.transform;if(_||(j.transform.__parent=Z.transform),(j.overflow==="hidden"||j.clipPath&&j.clipPath!=="none")&&(C._inheritedClipPathId=`satori_cp-${X}`,C._inheritedMaskId=`satori_om-${X}`),j.maskImage&&(C._inheritedMaskId=`satori_mi-${X}`),j.backgroundClip==="text"){let k={value:""};C._inheritedBackgroundClipTextPath=k,j._inheritedBackgroundClipTextPath=k}let P=dH(L),g=[],l=0,a=[];for(let k of P){let i=m9(k,{id:X+"-"+l++,parentStyle:j,inheritedStyle:C,isInheritingTransform:!0,parent:F,font:W,embedFont:w,debug:H,graphemeImages:A,canLoadAdditionalAssets:V,locale:D,getTwStyles:U,onNodeDetected:K.onNodeDetected});V?a.push(...(await i.next()).value||[]):await i.next(),g.push(i)}yield a;for(let k of g)await k.next();let[r,T]=yield,{left:y,top:I,width:f,height:u}=F.getComputedLayout();y+=r,I+=T;let t="",n="",m="",{children:d,...v}=B;if((Y=K.onNodeDetected)==null||Y.call(K,{left:y,top:I,width:f,height:u,type:M,props:v,key:J.key,textContent:w8(d)?void 0:d}),M==="img"){let k=j.__src;n=await I9({id:X,left:y,top:I,width:f,height:u,src:k,isInheritingTransform:_,debug:H},j,C)}else if(M==="svg"){let k=j.color,i=await XW(J,k);n=await I9({id:X,left:y,top:I,width:f,height:u,src:i,isInheritingTransform:_,debug:H},j,C)}else{let k=G==null?void 0:G.display;if(M==="div"&&L&&typeof L!="string"&&k!=="flex"&&k!=="none")throw Error('Expected <div> to have explicit "display: flex" or "display: none" if it has more than one child node.');n=await I9({id:X,left:y,top:I,width:f,height:u,isInheritingTransform:_,debug:H},j,C)}for(let k of g)t+=(await k.next([y,I])).value;return j._inheritedBackgroundClipTextPath&&(m+=o("clipPath",{id:`satori_bct-${X}`,"clip-path":j._inheritedClipPathId?`url(#${j._inheritedClipPathId})`:void 0},j._inheritedBackgroundClipTextPath.value)),m+n+t}var bJ="unknown";function wz(J,K,[Y,Q],[X,Z]){if(Y!==X)return Y?!X||Y===J?-1:X===J?1:J===400&&Y===500||J===500&&Y===400?-1:J===400&&X===500||J===500&&X===400?1:J<400?Y<J&&X<J?X-Y:Y<J?-1:X<J?1:Y-X:J<Y&&J<X?Y-X:J<Y?-1:J<X?1:X-Y:1;if(Q!==Z){if(Q===K)return-1;if(Z===K)return 1}return-1}var Az=class{constructor(J){this.fonts=new Map,this.addFonts(J)}get({name:J,weight:K,style:Y}){if(!this.fonts.has(J))return null;K==="normal"&&(K=400),K==="bold"&&(K=700),typeof K=="string"&&(K=Number.parseInt(K,10));let Q=[...this.fonts.get(J)],X=Q[0];for(let Z=1;Z<Q.length;Z++){let[,q,W]=X,[,H,z]=Q[Z];wz(K,Y,[q,W],[H,z])>0&&(X=Q[Z])}return X[0]}addFonts(J){for(let K of J){let{name:Y,data:Q,lang:X}=K;if(X&&!Hz(X))throw Error(`Invalid value for props \`lang\`: "${X}". The value must be one of the following: ${t9.join(", ")}.`);let Z=X??bJ,q=e1.parse("buffer"in Q?Q.buffer.slice(Q.byteOffset,Q.byteOffset+Q.byteLength):Q,{lowMemory:!0}),W=q.charToGlyphIndex;q.charToGlyphIndex=(z)=>{let w=W.call(q,z);return w===0&&q._trackBrokenChars&&q._trackBrokenChars.push(z),w},this.defaultFont||(this.defaultFont=q);let H=`${Y.toLowerCase()}_${Z}`;this.fonts.has(H)||this.fonts.set(H,[]),this.fonts.get(H).push([q,K.weight,K.style])}}getEngine(J=16,K="normal",{fontFamily:Y="sans-serif",fontWeight:Q=400,fontStyle:X="normal"},Z){if(!this.fonts.size)throw Error("No fonts are loaded. At least one font is required to calculate the layout.");Y=(Array.isArray(Y)?Y:[Y]).map((L)=>L.toLowerCase());let q=[];Y.forEach((L)=>{let O=this.get({name:L,weight:Q,style:X});if(O){q.push(O);return}let R=this.get({name:L+"_unknown",weight:Q,style:X});if(R){q.push(R);return}});let W=Array.from(this.fonts.keys()),H=[],z=[],w=[];for(let L of W)if(!Y.includes(L))if(Z){let O=Vz(L);O?O===Z?H.push(this.get({name:L,weight:Q,style:X})):z.push(this.get({name:L,weight:Q,style:X})):w.push(this.get({name:L,weight:Q,style:X}))}else w.push(this.get({name:L,weight:Q,style:X}));let A=new Map,V=(L,O=!0)=>{let R=[...q,...w,...H,...O?z:[]];if(typeof L>"u")return O?R[R.length-1]:void 0;let D=L.charCodeAt(0);if(A.has(D))return A.get(D);let F=R.find((j,C)=>!!j.charToGlyphIndex(L)||O&&C===R.length-1);return F&&A.set(D,F),F},U=(L,O=!1)=>{var R,D;return((O?(D=(R=L.tables)==null?void 0:R.os2)==null?void 0:D.sTypoAscender:0)||L.ascender)/L.unitsPerEm*J},M=(L,O=!1)=>{var R,D;return((O?(D=(R=L.tables)==null?void 0:R.os2)==null?void 0:D.sTypoDescender:0)||L.descender)/L.unitsPerEm*J},B=(L,O=!1)=>{var R,D;if(typeof K=="string"&&K==="normal"){let F=(O?(D=(R=L.tables)==null?void 0:R.os2)==null?void 0:D.sTypoLineGap:0)||0;return U(L,O)-M(L,O)+F/L.unitsPerEm*J}else if(typeof K=="number")return J*K},G=(L)=>V(L,!1);return{has:(L)=>{if(L===`
|
|
64
|
+
`)return!0;let O=G(L);return O?(O._trackBrokenChars=[],O.stringToGlyphs(L),O._trackBrokenChars.length?(O._trackBrokenChars=void 0,!1):!0):!1},baseline:(L,O=typeof L>"u"?q[0]:V(L))=>{let R=U(O),D=M(O),F=R-D;return R+(B(O)-F)/2},height:(L,O=typeof L>"u"?q[0]:V(L))=>B(O),measure:(L,O)=>this.measure(V,L,O),getSVG:(L,O)=>this.getSVG(V,L,O)}}patchFontFallbackResolver(J,K){let Y=[];J._trackBrokenChars=Y;let Q=J.stringToGlyphs;return J.stringToGlyphs=(X,...Z)=>{let q=Q.call(J,X,...Z);for(let W=0;W<q.length;W++)if(q[W].unicode===void 0){let H=Y.shift(),z=K(H);if(z!==J){let w=z.charToGlyph(H),A=J.unitsPerEm/z.unitsPerEm,V=new e1.Path;V.unitsPerEm=J.unitsPerEm,V.commands=w.path.commands.map((M)=>{let B={...M};for(let G in B)typeof B[G]=="number"&&(B[G]*=A);return B});let U=new e1.Glyph({...w,advanceWidth:w.advanceWidth*A,xMin:w.xMin*A,xMax:w.xMax*A,yMin:w.yMin*A,yMax:w.yMax*A,path:V});q[W]=U}}return q},()=>{J.stringToGlyphs=Q,J._trackBrokenChars=void 0}}measure(J,K,{fontSize:Y,letterSpacing:Q=0}){let X=J(K),Z=this.patchFontFallbackResolver(X,J);try{return X.getAdvanceWidth(K,Y,{letterSpacing:Q/Y})}finally{Z()}}getSVG(J,K,{fontSize:Y,top:Q,left:X,letterSpacing:Z=0}){let q=J(K),W=this.patchFontFallbackResolver(q,J);try{return Y===0?"":q.getPath(K.replace(/\n/g,""),X,Q,Y,{letterSpacing:Z/Y}).toPathData(1)}finally{W()}}};function Vz(J){let K=J.split("_"),Y=K[K.length-1];return Y===bJ?void 0:Y}function Uz({width:J,height:K,content:Y}){return o("svg",{width:J,height:K,viewBox:`0 0 ${J} ${K}`,xmlns:"http://www.w3.org/2000/svg"},Y)}var $z=pq(IH()),Bz=["ios","android","windows","macos","web"];function Gz(J){return Bz.includes(J)}var Mz=["portrait","landscape"];function Nz(J){return Mz.includes(J)}var h7;(function(J){J.fontSize="fontSize",J.lineHeight="lineHeight"})(h7||(h7={}));var B0;(function(J){J.rem="rem",J.em="em",J.px="px",J.percent="%",J.vw="vw",J.vh="vh",J.none="<no-css-unit>"})(B0||(B0={}));function g7(J){return typeof J=="string"}function x7(J){return typeof J=="object"}var C9;function x(J){return{kind:"complete",style:J}}function r0(J,K={}){let{fractions:Y}=K;if(Y&&J.includes("/")){let[Z="",q=""]=J.split("/",2),W=r0(Z),H=r0(q);return!W||!H?null:[W[0]/H[0],H[1]]}let Q=parseFloat(J);if(Number.isNaN(Q))return null;let X=J.match(/(([a-z]{2,}|%))$/);if(!X)return[Q,B0.none];switch(X==null?void 0:X[1]){case"rem":return[Q,B0.rem];case"px":return[Q,B0.px];case"em":return[Q,B0.em];case"%":return[Q,B0.percent];case"vw":return[Q,B0.vw];case"vh":return[Q,B0.vh];default:return null}}function C1(J,K,Y={}){let Q=l5(K,Y);return Q===null?null:x({[J]:Q})}function T9(J,K,Y){let Q=l5(K);return Q!==null&&(Y[J]=Q),Y}function Lz(J,K){let Y=l5(K);return Y===null?null:{[J]:Y}}function l5(J,K={}){if(J===void 0)return null;let Y=r0(String(J),K);return Y?T1(...Y,K):null}function T1(J,K,Y={}){let{isNegative:Q,device:X}=Y;switch(K){case B0.rem:return J*16*(Q?-1:1);case B0.px:return J*(Q?-1:1);case B0.percent:return`${Q?"-":""}${J}%`;case B0.none:return J*(Q?-1:1);case B0.vw:return X!=null&&X.windowDimensions?X.windowDimensions.width*(J/100):(O5("`vw` CSS unit requires configuration with `useDeviceContext()`"),null);case B0.vh:return X!=null&&X.windowDimensions?X.windowDimensions.height*(J/100):(O5("`vh` CSS unit requires configuration with `useDeviceContext()`"),null);default:return null}}function b7(J){let K=r0(J);if(!K)return null;let[Y,Q]=K;switch(Q){case B0.rem:return Y*16;case B0.px:return Y;default:return null}}var Oz={t:"Top",tr:"TopRight",tl:"TopLeft",b:"Bottom",br:"BottomRight",bl:"BottomLeft",l:"Left",r:"Right",x:"Horizontal",y:"Vertical"};function mJ(J){return Oz[J??""]||"All"}function fJ(J){let K="All";return[J.replace(/^-(t|b|r|l|tr|tl|br|bl)(-|$)/,(Y,Q)=>(K=mJ(Q),"")),K]}function _8(J,K={}){if(J.includes("/")){let Y=m7(J,{...K,fractions:!0});if(Y)return Y}return J[0]==="["&&(J=J.slice(1,-1)),m7(J,K)}function c5(J,K,Y={}){let Q=_8(K,Y);return Q===null?null:x({[J]:Q})}function m7(J,K={}){if(J==="px")return 1;let Y=r0(J,K);if(!Y)return null;let[Q,X]=Y;return K.fractions&&(X=B0.percent,Q*=100),X===B0.none&&(Q=Q/4,X=B0.rem),T1(Q,X,K)}function jz(...J){console.warn(...J)}function Ez(...J){}var O5=typeof process>"u"||((C9=process==null?void 0:process.env)===null||C9===void 0?void 0:C9.JEST_WORKER_ID)===void 0?jz:Ez,Fz=[["aspect-square",x({aspectRatio:1})],["aspect-video",x({aspectRatio:1.7777777777777777})],["items-center",x({alignItems:"center"})],["items-start",x({alignItems:"flex-start"})],["items-end",x({alignItems:"flex-end"})],["items-baseline",x({alignItems:"baseline"})],["items-stretch",x({alignItems:"stretch"})],["justify-start",x({justifyContent:"flex-start"})],["justify-end",x({justifyContent:"flex-end"})],["justify-center",x({justifyContent:"center"})],["justify-between",x({justifyContent:"space-between"})],["justify-around",x({justifyContent:"space-around"})],["justify-evenly",x({justifyContent:"space-evenly"})],["content-start",x({alignContent:"flex-start"})],["content-end",x({alignContent:"flex-end"})],["content-between",x({alignContent:"space-between"})],["content-around",x({alignContent:"space-around"})],["content-stretch",x({alignContent:"stretch"})],["content-center",x({alignContent:"center"})],["self-auto",x({alignSelf:"auto"})],["self-start",x({alignSelf:"flex-start"})],["self-end",x({alignSelf:"flex-end"})],["self-center",x({alignSelf:"center"})],["self-stretch",x({alignSelf:"stretch"})],["self-baseline",x({alignSelf:"baseline"})],["direction-inherit",x({direction:"inherit"})],["direction-ltr",x({direction:"ltr"})],["direction-rtl",x({direction:"rtl"})],["hidden",x({display:"none"})],["flex",x({display:"flex"})],["flex-row",x({flexDirection:"row"})],["flex-row-reverse",x({flexDirection:"row-reverse"})],["flex-col",x({flexDirection:"column"})],["flex-col-reverse",x({flexDirection:"column-reverse"})],["flex-wrap",x({flexWrap:"wrap"})],["flex-wrap-reverse",x({flexWrap:"wrap-reverse"})],["flex-nowrap",x({flexWrap:"nowrap"})],["flex-auto",x({flexGrow:1,flexShrink:1,flexBasis:"auto"})],["flex-initial",x({flexGrow:0,flexShrink:1,flexBasis:"auto"})],["flex-none",x({flexGrow:0,flexShrink:0,flexBasis:"auto"})],["overflow-hidden",x({overflow:"hidden"})],["overflow-visible",x({overflow:"visible"})],["overflow-scroll",x({overflow:"scroll"})],["absolute",x({position:"absolute"})],["relative",x({position:"relative"})],["italic",x({fontStyle:"italic"})],["not-italic",x({fontStyle:"normal"})],["oldstyle-nums",j1("oldstyle-nums")],["small-caps",j1("small-caps")],["lining-nums",j1("lining-nums")],["tabular-nums",j1("tabular-nums")],["proportional-nums",j1("proportional-nums")],["font-thin",x({fontWeight:"100"})],["font-100",x({fontWeight:"100"})],["font-extralight",x({fontWeight:"200"})],["font-200",x({fontWeight:"200"})],["font-light",x({fontWeight:"300"})],["font-300",x({fontWeight:"300"})],["font-normal",x({fontWeight:"normal"})],["font-400",x({fontWeight:"400"})],["font-medium",x({fontWeight:"500"})],["font-500",x({fontWeight:"500"})],["font-semibold",x({fontWeight:"600"})],["font-600",x({fontWeight:"600"})],["font-bold",x({fontWeight:"bold"})],["font-700",x({fontWeight:"700"})],["font-extrabold",x({fontWeight:"800"})],["font-800",x({fontWeight:"800"})],["font-black",x({fontWeight:"900"})],["font-900",x({fontWeight:"900"})],["include-font-padding",x({includeFontPadding:!0})],["remove-font-padding",x({includeFontPadding:!1})],["max-w-none",x({maxWidth:"99999%"})],["text-left",x({textAlign:"left"})],["text-center",x({textAlign:"center"})],["text-right",x({textAlign:"right"})],["text-justify",x({textAlign:"justify"})],["text-auto",x({textAlign:"auto"})],["underline",x({textDecorationLine:"underline"})],["line-through",x({textDecorationLine:"line-through"})],["no-underline",x({textDecorationLine:"none"})],["uppercase",x({textTransform:"uppercase"})],["lowercase",x({textTransform:"lowercase"})],["capitalize",x({textTransform:"capitalize"})],["normal-case",x({textTransform:"none"})],["w-auto",x({width:"auto"})],["h-auto",x({height:"auto"})],["shadow-sm",x({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:0.025,elevation:1})],["shadow",x({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:1,shadowOpacity:0.075,elevation:2})],["shadow-md",x({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowRadius:3,shadowOpacity:0.125,elevation:3})],["shadow-lg",x({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:0.15,shadowRadius:8,elevation:8})],["shadow-xl",x({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:0.19,shadowRadius:20,elevation:12})],["shadow-2xl",x({shadowOffset:{width:1,height:1},shadowColor:"#000",shadowOpacity:0.25,shadowRadius:30,elevation:16})],["shadow-none",x({shadowOffset:{width:0,height:0},shadowColor:"#000",shadowRadius:0,shadowOpacity:0,elevation:0})]],f7=Fz;function j1(J){return{kind:"dependent",complete(K){(!K.fontVariant||!Array.isArray(K.fontVariant))&&(K.fontVariant=[]),K.fontVariant.push(J)}}}var Rz=class{constructor(J){this.ir=new Map(f7),this.styles=new Map,this.prefixes=new Map,this.ir=new Map([...f7,...J??[]])}getStyle(J){return this.styles.get(J)}setStyle(J,K){this.styles.set(J,K)}getIr(J){return this.ir.get(J)}setIr(J,K){this.ir.set(J,K)}getPrefixMatch(J){return this.prefixes.get(J)}setPrefixMatch(J,K){this.prefixes.set(J,K)}};function _z(J,K,Y={}){let Q=K==null?void 0:K[J];if(!Q)return c5("fontSize",J,Y);if(typeof Q=="string")return C1("fontSize",Q);let X={},[Z,q]=Q,W=Lz("fontSize",Z);if(W&&(X=W),typeof q=="string")return x(T9("lineHeight",d7(q,X),X));let{lineHeight:H,letterSpacing:z}=q;return H&&T9("lineHeight",d7(H,X),X),z&&T9("letterSpacing",z,X),x(X)}function d7(J,K){let Y=r0(J);if(Y){let[Q,X]=Y;if((X===B0.none||X===B0.em)&&typeof K.fontSize=="number")return K.fontSize*Q}return J}function Dz(J,K){var Y;let Q=(Y=K==null?void 0:K[J])!==null&&Y!==void 0?Y:J.startsWith("[")?J.slice(1,-1):J,X=r0(Q);if(!X)return null;let[Z,q]=X;if(q===B0.none)return{kind:"dependent",complete(H){if(typeof H.fontSize!="number")return"relative line-height utilities require that font-size be set";H.lineHeight=H.fontSize*Z}};let W=T1(Z,q);return W!==null?x({lineHeight:W}):null}function Iz(J,K,Y,Q,X){let Z="";if(Q[0]==="[")Z=Q.slice(1,-1);else{let z=X==null?void 0:X[Q];if(z)Z=z;else{let w=_8(Q);return w&&typeof w=="number"?u7(w,B0.px,K,J):null}}if(Z==="auto")return dJ(K,J,"auto");let q=r0(Z);if(!q)return null;let[W,H]=q;return Y&&(W=-W),u7(W,H,K,J)}function u7(J,K,Y,Q){let X=T1(J,K);return X===null?null:dJ(Y,Q,X)}function dJ(J,K,Y){switch(J){case"All":return{kind:"complete",style:{[`${K}Top`]:Y,[`${K}Right`]:Y,[`${K}Bottom`]:Y,[`${K}Left`]:Y}};case"Bottom":case"Top":case"Left":case"Right":return{kind:"complete",style:{[`${K}${J}`]:Y}};case"Vertical":return{kind:"complete",style:{[`${K}Top`]:Y,[`${K}Bottom`]:Y}};case"Horizontal":return{kind:"complete",style:{[`${K}Left`]:Y,[`${K}Right`]:Y}};default:return null}}function Cz(J){if(!J)return{};let K=Object.entries(J).reduce((X,[Z,q])=>{let W=[0,1/0,0],H=typeof q=="string"?{min:q}:q,z=H.min?b7(H.min):0;z===null?O5(`invalid screen config value: ${Z}->min: ${H.min}`):W[0]=z;let w=H.max?b7(H.max):1/0;return w===null?O5(`invalid screen config value: ${Z}->max: ${H.max}`):W[1]=w,X[Z]=W,X},{}),Y=Object.values(K);Y.sort((X,Z)=>{let[q,W]=X,[H,z]=Z;return W===1/0||z===1/0?q-H:W-z});let Q=0;return Y.forEach((X)=>X[2]=Q++),K}function Tz(J,K){let Y=K==null?void 0:K[J];if(!Y)return null;if(typeof Y=="string")return x({fontFamily:Y});let Q=Y[0];return Q?x({fontFamily:Q}):null}function R1(J,K,Y){if(!Y)return null;let Q;K.includes("/")&&([K="",Q]=K.split("/",2));let X="";if(K.startsWith("[#")||K.startsWith("[rgb")?X=K.slice(1,-1):X=uJ(K,Y),!X)return null;if(Q){let Z=Number(Q);if(!Number.isNaN(Z))return X=l7(X,Z/100),x({[$8[J].color]:X})}return{kind:"dependent",complete(Z){let q=$8[J].opacity,W=Z[q];typeof W=="number"&&(X=l7(X,W)),Z[$8[J].color]=X}}}function q8(J,K){let Y=parseInt(K,10);if(Number.isNaN(Y))return null;let Q=Y/100;return{kind:"complete",style:{[$8[J].opacity]:Q}}}function l7(J,K){return J.startsWith("#")?J=Sz(J):J.startsWith("rgb(")&&(J=J.replace(/^rgb\(/,"rgba(").replace(/\)$/,", 1)")),J.replace(/, ?\d*\.?(\d+)\)$/,`, ${K})`)}function Pz(J){for(let K in J)K.startsWith("__opacity_")&&delete J[K]}var $8={bg:{opacity:"__opacity_bg",color:"backgroundColor"},text:{opacity:"__opacity_text",color:"color"},border:{opacity:"__opacity_border",color:"borderColor"},borderTop:{opacity:"__opacity_border",color:"borderTopColor"},borderBottom:{opacity:"__opacity_border",color:"borderBottomColor"},borderLeft:{opacity:"__opacity_border",color:"borderLeftColor"},borderRight:{opacity:"__opacity_border",color:"borderRightColor"},shadow:{opacity:"__opacity_shadow",color:"shadowColor"},tint:{opacity:"__opacity_tint",color:"tintColor"}};function Sz(J){let K=J;J=J.replace(vz,(q,W,H,z)=>W+W+H+H+z+z);let Y=yz.exec(J);if(!Y)return O5(`invalid config hex color value: ${K}`),"rgba(0, 0, 0, 1)";let Q=parseInt(Y[1],16),X=parseInt(Y[2],16),Z=parseInt(Y[3],16);return`rgba(${Q}, ${X}, ${Z}, 1)`}function uJ(J,K){let Y=K[J];if(g7(Y))return Y;if(x7(Y)&&g7(Y.DEFAULT))return Y.DEFAULT;let[Q="",...X]=J.split("-");for(;Q!==J;){let Z=K[Q];if(x7(Z))return uJ(X.join("-"),Z);if(X.length===0)return"";Q=`${Q}-${X.shift()}`}return""}var vz=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,yz=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;function kz(J,K){let[Y,Q]=fJ(J);if(Y.match(/^(-?(\d)+)?$/))return hz(Y,Q,K==null?void 0:K.borderWidth);if(Y=Y.replace(/^-/,""),["dashed","solid","dotted"].includes(Y))return x({borderStyle:Y});let X="border";switch(Q){case"Bottom":X="borderBottom";break;case"Top":X="borderTop";break;case"Left":X="borderLeft";break;case"Right":X="borderRight";break}let Z=R1(X,Y,K==null?void 0:K.borderColor);if(Z)return Z;let q=`border${Q==="All"?"":Q}Width`;Y=Y.replace(/^-/,"");let W=Y.slice(1,-1),H=c5(q,W);return typeof(H==null?void 0:H.style[q])!="number"?null:H}function hz(J,K,Y){if(!Y)return null;J=J.replace(/^-/,"");let Q=Y[J===""?"DEFAULT":J];if(Q===void 0)return null;let X=`border${K==="All"?"":K}Width`;return C1(X,Q)}function gz(J,K){if(!K)return null;let[Y,Q]=fJ(J);Y=Y.replace(/^-/,""),Y===""&&(Y="DEFAULT");let X=`border${Q==="All"?"":Q}Radius`,Z=K[Y];if(Z)return c7(C1(X,Z));let q=c5(X,Y);return typeof(q==null?void 0:q.style[X])!="number"?null:c7(q)}function c7(J){if((J==null?void 0:J.kind)!=="complete")return J;let K=J.style.borderTopRadius;K!==void 0&&(J.style.borderTopLeftRadius=K,J.style.borderTopRightRadius=K,delete J.style.borderTopRadius);let Y=J.style.borderBottomRadius;Y!==void 0&&(J.style.borderBottomLeftRadius=Y,J.style.borderBottomRightRadius=Y,delete J.style.borderBottomRadius);let Q=J.style.borderLeftRadius;Q!==void 0&&(J.style.borderBottomLeftRadius=Q,J.style.borderTopLeftRadius=Q,delete J.style.borderLeftRadius);let X=J.style.borderRightRadius;return X!==void 0&&(J.style.borderBottomRightRadius=X,J.style.borderTopRightRadius=X,delete J.style.borderRightRadius),J}function E1(J,K,Y,Q){let X=null;J==="inset"&&(K=K.replace(/^(x|y)-/,(W,H)=>(X=H==="x"?"x":"y","")));let Z=Q==null?void 0:Q[K];if(Z){let W=l5(Z,{isNegative:Y});if(W!==null)return p7(J,X,W)}let q=_8(K,{isNegative:Y});return q!==null?p7(J,X,q):null}function p7(J,K,Y){if(J!=="inset")return x({[J]:Y});switch(K){case null:return x({top:Y,left:Y,right:Y,bottom:Y});case"y":return x({top:Y,bottom:Y});case"x":return x({left:Y,right:Y})}}function H8(J,K,Y){var Q;K=K.replace(/^-/,"");let X=K===""?"DEFAULT":K,Z=Number((Q=Y==null?void 0:Y[X])!==null&&Q!==void 0?Q:K);return Number.isNaN(Z)?null:x({[`flex${J}`]:Z})}function xz(J,K){var Y,Q;if(J=(K==null?void 0:K[J])||J,["min-content","revert","unset"].includes(J))return null;if(J.match(/^\d+(\.\d+)?$/))return x({flexGrow:Number(J),flexBasis:"0%"});let X=J.match(/^(\d+)\s+(\d+)$/);if(X)return x({flexGrow:Number(X[1]),flexShrink:Number(X[2])});if(X=J.match(/^(\d+)\s+([^ ]+)$/),X){let Z=l5((Y=X[2])!==null&&Y!==void 0?Y:"");return Z?x({flexGrow:Number(X[1]),flexBasis:Z}):null}if(X=J.match(/^(\d+)\s+(\d+)\s+(.+)$/),X){let Z=l5((Q=X[3])!==null&&Q!==void 0?Q:"");return Z?x({flexGrow:Number(X[1]),flexShrink:Number(X[2]),flexBasis:Z}):null}return null}function i7(J,K,Y={},Q){let X=Q==null?void 0:Q[K];return X!==void 0?C1(J,X,Y):c5(J,K,Y)}function W8(J,K,Y={},Q){let X=l5(Q==null?void 0:Q[K],Y);return X?x({[J]:X}):(K==="screen"&&(K=J.includes("Width")?"100vw":"100vh"),c5(J,K,Y))}function bz(J,K,Y){let Q=Y==null?void 0:Y[J];if(Q){let X=r0(Q,{isNegative:K});if(!X)return null;let[Z,q]=X;if(q===B0.em)return mz(Z);if(q===B0.percent)return O5("percentage-based letter-spacing configuration currently unsupported, switch to `em`s, or open an issue if you'd like to see support added."),null;let W=T1(Z,q,{isNegative:K});return W!==null?x({letterSpacing:W}):null}return c5("letterSpacing",J,{isNegative:K})}function mz(J){return{kind:"dependent",complete(K){let Y=K.fontSize;if(typeof Y!="number"||Number.isNaN(Y))return"tracking-X relative letter spacing classes require font-size to be set";K.letterSpacing=Math.round((J*Y+Number.EPSILON)*100)/100}}}function fz(J,K){let Y=K==null?void 0:K[J];if(Y){let X=r0(String(Y));if(X)return x({opacity:X[0]})}let Q=r0(J);return Q?x({opacity:Q[0]/100}):null}function dz(J){let K=parseInt(J,10);return Number.isNaN(K)?null:{kind:"complete",style:{shadowOpacity:K/100}}}function uz(J){if(J.includes("/")){let[Y="",Q=""]=J.split("/",2),X=P9(Y),Z=P9(Q);return X===null||Z===null?null:{kind:"complete",style:{shadowOffset:{width:X,height:Z}}}}let K=P9(J);return K===null?null:{kind:"complete",style:{shadowOffset:{width:K,height:K}}}}function P9(J){let K=_8(J);return typeof K=="number"?K:null}var r7=class{constructor(J,K={},Y,Q,X){var Z,q,W,H,z,w;this.config=K,this.cache=Y,this.position=0,this.isNull=!1,this.isNegative=!1,this.context={},this.context.device=Q;let A=J.trim().split(":"),V=[];A.length===1?this.string=J:(this.string=(Z=A.pop())!==null&&Z!==void 0?Z:"",V=A),this.char=this.string[0];let U=Cz((q=this.config.theme)===null||q===void 0?void 0:q.screens);for(let M of V)if(U[M]){let B=(W=U[M])===null||W===void 0?void 0:W[2];B!==void 0&&(this.order=((H=this.order)!==null&&H!==void 0?H:0)+B);let G=(z=Q.windowDimensions)===null||z===void 0?void 0:z.width;if(G){let[L,O]=(w=U[M])!==null&&w!==void 0?w:[0,0];(G<=L||G>O)&&(this.isNull=!0)}else this.isNull=!0}else Gz(M)?this.isNull=M!==X:Nz(M)?Q.windowDimensions?(Q.windowDimensions.width>Q.windowDimensions.height?"landscape":"portrait")!==M?this.isNull=!0:this.incrementOrder():this.isNull=!0:M==="retina"?Q.pixelDensity===2?this.incrementOrder():this.isNull=!0:M==="dark"?Q.colorScheme!=="dark"?this.isNull=!0:this.incrementOrder():this.handlePossibleArbitraryBreakpointPrefix(M)||(this.isNull=!0)}parse(){if(this.isNull)return{kind:"null"};let J=this.cache.getIr(this.rest);if(J)return J;this.parseIsNegative();let K=this.parseUtility();return K?this.order!==void 0?{kind:"ordered",order:this.order,styleIr:K}:K:{kind:"null"}}parseUtility(){var J,K,Y,Q,X;let Z=this.config.theme,q=null;switch(this.char){case"m":case"p":{let W=this.peekSlice(1,3).match(/^(t|b|r|l|x|y)?-/);if(W){let H=this.char==="m"?"margin":"padding";this.advance(((K=(J=W[0])===null||J===void 0?void 0:J.length)!==null&&K!==void 0?K:0)+1);let z=mJ(W[1]),w=Iz(H,z,this.isNegative,this.rest,(Y=this.config.theme)===null||Y===void 0?void 0:Y[H]);if(w)return w}}}if(this.consumePeeked("h-")&&(q=i7("height",this.rest,this.context,Z==null?void 0:Z.height),q)||this.consumePeeked("w-")&&(q=i7("width",this.rest,this.context,Z==null?void 0:Z.width),q)||this.consumePeeked("min-w-")&&(q=W8("minWidth",this.rest,this.context,Z==null?void 0:Z.minWidth),q)||this.consumePeeked("min-h-")&&(q=W8("minHeight",this.rest,this.context,Z==null?void 0:Z.minHeight),q)||this.consumePeeked("max-w-")&&(q=W8("maxWidth",this.rest,this.context,Z==null?void 0:Z.maxWidth),q)||this.consumePeeked("max-h-")&&(q=W8("maxHeight",this.rest,this.context,Z==null?void 0:Z.maxHeight),q)||this.consumePeeked("leading-")&&(q=Dz(this.rest,Z==null?void 0:Z.lineHeight),q)||this.consumePeeked("text-")&&(q=_z(this.rest,Z==null?void 0:Z.fontSize,this.context),q||(q=R1("text",this.rest,Z==null?void 0:Z.textColor),q)||this.consumePeeked("opacity-")&&(q=q8("text",this.rest),q))||this.consumePeeked("font-")&&(q=Tz(this.rest,Z==null?void 0:Z.fontFamily),q)||this.consumePeeked("aspect-")&&(this.consumePeeked("ratio-")&&O5("`aspect-ratio-{ratio}` is deprecated, use `aspect-{ratio}` instead"),q=C1("aspectRatio",this.rest,{fractions:!0}),q)||this.consumePeeked("tint-")&&(q=R1("tint",this.rest,Z==null?void 0:Z.colors),q)||this.consumePeeked("bg-")&&(q=R1("bg",this.rest,Z==null?void 0:Z.backgroundColor),q||this.consumePeeked("opacity-")&&(q=q8("bg",this.rest),q))||this.consumePeeked("border")&&(q=kz(this.rest,Z),q||this.consumePeeked("-opacity-")&&(q=q8("border",this.rest),q))||this.consumePeeked("rounded")&&(q=gz(this.rest,Z==null?void 0:Z.borderRadius),q)||this.consumePeeked("bottom-")&&(q=E1("bottom",this.rest,this.isNegative,Z==null?void 0:Z.inset),q)||this.consumePeeked("top-")&&(q=E1("top",this.rest,this.isNegative,Z==null?void 0:Z.inset),q)||this.consumePeeked("left-")&&(q=E1("left",this.rest,this.isNegative,Z==null?void 0:Z.inset),q)||this.consumePeeked("right-")&&(q=E1("right",this.rest,this.isNegative,Z==null?void 0:Z.inset),q)||this.consumePeeked("inset-")&&(q=E1("inset",this.rest,this.isNegative,Z==null?void 0:Z.inset),q)||this.consumePeeked("flex-")&&(this.consumePeeked("grow")?q=H8("Grow",this.rest,Z==null?void 0:Z.flexGrow):this.consumePeeked("shrink")?q=H8("Shrink",this.rest,Z==null?void 0:Z.flexShrink):q=xz(this.rest,Z==null?void 0:Z.flex),q)||this.consumePeeked("grow")&&(q=H8("Grow",this.rest,Z==null?void 0:Z.flexGrow),q)||this.consumePeeked("shrink")&&(q=H8("Shrink",this.rest,Z==null?void 0:Z.flexShrink),q)||this.consumePeeked("shadow-color-opacity-")&&(q=q8("shadow",this.rest),q)||this.consumePeeked("shadow-opacity-")&&(q=dz(this.rest),q)||this.consumePeeked("shadow-offset-")&&(q=uz(this.rest),q)||this.consumePeeked("shadow-radius-")&&(q=c5("shadowRadius",this.rest),q)||this.consumePeeked("shadow-")&&(q=R1("shadow",this.rest,Z==null?void 0:Z.colors),q))return q;if(this.consumePeeked("elevation-")){let W=parseInt(this.rest,10);if(!Number.isNaN(W))return x({elevation:W})}if(this.consumePeeked("opacity-")&&(q=fz(this.rest,Z==null?void 0:Z.opacity),q)||this.consumePeeked("tracking-")&&(q=bz(this.rest,this.isNegative,Z==null?void 0:Z.letterSpacing),q))return q;if(this.consumePeeked("z-")){let W=Number((X=(Q=Z==null?void 0:Z.zIndex)===null||Q===void 0?void 0:Q[this.rest])!==null&&X!==void 0?X:this.rest);if(!Number.isNaN(W))return x({zIndex:W})}return O5(`\`${this.rest}\` unknown or invalid utility`),null}handlePossibleArbitraryBreakpointPrefix(J){var K;if(J[0]!=="m")return!1;let Y=J.match(/^(min|max)-(w|h)-\[([^\]]+)\]$/);if(!Y)return!1;if(!(!((K=this.context.device)===null||K===void 0)&&K.windowDimensions))return this.isNull=!0,!0;let Q=this.context.device.windowDimensions,[,X="",Z="",q=""]=Y,W=Z==="w"?Q.width:Q.height,H=r0(q,this.context);if(H===null)return this.isNull=!0,!0;let[z,w]=H;return w!=="px"&&(this.isNull=!0),(X==="min"?W>=z:W<=z)?this.incrementOrder():this.isNull=!0,!0}advance(J=1){this.position+=J,this.char=this.string[this.position]}get rest(){return this.peekSlice(0,this.string.length)}peekSlice(J,K){return this.string.slice(this.position+J,this.position+K)}consumePeeked(J){return this.peekSlice(0,J.length)===J?(this.advance(J.length),!0):!1}parseIsNegative(){this.char==="-"&&(this.advance(),this.isNegative=!0,this.context.isNegative=!0)}incrementOrder(){var J;this.order=((J=this.order)!==null&&J!==void 0?J:0)+1}};function lz(J){let K=[],Y=null;return J.forEach((Q)=>{if(typeof Q=="string")K=[...K,...S9(Q)];else if(Array.isArray(Q))K=[...K,...Q.flatMap(S9)];else if(typeof Q=="object"&&Q!==null)for(let[X,Z]of Object.entries(Q))typeof Z=="boolean"?K=[...K,...Z?S9(X):[]]:Y?Y[X]=Z:Y={[X]:Z}}),[K.filter(Boolean).filter(cz),Y]}function S9(J){return J.trim().split(/\s+/)}function cz(J,K,Y){return Y.indexOf(J)===K}function pz(J){var K;return(K=J==null?void 0:J.reduce((Y,Q)=>({...Y,...iz(Q.handler)}),{}))!==null&&K!==void 0?K:{}}function iz(J){let K={};return J({addUtilities:(Y)=>{K=Y},...rz}),K}function $5(J){throw Error(`tailwindcss plugin function argument object prop "${J}" not implemented`)}var rz={addComponents:$5,addBase:$5,addVariant:$5,e:$5,prefix:$5,theme:$5,variants:$5,config:$5,corePlugins:$5,matchUtilities:$5,postcss:null};function oz(J,K){let Y=(0,$z.default)(nz(J)),Q={},X=pz(Y.plugins),Z={},q=Object.entries(X).map(([M,B])=>typeof B=="string"?(Z[M]=B,[M,{kind:"null"}]):[M,x(B)]).filter(([,M])=>M.kind!=="null");function W(){return[Q.windowDimensions?`w${Q.windowDimensions.width}`:!1,Q.windowDimensions?`h${Q.windowDimensions.height}`:!1,Q.fontScale?`fs${Q.fontScale}`:!1,Q.colorScheme==="dark"?"dark":!1,Q.pixelDensity===2?"retina":!1].filter(Boolean).join("--")||"default"}let H=W(),z={};function w(){let M=z[H];if(M)return M;let B=new Rz(q);return z[H]=B,B}function A(...M){let B=w(),G={},L=[],O=[],[R,D]=lz(M),F=R.join(" "),j=B.getStyle(F);if(j)return{...j,...D||{}};for(let C of R){let _=B.getIr(C);if(!_&&C in Z){let P=A(Z[C]);B.setIr(C,x(P)),G={...G,...P};continue}switch(_=new r7(C,Y,B,Q,K).parse(),_.kind){case"complete":G={...G,..._.style},B.setIr(C,_);break;case"dependent":L.push(_);break;case"ordered":O.push(_);break;case"null":B.setIr(C,_);break}}if(O.length>0){O.sort((C,_)=>C.order-_.order);for(let C of O)switch(C.styleIr.kind){case"complete":G={...G,...C.styleIr.style};break;case"dependent":L.push(C.styleIr);break}}if(L.length>0){for(let C of L){let _=C.complete(G);_&&O5(_)}Pz(G)}return F!==""&&B.setStyle(F,G),D&&(G={...G,...D}),G}function V(M){let B=A(M.split(/\s+/g).map((G)=>G.replace(/^(bg|text|border)-/,"")).map((G)=>`bg-${G}`).join(" "));return typeof B.backgroundColor=="string"?B.backgroundColor:void 0}let U=(M,...B)=>{let G="";return M.forEach((L,O)=>{var R;G+=L+((R=B[O])!==null&&R!==void 0?R:"")}),A(G)};return U.style=A,U.color=V,U.prefixMatch=(...M)=>{let B=M.sort().join(":"),G=w(),L=G.getPrefixMatch(B);if(L!==void 0)return L;let O=new r7(`${B}:flex`,Y,G,Q,K).parse().kind!=="null";return G.setPrefixMatch(B,O),O},U.setWindowDimensions=(M)=>{Q.windowDimensions=M,H=W()},U.setFontScale=(M)=>{Q.fontScale=M,H=W()},U.setPixelDensity=(M)=>{Q.pixelDensity=M,H=W()},U.setColorScheme=(M)=>{Q.colorScheme=M,H=W()},U}function nz(J){return{...J,content:["_no_warnings_please"]}}var sz={handler:({addUtilities:J})=>{J({"shadow-sm":{boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},shadow:{boxShadow:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)"},"shadow-md":{boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"},"shadow-lg":{boxShadow:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},"shadow-xl":{boxShadow:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"},"shadow-2xl":{boxShadow:"0 25px 50px -12px rgb(0 0 0 / 0.25)"},"shadow-inner":{boxShadow:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},"shadow-none":{boxShadow:"0 0 #0000"}})}};function az(J){return oz({...J,plugins:[...(J==null?void 0:J.plugins)??[],sz]},"web")}var z8;function tz({width:J,height:K,config:Y}){return z8||(z8=az(Y)),z8.setWindowDimensions({width:+J,height:+K}),z8}var v9=new WeakMap;async function Iw(J,K){let Y=await O8();if(!Y||!Y.Node)throw Error("Satori is not initialized: expect `yoga` to be loaded, got "+Y);K.fonts=K.fonts||[];let Q;v9.has(K.fonts)?Q=v9.get(K.fonts):v9.set(K.fonts,Q=new Az(K.fonts));let X="width"in K?K.width:void 0,Z="height"in K?K.height:void 0,q=Y.Node.create();X&&q.setWidth(X),Z&&q.setHeight(Z),q.setFlexDirection(Y.FLEX_DIRECTION_ROW),q.setFlexWrap(Y.WRAP_WRAP),q.setAlignContent(Y.ALIGN_AUTO),q.setAlignItems(Y.ALIGN_FLEX_START),q.setJustifyContent(Y.JUSTIFY_FLEX_START),q.setOverflow(Y.OVERFLOW_HIDDEN);let W={...K.graphemeImages},H=new Set;y5.clear(),V8.clear(),await QW(J);let z=m9(J,{id:"id",parentStyle:{},inheritedStyle:{fontSize:16,fontWeight:"normal",fontFamily:"serif",fontStyle:"normal",lineHeight:"normal",color:"black",opacity:1,whiteSpace:"normal",_viewportWidth:X,_viewportHeight:Z},parent:q,font:Q,embedFont:K.embedFont,debug:K.debug,graphemeImages:W,canLoadAdditionalAssets:!!K.loadAdditionalAsset,onNodeDetected:K.onNodeDetected,getTwStyles:(M,B)=>{let G={...tz({width:X,height:Z,config:K.tailwindConfig})([M])};return typeof G.lineHeight=="number"&&(G.lineHeight=G.lineHeight/(+G.fontSize||B.fontSize||16)),G.shadowColor&&G.boxShadow&&(G.boxShadow=G.boxShadow.replace(/rgba?\([^)]+\)/,G.shadowColor)),G}}),w=(await z.next()).value;if(K.loadAdditionalAsset&&w.length){let M=ez(w),B=[],G={};await Promise.all(Object.entries(M).flatMap(([L,O])=>O.map((R)=>{let D=`${L}_${R}`;return H.has(D)?null:(H.add(D),K.loadAdditionalAsset(L,R).then((F)=>{typeof F=="string"?G[R]=F:F&&(Array.isArray(F)?B.push(...F):B.push(F))}))}))),Q.addFonts(B),Object.assign(W,G)}await z.next(),q.calculateLayout(X,Z,Y.DIRECTION_LTR);let A=(await z.next([0,0])).value,V=q.getComputedWidth(),U=q.getComputedHeight();return q.freeRecursive(),Uz({width:V,height:U,content:A})}function ez(J){let K={},Y={};for(let{word:Q,locale:X}of J){let Z=Wz(Q,X).join("|");Y[Z]=Y[Z]||"",Y[Z]+=Q}return Object.keys(Y).forEach((Q)=>{K[Q]=K[Q]||[],Q==="emoji"?K[Q].push(...o7(q5(Y[Q],"grapheme"))):(K[Q][0]=K[Q][0]||"",K[Q][0]+=o7(q5(Y[Q],"grapheme",Q==="unknown"?void 0:Q)).join(""))}),K}function o7(J){return Array.from(new Set(J))}export{Ow as init,Iw as default};
|
|
65
|
+
|
|
66
|
+
//# debugId=7202D1536E90378764756E2164756E21
|