@pdfme/ui 3.2.1-dev.3 → 3.2.2-dev.1
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/index.es.js +1 -3
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -94254,7 +94254,7 @@ const convertForPdfLayoutProps = ({ schema: a, pageHeight: s, applyRotateTransla
|
|
94254
94254
|
boxWidthInPt: C
|
94255
94255
|
};
|
94256
94256
|
let H = [];
|
94257
|
-
s.split(/\r\n|\r|\n/g).forEach((L) => {
|
94257
|
+
s.split(/\r\n|\r|\n|\f|\u000B/g).forEach((L) => {
|
94258
94258
|
H = H.concat(getSplittedLines(L, K));
|
94259
94259
|
});
|
94260
94260
|
let U = 0;
|
@@ -94281,9 +94281,7 @@ const convertForPdfLayoutProps = ({ schema: a, pageHeight: s, applyRotateTransla
|
|
94281
94281
|
size: p,
|
94282
94282
|
color: b,
|
94283
94283
|
lineHeight: T * p,
|
94284
|
-
maxWidth: C,
|
94285
94284
|
font: I,
|
94286
|
-
wordBreaks: [""],
|
94287
94285
|
opacity: _
|
94288
94286
|
});
|
94289
94287
|
});
|
package/dist/index.umd.js
CHANGED
@@ -327,7 +327,7 @@ endstream`,s}copyBytesInto(s,u){this.updateDict();const d=u;u+=this.dict.copyByt
|
|
327
327
|
`}return s}getUnencodedContents(){const s=new Uint8Array(this.getUnencodedContentsSize());let u=copyStringIntoBuffer(this.offsetsString,s,0);for(let d=0,f=this.objects.length;d<f;d++){const[,g]=this.objects[d];u+=g.copyBytesInto(s,u),s[u++]=CharCodes$1.Newline}return s}getUnencodedContentsSize(){return this.offsetsString.length+last$1(this.offsets)[1]+last$1(this.objects)[1].sizeInBytes()+1}computeOffsetsString(){let s="";for(let u=0,d=this.offsets.length;u<d;u++){const[f,g]=this.offsets[u];s+=`${f} ${g} `}return s}computeObjectOffsets(){let s=0;const u=new Array(this.objects.length);for(let d=0,f=this.objects.length;d<f;d++){const[g,v]=this.objects[d];u[d]=[g.objectNumber,s],s+=v.sizeInBytes()+1}return u}}PDFObjectStream.withContextAndObjects=(a,s,u=!0)=>new PDFObjectStream(a,s,u);class PDFInvalidObject extends PDFObject{constructor(s){super(),this.data=s}clone(){return PDFInvalidObject.of(this.data.slice())}toString(){return`PDFInvalidObject(${this.data.length} bytes)`}sizeInBytes(){return this.data.length}copyBytesInto(s,u){const d=this.data.length;for(let f=0;f<d;f++)s[u++]=this.data[f];return d}}PDFInvalidObject.of=a=>new PDFInvalidObject(a);var EntryType;(function(a){a[a.Deleted=0]="Deleted",a[a.Uncompressed=1]="Uncompressed",a[a.Compressed=2]="Compressed"})(EntryType||(EntryType={}));class PDFCrossRefStream extends PDFFlateStream{constructor(s,u,d=!0){super(s,d),this.computeIndex=()=>{const f=[];let g=0;for(let v=0,A=this.entries.length;v<A;v++){const x=this.entries[v],m=this.entries[v-1];v===0?f.push(x.ref.objectNumber):x.ref.objectNumber-m.ref.objectNumber>1&&(f.push(g),f.push(x.ref.objectNumber),g=0),g+=1}return f.push(g),f},this.computeEntryTuples=()=>{const f=new Array(this.entries.length);for(let g=0,v=this.entries.length;g<v;g++){const A=this.entries[g];if(A.type===EntryType.Deleted){const{type:x,nextFreeObjectNumber:m,ref:y}=A;f[g]=[x,m,y.generationNumber]}if(A.type===EntryType.Uncompressed){const{type:x,offset:m,ref:y}=A;f[g]=[x,m,y.generationNumber]}if(A.type===EntryType.Compressed){const{type:x,objectStreamRef:m,index:y}=A;f[g]=[x,m.objectNumber,y]}}return f},this.computeMaxEntryByteWidths=()=>{const f=this.entryTuplesCache.access(),g=[0,0,0];for(let v=0,A=f.length;v<A;v++){const[x,m,y]=f[v],E=sizeInBytes(x),p=sizeInBytes(m),b=sizeInBytes(y);E>g[0]&&(g[0]=E),p>g[1]&&(g[1]=p),b>g[2]&&(g[2]=b)}return g},this.entries=u||[],this.entryTuplesCache=Cache.populatedBy(this.computeEntryTuples),this.maxByteWidthsCache=Cache.populatedBy(this.computeMaxEntryByteWidths),this.indexCache=Cache.populatedBy(this.computeIndex),s.set(PDFName.of("Type"),PDFName.of("XRef"))}addDeletedEntry(s,u){const d=EntryType.Deleted;this.entries.push({type:d,ref:s,nextFreeObjectNumber:u}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()}addUncompressedEntry(s,u){const d=EntryType.Uncompressed;this.entries.push({type:d,ref:s,offset:u}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()}addCompressedEntry(s,u,d){const f=EntryType.Compressed;this.entries.push({type:f,ref:s,objectStreamRef:u,index:d}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()}clone(s){const{dict:u,entries:d,encode:f}=this;return PDFCrossRefStream.of(u.clone(s),d.slice(),f)}getContentsString(){const s=this.entryTuplesCache.access(),u=this.maxByteWidthsCache.access();let d="";for(let f=0,g=s.length;f<g;f++){const[v,A,x]=s[f],m=reverseArray(bytesFor(v)),y=reverseArray(bytesFor(A)),E=reverseArray(bytesFor(x));for(let p=u[0]-1;p>=0;p--)d+=(m[p]||0).toString(2);for(let p=u[1]-1;p>=0;p--)d+=(y[p]||0).toString(2);for(let p=u[2]-1;p>=0;p--)d+=(E[p]||0).toString(2)}return d}getUnencodedContents(){const s=this.entryTuplesCache.access(),u=this.maxByteWidthsCache.access(),d=new Uint8Array(this.getUnencodedContentsSize());let f=0;for(let g=0,v=s.length;g<v;g++){const[A,x,m]=s[g],y=reverseArray(bytesFor(A)),E=reverseArray(bytesFor(x)),p=reverseArray(bytesFor(m));for(let b=u[0]-1;b>=0;b--)d[f++]=y[b]||0;for(let b=u[1]-1;b>=0;b--)d[f++]=E[b]||0;for(let b=u[2]-1;b>=0;b--)d[f++]=p[b]||0}return d}getUnencodedContentsSize(){const s=this.maxByteWidthsCache.access();return sum$1(s)*this.entries.length}updateDict(){super.updateDict();const s=this.maxByteWidthsCache.access(),u=this.indexCache.access(),{context:d}=this.dict;this.dict.set(PDFName.of("W"),d.obj(s)),this.dict.set(PDFName.of("Index"),d.obj(u))}}PDFCrossRefStream.create=(a,s=!0)=>{const u=new PDFCrossRefStream(a,[],s);return u.addDeletedEntry(PDFRef.of(0,65535),0),u},PDFCrossRefStream.of=(a,s,u=!0)=>new PDFCrossRefStream(a,s,u);class PDFHexString extends PDFObject{constructor(s){super(),this.value=s}asBytes(){const s=this.value+(this.value.length%2===1?"0":""),u=s.length,d=new Uint8Array(s.length/2);let f=0,g=0;for(;f<u;){const v=parseInt(s.substring(f,f+2),16);d[g]=v,f+=2,g+=1}return d}decodeText(){const s=this.asBytes();return hasUtf16BOM(s)?utf16Decode(s):pdfDocEncodingDecode(s)}decodeDate(){const s=this.decodeText(),u=parseDate(s);if(!u)throw new InvalidPDFDateStringError(s);return u}asString(){return this.value}clone(){return PDFHexString.of(this.value)}toString(){return`<${this.value}>`}sizeInBytes(){return this.value.length+2}copyBytesInto(s,u){return s[u++]=CharCodes$1.LessThan,u+=copyStringIntoBuffer(this.value,s,u),s[u++]=CharCodes$1.GreaterThan,this.value.length+2}}PDFHexString.of=a=>new PDFHexString(a),PDFHexString.fromText=a=>{const s=utf16Encode(a);let u="";for(let d=0,f=s.length;d<f;d++)u+=toHexStringOfMinLength(s[d],4);return new PDFHexString(u)};class PDFString extends PDFObject{constructor(s){super(),this.value=s}asBytes(){const s=[];let u="",d=!1;const f=g=>{g!==void 0&&s.push(g),d=!1};for(let g=0,v=this.value.length;g<v;g++){const A=this.value[g],x=toCharCode(A),m=this.value[g+1];d?x===CharCodes$1.Newline||x===CharCodes$1.CarriageReturn?f():x===CharCodes$1.n?f(CharCodes$1.Newline):x===CharCodes$1.r?f(CharCodes$1.CarriageReturn):x===CharCodes$1.t?f(CharCodes$1.Tab):x===CharCodes$1.b?f(CharCodes$1.Backspace):x===CharCodes$1.f?f(CharCodes$1.FormFeed):x===CharCodes$1.LeftParen?f(CharCodes$1.LeftParen):x===CharCodes$1.RightParen?f(CharCodes$1.RightParen):x===CharCodes$1.Backspace?f(CharCodes$1.BackSlash):x>=CharCodes$1.Zero&&x<=CharCodes$1.Seven?(u+=A,(u.length===3||!(m>="0"&&m<="7"))&&(f(parseInt(u,8)),u="")):f(x):x===CharCodes$1.BackSlash?d=!0:f(x)}return new Uint8Array(s)}decodeText(){const s=this.asBytes();return hasUtf16BOM(s)?utf16Decode(s):pdfDocEncodingDecode(s)}decodeDate(){const s=this.decodeText(),u=parseDate(s);if(!u)throw new InvalidPDFDateStringError(s);return u}asString(){return this.value}clone(){return PDFString.of(this.value)}toString(){return`(${this.value})`}sizeInBytes(){return this.value.length+2}copyBytesInto(s,u){return s[u++]=CharCodes$1.LeftParen,u+=copyStringIntoBuffer(this.value,s,u),s[u++]=CharCodes$1.RightParen,this.value.length+2}}PDFString.of=a=>new PDFString(a),PDFString.fromDate=a=>{const s=padStart$1(String(a.getUTCFullYear()),4,"0"),u=padStart$1(String(a.getUTCMonth()+1),2,"0"),d=padStart$1(String(a.getUTCDate()),2,"0"),f=padStart$1(String(a.getUTCHours()),2,"0"),g=padStart$1(String(a.getUTCMinutes()),2,"0"),v=padStart$1(String(a.getUTCSeconds()),2,"0");return new PDFString(`D:${s}${u}${d}${f}${g}${v}Z`)};var AFRelationship;(function(a){a.Source="Source",a.Data="Data",a.Alternative="Alternative",a.Supplement="Supplement",a.EncryptedPayload="EncryptedPayload",a.FormData="EncryptedPayload",a.Schema="Schema",a.Unspecified="Unspecified"})(AFRelationship||(AFRelationship={}));var ColorSpace;(function(a){a.DeviceGray="DeviceGray",a.DeviceRGB="DeviceRGB",a.DeviceCMYK="DeviceCMYK"})(ColorSpace||(ColorSpace={})),ColorSpace.DeviceGray,ColorSpace.DeviceRGB,ColorSpace.DeviceCMYK;var UPNG={};UPNG.toRGBA8=function(a){var s=a.width,u=a.height;if(a.tabs.acTL==null)return[UPNG.toRGBA8.decodeImage(a.data,s,u,a).buffer];var d=[];a.frames[0].data==null&&(a.frames[0].data=a.data);for(var f=s*u*4,g=new Uint8Array(f),v=new Uint8Array(f),A=new Uint8Array(f),x=0;x<a.frames.length;x++){var m=a.frames[x],y=m.rect.x,E=m.rect.y,p=m.rect.width,b=m.rect.height,S=UPNG.toRGBA8.decodeImage(m.data,p,b,a);if(x!=0)for(var w=0;w<f;w++)A[w]=g[w];if(m.blend==0?UPNG._copyTile(S,p,b,g,s,u,y,E,0):m.blend==1&&UPNG._copyTile(S,p,b,g,s,u,y,E,1),d.push(g.buffer.slice(0)),m.dispose!=0){if(m.dispose==1)UPNG._copyTile(v,p,b,g,s,u,y,E,0);else if(m.dispose==2)for(var w=0;w<f;w++)g[w]=A[w]}}return d},UPNG.toRGBA8.decodeImage=function(a,s,u,d){var f=s*u,g=UPNG.decode._getBPP(d),v=Math.ceil(s*g/8),A=new Uint8Array(f*4),x=new Uint32Array(A.buffer),m=d.ctype,y=d.depth,E=UPNG._bin.readUshort;if(m==6){var p=f<<2;if(y==8)for(var b=0;b<p;b+=4)A[b]=a[b],A[b+1]=a[b+1],A[b+2]=a[b+2],A[b+3]=a[b+3];if(y==16)for(var b=0;b<p;b++)A[b]=a[b<<1]}else if(m==2){var S=d.tabs.tRNS;if(S==null){if(y==8)for(var b=0;b<f;b++){var w=b*3;x[b]=255<<24|a[w+2]<<16|a[w+1]<<8|a[w]}if(y==16)for(var b=0;b<f;b++){var w=b*6;x[b]=255<<24|a[w+4]<<16|a[w+2]<<8|a[w]}}else{var T=S[0],$=S[1],R=S[2];if(y==8)for(var b=0;b<f;b++){var I=b<<2,w=b*3;x[b]=255<<24|a[w+2]<<16|a[w+1]<<8|a[w],a[w]==T&&a[w+1]==$&&a[w+2]==R&&(A[I+3]=0)}if(y==16)for(var b=0;b<f;b++){var I=b<<2,w=b*6;x[b]=255<<24|a[w+4]<<16|a[w+2]<<8|a[w],E(a,w)==T&&E(a,w+2)==$&&E(a,w+4)==R&&(A[I+3]=0)}}}else if(m==3){var O=d.tabs.PLTE,C=d.tabs.tRNS,M=C?C.length:0;if(y==1)for(var D=0;D<u;D++)for(var F=D*v,B=D*s,b=0;b<s;b++){var I=B+b<<2,_=a[F+(b>>3)]>>7-((b&7)<<0)&1,W=3*_;A[I]=O[W],A[I+1]=O[W+1],A[I+2]=O[W+2],A[I+3]=_<M?C[_]:255}if(y==2)for(var D=0;D<u;D++)for(var F=D*v,B=D*s,b=0;b<s;b++){var I=B+b<<2,_=a[F+(b>>2)]>>6-((b&3)<<1)&3,W=3*_;A[I]=O[W],A[I+1]=O[W+1],A[I+2]=O[W+2],A[I+3]=_<M?C[_]:255}if(y==4)for(var D=0;D<u;D++)for(var F=D*v,B=D*s,b=0;b<s;b++){var I=B+b<<2,_=a[F+(b>>1)]>>4-((b&1)<<2)&15,W=3*_;A[I]=O[W],A[I+1]=O[W+1],A[I+2]=O[W+2],A[I+3]=_<M?C[_]:255}if(y==8)for(var b=0;b<f;b++){var I=b<<2,_=a[b],W=3*_;A[I]=O[W],A[I+1]=O[W+1],A[I+2]=O[W+2],A[I+3]=_<M?C[_]:255}}else if(m==4){if(y==8)for(var b=0;b<f;b++){var I=b<<2,te=b<<1,X=a[te];A[I]=X,A[I+1]=X,A[I+2]=X,A[I+3]=a[te+1]}if(y==16)for(var b=0;b<f;b++){var I=b<<2,te=b<<2,X=a[te];A[I]=X,A[I+1]=X,A[I+2]=X,A[I+3]=a[te+2]}}else if(m==0)for(var T=d.tabs.tRNS?d.tabs.tRNS:-1,D=0;D<u;D++){var K=D*v,H=D*s;if(y==1)for(var U=0;U<s;U++){var X=255*(a[K+(U>>>3)]>>>7-(U&7)&1),G=X==T*255?0:255;x[H+U]=G<<24|X<<16|X<<8|X}else if(y==2)for(var U=0;U<s;U++){var X=85*(a[K+(U>>>2)]>>>6-((U&3)<<1)&3),G=X==T*85?0:255;x[H+U]=G<<24|X<<16|X<<8|X}else if(y==4)for(var U=0;U<s;U++){var X=17*(a[K+(U>>>1)]>>>4-((U&1)<<2)&15),G=X==T*17?0:255;x[H+U]=G<<24|X<<16|X<<8|X}else if(y==8)for(var U=0;U<s;U++){var X=a[K+U],G=X==T?0:255;x[H+U]=G<<24|X<<16|X<<8|X}else if(y==16)for(var U=0;U<s;U++){var X=a[K+(U<<1)],G=E(a,K+(U<<b))==T?0:255;x[H+U]=G<<24|X<<16|X<<8|X}}return A},UPNG.decode=function(a){for(var s=new Uint8Array(a),u=8,d=UPNG._bin,f=d.readUshort,g=d.readUint,v={tabs:{},frames:[]},A=new Uint8Array(s.length),x=0,m,y=0,E=[137,80,78,71,13,10,26,10],p=0;p<8;p++)if(s[p]!=E[p])throw"The input is not a PNG file!";for(;u<s.length;){var b=d.readUint(s,u);u+=4;var S=d.readASCII(s,u,4);if(u+=4,S=="IHDR")UPNG.decode._IHDR(s,u,v);else if(S=="IDAT"){for(var p=0;p<b;p++)A[x+p]=s[u+p];x+=b}else if(S=="acTL")v.tabs[S]={num_frames:g(s,u),num_plays:g(s,u+4)},m=new Uint8Array(s.length);else if(S=="fcTL"){if(y!=0){var w=v.frames[v.frames.length-1];w.data=UPNG.decode._decompress(v,m.slice(0,y),w.rect.width,w.rect.height),y=0}var T={x:g(s,u+12),y:g(s,u+16),width:g(s,u+4),height:g(s,u+8)},$=f(s,u+22);$=f(s,u+20)/($==0?100:$);var R={rect:T,delay:Math.round($*1e3),dispose:s[u+24],blend:s[u+25]};v.frames.push(R)}else if(S=="fdAT"){for(var p=0;p<b-4;p++)m[y+p]=s[u+p+4];y+=b-4}else if(S=="pHYs")v.tabs[S]=[d.readUint(s,u),d.readUint(s,u+4),s[u+8]];else if(S=="cHRM"){v.tabs[S]=[];for(var p=0;p<8;p++)v.tabs[S].push(d.readUint(s,u+p*4))}else if(S=="tEXt"){v.tabs[S]==null&&(v.tabs[S]={});var I=d.nextZero(s,u),O=d.readASCII(s,u,I-u),C=d.readASCII(s,I+1,u+b-I-1);v.tabs[S][O]=C}else if(S=="iTXt"){v.tabs[S]==null&&(v.tabs[S]={});var I=0,M=u;I=d.nextZero(s,M);var O=d.readASCII(s,M,I-M);M=I+1,s[M],s[M+1],M+=2,I=d.nextZero(s,M),d.readASCII(s,M,I-M),M=I+1,I=d.nextZero(s,M),d.readUTF8(s,M,I-M),M=I+1;var C=d.readUTF8(s,M,b-(M-u));v.tabs[S][O]=C}else if(S=="PLTE")v.tabs[S]=d.readBytes(s,u,b);else if(S=="hIST"){var D=v.tabs.PLTE.length/3;v.tabs[S]=[];for(var p=0;p<D;p++)v.tabs[S].push(f(s,u+p*2))}else if(S=="tRNS")v.ctype==3?v.tabs[S]=d.readBytes(s,u,b):v.ctype==0?v.tabs[S]=f(s,u):v.ctype==2&&(v.tabs[S]=[f(s,u),f(s,u+2),f(s,u+4)]);else if(S=="gAMA")v.tabs[S]=d.readUint(s,u)/1e5;else if(S=="sRGB")v.tabs[S]=s[u];else if(S=="bKGD")v.ctype==0||v.ctype==4?v.tabs[S]=[f(s,u)]:v.ctype==2||v.ctype==6?v.tabs[S]=[f(s,u),f(s,u+2),f(s,u+4)]:v.ctype==3&&(v.tabs[S]=s[u]);else if(S=="IEND")break;u+=b,d.readUint(s,u),u+=4}if(y!=0){var w=v.frames[v.frames.length-1];w.data=UPNG.decode._decompress(v,m.slice(0,y),w.rect.width,w.rect.height),y=0}return v.data=UPNG.decode._decompress(v,A,v.width,v.height),delete v.compress,delete v.interlace,delete v.filter,v},UPNG.decode._decompress=function(a,s,u,d){var f=UPNG.decode._getBPP(a),g=Math.ceil(u*f/8),v=new Uint8Array((g+1+a.interlace)*d);return s=UPNG.decode._inflate(s,v),a.interlace==0?s=UPNG.decode._filterZero(s,a,0,u,d):a.interlace==1&&(s=UPNG.decode._readInterlace(s,a)),s},UPNG.decode._inflate=function(a,s){var u=UPNG.inflateRaw(new Uint8Array(a.buffer,2,a.length-6),s);return u},UPNG.inflateRaw=function(){var a={};return a.H={},a.H.N=function(s,u){var d=Uint8Array,f=0,g=0,v=0,A=0,x=0,m=0,y=0,E=0,p=0,b,S;if(s[0]==3&&s[1]==0)return u||new d(0);var w=a.H,T=w.b,$=w.e,R=w.R,I=w.n,O=w.A,C=w.Z,M=w.m,D=u==null;for(D&&(u=new d(s.length>>>2<<3));f==0;){if(f=T(s,p,1),g=T(s,p+1,2),p+=3,g==0){p&7&&(p+=8-(p&7));var F=(p>>>3)+4,B=s[F-4]|s[F-3]<<8;D&&(u=a.H.W(u,E+B)),u.set(new d(s.buffer,s.byteOffset+F,B),E),p=F+B<<3,E+=B;continue}if(D&&(u=a.H.W(u,E+(1<<17))),g==1&&(b=M.J,S=M.h,m=511,y=31),g==2){v=$(s,p,5)+257,A=$(s,p+5,5)+1,x=$(s,p+10,4)+4,p+=14;for(var _=1,W=0;W<38;W+=2)M.Q[W]=0,M.Q[W+1]=0;for(var W=0;W<x;W++){var te=$(s,p+W*3,3);M.Q[(M.X[W]<<1)+1]=te,te>_&&(_=te)}p+=3*x,I(M.Q,_),O(M.Q,_,M.u),b=M.w,S=M.d,p=R(M.u,(1<<_)-1,v+A,s,p,M.v);var X=w.V(M.v,0,v,M.C);m=(1<<X)-1;var K=w.V(M.v,v,A,M.D);y=(1<<K)-1,I(M.C,X),O(M.C,X,b),I(M.D,K),O(M.D,K,S)}for(;;){var H=b[C(s,p)&m];p+=H&15;var U=H>>>4;if(!(U>>>8))u[E++]=U;else{if(U==256)break;var G=E+U-254;if(U>264){var L=M.q[U-257];G=E+(L>>>3)+$(s,p,L&7),p+=L&7}var Z=S[C(s,p)&y];p+=Z&15;var ne=Z>>>4,ue=M.c[ne],fe=(ue>>>4)+T(s,p,ue&15);for(p+=ue&15;E<G;)u[E]=u[E++-fe],u[E]=u[E++-fe],u[E]=u[E++-fe],u[E]=u[E++-fe];E=G}}}return u.length==E?u:u.slice(0,E)},a.H.W=function(s,u){var d=s.length;if(u<=d)return s;var f=new Uint8Array(d<<1);return f.set(s,0),f},a.H.R=function(s,u,d,f,g,v){for(var A=a.H.e,x=a.H.Z,m=0;m<d;){var y=s[x(f,g)&u];g+=y&15;var E=y>>>4;if(E<=15)v[m]=E,m++;else{var p=0,b=0;E==16?(b=3+A(f,g,2),g+=2,p=v[m-1]):E==17?(b=3+A(f,g,3),g+=3):E==18&&(b=11+A(f,g,7),g+=7);for(var S=m+b;m<S;)v[m]=p,m++}}return g},a.H.V=function(s,u,d,f){for(var g=0,v=0,A=f.length>>>1;v<d;){var x=s[v+u];f[v<<1]=0,f[(v<<1)+1]=x,x>g&&(g=x),v++}for(;v<A;)f[v<<1]=0,f[(v<<1)+1]=0,v++;return g},a.H.n=function(s,u){for(var d=a.H.m,f=s.length,g,v,A,x,m,y=d.j,x=0;x<=u;x++)y[x]=0;for(x=1;x<f;x+=2)y[s[x]]++;var E=d.K;for(g=0,y[0]=0,v=1;v<=u;v++)g=g+y[v-1]<<1,E[v]=g;for(A=0;A<f;A+=2)m=s[A+1],m!=0&&(s[A]=E[m],E[m]++)},a.H.A=function(s,u,d){for(var f=s.length,g=a.H.m,v=g.r,A=0;A<f;A+=2)if(s[A+1]!=0)for(var x=A>>1,m=s[A+1],y=x<<4|m,E=u-m,p=s[A]<<E,b=p+(1<<E);p!=b;){var S=v[p]>>>15-u;d[S]=y,p++}},a.H.l=function(s,u){for(var d=a.H.m.r,f=15-u,g=0;g<s.length;g+=2){var v=s[g]<<u-s[g+1];s[g]=d[v]>>>f}},a.H.M=function(s,u,d){d=d<<(u&7);var f=u>>>3;s[f]|=d,s[f+1]|=d>>>8},a.H.I=function(s,u,d){d=d<<(u&7);var f=u>>>3;s[f]|=d,s[f+1]|=d>>>8,s[f+2]|=d>>>16},a.H.e=function(s,u,d){return(s[u>>>3]|s[(u>>>3)+1]<<8)>>>(u&7)&(1<<d)-1},a.H.b=function(s,u,d){return(s[u>>>3]|s[(u>>>3)+1]<<8|s[(u>>>3)+2]<<16)>>>(u&7)&(1<<d)-1},a.H.Z=function(s,u){return(s[u>>>3]|s[(u>>>3)+1]<<8|s[(u>>>3)+2]<<16)>>>(u&7)},a.H.i=function(s,u){return(s[u>>>3]|s[(u>>>3)+1]<<8|s[(u>>>3)+2]<<16|s[(u>>>3)+3]<<24)>>>(u&7)},a.H.m=function(){var s=Uint16Array,u=Uint32Array;return{K:new s(16),j:new s(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[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],q:new s(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[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],c:new u(32),J:new s(512),_:[],h:new s(32),$:[],w:new s(32768),C:[],v:[],d:new s(32768),D:[],u:new s(512),Q:[],r:new s(32768),s:new u(286),Y:new u(30),a:new u(19),t:new u(15e3),k:new s(65536),g:new s(32768)}}(),function(){for(var s=a.H.m,u=32768,d=0;d<u;d++){var f=d;f=(f&2863311530)>>>1|(f&1431655765)<<1,f=(f&3435973836)>>>2|(f&858993459)<<2,f=(f&4042322160)>>>4|(f&252645135)<<4,f=(f&4278255360)>>>8|(f&16711935)<<8,s.r[d]=(f>>>16|f<<16)>>>17}function g(v,A,x){for(;A--!=0;)v.push(0,x)}for(var d=0;d<32;d++)s.q[d]=s.S[d]<<3|s.T[d],s.c[d]=s.p[d]<<4|s.z[d];g(s._,144,8),g(s._,112,9),g(s._,24,7),g(s._,8,8),a.H.n(s._,9),a.H.A(s._,9,s.J),a.H.l(s._,9),g(s.$,32,5),a.H.n(s.$,5),a.H.A(s.$,5,s.h),a.H.l(s.$,5),g(s.Q,19,0),g(s.C,286,0),g(s.D,30,0),g(s.v,320,0)}(),a.H.N}(),UPNG.decode._readInterlace=function(a,s){for(var u=s.width,d=s.height,f=UPNG.decode._getBPP(s),g=f>>3,v=Math.ceil(u*f/8),A=new Uint8Array(d*v),x=0,m=[0,0,4,0,2,0,1],y=[0,4,0,2,0,1,0],E=[8,8,8,4,4,2,2],p=[8,8,4,4,2,2,1],b=0;b<7;){for(var S=E[b],w=p[b],T=0,$=0,R=m[b];R<d;)R+=S,$++;for(var I=y[b];I<u;)I+=w,T++;var O=Math.ceil(T*f/8);UPNG.decode._filterZero(a,s,x,T,$);for(var C=0,M=m[b];M<d;){for(var D=y[b],F=x+C*O<<3;D<u;){if(f==1){var B=a[F>>3];B=B>>7-(F&7)&1,A[M*v+(D>>3)]|=B<<7-((D&7)<<0)}if(f==2){var B=a[F>>3];B=B>>6-(F&7)&3,A[M*v+(D>>2)]|=B<<6-((D&3)<<1)}if(f==4){var B=a[F>>3];B=B>>4-(F&7)&15,A[M*v+(D>>1)]|=B<<4-((D&1)<<2)}if(f>=8)for(var _=M*v+D*g,W=0;W<g;W++)A[_+W]=a[(F>>3)+W];F+=f,D+=w}C++,M+=S}T*$!=0&&(x+=$*(1+O)),b=b+1}return A},UPNG.decode._getBPP=function(a){var s=[1,null,3,1,2,null,4][a.ctype];return s*a.depth},UPNG.decode._filterZero=function(a,s,u,d,f){var g=UPNG.decode._getBPP(s),v=Math.ceil(d*g/8),A=UPNG.decode._paeth;g=Math.ceil(g/8);var x=0,m=1,y=a[u],E=0;if(y>1&&(a[u]=[0,0,1][y-2]),y==3)for(E=g;E<v;E++)a[E+1]=a[E+1]+(a[E+1-g]>>>1)&255;for(var p=0;p<f;p++)if(x=u+p*v,m=x+p+1,y=a[m-1],E=0,y==0)for(;E<v;E++)a[x+E]=a[m+E];else if(y==1){for(;E<g;E++)a[x+E]=a[m+E];for(;E<v;E++)a[x+E]=a[m+E]+a[x+E-g]}else if(y==2)for(;E<v;E++)a[x+E]=a[m+E]+a[x+E-v];else if(y==3){for(;E<g;E++)a[x+E]=a[m+E]+(a[x+E-v]>>>1);for(;E<v;E++)a[x+E]=a[m+E]+(a[x+E-v]+a[x+E-g]>>>1)}else{for(;E<g;E++)a[x+E]=a[m+E]+A(0,a[x+E-v],0);for(;E<v;E++)a[x+E]=a[m+E]+A(a[x+E-g],a[x+E-v],a[x+E-g-v])}return a},UPNG.decode._paeth=function(a,s,u){var d=a+s-u,f=d-a,g=d-s,v=d-u;return f*f<=g*g&&f*f<=v*v?a:g*g<=v*v?s:u},UPNG.decode._IHDR=function(a,s,u){var d=UPNG._bin;u.width=d.readUint(a,s),s+=4,u.height=d.readUint(a,s),s+=4,u.depth=a[s],s++,u.ctype=a[s],s++,u.compress=a[s],s++,u.filter=a[s],s++,u.interlace=a[s],s++},UPNG._bin={nextZero:function(a,s){for(;a[s]!=0;)s++;return s},readUshort:function(a,s){return a[s]<<8|a[s+1]},writeUshort:function(a,s,u){a[s]=u>>8&255,a[s+1]=u&255},readUint:function(a,s){return a[s]*(256*256*256)+(a[s+1]<<16|a[s+2]<<8|a[s+3])},writeUint:function(a,s,u){a[s]=u>>24&255,a[s+1]=u>>16&255,a[s+2]=u>>8&255,a[s+3]=u&255},readASCII:function(a,s,u){for(var d="",f=0;f<u;f++)d+=String.fromCharCode(a[s+f]);return d},writeASCII:function(a,s,u){for(var d=0;d<u.length;d++)a[s+d]=u.charCodeAt(d)},readBytes:function(a,s,u){for(var d=[],f=0;f<u;f++)d.push(a[s+f]);return d},pad:function(a){return a.length<2?"0"+a:a},readUTF8:function(a,s,u){for(var d="",f,g=0;g<u;g++)d+="%"+UPNG._bin.pad(a[s+g].toString(16));try{f=decodeURIComponent(d)}catch{return UPNG._bin.readASCII(a,s,u)}return f}},UPNG._copyTile=function(a,s,u,d,f,g,v,A,x){for(var m=Math.min(s,f),y=Math.min(u,g),E=0,p=0,b=0;b<y;b++)for(var S=0;S<m;S++)if(v>=0&&A>=0?(E=b*s+S<<2,p=(A+b)*f+v+S<<2):(E=(-A+b)*s-v+S<<2,p=b*f+S<<2),x==0)d[p]=a[E],d[p+1]=a[E+1],d[p+2]=a[E+2],d[p+3]=a[E+3];else if(x==1){var w=a[E+3]*.00392156862745098,T=a[E]*w,$=a[E+1]*w,R=a[E+2]*w,I=d[p+3]*(1/255),O=d[p]*I,C=d[p+1]*I,M=d[p+2]*I,D=1-w,F=w+I*D,B=F==0?0:1/F;d[p+3]=255*F,d[p+0]=(T+O*D)*B,d[p+1]=($+C*D)*B,d[p+2]=(R+M*D)*B}else if(x==2){var w=a[E+3],T=a[E],$=a[E+1],R=a[E+2],I=d[p+3],O=d[p],C=d[p+1],M=d[p+2];w==I&&T==O&&$==C&&R==M?(d[p]=0,d[p+1]=0,d[p+2]=0,d[p+3]=0):(d[p]=T,d[p+1]=$,d[p+2]=R,d[p+3]=w)}else if(x==3){var w=a[E+3],T=a[E],$=a[E+1],R=a[E+2],I=d[p+3],O=d[p],C=d[p+1],M=d[p+2];if(w==I&&T==O&&$==C&&R==M)continue;if(w<220&&I>20)return!1}return!0},UPNG.encode=function(a,s,u,d,f,g,v){d==null&&(d=0),v==null&&(v=!1);var A=UPNG.encode.compress(a,s,u,d,[!1,!1,!1,0,v]);return UPNG.encode.compressPNG(A,-1),UPNG.encode._main(A,s,u,f,g)},UPNG.encodeLL=function(a,s,u,d,f,g,v,A){for(var x={ctype:0+(d==1?0:2)+(f==0?0:4),depth:g,frames:[]},m=(d+f)*g,y=m*s,E=0;E<a.length;E++)x.frames.push({rect:{x:0,y:0,width:s,height:u},img:new Uint8Array(a[E]),blend:0,dispose:1,bpp:Math.ceil(m/8),bpl:Math.ceil(y/8)});UPNG.encode.compressPNG(x,0,!0);var p=UPNG.encode._main(x,s,u,v,A);return p},UPNG.encode._main=function(a,s,u,d,f){f==null&&(f={});var g=UPNG.crc.crc,v=UPNG._bin.writeUint,A=UPNG._bin.writeUshort,x=UPNG._bin.writeASCII,m=8,y=a.frames.length>1,E=!1,p=33+(y?20:0);if(f.sRGB!=null&&(p+=13),f.pHYs!=null&&(p+=21),a.ctype==3){for(var b=a.plte.length,S=0;S<b;S++)a.plte[S]>>>24!=255&&(E=!0);p+=8+b*3+4+(E?8+b*1+4:0)}for(var w=0;w<a.frames.length;w++){var T=a.frames[w];y&&(p+=38),p+=T.cimg.length+12,w!=0&&(p+=4)}p+=12;for(var $=new Uint8Array(p),R=[137,80,78,71,13,10,26,10],S=0;S<8;S++)$[S]=R[S];if(v($,m,13),m+=4,x($,m,"IHDR"),m+=4,v($,m,s),m+=4,v($,m,u),m+=4,$[m]=a.depth,m++,$[m]=a.ctype,m++,$[m]=0,m++,$[m]=0,m++,$[m]=0,m++,v($,m,g($,m-17,17)),m+=4,f.sRGB!=null&&(v($,m,1),m+=4,x($,m,"sRGB"),m+=4,$[m]=f.sRGB,m++,v($,m,g($,m-5,5)),m+=4),f.pHYs!=null&&(v($,m,9),m+=4,x($,m,"pHYs"),m+=4,v($,m,f.pHYs[0]),m+=4,v($,m,f.pHYs[1]),m+=4,$[m]=f.pHYs[2],m++,v($,m,g($,m-13,13)),m+=4),y&&(v($,m,8),m+=4,x($,m,"acTL"),m+=4,v($,m,a.frames.length),m+=4,v($,m,f.loop!=null?f.loop:0),m+=4,v($,m,g($,m-12,12)),m+=4),a.ctype==3){var b=a.plte.length;v($,m,b*3),m+=4,x($,m,"PLTE"),m+=4;for(var S=0;S<b;S++){var I=S*3,O=a.plte[S],C=O&255,M=O>>>8&255,D=O>>>16&255;$[m+I+0]=C,$[m+I+1]=M,$[m+I+2]=D}if(m+=b*3,v($,m,g($,m-b*3-4,b*3+4)),m+=4,E){v($,m,b),m+=4,x($,m,"tRNS"),m+=4;for(var S=0;S<b;S++)$[m+S]=a.plte[S]>>>24&255;m+=b,v($,m,g($,m-b-4,b+4)),m+=4}}for(var F=0,w=0;w<a.frames.length;w++){var T=a.frames[w];y&&(v($,m,26),m+=4,x($,m,"fcTL"),m+=4,v($,m,F++),m+=4,v($,m,T.rect.width),m+=4,v($,m,T.rect.height),m+=4,v($,m,T.rect.x),m+=4,v($,m,T.rect.y),m+=4,A($,m,d[w]),m+=2,A($,m,1e3),m+=2,$[m]=T.dispose,m++,$[m]=T.blend,m++,v($,m,g($,m-30,30)),m+=4);var B=T.cimg,b=B.length;v($,m,b+(w==0?0:4)),m+=4;var _=m;x($,m,w==0?"IDAT":"fdAT"),m+=4,w!=0&&(v($,m,F++),m+=4),$.set(B,m),m+=b,v($,m,g($,_,m-_)),m+=4}return v($,m,0),m+=4,x($,m,"IEND"),m+=4,v($,m,g($,m-4,4)),m+=4,$.buffer},UPNG.encode.compressPNG=function(a,s,u){for(var d=0;d<a.frames.length;d++){var f=a.frames[d];f.rect.width;var g=f.rect.height,v=new Uint8Array(g*f.bpl+g);f.cimg=UPNG.encode._filterZero(f.img,g,f.bpp,f.bpl,v,s,u)}},UPNG.encode.compress=function(a,s,u,d,f){for(var g=f[0],v=f[1],A=f[2],x=f[3],m=f[4],y=6,E=8,p=255,b=0;b<a.length;b++)for(var S=new Uint8Array(a[b]),w=S.length,T=0;T<w;T+=4)p&=S[T+3];var $=p!=255,R=UPNG.encode.framize(a,s,u,g,v,A),I={},O=[],C=[];if(d!=0){for(var M=[],T=0;T<R.length;T++)M.push(R[T].img.buffer);for(var D=UPNG.encode.concatRGBA(M),F=UPNG.quantize(D,d),B=0,_=new Uint8Array(F.abuf),T=0;T<R.length;T++){var W=R[T].img,te=W.length;C.push(new Uint8Array(F.inds.buffer,B>>2,te>>2));for(var b=0;b<te;b+=4)W[b]=_[B+b],W[b+1]=_[B+b+1],W[b+2]=_[B+b+2],W[b+3]=_[B+b+3];B+=te}for(var T=0;T<F.plte.length;T++)O.push(F.plte[T].est.rgba)}else for(var b=0;b<R.length;b++){var X=R[b],K=new Uint32Array(X.img.buffer),H=X.rect.width,w=K.length,U=new Uint8Array(w);C.push(U);for(var T=0;T<w;T++){var G=K[T];if(T!=0&&G==K[T-1])U[T]=U[T-1];else if(T>H&&G==K[T-H])U[T]=U[T-H];else{var L=I[G];if(L==null&&(I[G]=L=O.length,O.push(G),O.length>=300))break;U[T]=L}}}var Z=O.length;Z<=256&&m==!1&&(Z<=2?E=1:Z<=4?E=2:Z<=16?E=4:E=8,E=Math.max(E,x));for(var b=0;b<R.length;b++){var X=R[b];X.rect.x,X.rect.y;var H=X.rect.width,ne=X.rect.height,ue=X.img;new Uint32Array(ue.buffer);var fe=4*H,ie=4;if(Z<=256&&m==!1){fe=Math.ceil(E*H/8);for(var se=new Uint8Array(fe*ne),ae=C[b],J=0;J<ne;J++){var T=J*fe,oe=J*H;if(E==8)for(var V=0;V<H;V++)se[T+V]=ae[oe+V];else if(E==4)for(var V=0;V<H;V++)se[T+(V>>1)]|=ae[oe+V]<<4-(V&1)*4;else if(E==2)for(var V=0;V<H;V++)se[T+(V>>2)]|=ae[oe+V]<<6-(V&3)*2;else if(E==1)for(var V=0;V<H;V++)se[T+(V>>3)]|=ae[oe+V]<<7-(V&7)*1}ue=se,y=3,ie=1}else if($==!1&&R.length==1){for(var se=new Uint8Array(H*ne*3),Y=H*ne,T=0;T<Y;T++){var W=T*3,ee=T*4;se[W]=ue[ee],se[W+1]=ue[ee+1],se[W+2]=ue[ee+2]}ue=se,y=2,ie=3,fe=3*H}X.img=ue,X.bpl=fe,X.bpp=ie}return{ctype:y,depth:E,plte:O,frames:R}},UPNG.encode.framize=function(a,s,u,d,f,g){for(var v=[],A=0;A<a.length;A++){var x=new Uint8Array(a[A]),m=new Uint32Array(x.buffer),y,E=0,p=0,b=s,S=u,w=d?1:0;if(A!=0){for(var T=g||d||A==1||v[A-2].dispose!=0?1:2,$=0,R=1e9,I=0;I<T;I++){for(var X=new Uint8Array(a[A-1-I]),O=new Uint32Array(a[A-1-I]),C=s,M=u,D=-1,F=-1,B=0;B<u;B++)for(var _=0;_<s;_++){var W=B*s+_;m[W]!=O[W]&&(_<C&&(C=_),_>D&&(D=_),B<M&&(M=B),B>F&&(F=B))}D==-1&&(C=M=D=F=0),f&&((C&1)==1&&C--,(M&1)==1&&M--);var te=(D-C+1)*(F-M+1);te<R&&(R=te,$=I,E=C,p=M,b=D-C+1,S=F-M+1)}var X=new Uint8Array(a[A-1-$]);$==1&&(v[A-1].dispose=2),y=new Uint8Array(b*S*4),UPNG._copyTile(X,s,u,y,b,S,-E,-p,0),w=UPNG._copyTile(x,s,u,y,b,S,-E,-p,3)?1:0,w==1?UPNG.encode._prepareDiff(x,s,u,y,{x:E,y:p,width:b,height:S}):UPNG._copyTile(x,s,u,y,b,S,-E,-p,0)}else y=x.slice(0);v.push({rect:{x:E,y:p,width:b,height:S},img:y,blend:w,dispose:0})}if(d)for(var A=0;A<v.length;A++){var K=v[A];if(K.blend!=1){var H=K.rect,U=v[A-1].rect,G=Math.min(H.x,U.x),L=Math.min(H.y,U.y),Z=Math.max(H.x+H.width,U.x+U.width),ne=Math.max(H.y+H.height,U.y+U.height),ue={x:G,y:L,width:Z-G,height:ne-L};v[A-1].dispose=1,A-1!=0&&UPNG.encode._updateFrame(a,s,u,v,A-1,ue,f),UPNG.encode._updateFrame(a,s,u,v,A,ue,f)}}var fe=0;if(a.length!=1)for(var W=0;W<v.length;W++){var K=v[W];fe+=K.rect.width*K.rect.height}return v},UPNG.encode._updateFrame=function(a,s,u,d,f,g,v){for(var A=Uint8Array,x=Uint32Array,m=new A(a[f-1]),y=new x(a[f-1]),E=f+1<a.length?new A(a[f+1]):null,p=new A(a[f]),b=new x(p.buffer),S=s,w=u,T=-1,$=-1,R=0;R<g.height;R++)for(var I=0;I<g.width;I++){var O=g.x+I,C=g.y+R,M=C*s+O,D=b[M];D==0||d[f-1].dispose==0&&y[M]==D&&(E==null||E[M*4+3]!=0)||(O<S&&(S=O),O>T&&(T=O),C<w&&(w=C),C>$&&($=C))}T==-1&&(S=w=T=$=0),v&&((S&1)==1&&S--,(w&1)==1&&w--),g={x:S,y:w,width:T-S+1,height:$-w+1};var F=d[f];F.rect=g,F.blend=1,F.img=new Uint8Array(g.width*g.height*4),d[f-1].dispose==0?(UPNG._copyTile(m,s,u,F.img,g.width,g.height,-g.x,-g.y,0),UPNG.encode._prepareDiff(p,s,u,F.img,g)):UPNG._copyTile(p,s,u,F.img,g.width,g.height,-g.x,-g.y,0)},UPNG.encode._prepareDiff=function(a,s,u,d,f){UPNG._copyTile(a,s,u,d,f.width,f.height,-f.x,-f.y,2)},UPNG.encode._filterZero=function(a,s,u,d,f,g,v){var A=[],x=[0,1,2,3,4];g!=-1?x=[g]:(s*d>5e5||u==1)&&(x=[0]);var m;v&&(m={level:0});for(var y=v&&UZIP!=null?UZIP:pako$1,E=0;E<x.length;E++){for(var p=0;p<s;p++)UPNG.encode._filterLine(f,a,p,d,u,x[E]);A.push(y.deflate(f,m))}for(var b,S=1e9,E=0;E<A.length;E++)A[E].length<S&&(b=E,S=A[E].length);return A[b]},UPNG.encode._filterLine=function(a,s,u,d,f,g){var v=u*d,A=v+u,x=UPNG.decode._paeth;if(a[A]=g,A++,g==0)if(d<500)for(var m=0;m<d;m++)a[A+m]=s[v+m];else a.set(new Uint8Array(s.buffer,v,d),A);else if(g==1){for(var m=0;m<f;m++)a[A+m]=s[v+m];for(var m=f;m<d;m++)a[A+m]=s[v+m]-s[v+m-f]+256&255}else if(u==0){for(var m=0;m<f;m++)a[A+m]=s[v+m];if(g==2)for(var m=f;m<d;m++)a[A+m]=s[v+m];if(g==3)for(var m=f;m<d;m++)a[A+m]=s[v+m]-(s[v+m-f]>>1)+256&255;if(g==4)for(var m=f;m<d;m++)a[A+m]=s[v+m]-x(s[v+m-f],0,0)+256&255}else{if(g==2)for(var m=0;m<d;m++)a[A+m]=s[v+m]+256-s[v+m-d]&255;if(g==3){for(var m=0;m<f;m++)a[A+m]=s[v+m]+256-(s[v+m-d]>>1)&255;for(var m=f;m<d;m++)a[A+m]=s[v+m]+256-(s[v+m-d]+s[v+m-f]>>1)&255}if(g==4){for(var m=0;m<f;m++)a[A+m]=s[v+m]+256-x(0,s[v+m-d],0)&255;for(var m=f;m<d;m++)a[A+m]=s[v+m]+256-x(s[v+m-f],s[v+m-d],s[v+m-f-d])&255}}},UPNG.crc={table:function(){for(var a=new Uint32Array(256),s=0;s<256;s++){for(var u=s,d=0;d<8;d++)u&1?u=3988292384^u>>>1:u=u>>>1;a[s]=u}return a}(),update:function(a,s,u,d){for(var f=0;f<d;f++)a=UPNG.crc.table[(a^s[u+f])&255]^a>>>8;return a},crc:function(a,s,u){return UPNG.crc.update(4294967295,a,s,u)^4294967295}},UPNG.quantize=function(a,s){var u=new Uint8Array(a),d=u.slice(0),f=new Uint32Array(d.buffer),g=UPNG.quantize.getKDtree(d,s),v=g[0],A=g[1];UPNG.quantize.planeDst;for(var x=u,m=f,y=x.length,E=new Uint8Array(u.length>>2),p=0;p<y;p+=4){var b=x[p]*.00392156862745098,S=x[p+1]*(1/255),w=x[p+2]*(1/255),T=x[p+3]*(1/255),$=UPNG.quantize.getNearest(v,b,S,w,T);E[p>>2]=$.ind,m[p>>2]=$.est.rgba}return{abuf:d.buffer,inds:E,plte:A}},UPNG.quantize.getKDtree=function(a,s,u){u==null&&(u=1e-4);var d=new Uint32Array(a.buffer),f={i0:0,i1:a.length,bst:null,est:null,tdst:0,left:null,right:null};f.bst=UPNG.quantize.stats(a,f.i0,f.i1),f.est=UPNG.quantize.estats(f.bst);for(var g=[f];g.length<s;){for(var v=0,A=0,x=0;x<g.length;x++)g[x].est.L>v&&(v=g[x].est.L,A=x);if(v<u)break;var m=g[A],y=UPNG.quantize.splitPixels(a,d,m.i0,m.i1,m.est.e,m.est.eMq255),E=m.i0>=y||m.i1<=y;if(E){m.est.L=0;continue}var p={i0:m.i0,i1:y,bst:null,est:null,tdst:0,left:null,right:null};p.bst=UPNG.quantize.stats(a,p.i0,p.i1),p.est=UPNG.quantize.estats(p.bst);var b={i0:y,i1:m.i1,bst:null,est:null,tdst:0,left:null,right:null};b.bst={R:[],m:[],N:m.bst.N-p.bst.N};for(var x=0;x<16;x++)b.bst.R[x]=m.bst.R[x]-p.bst.R[x];for(var x=0;x<4;x++)b.bst.m[x]=m.bst.m[x]-p.bst.m[x];b.est=UPNG.quantize.estats(b.bst),m.left=p,m.right=b,g[A]=p,g.push(b)}g.sort(function(S,w){return w.bst.N-S.bst.N});for(var x=0;x<g.length;x++)g[x].ind=x;return[f,g]},UPNG.quantize.getNearest=function(a,s,u,d,f){if(a.left==null)return a.tdst=UPNG.quantize.dist(a.est.q,s,u,d,f),a;var g=UPNG.quantize.planeDst(a.est,s,u,d,f),v=a.left,A=a.right;g>0&&(v=a.right,A=a.left);var x=UPNG.quantize.getNearest(v,s,u,d,f);if(x.tdst<=g*g)return x;var m=UPNG.quantize.getNearest(A,s,u,d,f);return m.tdst<x.tdst?m:x},UPNG.quantize.planeDst=function(a,s,u,d,f){var g=a.e;return g[0]*s+g[1]*u+g[2]*d+g[3]*f-a.eMq},UPNG.quantize.dist=function(a,s,u,d,f){var g=s-a[0],v=u-a[1],A=d-a[2],x=f-a[3];return g*g+v*v+A*A+x*x},UPNG.quantize.splitPixels=function(a,s,u,d,f,g){var v=UPNG.quantize.vecDot;for(d-=4;u<d;){for(;v(a,u,f)<=g;)u+=4;for(;v(a,d,f)>g;)d-=4;if(u>=d)break;var A=s[u>>2];s[u>>2]=s[d>>2],s[d>>2]=A,u+=4,d-=4}for(;v(a,u,f)>g;)u-=4;return u+4},UPNG.quantize.vecDot=function(a,s,u){return a[s]*u[0]+a[s+1]*u[1]+a[s+2]*u[2]+a[s+3]*u[3]},UPNG.quantize.stats=function(a,s,u){for(var d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],f=[0,0,0,0],g=u-s>>2,v=s;v<u;v+=4){var A=a[v]*.00392156862745098,x=a[v+1]*(1/255),m=a[v+2]*(1/255),y=a[v+3]*(1/255);f[0]+=A,f[1]+=x,f[2]+=m,f[3]+=y,d[0]+=A*A,d[1]+=A*x,d[2]+=A*m,d[3]+=A*y,d[5]+=x*x,d[6]+=x*m,d[7]+=x*y,d[10]+=m*m,d[11]+=m*y,d[15]+=y*y}return d[4]=d[1],d[8]=d[2],d[9]=d[6],d[12]=d[3],d[13]=d[7],d[14]=d[11],{R:d,m:f,N:g}},UPNG.quantize.estats=function(a){var s=a.R,u=a.m,d=a.N,f=u[0],g=u[1],v=u[2],A=u[3],x=d==0?0:1/d,m=[s[0]-f*f*x,s[1]-f*g*x,s[2]-f*v*x,s[3]-f*A*x,s[4]-g*f*x,s[5]-g*g*x,s[6]-g*v*x,s[7]-g*A*x,s[8]-v*f*x,s[9]-v*g*x,s[10]-v*v*x,s[11]-v*A*x,s[12]-A*f*x,s[13]-A*g*x,s[14]-A*v*x,s[15]-A*A*x],y=m,E=UPNG.M4,p=[.5,.5,.5,.5],b=0,S=0;if(d!=0)for(var w=0;w<10&&(p=E.multVec(y,p),S=Math.sqrt(E.dot(p,p)),p=E.sml(1/S,p),!(Math.abs(S-b)<1e-9));w++)b=S;var T=[f*x,g*x,v*x,A*x],$=E.dot(E.sml(255,T),p);return{Cov:m,q:T,e:p,L:b,eMq255:$,eMq:E.dot(p,T),rgba:(Math.round(255*T[3])<<24|Math.round(255*T[2])<<16|Math.round(255*T[1])<<8|Math.round(255*T[0])<<0)>>>0}},UPNG.M4={multVec:function(a,s){return[a[0]*s[0]+a[1]*s[1]+a[2]*s[2]+a[3]*s[3],a[4]*s[0]+a[5]*s[1]+a[6]*s[2]+a[7]*s[3],a[8]*s[0]+a[9]*s[1]+a[10]*s[2]+a[11]*s[3],a[12]*s[0]+a[13]*s[1]+a[14]*s[2]+a[15]*s[3]]},dot:function(a,s){return a[0]*s[0]+a[1]*s[1]+a[2]*s[2]+a[3]*s[3]},sml:function(a,s){return[a*s[0],a*s[1],a*s[2],a*s[3]]}},UPNG.encode.concatRGBA=function(a){for(var s=0,u=0;u<a.length;u++)s+=a[u].byteLength;for(var d=new Uint8Array(s),f=0,u=0;u<a.length;u++){for(var g=new Uint8Array(a[u]),v=g.length,A=0;A<v;A+=4){var x=g[A],m=g[A+1],y=g[A+2],E=g[A+3];E==0&&(x=m=y=0),d[f+A]=x,d[f+A+1]=m,d[f+A+2]=y,d[f+A+3]=E}f+=v}return d.buffer};var PngType;(function(a){a.Greyscale="Greyscale",a.Truecolour="Truecolour",a.IndexedColour="IndexedColour",a.GreyscaleWithAlpha="GreyscaleWithAlpha",a.TruecolourWithAlpha="TruecolourWithAlpha"})(PngType||(PngType={}));const asEnum=(a,s)=>{if(a!==void 0)return s[a]};var NonFullScreenPageMode;(function(a){a.UseNone="UseNone",a.UseOutlines="UseOutlines",a.UseThumbs="UseThumbs",a.UseOC="UseOC"})(NonFullScreenPageMode||(NonFullScreenPageMode={}));var ReadingDirection;(function(a){a.L2R="L2R",a.R2L="R2L"})(ReadingDirection||(ReadingDirection={}));var PrintScaling;(function(a){a.None="None",a.AppDefault="AppDefault"})(PrintScaling||(PrintScaling={}));var Duplex;(function(a){a.Simplex="Simplex",a.DuplexFlipShortEdge="DuplexFlipShortEdge",a.DuplexFlipLongEdge="DuplexFlipLongEdge"})(Duplex||(Duplex={}));class ViewerPreferences{constructor(s){this.dict=s}lookupBool(s){const u=this.dict.lookup(PDFName.of(s));if(u instanceof PDFBool)return u}lookupName(s){const u=this.dict.lookup(PDFName.of(s));if(u instanceof PDFName)return u}HideToolbar(){return this.lookupBool("HideToolbar")}HideMenubar(){return this.lookupBool("HideMenubar")}HideWindowUI(){return this.lookupBool("HideWindowUI")}FitWindow(){return this.lookupBool("FitWindow")}CenterWindow(){return this.lookupBool("CenterWindow")}DisplayDocTitle(){return this.lookupBool("DisplayDocTitle")}NonFullScreenPageMode(){return this.lookupName("NonFullScreenPageMode")}Direction(){return this.lookupName("Direction")}PrintScaling(){return this.lookupName("PrintScaling")}Duplex(){return this.lookupName("Duplex")}PickTrayByPDFSize(){return this.lookupBool("PickTrayByPDFSize")}PrintPageRange(){const s=this.dict.lookup(PDFName.of("PrintPageRange"));if(s instanceof PDFArray)return s}NumCopies(){const s=this.dict.lookup(PDFName.of("NumCopies"));if(s instanceof PDFNumber)return s}getHideToolbar(){var s,u;return(u=(s=this.HideToolbar())===null||s===void 0?void 0:s.asBoolean())!==null&&u!==void 0?u:!1}getHideMenubar(){var s,u;return(u=(s=this.HideMenubar())===null||s===void 0?void 0:s.asBoolean())!==null&&u!==void 0?u:!1}getHideWindowUI(){var s,u;return(u=(s=this.HideWindowUI())===null||s===void 0?void 0:s.asBoolean())!==null&&u!==void 0?u:!1}getFitWindow(){var s,u;return(u=(s=this.FitWindow())===null||s===void 0?void 0:s.asBoolean())!==null&&u!==void 0?u:!1}getCenterWindow(){var s,u;return(u=(s=this.CenterWindow())===null||s===void 0?void 0:s.asBoolean())!==null&&u!==void 0?u:!1}getDisplayDocTitle(){var s,u;return(u=(s=this.DisplayDocTitle())===null||s===void 0?void 0:s.asBoolean())!==null&&u!==void 0?u:!1}getNonFullScreenPageMode(){var s,u;const d=(s=this.NonFullScreenPageMode())===null||s===void 0?void 0:s.decodeText();return(u=asEnum(d,NonFullScreenPageMode))!==null&&u!==void 0?u:NonFullScreenPageMode.UseNone}getReadingDirection(){var s,u;const d=(s=this.Direction())===null||s===void 0?void 0:s.decodeText();return(u=asEnum(d,ReadingDirection))!==null&&u!==void 0?u:ReadingDirection.L2R}getPrintScaling(){var s,u;const d=(s=this.PrintScaling())===null||s===void 0?void 0:s.decodeText();return(u=asEnum(d,PrintScaling))!==null&&u!==void 0?u:PrintScaling.AppDefault}getDuplex(){var s;const u=(s=this.Duplex())===null||s===void 0?void 0:s.decodeText();return asEnum(u,Duplex)}getPickTrayByPDFSize(){var s;return(s=this.PickTrayByPDFSize())===null||s===void 0?void 0:s.asBoolean()}getPrintPageRange(){const s=this.PrintPageRange();if(!s)return[];const u=[];for(let d=0;d<s.size();d+=2){const f=s.lookup(d,PDFNumber).asNumber(),g=s.lookup(d+1,PDFNumber).asNumber();u.push({start:f,end:g})}return u}getNumCopies(){var s,u;return(u=(s=this.NumCopies())===null||s===void 0?void 0:s.asNumber())!==null&&u!==void 0?u:1}setHideToolbar(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("HideToolbar"),u)}setHideMenubar(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("HideMenubar"),u)}setHideWindowUI(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("HideWindowUI"),u)}setFitWindow(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("FitWindow"),u)}setCenterWindow(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("CenterWindow"),u)}setDisplayDocTitle(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("DisplayDocTitle"),u)}setNonFullScreenPageMode(s){assertIsOneOf(s,"nonFullScreenPageMode",NonFullScreenPageMode);const u=PDFName.of(s);this.dict.set(PDFName.of("NonFullScreenPageMode"),u)}setReadingDirection(s){assertIsOneOf(s,"readingDirection",ReadingDirection);const u=PDFName.of(s);this.dict.set(PDFName.of("Direction"),u)}setPrintScaling(s){assertIsOneOf(s,"printScaling",PrintScaling);const u=PDFName.of(s);this.dict.set(PDFName.of("PrintScaling"),u)}setDuplex(s){assertIsOneOf(s,"duplex",Duplex);const u=PDFName.of(s);this.dict.set(PDFName.of("Duplex"),u)}setPickTrayByPDFSize(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("PickTrayByPDFSize"),u)}setPrintPageRange(s){Array.isArray(s)||(s=[s]);const u=[];for(let f=0,g=s.length;f<g;f++)u.push(s[f].start),u.push(s[f].end);assertEachIs(u,"printPageRange",["number"]);const d=this.dict.context.obj(u);this.dict.set(PDFName.of("PrintPageRange"),d)}setNumCopies(s){assertRange(s,"numCopies",1,Number.MAX_VALUE),assertInteger(s,"numCopies");const u=this.dict.context.obj(s);this.dict.set(PDFName.of("NumCopies"),u)}}ViewerPreferences.fromDict=a=>new ViewerPreferences(a),ViewerPreferences.create=a=>{const s=a.obj({});return new ViewerPreferences(s)};const tfRegex=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/;class PDFAcroField{constructor(s,u){this.dict=s,this.ref=u}T(){return this.dict.lookupMaybe(PDFName.of("T"),PDFString,PDFHexString)}Ff(){const s=this.getInheritableAttribute(PDFName.of("Ff"));return this.dict.context.lookupMaybe(s,PDFNumber)}V(){const s=this.getInheritableAttribute(PDFName.of("V"));return this.dict.context.lookup(s)}Kids(){return this.dict.lookupMaybe(PDFName.of("Kids"),PDFArray)}DA(){const s=this.dict.lookup(PDFName.of("DA"));if(s instanceof PDFString||s instanceof PDFHexString)return s}setKids(s){this.dict.set(PDFName.of("Kids"),this.dict.context.obj(s))}getParent(){const s=this.dict.get(PDFName.of("Parent"));if(s instanceof PDFRef){const u=this.dict.lookup(PDFName.of("Parent"),PDFDict);return new PDFAcroField(u,s)}}setParent(s){s?this.dict.set(PDFName.of("Parent"),s):this.dict.delete(PDFName.of("Parent"))}getFullyQualifiedName(){const s=this.getParent();return s?`${s.getFullyQualifiedName()}.${this.getPartialName()}`:this.getPartialName()}getPartialName(){var s;return(s=this.T())===null||s===void 0?void 0:s.decodeText()}setPartialName(s){s?this.dict.set(PDFName.of("T"),PDFHexString.fromText(s)):this.dict.delete(PDFName.of("T"))}setDefaultAppearance(s){this.dict.set(PDFName.of("DA"),PDFString.of(s))}getDefaultAppearance(){const s=this.DA();return s instanceof PDFHexString?s.decodeText():s==null?void 0:s.asString()}setFontSize(s){var u;const d=(u=this.getFullyQualifiedName())!==null&&u!==void 0?u:"",f=this.getDefaultAppearance();if(!f)throw new MissingDAEntryError(d);const g=findLastMatch(f,tfRegex);if(!g.match)throw new MissingTfOperatorError(d);const v=f.slice(0,g.pos-g.match[0].length),A=g.pos<=f.length?f.slice(g.pos):"",x=g.match[1],m=`${v} /${x} ${s} Tf ${A}`;this.setDefaultAppearance(m)}getFlags(){var s,u;return(u=(s=this.Ff())===null||s===void 0?void 0:s.asNumber())!==null&&u!==void 0?u:0}setFlags(s){this.dict.set(PDFName.of("Ff"),PDFNumber.of(s))}hasFlag(s){return(this.getFlags()&s)!==0}setFlag(s){const u=this.getFlags();this.setFlags(u|s)}clearFlag(s){const u=this.getFlags();this.setFlags(u&~s)}setFlagTo(s,u){u?this.setFlag(s):this.clearFlag(s)}getInheritableAttribute(s){let u;return this.ascend(d=>{u||(u=d.dict.get(s))}),u}ascend(s){s(this);const u=this.getParent();u&&u.ascend(s)}}class BorderStyle{constructor(s){this.dict=s}W(){const s=this.dict.lookup(PDFName.of("W"));if(s instanceof PDFNumber)return s}getWidth(){var s,u;return(u=(s=this.W())===null||s===void 0?void 0:s.asNumber())!==null&&u!==void 0?u:1}setWidth(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("W"),u)}}BorderStyle.fromDict=a=>new BorderStyle(a);class PDFAnnotation{constructor(s){this.dict=s}Rect(){return this.dict.lookup(PDFName.of("Rect"),PDFArray)}AP(){return this.dict.lookupMaybe(PDFName.of("AP"),PDFDict)}F(){const s=this.dict.lookup(PDFName.of("F"));return this.dict.context.lookupMaybe(s,PDFNumber)}getRectangle(){var s;const u=this.Rect();return(s=u==null?void 0:u.asRectangle())!==null&&s!==void 0?s:{x:0,y:0,width:0,height:0}}setRectangle(s){const{x:u,y:d,width:f,height:g}=s,v=this.dict.context.obj([u,d,u+f,d+g]);this.dict.set(PDFName.of("Rect"),v)}getAppearanceState(){const s=this.dict.lookup(PDFName.of("AS"));if(s instanceof PDFName)return s}setAppearanceState(s){this.dict.set(PDFName.of("AS"),s)}setAppearances(s){this.dict.set(PDFName.of("AP"),s)}ensureAP(){let s=this.AP();return s||(s=this.dict.context.obj({}),this.dict.set(PDFName.of("AP"),s)),s}getNormalAppearance(){const u=this.ensureAP().get(PDFName.of("N"));if(u instanceof PDFRef||u instanceof PDFDict)return u;throw new Error(`Unexpected N type: ${u==null?void 0:u.constructor.name}`)}setNormalAppearance(s){this.ensureAP().set(PDFName.of("N"),s)}setRolloverAppearance(s){this.ensureAP().set(PDFName.of("R"),s)}setDownAppearance(s){this.ensureAP().set(PDFName.of("D"),s)}removeRolloverAppearance(){const s=this.AP();s==null||s.delete(PDFName.of("R"))}removeDownAppearance(){const s=this.AP();s==null||s.delete(PDFName.of("D"))}getAppearances(){const s=this.AP();if(!s)return;const u=s.lookup(PDFName.of("N"),PDFDict,PDFStream),d=s.lookupMaybe(PDFName.of("R"),PDFDict,PDFStream),f=s.lookupMaybe(PDFName.of("D"),PDFDict,PDFStream);return{normal:u,rollover:d,down:f}}getFlags(){var s,u;return(u=(s=this.F())===null||s===void 0?void 0:s.asNumber())!==null&&u!==void 0?u:0}setFlags(s){this.dict.set(PDFName.of("F"),PDFNumber.of(s))}hasFlag(s){return(this.getFlags()&s)!==0}setFlag(s){const u=this.getFlags();this.setFlags(u|s)}clearFlag(s){const u=this.getFlags();this.setFlags(u&~s)}setFlagTo(s,u){u?this.setFlag(s):this.clearFlag(s)}}PDFAnnotation.fromDict=a=>new PDFAnnotation(a);class AppearanceCharacteristics{constructor(s){this.dict=s}R(){const s=this.dict.lookup(PDFName.of("R"));if(s instanceof PDFNumber)return s}BC(){const s=this.dict.lookup(PDFName.of("BC"));if(s instanceof PDFArray)return s}BG(){const s=this.dict.lookup(PDFName.of("BG"));if(s instanceof PDFArray)return s}CA(){const s=this.dict.lookup(PDFName.of("CA"));if(s instanceof PDFHexString||s instanceof PDFString)return s}RC(){const s=this.dict.lookup(PDFName.of("RC"));if(s instanceof PDFHexString||s instanceof PDFString)return s}AC(){const s=this.dict.lookup(PDFName.of("AC"));if(s instanceof PDFHexString||s instanceof PDFString)return s}getRotation(){var s;return(s=this.R())===null||s===void 0?void 0:s.asNumber()}getBorderColor(){const s=this.BC();if(!s)return;const u=[];for(let d=0,f=s==null?void 0:s.size();d<f;d++){const g=s.get(d);g instanceof PDFNumber&&u.push(g.asNumber())}return u}getBackgroundColor(){const s=this.BG();if(!s)return;const u=[];for(let d=0,f=s==null?void 0:s.size();d<f;d++){const g=s.get(d);g instanceof PDFNumber&&u.push(g.asNumber())}return u}getCaptions(){const s=this.CA(),u=this.RC(),d=this.AC();return{normal:s==null?void 0:s.decodeText(),rollover:u==null?void 0:u.decodeText(),down:d==null?void 0:d.decodeText()}}setRotation(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("R"),u)}setBorderColor(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("BC"),u)}setBackgroundColor(s){const u=this.dict.context.obj(s);this.dict.set(PDFName.of("BG"),u)}setCaptions(s){const u=PDFHexString.fromText(s.normal);if(this.dict.set(PDFName.of("CA"),u),s.rollover){const d=PDFHexString.fromText(s.rollover);this.dict.set(PDFName.of("RC"),d)}else this.dict.delete(PDFName.of("RC"));if(s.down){const d=PDFHexString.fromText(s.down);this.dict.set(PDFName.of("AC"),d)}else this.dict.delete(PDFName.of("AC"))}}AppearanceCharacteristics.fromDict=a=>new AppearanceCharacteristics(a);class PDFWidgetAnnotation extends PDFAnnotation{MK(){const s=this.dict.lookup(PDFName.of("MK"));if(s instanceof PDFDict)return s}BS(){const s=this.dict.lookup(PDFName.of("BS"));if(s instanceof PDFDict)return s}DA(){const s=this.dict.lookup(PDFName.of("DA"));if(s instanceof PDFString||s instanceof PDFHexString)return s}P(){const s=this.dict.get(PDFName.of("P"));if(s instanceof PDFRef)return s}setP(s){this.dict.set(PDFName.of("P"),s)}setDefaultAppearance(s){this.dict.set(PDFName.of("DA"),PDFString.of(s))}getDefaultAppearance(){const s=this.DA();return s instanceof PDFHexString?s.decodeText():s==null?void 0:s.asString()}getAppearanceCharacteristics(){const s=this.MK();if(s)return AppearanceCharacteristics.fromDict(s)}getOrCreateAppearanceCharacteristics(){const s=this.MK();if(s)return AppearanceCharacteristics.fromDict(s);const u=AppearanceCharacteristics.fromDict(this.dict.context.obj({}));return this.dict.set(PDFName.of("MK"),u.dict),u}getBorderStyle(){const s=this.BS();if(s)return BorderStyle.fromDict(s)}getOrCreateBorderStyle(){const s=this.BS();if(s)return BorderStyle.fromDict(s);const u=BorderStyle.fromDict(this.dict.context.obj({}));return this.dict.set(PDFName.of("BS"),u.dict),u}getOnValue(){var s;const u=(s=this.getAppearances())===null||s===void 0?void 0:s.normal;if(u instanceof PDFDict){const d=u.keys();for(let f=0,g=d.length;f<g;f++){const v=d[f];if(v!==PDFName.of("Off"))return v}}}}PDFWidgetAnnotation.fromDict=a=>new PDFWidgetAnnotation(a),PDFWidgetAnnotation.create=(a,s)=>{const u=a.obj({Type:"Annot",Subtype:"Widget",Rect:[0,0,0,0],Parent:s});return new PDFWidgetAnnotation(u)};class PDFAcroTerminal extends PDFAcroField{FT(){const s=this.getInheritableAttribute(PDFName.of("FT"));return this.dict.context.lookup(s,PDFName)}getWidgets(){const s=this.Kids();if(!s)return[PDFWidgetAnnotation.fromDict(this.dict)];const u=new Array(s.size());for(let d=0,f=s.size();d<f;d++){const g=s.lookup(d,PDFDict);u[d]=PDFWidgetAnnotation.fromDict(g)}return u}addWidget(s){const{Kids:u}=this.normalizedEntries();u.push(s)}removeWidget(s){const u=this.Kids();if(u){if(s<0||s>u.size())throw new IndexOutOfBoundsError(s,0,u.size());u.remove(s)}else{if(s!==0)throw new IndexOutOfBoundsError(s,0,0);this.setKids([])}}normalizedEntries(){let s=this.Kids();return s||(s=this.dict.context.obj([this.ref]),this.dict.set(PDFName.of("Kids"),s)),{Kids:s}}}PDFAcroTerminal.fromDict=(a,s)=>new PDFAcroTerminal(a,s);class PDFAcroButton extends PDFAcroTerminal{Opt(){return this.dict.lookupMaybe(PDFName.of("Opt"),PDFString,PDFHexString,PDFArray)}setOpt(s){this.dict.set(PDFName.of("Opt"),this.dict.context.obj(s))}getExportValues(){const s=this.Opt();if(!s)return;if(s instanceof PDFString||s instanceof PDFHexString)return[s];const u=[];for(let d=0,f=s.size();d<f;d++){const g=s.lookup(d);(g instanceof PDFString||g instanceof PDFHexString)&&u.push(g)}return u}removeExportValue(s){const u=this.Opt();if(u)if(u instanceof PDFString||u instanceof PDFHexString){if(s!==0)throw new IndexOutOfBoundsError(s,0,0);this.setOpt([])}else{if(s<0||s>u.size())throw new IndexOutOfBoundsError(s,0,u.size());u.remove(s)}}normalizeExportValues(){var s,u,d,f;const g=(s=this.getExportValues())!==null&&s!==void 0?s:[],v=[],A=this.getWidgets();for(let x=0,m=A.length;x<m;x++){const y=A[x],E=(u=g[x])!==null&&u!==void 0?u:PDFHexString.fromText((f=(d=y.getOnValue())===null||d===void 0?void 0:d.decodeText())!==null&&f!==void 0?f:"");v.push(E)}this.setOpt(v)}addOpt(s,u){var d;this.normalizeExportValues();const f=s.decodeText();let g;if(u){const A=(d=this.getExportValues())!==null&&d!==void 0?d:[];for(let x=0,m=A.length;x<m;x++)A[x].decodeText()===f&&(g=x)}const v=this.Opt();return v.push(s),g??v.size()-1}addWidgetWithOpt(s,u,d){const f=this.addOpt(u,d),g=PDFName.of(String(f));return this.addWidget(s),g}}class PDFAcroCheckBox extends PDFAcroButton{setValue(s){var u;const d=(u=this.getOnValue())!==null&&u!==void 0?u:PDFName.of("Yes");if(s!==d&&s!==PDFName.of("Off"))throw new InvalidAcroFieldValueError;this.dict.set(PDFName.of("V"),s);const f=this.getWidgets();for(let g=0,v=f.length;g<v;g++){const A=f[g],x=A.getOnValue()===s?s:PDFName.of("Off");A.setAppearanceState(x)}}getValue(){const s=this.V();return s instanceof PDFName?s:PDFName.of("Off")}getOnValue(){const[s]=this.getWidgets();return s==null?void 0:s.getOnValue()}}PDFAcroCheckBox.fromDict=(a,s)=>new PDFAcroCheckBox(a,s),PDFAcroCheckBox.create=a=>{const s=a.obj({FT:"Btn",Kids:[]}),u=a.register(s);return new PDFAcroCheckBox(s,u)};const flag$1=a=>1<<a;var AcroFieldFlags;(function(a){a[a.ReadOnly=flag$1(0)]="ReadOnly",a[a.Required=flag$1(1)]="Required",a[a.NoExport=flag$1(2)]="NoExport"})(AcroFieldFlags||(AcroFieldFlags={}));var AcroButtonFlags;(function(a){a[a.NoToggleToOff=flag$1(14)]="NoToggleToOff",a[a.Radio=flag$1(15)]="Radio",a[a.PushButton=flag$1(16)]="PushButton",a[a.RadiosInUnison=flag$1(25)]="RadiosInUnison"})(AcroButtonFlags||(AcroButtonFlags={}));var AcroTextFlags;(function(a){a[a.Multiline=flag$1(12)]="Multiline",a[a.Password=flag$1(13)]="Password",a[a.FileSelect=flag$1(20)]="FileSelect",a[a.DoNotSpellCheck=flag$1(22)]="DoNotSpellCheck",a[a.DoNotScroll=flag$1(23)]="DoNotScroll",a[a.Comb=flag$1(24)]="Comb",a[a.RichText=flag$1(25)]="RichText"})(AcroTextFlags||(AcroTextFlags={}));var AcroChoiceFlags;(function(a){a[a.Combo=flag$1(17)]="Combo",a[a.Edit=flag$1(18)]="Edit",a[a.Sort=flag$1(19)]="Sort",a[a.MultiSelect=flag$1(21)]="MultiSelect",a[a.DoNotSpellCheck=flag$1(22)]="DoNotSpellCheck",a[a.CommitOnSelChange=flag$1(26)]="CommitOnSelChange"})(AcroChoiceFlags||(AcroChoiceFlags={}));class PDFAcroChoice extends PDFAcroTerminal{setValues(s){if(this.hasFlag(AcroChoiceFlags.Combo)&&!this.hasFlag(AcroChoiceFlags.Edit)&&!this.valuesAreValid(s))throw new InvalidAcroFieldValueError;if(s.length===0&&this.dict.delete(PDFName.of("V")),s.length===1&&this.dict.set(PDFName.of("V"),s[0]),s.length>1){if(!this.hasFlag(AcroChoiceFlags.MultiSelect))throw new MultiSelectValueError;this.dict.set(PDFName.of("V"),this.dict.context.obj(s))}this.updateSelectedIndices(s)}valuesAreValid(s){const u=this.getOptions();for(let d=0,f=s.length;d<f;d++){const g=s[d].decodeText();if(!u.find(v=>g===(v.display||v.value).decodeText()))return!1}return!0}updateSelectedIndices(s){if(s.length>1){const u=new Array(s.length),d=this.getOptions();for(let f=0,g=s.length;f<g;f++){const v=s[f].decodeText();u[f]=d.findIndex(A=>v===(A.display||A.value).decodeText())}this.dict.set(PDFName.of("I"),this.dict.context.obj(u.sort()))}else this.dict.delete(PDFName.of("I"))}getValues(){const s=this.V();if(s instanceof PDFString||s instanceof PDFHexString)return[s];if(s instanceof PDFArray){const u=[];for(let d=0,f=s.size();d<f;d++){const g=s.lookup(d);(g instanceof PDFString||g instanceof PDFHexString)&&u.push(g)}return u}return[]}Opt(){return this.dict.lookupMaybe(PDFName.of("Opt"),PDFString,PDFHexString,PDFArray)}setOptions(s){const u=new Array(s.length);for(let d=0,f=s.length;d<f;d++){const{value:g,display:v}=s[d];u[d]=this.dict.context.obj([g,v||g])}this.dict.set(PDFName.of("Opt"),this.dict.context.obj(u))}getOptions(){const s=this.Opt();if(s instanceof PDFString||s instanceof PDFHexString)return[{value:s,display:s}];if(s instanceof PDFArray){const u=[];for(let d=0,f=s.size();d<f;d++){const g=s.lookup(d);if((g instanceof PDFString||g instanceof PDFHexString)&&u.push({value:g,display:g}),g instanceof PDFArray&&g.size()>0){const v=g.lookup(0,PDFString,PDFHexString),A=g.lookupMaybe(1,PDFString,PDFHexString);u.push({value:v,display:A||v})}}return u}return[]}}class PDFAcroComboBox extends PDFAcroChoice{}PDFAcroComboBox.fromDict=(a,s)=>new PDFAcroComboBox(a,s),PDFAcroComboBox.create=a=>{const s=a.obj({FT:"Ch",Ff:AcroChoiceFlags.Combo,Kids:[]}),u=a.register(s);return new PDFAcroComboBox(s,u)};class PDFAcroNonTerminal extends PDFAcroField{addField(s){const{Kids:u}=this.normalizedEntries();u==null||u.push(s)}normalizedEntries(){let s=this.Kids();return s||(s=this.dict.context.obj([]),this.dict.set(PDFName.of("Kids"),s)),{Kids:s}}}PDFAcroNonTerminal.fromDict=(a,s)=>new PDFAcroNonTerminal(a,s),PDFAcroNonTerminal.create=a=>{const s=a.obj({}),u=a.register(s);return new PDFAcroNonTerminal(s,u)};class PDFAcroSignature extends PDFAcroTerminal{}PDFAcroSignature.fromDict=(a,s)=>new PDFAcroSignature(a,s);class PDFAcroText extends PDFAcroTerminal{MaxLen(){const s=this.dict.lookup(PDFName.of("MaxLen"));if(s instanceof PDFNumber)return s}Q(){const s=this.dict.lookup(PDFName.of("Q"));if(s instanceof PDFNumber)return s}setMaxLength(s){this.dict.set(PDFName.of("MaxLen"),PDFNumber.of(s))}removeMaxLength(){this.dict.delete(PDFName.of("MaxLen"))}getMaxLength(){var s;return(s=this.MaxLen())===null||s===void 0?void 0:s.asNumber()}setQuadding(s){this.dict.set(PDFName.of("Q"),PDFNumber.of(s))}getQuadding(){var s;return(s=this.Q())===null||s===void 0?void 0:s.asNumber()}setValue(s){this.dict.set(PDFName.of("V"),s)}removeValue(){this.dict.delete(PDFName.of("V"))}getValue(){const s=this.V();if(s instanceof PDFString||s instanceof PDFHexString)return s}}PDFAcroText.fromDict=(a,s)=>new PDFAcroText(a,s),PDFAcroText.create=a=>{const s=a.obj({FT:"Tx",Kids:[]}),u=a.register(s);return new PDFAcroText(s,u)};class PDFAcroPushButton extends PDFAcroButton{}PDFAcroPushButton.fromDict=(a,s)=>new PDFAcroPushButton(a,s),PDFAcroPushButton.create=a=>{const s=a.obj({FT:"Btn",Ff:AcroButtonFlags.PushButton,Kids:[]}),u=a.register(s);return new PDFAcroPushButton(s,u)};class PDFAcroRadioButton extends PDFAcroButton{setValue(s){if(!this.getOnValues().includes(s)&&s!==PDFName.of("Off"))throw new InvalidAcroFieldValueError;this.dict.set(PDFName.of("V"),s);const d=this.getWidgets();for(let f=0,g=d.length;f<g;f++){const v=d[f],A=v.getOnValue()===s?s:PDFName.of("Off");v.setAppearanceState(A)}}getValue(){const s=this.V();return s instanceof PDFName?s:PDFName.of("Off")}getOnValues(){const s=this.getWidgets(),u=[];for(let d=0,f=s.length;d<f;d++){const g=s[d].getOnValue();g&&u.push(g)}return u}}PDFAcroRadioButton.fromDict=(a,s)=>new PDFAcroRadioButton(a,s),PDFAcroRadioButton.create=a=>{const s=a.obj({FT:"Btn",Ff:AcroButtonFlags.Radio,Kids:[]}),u=a.register(s);return new PDFAcroRadioButton(s,u)};class PDFAcroListBox extends PDFAcroChoice{}PDFAcroListBox.fromDict=(a,s)=>new PDFAcroListBox(a,s),PDFAcroListBox.create=a=>{const s=a.obj({FT:"Ch",Kids:[]}),u=a.register(s);return new PDFAcroListBox(s,u)};const createPDFAcroFields=a=>{if(!a)return[];const s=[];for(let u=0,d=a.size();u<d;u++){const f=a.get(u),g=a.lookup(u);f instanceof PDFRef&&g instanceof PDFDict&&s.push([createPDFAcroField(g,f),f])}return s},createPDFAcroField=(a,s)=>isNonTerminalAcroField(a)?PDFAcroNonTerminal.fromDict(a,s):createPDFAcroTerminal(a,s),isNonTerminalAcroField=a=>{const s=a.lookup(PDFName.of("Kids"));if(s instanceof PDFArray)for(let u=0,d=s.size();u<d;u++){const f=s.lookup(u);if(f instanceof PDFDict&&f.has(PDFName.of("T")))return!0}return!1},createPDFAcroTerminal=(a,s)=>{const u=getInheritableAttribute(a,PDFName.of("FT")),d=a.context.lookup(u,PDFName);return d===PDFName.of("Btn")?createPDFAcroButton(a,s):d===PDFName.of("Ch")?createPDFAcroChoice(a,s):d===PDFName.of("Tx")?PDFAcroText.fromDict(a,s):d===PDFName.of("Sig")?PDFAcroSignature.fromDict(a,s):PDFAcroTerminal.fromDict(a,s)},createPDFAcroButton=(a,s)=>{var u;const d=getInheritableAttribute(a,PDFName.of("Ff")),f=a.context.lookupMaybe(d,PDFNumber),g=(u=f==null?void 0:f.asNumber())!==null&&u!==void 0?u:0;return flagIsSet(g,AcroButtonFlags.PushButton)?PDFAcroPushButton.fromDict(a,s):flagIsSet(g,AcroButtonFlags.Radio)?PDFAcroRadioButton.fromDict(a,s):PDFAcroCheckBox.fromDict(a,s)},createPDFAcroChoice=(a,s)=>{var u;const d=getInheritableAttribute(a,PDFName.of("Ff")),f=a.context.lookupMaybe(d,PDFNumber),g=(u=f==null?void 0:f.asNumber())!==null&&u!==void 0?u:0;return flagIsSet(g,AcroChoiceFlags.Combo)?PDFAcroComboBox.fromDict(a,s):PDFAcroListBox.fromDict(a,s)},flagIsSet=(a,s)=>(a&s)!==0,getInheritableAttribute=(a,s)=>{let u;return ascend(a,d=>{u||(u=d.get(s))}),u},ascend=(a,s)=>{s(a);const u=a.lookupMaybe(PDFName.of("Parent"),PDFDict);u&&ascend(u,s)};class PDFAcroForm{constructor(s){this.dict=s}Fields(){const s=this.dict.lookup(PDFName.of("Fields"));if(s instanceof PDFArray)return s}getFields(){const{Fields:s}=this.normalizedEntries(),u=new Array(s.size());for(let d=0,f=s.size();d<f;d++){const g=s.get(d),v=s.lookup(d,PDFDict);u[d]=[createPDFAcroField(v,g),g]}return u}getAllFields(){const s=[],u=d=>{if(d)for(let f=0,g=d.length;f<g;f++){const v=d[f];s.push(v);const[A]=v;A instanceof PDFAcroNonTerminal&&u(createPDFAcroFields(A.Kids()))}};return u(this.getFields()),s}addField(s){const{Fields:u}=this.normalizedEntries();u==null||u.push(s)}removeField(s){const u=s.getParent(),d=u===void 0?this.normalizedEntries().Fields:u.Kids(),f=d==null?void 0:d.indexOf(s.ref);if(d===void 0||f===void 0)throw new Error(`Tried to remove inexistent field ${s.getFullyQualifiedName()}`);d.remove(f),u!==void 0&&d.size()===0&&this.removeField(u)}normalizedEntries(){let s=this.Fields();return s||(s=this.dict.context.obj([]),this.dict.set(PDFName.of("Fields"),s)),{Fields:s}}}PDFAcroForm.fromDict=a=>new PDFAcroForm(a),PDFAcroForm.create=a=>{const s=a.obj({Fields:[]});return new PDFAcroForm(s)};class PDFCatalog extends PDFDict{Pages(){return this.lookup(PDFName.of("Pages"),PDFDict)}AcroForm(){return this.lookupMaybe(PDFName.of("AcroForm"),PDFDict)}getAcroForm(){const s=this.AcroForm();if(s)return PDFAcroForm.fromDict(s)}getOrCreateAcroForm(){let s=this.getAcroForm();if(!s){s=PDFAcroForm.create(this.context);const u=this.context.register(s.dict);this.set(PDFName.of("AcroForm"),u)}return s}ViewerPreferences(){return this.lookupMaybe(PDFName.of("ViewerPreferences"),PDFDict)}getViewerPreferences(){const s=this.ViewerPreferences();if(s)return ViewerPreferences.fromDict(s)}getOrCreateViewerPreferences(){let s=this.getViewerPreferences();if(!s){s=ViewerPreferences.create(this.context);const u=this.context.register(s.dict);this.set(PDFName.of("ViewerPreferences"),u)}return s}insertLeafNode(s,u){const d=this.get(PDFName.of("Pages"));return this.Pages().insertLeafNode(s,u)||d}removeLeafNode(s){this.Pages().removeLeafNode(s)}}PDFCatalog.withContextAndPages=(a,s)=>{const u=new Map;return u.set(PDFName.of("Type"),PDFName.of("Catalog")),u.set(PDFName.of("Pages"),s),new PDFCatalog(u,a)},PDFCatalog.fromMapWithContext=(a,s)=>new PDFCatalog(a,s);class PDFPageTree extends PDFDict{Parent(){return this.lookup(PDFName.of("Parent"))}Kids(){return this.lookup(PDFName.of("Kids"),PDFArray)}Count(){return this.lookup(PDFName.of("Count"),PDFNumber)}pushTreeNode(s){this.Kids().push(s)}pushLeafNode(s){const u=this.Kids();this.insertLeafKid(u.size(),s)}insertLeafNode(s,u){const d=this.Kids(),f=this.Count().asNumber();if(u>f)throw new InvalidTargetIndexError(u,f);let g=u;for(let v=0,A=d.size();v<A;v++){if(g===0){this.insertLeafKid(v,s);return}const x=d.get(v),m=this.context.lookup(x);if(m instanceof PDFPageTree){if(m.Count().asNumber()>g)return m.insertLeafNode(s,g)||x;g-=m.Count().asNumber()}m instanceof PDFPageLeaf&&(g-=1)}if(g===0){this.insertLeafKid(d.size(),s);return}throw new CorruptPageTreeError(u,"insertLeafNode")}removeLeafNode(s,u=!0){const d=this.Kids(),f=this.Count().asNumber();if(s>=f)throw new InvalidTargetIndexError(s,f);let g=s;for(let v=0,A=d.size();v<A;v++){const x=d.get(v),m=this.context.lookup(x);if(m instanceof PDFPageTree)if(m.Count().asNumber()>g){m.removeLeafNode(g,u),u&&m.Kids().size()===0&&d.remove(v);return}else g-=m.Count().asNumber();if(m instanceof PDFPageLeaf)if(g===0){this.removeKid(v);return}else g-=1}throw new CorruptPageTreeError(s,"removeLeafNode")}ascend(s){s(this);const u=this.Parent();u&&u.ascend(s)}traverse(s){const u=this.Kids();for(let d=0,f=u.size();d<f;d++){const g=u.get(d),v=this.context.lookup(g);v instanceof PDFPageTree&&v.traverse(s),s(v,g)}}insertLeafKid(s,u){const d=this.Kids();this.ascend(f=>{const g=f.Count().asNumber()+1;f.set(PDFName.of("Count"),PDFNumber.of(g))}),d.insert(s,u)}removeKid(s){const u=this.Kids();u.lookup(s)instanceof PDFPageLeaf&&this.ascend(f=>{const g=f.Count().asNumber()-1;f.set(PDFName.of("Count"),PDFNumber.of(g))}),u.remove(s)}}PDFPageTree.withContext=(a,s)=>{const u=new Map;return u.set(PDFName.of("Type"),PDFName.of("Pages")),u.set(PDFName.of("Kids"),a.obj([])),u.set(PDFName.of("Count"),a.obj(0)),s&&u.set(PDFName.of("Parent"),s),new PDFPageTree(u,a)},PDFPageTree.fromMapWithContext=(a,s)=>new PDFPageTree(a,s);const IsDigit=new Uint8Array(256);IsDigit[CharCodes$1.Zero]=1,IsDigit[CharCodes$1.One]=1,IsDigit[CharCodes$1.Two]=1,IsDigit[CharCodes$1.Three]=1,IsDigit[CharCodes$1.Four]=1,IsDigit[CharCodes$1.Five]=1,IsDigit[CharCodes$1.Six]=1,IsDigit[CharCodes$1.Seven]=1,IsDigit[CharCodes$1.Eight]=1,IsDigit[CharCodes$1.Nine]=1;const IsNumericPrefix=new Uint8Array(256);IsNumericPrefix[CharCodes$1.Period]=1,IsNumericPrefix[CharCodes$1.Plus]=1,IsNumericPrefix[CharCodes$1.Minus]=1;const IsNumeric=new Uint8Array(256);for(let a=0,s=256;a<s;a++)IsNumeric[a]=IsDigit[a]||IsNumericPrefix[a]?1:0;const{Space:Space$1,CarriageReturn,Newline}=CharCodes$1,stream=[CharCodes$1.s,CharCodes$1.t,CharCodes$1.r,CharCodes$1.e,CharCodes$1.a,CharCodes$1.m],endstream=[CharCodes$1.e,CharCodes$1.n,CharCodes$1.d,CharCodes$1.s,CharCodes$1.t,CharCodes$1.r,CharCodes$1.e,CharCodes$1.a,CharCodes$1.m];CharCodes$1.Percent,CharCodes$1.P,CharCodes$1.D,CharCodes$1.F,CharCodes$1.Dash,CharCodes$1.Percent,CharCodes$1.Percent,CharCodes$1.E,CharCodes$1.O,CharCodes$1.F,CharCodes$1.o,CharCodes$1.b,CharCodes$1.j,CharCodes$1.e,CharCodes$1.n,CharCodes$1.d,CharCodes$1.o,CharCodes$1.b,CharCodes$1.j,CharCodes$1.x,CharCodes$1.r,CharCodes$1.e,CharCodes$1.f,CharCodes$1.t,CharCodes$1.r,CharCodes$1.a,CharCodes$1.i,CharCodes$1.l,CharCodes$1.e,CharCodes$1.r,CharCodes$1.s,CharCodes$1.t,CharCodes$1.a,CharCodes$1.r,CharCodes$1.t,CharCodes$1.x,CharCodes$1.r,CharCodes$1.e,CharCodes$1.f,CharCodes$1.t,CharCodes$1.r,CharCodes$1.u,CharCodes$1.e,CharCodes$1.f,CharCodes$1.a,CharCodes$1.l,CharCodes$1.s,CharCodes$1.e,CharCodes$1.n,CharCodes$1.u,CharCodes$1.l,CharCodes$1.l,[...stream],[...stream],[...stream],[...stream],[...endstream],[...endstream],[...endstream];const flag=a=>1<<a;var AnnotationFlags;(function(a){a[a.Invisible=flag(0)]="Invisible",a[a.Hidden=flag(1)]="Hidden",a[a.Print=flag(2)]="Print",a[a.NoZoom=flag(3)]="NoZoom",a[a.NoRotate=flag(4)]="NoRotate",a[a.NoView=flag(5)]="NoView",a[a.ReadOnly=flag(6)]="ReadOnly",a[a.Locked=flag(7)]="Locked",a[a.ToggleNoView=flag(8)]="ToggleNoView",a[a.LockedContents=flag(9)]="LockedContents"})(AnnotationFlags||(AnnotationFlags={}));var RotationTypes;(function(a){a.Degrees="degrees",a.Radians="radians"})(RotationTypes||(RotationTypes={}));const degrees=a=>(assertIs(a,"degreeAngle",["number"]),{type:RotationTypes.Degrees,angle:a}),degreesToRadians=a=>a*Math.PI/180;var LineCapStyle;(function(a){a[a.Butt=0]="Butt",a[a.Round=1]="Round",a[a.Projecting=2]="Projecting"})(LineCapStyle||(LineCapStyle={}));var LineJoinStyle;(function(a){a[a.Miter=0]="Miter",a[a.Round=1]="Round",a[a.Bevel=2]="Bevel"})(LineJoinStyle||(LineJoinStyle={}));var FillRule;(function(a){a.NonZero="f",a.EvenOdd="f*"})(FillRule||(FillRule={}));var TextRenderingMode;(function(a){a[a.Fill=0]="Fill",a[a.Outline=1]="Outline",a[a.FillAndOutline=2]="FillAndOutline",a[a.Invisible=3]="Invisible",a[a.FillAndClip=4]="FillAndClip",a[a.OutlineAndClip=5]="OutlineAndClip",a[a.FillAndOutlineAndClip=6]="FillAndOutlineAndClip",a[a.Clip=7]="Clip"})(TextRenderingMode||(TextRenderingMode={}));var colorString$1={exports:{}},colorName={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]},simpleSwizzle={exports:{}},isArrayish$1=function a(s){return!s||typeof s=="string"?!1:s instanceof Array||Array.isArray(s)||s.length>=0&&(s.splice instanceof Function||Object.getOwnPropertyDescriptor(s,s.length-1)&&s.constructor.name!=="String")},isArrayish=isArrayish$1,concat=Array.prototype.concat,slice$1=Array.prototype.slice,swizzle$1=simpleSwizzle.exports=function a(s){for(var u=[],d=0,f=s.length;d<f;d++){var g=s[d];isArrayish(g)?u=concat.call(u,slice$1.call(g)):u.push(g)}return u};swizzle$1.wrap=function(a){return function(){return a(swizzle$1(arguments))}};var simpleSwizzleExports=simpleSwizzle.exports,colorNames=colorName,swizzle=simpleSwizzleExports,hasOwnProperty$f=Object.hasOwnProperty,reverseNames=Object.create(null);for(var name in colorNames)hasOwnProperty$f.call(colorNames,name)&&(reverseNames[colorNames[name]]=name);var cs=colorString$1.exports={to:{},get:{}};cs.get=function(a){var s=a.substring(0,3).toLowerCase(),u,d;switch(s){case"hsl":u=cs.get.hsl(a),d="hsl";break;case"hwb":u=cs.get.hwb(a),d="hwb";break;default:u=cs.get.rgb(a),d="rgb";break}return u?{model:d,value:u}:null},cs.get.rgb=function(a){if(!a)return null;var s=/^#([a-f0-9]{3,4})$/i,u=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,d=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,f=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,g=/^(\w+)$/,v=[0,0,0,1],A,x,m;if(A=a.match(u)){for(m=A[2],A=A[1],x=0;x<3;x++){var y=x*2;v[x]=parseInt(A.slice(y,y+2),16)}m&&(v[3]=parseInt(m,16)/255)}else if(A=a.match(s)){for(A=A[1],m=A[3],x=0;x<3;x++)v[x]=parseInt(A[x]+A[x],16);m&&(v[3]=parseInt(m+m,16)/255)}else if(A=a.match(d)){for(x=0;x<3;x++)v[x]=parseInt(A[x+1],0);A[4]&&(A[5]?v[3]=parseFloat(A[4])*.01:v[3]=parseFloat(A[4]))}else if(A=a.match(f)){for(x=0;x<3;x++)v[x]=Math.round(parseFloat(A[x+1])*2.55);A[4]&&(A[5]?v[3]=parseFloat(A[4])*.01:v[3]=parseFloat(A[4]))}else return(A=a.match(g))?A[1]==="transparent"?[0,0,0,0]:hasOwnProperty$f.call(colorNames,A[1])?(v=colorNames[A[1]],v[3]=1,v):null:null;for(x=0;x<3;x++)v[x]=clamp(v[x],0,255);return v[3]=clamp(v[3],0,1),v},cs.get.hsl=function(a){if(!a)return null;var s=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,u=a.match(s);if(u){var d=parseFloat(u[4]),f=(parseFloat(u[1])%360+360)%360,g=clamp(parseFloat(u[2]),0,100),v=clamp(parseFloat(u[3]),0,100),A=clamp(isNaN(d)?1:d,0,1);return[f,g,v,A]}return null},cs.get.hwb=function(a){if(!a)return null;var s=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,u=a.match(s);if(u){var d=parseFloat(u[4]),f=(parseFloat(u[1])%360+360)%360,g=clamp(parseFloat(u[2]),0,100),v=clamp(parseFloat(u[3]),0,100),A=clamp(isNaN(d)?1:d,0,1);return[f,g,v,A]}return null},cs.to.hex=function(){var a=swizzle(arguments);return"#"+hexDouble(a[0])+hexDouble(a[1])+hexDouble(a[2])+(a[3]<1?hexDouble(Math.round(a[3]*255)):"")},cs.to.rgb=function(){var a=swizzle(arguments);return a.length<4||a[3]===1?"rgb("+Math.round(a[0])+", "+Math.round(a[1])+", "+Math.round(a[2])+")":"rgba("+Math.round(a[0])+", "+Math.round(a[1])+", "+Math.round(a[2])+", "+a[3]+")"},cs.to.rgb.percent=function(){var a=swizzle(arguments),s=Math.round(a[0]/255*100),u=Math.round(a[1]/255*100),d=Math.round(a[2]/255*100);return a.length<4||a[3]===1?"rgb("+s+"%, "+u+"%, "+d+"%)":"rgba("+s+"%, "+u+"%, "+d+"%, "+a[3]+")"},cs.to.hsl=function(){var a=swizzle(arguments);return a.length<4||a[3]===1?"hsl("+a[0]+", "+a[1]+"%, "+a[2]+"%)":"hsla("+a[0]+", "+a[1]+"%, "+a[2]+"%, "+a[3]+")"},cs.to.hwb=function(){var a=swizzle(arguments),s="";return a.length>=4&&a[3]!==1&&(s=", "+a[3]),"hwb("+a[0]+", "+a[1]+"%, "+a[2]+"%"+s+")"},cs.to.keyword=function(a){return reverseNames[a.slice(0,3)]};function clamp(a,s,u){return Math.min(Math.max(s,a),u)}function hexDouble(a){var s=Math.round(a).toString(16).toUpperCase();return s.length<2?"0"+s:s}var colorStringExports=colorString$1.exports,ColorTypes;(function(a){a.Grayscale="Grayscale",a.RGB="RGB",a.CMYK="CMYK"})(ColorTypes||(ColorTypes={}));const rgb=(a,s,u)=>(assertRange(a,"red",0,1),assertRange(s,"green",0,1),assertRange(u,"blue",0,1),{type:ColorTypes.RGB,red:a,green:s,blue:u});var TextAlignment;(function(a){a[a.Left=0]="Left",a[a.Center=1]="Center",a[a.Right=2]="Right"})(TextAlignment||(TextAlignment={}));var ImageAlignment;(function(a){a[a.Left=0]="Left",a[a.Center=1]="Center",a[a.Right=2]="Right"})(ImageAlignment||(ImageAlignment={}));var StandardFonts;(function(a){a.Courier="Courier",a.CourierBold="Courier-Bold",a.CourierOblique="Courier-Oblique",a.CourierBoldOblique="Courier-BoldOblique",a.Helvetica="Helvetica",a.HelveticaBold="Helvetica-Bold",a.HelveticaOblique="Helvetica-Oblique",a.HelveticaBoldOblique="Helvetica-BoldOblique",a.TimesRoman="Times-Roman",a.TimesRomanBold="Times-Bold",a.TimesRomanItalic="Times-Italic",a.TimesRomanBoldItalic="Times-BoldItalic",a.Symbol="Symbol",a.ZapfDingbats="ZapfDingbats"})(StandardFonts||(StandardFonts={}));var ParseSpeeds;(function(a){a[a.Fastest=1/0]="Fastest",a[a.Fast=1500]="Fast",a[a.Medium=500]="Medium",a[a.Slow=100]="Slow"})(ParseSpeeds||(ParseSpeeds={}));var BlendMode;(function(a){a.Normal="Normal",a.Multiply="Multiply",a.Screen="Screen",a.Overlay="Overlay",a.Darken="Darken",a.Lighten="Lighten",a.ColorDodge="ColorDodge",a.ColorBurn="ColorBurn",a.HardLight="HardLight",a.SoftLight="SoftLight",a.Difference="Difference",a.Exclusion="Exclusion"})(BlendMode||(BlendMode={}));var dist={},lib$2={},namedReferences={};Object.defineProperty(namedReferences,"__esModule",{value:!0}),namedReferences.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},namedReferences.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"","­":"","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"","‍":"","‎":"","‏":"","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©",ª:"ª","«":"«","¬":"¬","":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´",µ:"µ","¶":"¶","·":"·","¸":"¸","¹":"¹",º:"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿",À:"À",Á:"Á",Â:"Â",Ã:"Ã",Ä:"Ä",Å:"Å",Æ:"Æ",Ç:"Ç",È:"È",É:"É",Ê:"Ê",Ë:"Ë",Ì:"Ì",Í:"Í",Î:"Î",Ï:"Ï",Ð:"Ð",Ñ:"Ñ",Ò:"Ò",Ó:"Ó",Ô:"Ô",Õ:"Õ",Ö:"Ö","×":"×",Ø:"Ø",Ù:"Ù",Ú:"Ú",Û:"Û",Ü:"Ü",Ý:"Ý",Þ:"Þ",ß:"ß",à:"à",á:"á",â:"â",ã:"ã",ä:"ä",å:"å",æ:"æ",ç:"ç",è:"è",é:"é",ê:"ê",ë:"ë",ì:"ì",í:"í",î:"î",ï:"ï",ð:"ð",ñ:"ñ",ò:"ò",ó:"ó",ô:"ô",õ:"õ",ö:"ö","÷":"÷",ø:"ø",ù:"ù",ú:"ú",û:"û",ü:"ü",ý:"ý",þ:"þ",ÿ:"ÿ",'"':""","&":"&","<":"<",">":">",Œ:"Œ",œ:"œ",Š:"Š",š:"š",Ÿ:"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","":"‌","":"‍","":"‎","":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€",ƒ:"ƒ",Α:"Α",Β:"Β",Γ:"Γ",Δ:"Δ",Ε:"Ε",Ζ:"Ζ",Η:"Η",Θ:"Θ",Ι:"Ι",Κ:"Κ",Λ:"Λ",Μ:"Μ",Ν:"Ν",Ξ:"Ξ",Ο:"Ο",Π:"Π",Ρ:"Ρ",Σ:"Σ",Τ:"Τ",Υ:"Υ",Φ:"Φ",Χ:"Χ",Ψ:"Ψ",Ω:"Ω",α:"α",β:"β",γ:"γ",δ:"δ",ε:"ε",ζ:"ζ",η:"η",θ:"θ",ι:"ι",κ:"κ",λ:"λ",μ:"μ",ν:"ν",ξ:"ξ",ο:"ο",π:"π",ρ:"ρ",ς:"ς",σ:"σ",τ:"τ",υ:"υ",φ:"φ",χ:"χ",ψ:"ψ",ω:"ω",ϑ:"ϑ",ϒ:"ϒ",ϖ:"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘",ℑ:"ℑ",ℜ:"ℜ","™":"™",ℵ:"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":`
|
328
328
|
`,"𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":" ","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},characters:{Æ:"Æ","&":"&",Á:"Á",Ă:"Ă",Â:"Â",А:"А","𝔄":"𝔄",À:"À",Α:"Α",Ā:"Ā","⩓":"⩓",Ą:"Ą","𝔸":"𝔸","":"⁡",Å:"Å","𝒜":"𝒜","≔":"≔",Ã:"Ã",Ä:"Ä","∖":"∖","⫧":"⫧","⌆":"⌆",Б:"Б","∵":"∵",ℬ:"ℬ",Β:"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","≎":"≎",Ч:"Ч","©":"©",Ć:"Ć","⋒":"⋒","ⅅ":"ⅅ",ℭ:"ℭ",Č:"Č",Ç:"Ç",Ĉ:"Ĉ","∰":"∰",Ċ:"Ċ","¸":"¸","·":"·",Χ:"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮",ℂ:"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑",Ђ:"Ђ",Ѕ:"Ѕ",Џ:"Џ","‡":"‡","↡":"↡","⫤":"⫤",Ď:"Ď",Д:"Д","∇":"∇",Δ:"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","𝒟":"𝒟",Đ:"Đ",Ŋ:"Ŋ",Ð:"Ð",É:"É",Ě:"Ě",Ê:"Ê",Э:"Э",Ė:"Ė","𝔈":"𝔈",È:"È","∈":"∈",Ē:"Ē","◻":"◻","▫":"▫",Ę:"Ę","𝔼":"𝔼",Ε:"Ε","⩵":"⩵","≂":"≂","⇌":"⇌",ℰ:"ℰ","⩳":"⩳",Η:"Η",Ë:"Ë","∃":"∃","ⅇ":"ⅇ",Ф:"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀",ℱ:"ℱ",Ѓ:"Ѓ",">":">",Γ:"Γ",Ϝ:"Ϝ",Ğ:"Ğ",Ģ:"Ģ",Ĝ:"Ĝ",Г:"Г",Ġ:"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫",Ъ:"Ъ","ˇ":"ˇ","^":"^",Ĥ:"Ĥ",ℌ:"ℌ",ℋ:"ℋ",ℍ:"ℍ","─":"─",Ħ:"Ħ","≏":"≏",Е:"Е",IJ:"IJ",Ё:"Ё",Í:"Í",Î:"Î",И:"И",İ:"İ",ℑ:"ℑ",Ì:"Ì",Ī:"Ī","ⅈ":"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","":"⁣","":"⁢",Į:"Į","𝕀":"𝕀",Ι:"Ι",ℐ:"ℐ",Ĩ:"Ĩ",І:"І",Ï:"Ï",Ĵ:"Ĵ",Й:"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥",Ј:"Ј",Є:"Є",Х:"Х",Ќ:"Ќ",Κ:"Κ",Ķ:"Ķ",К:"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦",Љ:"Љ","<":"<",Ĺ:"Ĺ",Λ:"Λ","⟪":"⟪",ℒ:"ℒ","↞":"↞",Ľ:"Ľ",Ļ:"Ļ",Л:"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚",Ŀ:"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","𝕃":"𝕃","↙":"↙","↘":"↘","↰":"↰",Ł:"Ł","≪":"≪","⤅":"⤅",М:"М"," ":" ",ℳ:"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄",Μ:"Μ",Њ:"Њ",Ń:"Ń",Ň:"Ň",Ņ:"Ņ",Н:"Н","":"​","\n":"
","𝔑":"𝔑","":"⁠"," ":" ",ℕ:"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩",Ñ:"Ñ",Ν:"Ν",Œ:"Œ",Ó:"Ó",Ô:"Ô",О:"О",Ő:"Ő","𝔒":"𝔒",Ò:"Ò",Ō:"Ō",Ω:"Ω",Ο:"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪",Ø:"Ø",Õ:"Õ","⨷":"⨷",Ö:"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂",П:"П","𝔓":"𝔓",Φ:"Φ",Π:"Π","±":"±",ℙ:"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝","𝒫":"𝒫",Ψ:"Ψ",'"':""","𝔔":"𝔔",ℚ:"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®",Ŕ:"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖",Ř:"Ř",Ŗ:"Ŗ",Р:"Р",ℜ:"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯",Ρ:"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓",ℝ:"ℝ","⥰":"⥰","⇛":"⇛",ℛ:"ℛ","↱":"↱","⧴":"⧴",Щ:"Щ",Ш:"Ш",Ь:"Ь",Ś:"Ś","⪼":"⪼",Š:"Š",Ş:"Ş",Ŝ:"Ŝ",С:"С","𝔖":"𝔖","↑":"↑",Σ:"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇",Þ:"Þ","™":"™",Ћ:"Ћ",Ц:"Ц"," ":"	",Τ:"Τ",Ť:"Ť",Ţ:"Ţ",Т:"Т","𝔗":"𝔗","∴":"∴",Θ:"Θ"," ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯",Ŧ:"Ŧ",Ú:"Ú","↟":"↟","⥉":"⥉",Ў:"Ў",Ŭ:"Ŭ",Û:"Û",У:"У",Ű:"Ű","𝔘":"𝔘",Ù:"Ù",Ū:"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎",Ų:"Ų","𝕌":"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗",ϒ:"ϒ",Υ:"Υ",Ů:"Ů","𝒰":"𝒰",Ũ:"Ũ",Ü:"Ü","⊫":"⊫","⫫":"⫫",В:"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪",Ŵ:"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛",Ξ:"Ξ","𝕏":"𝕏","𝒳":"𝒳",Я:"Я",Ї:"Ї",Ю:"Ю",Ý:"Ý",Ŷ:"Ŷ",Ы:"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴",Ÿ:"Ÿ",Ж:"Ж",Ź:"Ź",Ž:"Ž",З:"З",Ż:"Ż",Ζ:"Ζ",ℨ:"ℨ",ℤ:"ℤ","𝒵":"𝒵",á:"á",ă:"ă","∾":"∾","∾̳":"∾̳","∿":"∿",â:"â",а:"а",æ:"æ","𝔞":"𝔞",à:"à",ℵ:"ℵ",α:"α",ā:"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼",ą:"ą","𝕒":"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'",å:"å","𝒶":"𝒶","*":"*",ã:"ã",ä:"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶",б:"б","„":"„","⦰":"⦰",β:"β",ℶ:"ℶ","≬":"≬","𝔟":"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦","𝒷":"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮",ć:"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍",č:"č",ç:"ç",ĉ:"ĉ","⩌":"⩌","⩐":"⩐",ċ:"ċ","⦲":"⦲","¢":"¢","𝔠":"𝔠",ч:"ч","✓":"✓",χ:"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭","𝕔":"𝕔","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†",ℸ:"ℸ","‐":"‐","⤏":"⤏",ď:"ď",д:"д","⇊":"⇊","⩷":"⩷","°":"°",δ:"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","♦":"♦",ϝ:"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇",ђ:"ђ","⌞":"⌞","⌍":"⌍",$:"$","𝕕":"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌","𝒹":"𝒹",ѕ:"ѕ","⧶":"⧶",đ:"đ","⋱":"⋱","▿":"▿","⦦":"⦦",џ:"џ","⟿":"⟿",é:"é","⩮":"⩮",ě:"ě","≖":"≖",ê:"ê","≕":"≕",э:"э",ė:"ė","≒":"≒","𝔢":"𝔢","⪚":"⪚",è:"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧",ℓ:"ℓ","⪕":"⪕","⪗":"⪗",ē:"ē","∅":"∅"," ":" "," ":" "," ":" ",ŋ:"ŋ"," ":" ",ę:"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱",ε:"ε","ϵ":"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱",ℯ:"ℯ",η:"η",ð:"ð",ë:"ë","€":"€","!":"!",ф:"ф","♀":"♀",ffi:"ffi",ff:"ff",ffl:"ffl","𝔣":"𝔣",fi:"fi",fj:"fj","♭":"♭",fl:"fl","▱":"▱",ƒ:"ƒ","𝕗":"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","⪌":"⪌",ǵ:"ǵ",γ:"γ","⪆":"⪆",ğ:"ğ",ĝ:"ĝ",г:"г",ġ:"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤",ℷ:"ℷ",ѓ:"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧","𝕘":"𝕘",ℊ:"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀",ъ:"ъ","⥈":"⥈","↭":"↭",ℏ:"ℏ",ĥ:"ĥ","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽",ħ:"ħ","⁃":"⁃",í:"í",î:"î",и:"и",е:"е","¡":"¡","𝔦":"𝔦",ì:"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩",ij:"ij",ī:"ī",ı:"ı","⊷":"⊷",Ƶ:"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼",ё:"ё",į:"į","𝕚":"𝕚",ι:"ι","¿":"¿","𝒾":"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳",ĩ:"ĩ",і:"і",ï:"ï",ĵ:"ĵ",й:"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿",ј:"ј",є:"є",κ:"κ",ϰ:"ϰ",ķ:"ķ",к:"к","𝔨":"𝔨",ĸ:"ĸ",х:"х",ќ:"ќ","𝕜":"𝕜","𝓀":"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢",ĺ:"ĺ","⦴":"⦴",λ:"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍",ľ:"ľ",ļ:"ļ",л:"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼","𝔩":"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄",љ:"љ","⥫":"⥫","◺":"◺",ŀ:"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","":"‎","⊿":"⊿","‹":"‹","𝓁":"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚",ł:"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩",м:"м","—":"—","𝔪":"𝔪","℧":"℧",µ:"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧","𝕞":"𝕞","𝓂":"𝓂",μ:"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮",ń:"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸",ʼn:"ʼn","♮":"♮","⩃":"⩃",ň:"ň",ņ:"ņ","⩭̸":"⩭̸","⩂":"⩂",н:"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨","𝔫":"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺",њ:"њ","≦̸":"≦̸","↚":"↚","‥":"‥","𝕟":"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","𝓃":"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸",ñ:"ñ",ν:"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧",ó:"ó",ô:"ô",о:"о",ő:"ő","⨸":"⨸","⦼":"⦼",œ:"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛",ò:"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀",ō:"ō",ω:"ω",ο:"ο","⦶":"⦶","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝",ℴ:"ℴ",ª:"ª",º:"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛",ø:"ø","⊘":"⊘",õ:"õ","⨶":"⨶",ö:"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽",п:"п","%":"%",".":".","‰":"‰","‱":"‱","𝔭":"𝔭",φ:"φ",ϕ:"ϕ","☎":"☎",π:"π",ϖ:"ϖ",ℎ:"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕","𝕡":"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰","𝓅":"𝓅",ψ:"ψ"," ":" ","𝔮":"𝔮","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱",ŕ:"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐",ř:"ř",ŗ:"ŗ",р:"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽","𝔯":"𝔯","⥬":"⥬",ρ:"ρ",ϱ:"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›","𝓇":"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞",ś:"ś","⪴":"⪴","⪸":"⪸",š:"š",ş:"ş",ŝ:"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓",с:"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶","𝔰":"𝔰","♯":"♯",щ:"щ",ш:"ш","":"­",σ:"σ",ς:"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀",ь:"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀","𝓈":"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪",ß:"ß","⌖":"⌖",τ:"τ",ť:"ť",ţ:"ţ",т:"т","⌕":"⌕","𝔱":"𝔱",θ:"θ",ϑ:"ϑ",þ:"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉",ц:"ц",ћ:"ћ",ŧ:"ŧ","⥣":"⥣",ú:"ú",ў:"ў",ŭ:"ŭ",û:"û",у:"у",ű:"ű","⥾":"⥾","𝔲":"𝔲",ù:"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸",ū:"ū",ų:"ų","𝕦":"𝕦",υ:"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎",ů:"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰",ũ:"ũ",ü:"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀",в:"в","⊻":"⊻","≚":"≚","⋮":"⋮","𝔳":"𝔳","𝕧":"𝕧","𝓋":"𝓋","⦚":"⦚",ŵ:"ŵ","⩟":"⩟","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","𝓌":"𝓌","𝔵":"𝔵",ξ:"ξ","⋻":"⋻","𝕩":"𝕩","𝓍":"𝓍",ý:"ý",я:"я",ŷ:"ŷ",ы:"ы","¥":"¥","𝔶":"𝔶",ї:"ї","𝕪":"𝕪","𝓎":"𝓎",ю:"ю",ÿ:"ÿ",ź:"ź",ž:"ž",з:"з",ż:"ż",ζ:"ζ","𝔷":"𝔷",ж:"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","":"‍","":"‌"}}};var numericUnicodeMap={};Object.defineProperty(numericUnicodeMap,"__esModule",{value:!0}),numericUnicodeMap.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var surrogatePairs={};Object.defineProperty(surrogatePairs,"__esModule",{value:!0}),surrogatePairs.fromCodePoint=String.fromCodePoint||function(a){return String.fromCharCode(Math.floor((a-65536)/1024)+55296,(a-65536)%1024+56320)},surrogatePairs.getCodePoint=String.prototype.codePointAt?function(a,s){return a.codePointAt(s)}:function(a,s){return(a.charCodeAt(s)-55296)*1024+a.charCodeAt(s+1)-56320+65536},surrogatePairs.highSurrogateFrom=55296,surrogatePairs.highSurrogateTo=56319;var __assign$9=commonjsGlobal&&commonjsGlobal.__assign||function(){return __assign$9=Object.assign||function(a){for(var s,u=1,d=arguments.length;u<d;u++){s=arguments[u];for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&(a[f]=s[f])}return a},__assign$9.apply(this,arguments)};Object.defineProperty(lib$2,"__esModule",{value:!0});var named_references_1=namedReferences,numeric_unicode_map_1=numericUnicodeMap,surrogate_pairs_1=surrogatePairs,allNamedReferences=__assign$9(__assign$9({},named_references_1.namedReferences),{all:named_references_1.namedReferences.html5}),encodeRegExps={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},defaultEncodeOptions={mode:"specialChars",level:"all",numeric:"decimal"};function encode(a,s){var y=s===void 0?defaultEncodeOptions:s,E=y.mode,u=E===void 0?"specialChars":E,d=y.numeric,f=d===void 0?"decimal":d,g=y.level,v=g===void 0?"all":g;if(!a)return"";var A=encodeRegExps[u],x=allNamedReferences[v].characters,m=f==="hexadecimal";A.lastIndex=0;var y=A.exec(a),E;if(y){E="";var d=0;do{d!==y.index&&(E+=a.substring(d,y.index));var g=y[0],p=x[g];if(!p){var b=g.length>1?surrogate_pairs_1.getCodePoint(g,0):g.charCodeAt(0);p=(m?"&#x"+b.toString(16):"&#"+b)+";"}E+=p,d=y.index+g.length}while(y=A.exec(a));d!==a.length&&(E+=a.substring(d))}else E=a;return E}lib$2.encode=encode;var defaultDecodeOptions={scope:"body",level:"all"},strict=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,attribute=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,baseDecodeRegExps={xml:{strict,attribute,body:named_references_1.bodyRegExps.xml},html4:{strict,attribute,body:named_references_1.bodyRegExps.html4},html5:{strict,attribute,body:named_references_1.bodyRegExps.html5}},decodeRegExps=__assign$9(__assign$9({},baseDecodeRegExps),{all:baseDecodeRegExps.html5}),fromCharCode=String.fromCharCode,outOfBoundsChar=fromCharCode(65533),defaultDecodeEntityOptions={level:"all"};function decodeEntity(a,s){var d=(s===void 0?defaultDecodeEntityOptions:s).level,u=d===void 0?"all":d;if(!a)return"";var d=a;a[a.length-1];{var f=allNamedReferences[u].entities[a];if(f)d=f;else if(a[0]==="&"&&a[1]==="#"){var g=a[2],v=g=="x"||g=="X"?parseInt(a.substr(3),16):parseInt(a.substr(2));d=v>=1114111?outOfBoundsChar:v>65535?surrogate_pairs_1.fromCodePoint(v):fromCharCode(numeric_unicode_map_1.numericUnicodeMap[v]||v)}}return d}lib$2.decodeEntity=decodeEntity;function decode(a,s){var u=s===void 0?defaultDecodeOptions:s,d=u.level,f=d===void 0?"all":d,g=u.scope,v=g===void 0?f==="xml"?"strict":"body":g;if(!a)return"";var A=decodeRegExps[f][v],x=allNamedReferences[f].entities,m=v==="attribute",y=v==="strict";A.lastIndex=0;var E=A.exec(a),p;if(E){p="";var b=0;do{b!==E.index&&(p+=a.substring(b,E.index));var S=E[0],w=S,T=S[S.length-1];if(m&&T==="=")w=S;else if(y&&T!==";")w=S;else{var $=x[S];if($)w=$;else if(S[0]==="&"&&S[1]==="#"){var R=S[2],I=R=="x"||R=="X"?parseInt(S.substr(3),16):parseInt(S.substr(2));w=I>=1114111?outOfBoundsChar:I>65535?surrogate_pairs_1.fromCodePoint(I):fromCharCode(numeric_unicode_map_1.numericUnicodeMap[I]||I)}}p+=w,b=E.index+S.length}while(E=A.exec(a));b!==a.length&&(p+=a.substring(b))}else p=a;return p}lib$2.decode=decode,function(a){var s=commonjsGlobal&&commonjsGlobal.__extends||function(){var D=function(F,B){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,W){_.__proto__=W}||function(_,W){for(var te in W)Object.prototype.hasOwnProperty.call(W,te)&&(_[te]=W[te])},D(F,B)};return function(F,B){if(typeof B!="function"&&B!==null)throw new TypeError("Class extends value "+String(B)+" is not a constructor or null");D(F,B);function _(){this.constructor=F}F.prototype=B===null?Object.create(B):(_.prototype=B.prototype,new _)}}();Object.defineProperty(a,"__esModule",{value:!0}),a.isBlock=a.parse=a.Matcher=a.HTMLElement=a.CommentNode=a.TextNode=a.AbstractNode=a.NodeType=void 0;var u=lib$2,d;(function(D){D[D.ELEMENT_NODE=1]="ELEMENT_NODE",D[D.TEXT_NODE=3]="TEXT_NODE",D[D.COMMENT_NODE=8]="COMMENT_NODE"})(d=a.NodeType||(a.NodeType={}));var f=function(){function D(){this.childNodes=[]}return Object.defineProperty(D.prototype,"text",{get:function(){return(0,u.decode)(this.rawText)},enumerable:!1,configurable:!0}),D.prototype.remove=function(){return this.parentNode&&this.parentNode.removeChild(this),this},D}();a.AbstractNode=f;var g=function(D){s(F,D);function F(B){var _=D.call(this)||this;return _.nodeType=d.TEXT_NODE,_.value=B,_}return Object.defineProperty(F.prototype,"rawText",{get:function(){return this.value},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"isWhitespace",{get:function(){return/^(\s| )*$/.test(this.rawText)},enumerable:!1,configurable:!0}),F.prototype.toString=function(){return this.rawText},F}(f);a.TextNode=g;var v=function(D){s(F,D);function F(B){var _=D.call(this)||this;return _.nodeType=d.COMMENT_NODE,_.value=B,_}return Object.defineProperty(F.prototype,"rawText",{get:function(){return this.value},enumerable:!1,configurable:!0}),F.prototype.toString=function(){return"<!--".concat(this.rawText,"-->")},F}(f);a.CommentNode=v;var A={div:!0,p:!0,li:!0,td:!0,section:!0,br:!0};function x(D){return D[D.length-1]}var m=function(D){s(F,D);function F(B,_,W){_===void 0&&(_=""),W===void 0&&(W=null);var te=D.call(this)||this;te.tagName=B,te.rawAttrs=_,te.classNames=[],te.nodeType=d.ELEMENT_NODE,te.rawAttrs=_,te.parentNode=W,te.childNodes=[];for(var X={},K=void 0;K=S.exec(_);)X[K[2]]=K[4]||K[5]||K[6];return X.id&&(te.id=X.id),X.class&&(te.classNames=X.class.split(/\s+/)),te}return F.prototype.removeChild=function(B){this.childNodes=this.childNodes.filter(function(_){return _!==B}),B instanceof F&&(B.parentNode=null)},F.prototype.exchangeChild=function(B,_){var W=this.childNodes.findIndex(function(te){return te===B});W>=0&&(this.childNodes[W]=_,B instanceof F&&(B.parentNode=null))},Object.defineProperty(F.prototype,"rawText",{get:function(){for(var B="",_=0;_<this.childNodes.length;_++)B+=this.childNodes[_].rawText;return B},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"structuredText",{get:function(){var B=[],_=[B];function W(te){if(te.nodeType===d.ELEMENT_NODE)A[te.tagName]?(B.length>0&&_.push(B=[]),te.childNodes.forEach(W),B.length>0&&_.push(B=[])):te.childNodes.forEach(W);else if(te.nodeType===d.TEXT_NODE)if(te.isWhitespace)B.prependWhitespace=!0;else{var X=te.text;B.prependWhitespace&&(X=" "+X,B.prependWhitespace=!1),B.push(X)}}return W(this),_.map(function(te){return te.join("").trim().replace(/\s{2,}/g," ")}).join(`
|
329
329
|
`).replace(/\s+$/,"")},enumerable:!1,configurable:!0}),F.prototype.toString=function(){var B=this.tagName;if(B){var _=/^(img|br|hr|area|base|input|doctype|link|meta)$/i.test(B),W=this.rawAttrs?" "+this.rawAttrs:"";return _?"<".concat(B).concat(W," />"):"<".concat(B).concat(W,">").concat(this.innerHTML,"</").concat(B,">")}else return this.innerHTML},Object.defineProperty(F.prototype,"innerHTML",{get:function(){return this.childNodes.map(function(B){return B.toString()}).join("")},set:function(B){var _=this,W=O(B);this.childNodes.forEach(function(te){return te.remove()}),W.childNodes.forEach(function(te){return _.appendChild(te)})},enumerable:!1,configurable:!0}),F.prototype.set_content=function(B){if(B instanceof f)B=[B];else if(typeof B=="string"){var _=O(B);B=_.childNodes.length?_.childNodes:[new g(B)]}this.childNodes=B},Object.defineProperty(F.prototype,"outerHTML",{get:function(){return this.toString()},enumerable:!1,configurable:!0}),F.prototype.trimRight=function(B){for(var _=0;_<this.childNodes.length;_++){var W=this.childNodes[_];if(W.nodeType===d.ELEMENT_NODE)W.trimRight(B);else{var te=W.rawText.search(B);te>-1&&(W.value=W.rawText.substr(0,te),this.childNodes.length=_+1)}}return this},Object.defineProperty(F.prototype,"structure",{get:function(){var B=[],_=0;function W(X){B.push(" ".repeat(_)+X)}function te(X){var K=X.id?"#"+X.id:"",H=X.classNames.length?"."+X.classNames.join("."):"";W(X.tagName+K+H),_++;for(var U=0;U<X.childNodes.length;U++){var G=X.childNodes[U];G.nodeType===d.ELEMENT_NODE?te(G):G.nodeType===d.TEXT_NODE&&(G.isWhitespace||W("#text"))}_--}return te(this),B.join(`
|
330
|
-
`)},enumerable:!1,configurable:!0}),F.prototype.removeWhitespace=function(){for(var B=0,_=0;_<this.childNodes.length;_++){var W=this.childNodes[_];if(W.nodeType===d.TEXT_NODE){if(W.isWhitespace)continue;W.value=W.rawText.trim()}else W.nodeType===d.ELEMENT_NODE&&W.removeWhitespace();this.childNodes[B++]=W}return this.childNodes.length=B,this},F.prototype.querySelectorAll=function(B){var _=this,W;if(B instanceof p)W=B,W.reset();else{if(B.includes(",")){var te=B.split(",");return Array.from(te.reduce(function(L,Z){var ne=_.querySelectorAll(Z.trim());return ne.reduce(function(ue,fe){return ue.add(fe)},L)},new Set))}W=new p(B)}for(var X=[],K=[],H=0;H<this.childNodes.length;H++)for(K.push([this.childNodes[H],0,!1]);K.length;){var U=x(K),G=U[0];if(U[1]===0){if(G.nodeType!==d.ELEMENT_NODE){K.pop();continue}if((U[2]=W.advance(G))&&W.matched){X.push(G),W.rewind(),K.pop();continue}}U[1]<G.childNodes.length?K.push([G.childNodes[U[1]++],0,!1]):(U[2]&&W.rewind(),K.pop())}return X},F.prototype.querySelector=function(B){var _;B instanceof p?(_=B,_.reset()):_=new p(B);for(var W=[],te=0;te<this.childNodes.length;te++)for(W.push([this.childNodes[te],0,!1]);W.length;){var X=x(W),K=X[0];if(X[1]===0){if(K.nodeType!==d.ELEMENT_NODE){W.pop();continue}if((X[2]=_.advance(K))&&_.matched)return K}X[1]<K.childNodes.length?W.push([K.childNodes[X[1]++],0,!1]):(X[2]&&_.rewind(),W.pop())}return null},F.prototype.appendChild=function(B){return this.childNodes.push(B),B instanceof F&&(B.parentNode=this),B},F.prototype.prependChild=function(B){return this.childNodes.unshift(B),B instanceof F&&(B.parentNode=this),B},Object.defineProperty(F.prototype,"firstChild",{get:function(){return this.childNodes[0]},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"lastChild",{get:function(){return x(this.childNodes)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"attributes",{get:function(){if(this._attrs)return this._attrs;this._attrs={};var B=this.rawAttributes;for(var _ in B)this._attrs[_]=(0,u.decode)(B[_]);return this._attrs},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"rawAttributes",{get:function(){if(this._rawAttrs)return this._rawAttrs;var B={};if(this.rawAttrs)for(var _=void 0;_=w.exec(this.rawAttrs);)B[_[1]]=_[4]||_[5]||_[6]||"";return this._rawAttrs=B,B},enumerable:!1,configurable:!0}),F.prototype.setAttribute=function(B,_){B==="id"?this.id=_:B==="class"&&(this.classNames=_.split(/\s+/));var W=this.attributes;_===void 0?delete W[B]:W[B]=_+"",this._rawAttrs&&(_===void 0?delete this._rawAttrs[B]:this._rawAttrs[B]=(0,u.encode)(_+"")),this.rawAttrs=Object.keys(W).map(function(te){return te+(W[te]===""?"":'="'+(0,u.encode)(W[te])+'"')}).join(" ")},F.prototype.removeAttribute=function(B){this.setAttribute(B,void 0)},F.prototype.setAttributes=function(B){var _=this;B.id?this.id=B.id:B.class&&(this.classNames=B.class.split(/\s+/)),this.attributes&&(Object.keys(this.attributes).forEach(function(W){return delete _.attributes[W]}),Object.keys(B).forEach(function(W){return _.attributes[W]=B[W]+""})),this.rawAttributes&&(Object.keys(this.rawAttributes).forEach(function(W){return delete _.rawAttributes[W]}),Object.keys(B).forEach(function(W){return _.rawAttributes[W]=(0,u.encode)(B[W]+"")})),this.rawAttrs=Object.keys(B).map(function(W){return W+(B[W]===""?"":'="'+(0,u.encode)(B[W]+"")+'"')}).join(" ")},F}(f);a.HTMLElement=m;var y={},E={f145:function(D,F,B,_,W){if(F=F||"",B=B||[],D.id!=F.substr(1))return!1;for(var te=B,X=0;X<te.length;X++)if(D.classNames.indexOf(te[X])===-1)return!1;return!0},f45:function(D,F,B,_,W){B=B||[];for(var te=B,X=0;X<te.length;X++)if(D.classNames.indexOf(te[X])===-1)return!1;return!0},f15:function(D,F,B,_,W){return F=F||"",D.id==F.substr(1)},f1:function(D,F,B,_,W){if(F=F||"",D.id!=F.substr(1))return!1},f5:function(D,F,B,_,W){return!0},f245:function(D,F,B,_,W){_=_||"",W=W||"";var te=D.attributes;for(var X in te){var K=te[X];if(X==_&&K==W)return!0}return!1},f25:function(D,F,B,_,W){_=_||"",W=W||"";var te=D.attributes;for(var X in te){var K=te[X];if(X==_&&K==W)return!0}return!1},f2:function(D,F,B,_,W){_=_||"",W=W||"";var te=D.attributes;for(var X in te){var K=te[X];if(X==_&&K==W)return!0}return!1},f345:function(D,F,B,_,W){if(F=F||"",B=B||[],D.tagName!=F)return!1;for(var te=B,X=0;X<te.length;X++)if(D.classNames.indexOf(te[X])===-1)return!1;return!0},f35:function(D,F,B,_,W){return F=F||"",D.tagName==F},f3:function(D,F,B,_,W){if(F=F||"",D.tagName!=F)return!1}},p=function(){function D(F){this.nextMatch=0,E.f5=E.f5,this.matchers=F.split(" ").map(function(B){if(y[B])return y[B];var _=B.split("."),W=_[0],te=_.slice(1).sort(),X='"use strict";',K="f",H="",U="";if(W&&W!="*"){var G;if(W[0]=="#")X+="if (el.id != "+JSON.stringify(W.substr(1))+") return false;",K+="1";else if(G=W.match(/^\[\s*(\S+)\s*(=|!=)\s*((((["'])([^\6]*)\6))|(\S*?))\]\s*/)){H=G[1];var L=G[2];if(L!=="="&&L!=="!=")throw new Error("Selector not supported, Expect [key${op}value].op must be =,!=");L==="="&&(L="=="),U=G[7]||G[8],X+='let attrs = el.attributes;for (let key in attrs){const val = attrs[key]; if (key == "'.concat(H,'" && val == "').concat(U,'"){return true;}} return false;'),K+="2"}else X+="if (el.tagName != "+JSON.stringify(W)+") return false;",K+="3"}te.length>0&&(X+="for (let cls = "+JSON.stringify(te)+", i = 0; i < cls.length; i++) if (el.classNames.indexOf(cls[i]) === -1) return false;",K+="4"),X+="return true;",K+="5";var Z={func:E[K],tagName:W||"",classes:te||"",attr_key:H||"",value:U||""};return X=X||"",y[B]=Z})}return D.prototype.advance=function(F){return this.nextMatch<this.matchers.length&&this.matchers[this.nextMatch].func(F,this.matchers[this.nextMatch].tagName,this.matchers[this.nextMatch].classes,this.matchers[this.nextMatch].attr_key,this.matchers[this.nextMatch].value)?(this.nextMatch++,!0):!1},D.prototype.rewind=function(){this.nextMatch--},Object.defineProperty(D.prototype,"matched",{get:function(){return this.nextMatch==this.matchers.length},enumerable:!1,configurable:!0}),D.prototype.reset=function(){this.nextMatch=0},D.prototype.flushCache=function(){y={}},D}();a.Matcher=p;var b=/<!--[^]*?(?=-->)-->|<(\/?)([a-z][-.:0-9_a-z]*)((\s+[a-z][-.:0-9_a-z]*(\s*=\s*("[^"]*"|'([^']*')|([^\s\/>]+)))?)*)\s*(\/?)>/ig,S=/(^|\s)(id|class)\s*=\s*("([^"]+)"|'([^']+)'|(\S+))/ig,w=/([a-z][-.:0-9_a-z]*)(\s*=\s*("([^"]*)"|'([^']*)'|(\S+)))?/ig,T={area:!0,base:!0,br:!0,col:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,source:!0},$={li:{li:!0},p:{p:!0,div:!0},b:{div:!0},td:{td:!0,th:!0},th:{td:!0,th:!0},h1:{h1:!0},h2:{h2:!0},h3:{h3:!0},h4:{h4:!0},h5:{h5:!0},h6:{h6:!0}},R={li:{ul:!0,ol:!0},a:{div:!0},b:{div:!0},i:{div:!0},p:{div:!0},td:{tr:!0,table:!0},th:{tr:!0,table:!0}},I={script:!0,noscript:!0,style:!0,pre:!0};function O(D,F){var B=new m(null),_=B,W=[B],te=0;F=F||{};for(var X;X=b.exec(D);){if(te+X[0].length<b.lastIndex){var K=D.substring(te,b.lastIndex-X[0].length);_.appendChild(new g(K))}if(te=b.lastIndex,X[0][1]=="!"){if(F.comment){var K=D.substring(te-3,te-X[0].length+4);_.appendChild(new v(K))}continue}if(F.lowerCaseTagName&&(X[2]=X[2].toLowerCase()),!X[1]&&(!X[9]&&$[_.tagName]&&$[_.tagName][X[2]]&&(W.pop(),_=x(W)),_=_.appendChild(new m(X[2],X[3].trim())),W.push(_),I[X[2]])){var H="</"+X[2]+">",U=D.indexOf(H,b.lastIndex);if(F[X[2]]){var K=void 0;U==-1?K=D.substr(b.lastIndex):K=D.substring(b.lastIndex,U),K.length>0&&_.appendChild(new g(K))}U==-1?te=b.lastIndex=D.length+1:(te=b.lastIndex=U+H.length,X[1]="true")}if(X[1]||X[9]||T[X[2]])for(;;)if(_.tagName==X[2]){W.pop(),_=x(W);break}else{if(R[_.tagName]&&R[_.tagName][X[2]]){W.pop(),_=x(W);continue}break}}te<D.length&&B.appendChild(new g(D.substring(te))),B.valid=W.length===1;for(var G=function(){var L=W.pop(),Z=x(W);L.parentNode&&L.parentNode instanceof m&&L.parentNode.parentNode&&(L.parentNode===Z&&L.tagName===Z.tagName?(Z.removeChild(L),L.childNodes.forEach(function(ne){Z.parentNode.appendChild(ne)}),W.pop()):(Z.removeChild(L),L.childNodes.forEach(function(ne){Z.appendChild(ne)})))};W.length>1;)G();return B}a.parse=O;var C=["html","body","address","article","aside","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","header","hr","li","main","nav","noscript","ol","p","pre","section","tfoot","table","tbody","ul","video","th","td","tr","h1","h2","h3","h4","h5","h6"];function M(D){return D.nodeType===d.ELEMENT_NODE&&D.tagName&&C.includes(D.tagName.toLowerCase())}a.isBlock=M}(dist),LineCapStyle.Butt,LineCapStyle.Round,LineCapStyle.Projecting,FillRule.EvenOdd,FillRule.NonZero,LineJoinStyle.Bevel,LineJoinStyle.Miter,LineJoinStyle.Round;const convertForPdfLayoutProps=({schema:a,pageHeight:s,applyRotateTranslate:u=!0})=>{const{width:d,height:f,position:g,rotate:v,opacity:A}=a,{x,y:m}=g,y=v?-v:0,E=mm2pt(d),p=mm2pt(f);let b=mm2pt(x),S=s-mm2pt(m)-p;if(y&&u){const w={x:b+E/2,y:s-mm2pt(m)-p/2},T=rotatePoint({x:b,y:S},w,y);b=T.x,S=T.y}return{position:{x:b,y:S},height:p,width:E,rotate:degrees(y),opacity:A}},rotatePoint=(a,s,u)=>{const d=degreesToRadians(u),f=Math.cos(d)*(a.x-s.x)-Math.sin(d)*(a.y-s.y)+s.x,g=Math.sin(d)*(a.x-s.x)+Math.cos(d)*(a.y-s.y)+s.y;return{x:f,y:g}},addAlphaToHex=(a,s)=>{if(!/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/i.test(a))throw new Error("Invalid HEX color code");let d=Math.round(s/100*255).toString(16);return d.length===1&&(d="0"+d),a+d},isEditable=(a,s)=>a==="designer"||a==="form"&&s.readOnly!==!0,hex2rgb=a=>(a.slice(0,1)==="#"&&(a=a.slice(1)),a.length===3&&(a=a.slice(0,1)+a.slice(0,1)+a.slice(1,2)+a.slice(1,2)+a.slice(2,3)+a.slice(2,3)),[a.slice(0,2),a.slice(2,4),a.slice(4,6)].map(s=>parseInt(s,16))),hex2RgbColor=a=>{if(a){if(!isHexValid(a))throw new Error(`Invalid hex color value ${a}`);const[u,d,f]=hex2rgb(a);return rgb(u/255,d/255,f/255)}},embedAndGetFontObj=async a=>{const{pdfDoc:s,font:u,_cache:d}=a;if(d.has(s))return d.get(s);const f=await Promise.all(Object.values(u).map(async v=>{let A=v.data;return typeof A=="string"&&A.startsWith("http")&&(A=await fetch(A).then(x=>x.arrayBuffer())),s.embedFont(A,{subset:typeof v.subset>"u"?!0:v.subset})})),g=Object.keys(u).reduce((v,A,x)=>Object.assign(v,{[A]:f[x]}),{});return d.set(s,g),g},getFontProp=async({value:a,font:s,schema:u,_cache:d})=>{const f=u.dynamicFontSize?await calculateDynamicFontSize({textSchema:u,font:s,value:a,_cache:d}):u.fontSize??DEFAULT_FONT_SIZE,g=hex2RgbColor(u.fontColor||DEFAULT_FONT_COLOR);return{alignment:u.alignment??DEFAULT_ALIGNMENT,verticalAlignment:u.verticalAlignment??DEFAULT_VERTICAL_ALIGNMENT,lineHeight:u.lineHeight??DEFAULT_LINE_HEIGHT,characterSpacing:u.characterSpacing??DEFAULT_CHARACTER_SPACING,fontSize:f,color:g}},pdfRender=async a=>{const{value:s,pdfDoc:u,pdfLib:d,page:f,options:g,schema:v,_cache:A}=a;if(!s)return;const{font:x=getDefaultFont()}=g,[m,y,E]=await Promise.all([embedAndGetFontObj({pdfDoc:u,font:x,_cache:A}),getFontKitFont(v,x,A),getFontProp({value:s,font:x,schema:v,_cache:A})]),{fontSize:p,color:b,alignment:S,verticalAlignment:w,lineHeight:T,characterSpacing:$}=E,R=v.fontName?v.fontName:getFallbackFontName(x),I=m&&m[R],O=f.getHeight(),{width:C,height:M,rotate:D,position:{x:F,y:B},opacity:_}=convertForPdfLayoutProps({schema:v,pageHeight:O,applyRotateTranslate:!1});if(v.backgroundColor){const L=hex2RgbColor(v.backgroundColor);f.drawRectangle({x:F,y:B,width:C,height:M,rotate:D,color:L})}f.pushOperators(d.setCharacterSpacing($??DEFAULT_CHARACTER_SPACING));const W=heightOfFontAtSize(y,p),te=getFontDescentInPt(y,p),X=T===0?0:(T-1)*p/2,K={font:y,fontSize:p,characterSpacing:$,boxWidthInPt:C};let H=[];s.split(/\r\n|\r|\n/g).forEach(L=>{H=H.concat(getSplittedLines(L,K))});let U=0;if(w===VERTICAL_ALIGN_TOP)U=W+X;else{const L=T*p*(H.length-1);w===VERTICAL_ALIGN_BOTTOM?U=M-L+te-X:w===VERTICAL_ALIGN_MIDDLE&&(U=(M-L-W+te)/2+W)}const G={x:F+C/2,y:O-mm2pt(v.position.y)-M/2};H.forEach((L,Z)=>{const ne=widthOfTextAtSize(L,y,p,$),ue=T*p*Z;let fe=F;S==="center"?fe+=(C-ne)/2:S==="right"&&(fe+=C-ne);let ie=O-mm2pt(v.position.y)-U-ue;if(D.angle!==0){const se=rotatePoint({x:fe,y:ie},G,D.angle);fe=se.x,ie=se.y}f.drawText(L,{x:fe,y:ie,rotate:D,size:p,color:b,lineHeight:T*p,maxWidth:C,font:I,wordBreaks:[""],opacity:_})})},DEFAULT_OPACITY=1,HEX_COLOR_PATTERN="^#(?:[A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$",UseDynamicFontSize=a=>{const{rootElement:s,changeSchemas:u,activeSchema:d,i18n:f}=a,g=document.createElement("input");g.type="checkbox",g.checked=!!(d!=null&&d.dynamicFontSize),g.onchange=A=>{const x=A.target.checked?{min:DEFAULT_DYNAMIC_MIN_FONT_SIZE,max:DEFAULT_DYNAMIC_MAX_FONT_SIZE,fit:DEFAULT_DYNAMIC_FIT}:void 0;u([{key:"dynamicFontSize",value:x,schemaId:d.id}])};const v=document.createElement("label");v.innerText=f("schemas.text.dynamicFontSize")||"",v.style.cssText="display: flex; width: 100%;",v.appendChild(g),s.appendChild(v)},propPanel={schema:({options:a,activeSchema:s,i18n:u})=>{const d=a.font||{[DEFAULT_FONT_NAME]:{data:"",fallback:!0}},f=Object.keys(d),g=getFallbackFontName(d),v=!!(s!=null&&s.dynamicFontSize);return{fontName:{title:u("schemas.text.fontName"),type:"string",widget:"select",default:g,props:{options:f.map(x=>({label:x,value:x}))},span:12},fontSize:{title:u("schemas.text.size"),type:"number",widget:"inputNumber",span:6,disabled:v},characterSpacing:{title:u("schemas.text.spacing"),type:"number",widget:"inputNumber",span:6},alignment:{title:u("schemas.text.textAlign"),type:"string",widget:"select",props:{options:[{label:u("schemas.left"),value:DEFAULT_ALIGNMENT},{label:u("schemas.center"),value:ALIGN_CENTER},{label:u("schemas.right"),value:ALIGN_RIGHT}]},span:8},verticalAlignment:{title:u("schemas.text.verticalAlign"),type:"string",widget:"select",props:{options:[{label:u("schemas.top"),value:VERTICAL_ALIGN_TOP},{label:u("schemas.middle"),value:VERTICAL_ALIGN_MIDDLE},{label:u("schemas.bottom"),value:VERTICAL_ALIGN_BOTTOM}]},span:8},lineHeight:{title:u("schemas.text.lineHeight"),type:"number",widget:"inputNumber",props:{step:.1},span:8},useDynamicFontSize:{type:"boolean",widget:"UseDynamicFontSize",bind:!1,span:16},dynamicFontSize:{type:"object",widget:"card",column:3,properties:{min:{title:u("schemas.text.min"),type:"number",widget:"inputNumber",hidden:!v},max:{title:u("schemas.text.max"),type:"number",widget:"inputNumber",hidden:!v},fit:{title:u("schemas.text.fit"),type:"string",widget:"select",hidden:!v,props:{options:[{label:u("schemas.horizontal"),value:DYNAMIC_FIT_HORIZONTAL},{label:u("schemas.vertical"),value:DYNAMIC_FIT_VERTICAL}]}}}},fontColor:{title:u("schemas.textColor"),type:"string",widget:"color",rules:[{pattern:HEX_COLOR_PATTERN,message:u("hexColorPrompt")}]},backgroundColor:{title:u("schemas.bgColor"),type:"string",widget:"color",rules:[{pattern:HEX_COLOR_PATTERN,message:u("hexColorPrompt")}]}}},widgets:{UseDynamicFontSize},defaultValue:"Type Something...",defaultSchema:{type:"text",position:{x:0,y:0},width:45,height:10,rotate:0,alignment:DEFAULT_ALIGNMENT,verticalAlignment:DEFAULT_VERTICAL_ALIGNMENT,fontSize:DEFAULT_FONT_SIZE,lineHeight:DEFAULT_LINE_HEIGHT,characterSpacing:DEFAULT_CHARACTER_SPACING,dynamicFontSize:void 0,fontColor:DEFAULT_FONT_COLOR,fontName:void 0,backgroundColor:"",opacity:DEFAULT_OPACITY}},mapVerticalAlignToFlex=a=>{switch(a){case VERTICAL_ALIGN_TOP:return"flex-start";case VERTICAL_ALIGN_MIDDLE:return"center";case VERTICAL_ALIGN_BOTTOM:return"flex-end"}return"flex-start"},getBackgroundColor=(a,s,u)=>a?s.backgroundColor?s.backgroundColor:u:"transparent",uiRender=async a=>{const{value:s,schema:u,rootElement:d,mode:f,onChange:g,stopEditing:v,tabIndex:A,placeholder:x,options:m,theme:y,_cache:E}=a,p=(m==null?void 0:m.font)||getDefaultFont();let b;const S=F=>({textSchema:u,font:p,value:F,startingFontSize:b,_cache:E});u.dynamicFontSize&&s&&(b=await calculateDynamicFontSize(S(s)));const w=await getFontKitFont(u,p,E),{topAdj:T,bottomAdj:$}=getBrowserVerticalFontAdjustments(w,b??u.fontSize??DEFAULT_FONT_SIZE,u.lineHeight??DEFAULT_LINE_HEIGHT,u.verticalAlignment??DEFAULT_VERTICAL_ALIGNMENT),R=T.toString(),I=$.toString(),O=document.createElement("div"),C={padding:0,resize:"none",backgroundColor:getBackgroundColor(s,u,addAlphaToHex(y.colorPrimaryBg,30)),border:"none",display:"flex",flexDirection:"column",justifyContent:mapVerticalAlignToFlex(u.verticalAlignment),width:"100%",height:"100%"};Object.assign(O.style,C),d.innerHTML="",d.appendChild(O);const M={fontFamily:u.fontName?`'${u.fontName}'`:"inherit",color:u.fontColor?u.fontColor:DEFAULT_FONT_COLOR,fontSize:`${b??u.fontSize??DEFAULT_FONT_SIZE}pt`,letterSpacing:`${u.characterSpacing??DEFAULT_CHARACTER_SPACING}pt`,lineHeight:`${u.lineHeight??DEFAULT_LINE_HEIGHT}em`,textAlign:u.alignment??DEFAULT_ALIGNMENT,whiteSpace:"pre-wrap",wordBreak:"break-word",resize:"none",border:"none",outline:"none",marginBottom:`${I}px`,paddingTop:`${R}px`,backgroundColor:"transparent"},D=document.createElement("div");if(Object.assign(D.style,M),isEditable(f,u)){if(D.contentEditable="plaintext-only",D.tabIndex=A||0,D.innerText=s,D.addEventListener("blur",F=>{g&&g(F.target.innerText),v&&v()}),u.dynamicFontSize&&D.addEventListener("keyup",()=>{setTimeout(()=>{(async()=>{if(!D.textContent)return;b=await calculateDynamicFontSize(S(D.textContent)),D.style.fontSize=`${b}pt`;const{topAdj:F,bottomAdj:B}=getBrowserVerticalFontAdjustments(w,b??u.fontSize??DEFAULT_FONT_SIZE,u.lineHeight??DEFAULT_LINE_HEIGHT,u.verticalAlignment??DEFAULT_VERTICAL_ALIGNMENT);D.style.paddingTop=`${F}px`,D.style.marginBottom=`${B}px`})()},0)}),x&&!s){if(D.innerText=x,D.style.color=PLACEHOLDER_FONT_COLOR,u.dynamicFontSize){const F=await calculateDynamicFontSize(S(x));D.style.fontSize=`${F}pt`}D.addEventListener("focus",()=>{D.innerText===x&&(D.innerText="",D.style.color=u.fontColor??DEFAULT_FONT_COLOR)})}if(O.appendChild(D),f==="designer"){D.focus();const F=window.getSelection(),B=document.createRange();B.selectNodeContents(D),B.collapse(!1),F==null||F.removeAllRanges(),F==null||F.addRange(B)}}else D.innerHTML=s.split("").map((F,B)=>`<span style="letter-spacing:${String(s).length===B+1?0:"inherit"};">${F}</span>`).join(""),O.appendChild(D)},textSchema={pdf:pdfRender,ui:uiRender,propPanel},text=textSchema;textSchema.pdf,textSchema.ui,{...textSchema.propPanel,defaultSchema:{...textSchema.propPanel.defaultSchema,readOnlyValue:textSchema.propPanel.defaultValue}};const builtInPlugins={Text:text};class BaseUIClass{constructor(s){this.lang=DEFAULT_LANG,this.font=getDefaultFont(),this.pluginsRegistry=builtInPlugins,this.options={},this.setSize=debounce$1(()=>{if(!this.domContainer)throw Error(DESTROYED_ERR_MSG);this.size={height:this.domContainer.clientHeight||window.innerHeight,width:this.domContainer.clientWidth||window.innerWidth},this.render()},100),this.resizeObserver=new ResizeObserver(this.setSize),checkUIProps(s);const{domContainer:u,template:d,options:f={},plugins:g={}}=s;this.domContainer=u,this.template=generateColumnsAndSampledataIfNeeded(cloneDeep$1(d)),this.options=f,this.size={height:this.domContainer.clientHeight||window.innerHeight,width:this.domContainer.clientWidth||window.innerWidth},this.resizeObserver.observe(this.domContainer);const{lang:v,font:A}=f;v&&(this.lang=v),A&&(this.font=A),Object.values(g).length>0&&(this.pluginsRegistry=g)}getLang(){return this.lang}getFont(){return this.font}getPluginsRegistry(){return this.pluginsRegistry}getOptions(){return this.options}getTemplate(){if(!this.domContainer)throw Error(DESTROYED_ERR_MSG);return this.template}updateTemplate(s){if(checkTemplate(s),!this.domContainer)throw Error(DESTROYED_ERR_MSG);this.template=cloneDeep$1(s),this.render()}updateOptions(s){checkUIOptions(s);const{lang:u,font:d}=s||{};u&&(this.lang=u),d&&(this.font=d),this.options=Object.assign(this.options,s),this.render()}destroy(){if(!this.domContainer)throw Error(DESTROYED_ERR_MSG);ReactDOM.unmountComponentAtNode(this.domContainer),this.resizeObserver.unobserve(this.domContainer),this.domContainer=null}}class PreviewUI extends BaseUIClass{constructor(s){super(s),checkPreviewProps(s),this.inputs=cloneDeep$1(s.inputs)}getInputs(){if(!this.domContainer)throw Error(DESTROYED_ERR_MSG);return this.inputs}setInputs(s){if(!this.domContainer)throw Error(DESTROYED_ERR_MSG);checkInputs(s),this.inputs=cloneDeep$1(s),this.render()}}var reactExports=requireReact();const React$a=getDefaultExportFromCjs(reactExports),React$b=_mergeNamespaces({__proto__:null,default:React$a},[reactExports]);var classnames$1={exports:{}};/*!
|
330
|
+
`)},enumerable:!1,configurable:!0}),F.prototype.removeWhitespace=function(){for(var B=0,_=0;_<this.childNodes.length;_++){var W=this.childNodes[_];if(W.nodeType===d.TEXT_NODE){if(W.isWhitespace)continue;W.value=W.rawText.trim()}else W.nodeType===d.ELEMENT_NODE&&W.removeWhitespace();this.childNodes[B++]=W}return this.childNodes.length=B,this},F.prototype.querySelectorAll=function(B){var _=this,W;if(B instanceof p)W=B,W.reset();else{if(B.includes(",")){var te=B.split(",");return Array.from(te.reduce(function(L,Z){var ne=_.querySelectorAll(Z.trim());return ne.reduce(function(ue,fe){return ue.add(fe)},L)},new Set))}W=new p(B)}for(var X=[],K=[],H=0;H<this.childNodes.length;H++)for(K.push([this.childNodes[H],0,!1]);K.length;){var U=x(K),G=U[0];if(U[1]===0){if(G.nodeType!==d.ELEMENT_NODE){K.pop();continue}if((U[2]=W.advance(G))&&W.matched){X.push(G),W.rewind(),K.pop();continue}}U[1]<G.childNodes.length?K.push([G.childNodes[U[1]++],0,!1]):(U[2]&&W.rewind(),K.pop())}return X},F.prototype.querySelector=function(B){var _;B instanceof p?(_=B,_.reset()):_=new p(B);for(var W=[],te=0;te<this.childNodes.length;te++)for(W.push([this.childNodes[te],0,!1]);W.length;){var X=x(W),K=X[0];if(X[1]===0){if(K.nodeType!==d.ELEMENT_NODE){W.pop();continue}if((X[2]=_.advance(K))&&_.matched)return K}X[1]<K.childNodes.length?W.push([K.childNodes[X[1]++],0,!1]):(X[2]&&_.rewind(),W.pop())}return null},F.prototype.appendChild=function(B){return this.childNodes.push(B),B instanceof F&&(B.parentNode=this),B},F.prototype.prependChild=function(B){return this.childNodes.unshift(B),B instanceof F&&(B.parentNode=this),B},Object.defineProperty(F.prototype,"firstChild",{get:function(){return this.childNodes[0]},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"lastChild",{get:function(){return x(this.childNodes)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"attributes",{get:function(){if(this._attrs)return this._attrs;this._attrs={};var B=this.rawAttributes;for(var _ in B)this._attrs[_]=(0,u.decode)(B[_]);return this._attrs},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"rawAttributes",{get:function(){if(this._rawAttrs)return this._rawAttrs;var B={};if(this.rawAttrs)for(var _=void 0;_=w.exec(this.rawAttrs);)B[_[1]]=_[4]||_[5]||_[6]||"";return this._rawAttrs=B,B},enumerable:!1,configurable:!0}),F.prototype.setAttribute=function(B,_){B==="id"?this.id=_:B==="class"&&(this.classNames=_.split(/\s+/));var W=this.attributes;_===void 0?delete W[B]:W[B]=_+"",this._rawAttrs&&(_===void 0?delete this._rawAttrs[B]:this._rawAttrs[B]=(0,u.encode)(_+"")),this.rawAttrs=Object.keys(W).map(function(te){return te+(W[te]===""?"":'="'+(0,u.encode)(W[te])+'"')}).join(" ")},F.prototype.removeAttribute=function(B){this.setAttribute(B,void 0)},F.prototype.setAttributes=function(B){var _=this;B.id?this.id=B.id:B.class&&(this.classNames=B.class.split(/\s+/)),this.attributes&&(Object.keys(this.attributes).forEach(function(W){return delete _.attributes[W]}),Object.keys(B).forEach(function(W){return _.attributes[W]=B[W]+""})),this.rawAttributes&&(Object.keys(this.rawAttributes).forEach(function(W){return delete _.rawAttributes[W]}),Object.keys(B).forEach(function(W){return _.rawAttributes[W]=(0,u.encode)(B[W]+"")})),this.rawAttrs=Object.keys(B).map(function(W){return W+(B[W]===""?"":'="'+(0,u.encode)(B[W]+"")+'"')}).join(" ")},F}(f);a.HTMLElement=m;var y={},E={f145:function(D,F,B,_,W){if(F=F||"",B=B||[],D.id!=F.substr(1))return!1;for(var te=B,X=0;X<te.length;X++)if(D.classNames.indexOf(te[X])===-1)return!1;return!0},f45:function(D,F,B,_,W){B=B||[];for(var te=B,X=0;X<te.length;X++)if(D.classNames.indexOf(te[X])===-1)return!1;return!0},f15:function(D,F,B,_,W){return F=F||"",D.id==F.substr(1)},f1:function(D,F,B,_,W){if(F=F||"",D.id!=F.substr(1))return!1},f5:function(D,F,B,_,W){return!0},f245:function(D,F,B,_,W){_=_||"",W=W||"";var te=D.attributes;for(var X in te){var K=te[X];if(X==_&&K==W)return!0}return!1},f25:function(D,F,B,_,W){_=_||"",W=W||"";var te=D.attributes;for(var X in te){var K=te[X];if(X==_&&K==W)return!0}return!1},f2:function(D,F,B,_,W){_=_||"",W=W||"";var te=D.attributes;for(var X in te){var K=te[X];if(X==_&&K==W)return!0}return!1},f345:function(D,F,B,_,W){if(F=F||"",B=B||[],D.tagName!=F)return!1;for(var te=B,X=0;X<te.length;X++)if(D.classNames.indexOf(te[X])===-1)return!1;return!0},f35:function(D,F,B,_,W){return F=F||"",D.tagName==F},f3:function(D,F,B,_,W){if(F=F||"",D.tagName!=F)return!1}},p=function(){function D(F){this.nextMatch=0,E.f5=E.f5,this.matchers=F.split(" ").map(function(B){if(y[B])return y[B];var _=B.split("."),W=_[0],te=_.slice(1).sort(),X='"use strict";',K="f",H="",U="";if(W&&W!="*"){var G;if(W[0]=="#")X+="if (el.id != "+JSON.stringify(W.substr(1))+") return false;",K+="1";else if(G=W.match(/^\[\s*(\S+)\s*(=|!=)\s*((((["'])([^\6]*)\6))|(\S*?))\]\s*/)){H=G[1];var L=G[2];if(L!=="="&&L!=="!=")throw new Error("Selector not supported, Expect [key${op}value].op must be =,!=");L==="="&&(L="=="),U=G[7]||G[8],X+='let attrs = el.attributes;for (let key in attrs){const val = attrs[key]; if (key == "'.concat(H,'" && val == "').concat(U,'"){return true;}} return false;'),K+="2"}else X+="if (el.tagName != "+JSON.stringify(W)+") return false;",K+="3"}te.length>0&&(X+="for (let cls = "+JSON.stringify(te)+", i = 0; i < cls.length; i++) if (el.classNames.indexOf(cls[i]) === -1) return false;",K+="4"),X+="return true;",K+="5";var Z={func:E[K],tagName:W||"",classes:te||"",attr_key:H||"",value:U||""};return X=X||"",y[B]=Z})}return D.prototype.advance=function(F){return this.nextMatch<this.matchers.length&&this.matchers[this.nextMatch].func(F,this.matchers[this.nextMatch].tagName,this.matchers[this.nextMatch].classes,this.matchers[this.nextMatch].attr_key,this.matchers[this.nextMatch].value)?(this.nextMatch++,!0):!1},D.prototype.rewind=function(){this.nextMatch--},Object.defineProperty(D.prototype,"matched",{get:function(){return this.nextMatch==this.matchers.length},enumerable:!1,configurable:!0}),D.prototype.reset=function(){this.nextMatch=0},D.prototype.flushCache=function(){y={}},D}();a.Matcher=p;var b=/<!--[^]*?(?=-->)-->|<(\/?)([a-z][-.:0-9_a-z]*)((\s+[a-z][-.:0-9_a-z]*(\s*=\s*("[^"]*"|'([^']*')|([^\s\/>]+)))?)*)\s*(\/?)>/ig,S=/(^|\s)(id|class)\s*=\s*("([^"]+)"|'([^']+)'|(\S+))/ig,w=/([a-z][-.:0-9_a-z]*)(\s*=\s*("([^"]*)"|'([^']*)'|(\S+)))?/ig,T={area:!0,base:!0,br:!0,col:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,source:!0},$={li:{li:!0},p:{p:!0,div:!0},b:{div:!0},td:{td:!0,th:!0},th:{td:!0,th:!0},h1:{h1:!0},h2:{h2:!0},h3:{h3:!0},h4:{h4:!0},h5:{h5:!0},h6:{h6:!0}},R={li:{ul:!0,ol:!0},a:{div:!0},b:{div:!0},i:{div:!0},p:{div:!0},td:{tr:!0,table:!0},th:{tr:!0,table:!0}},I={script:!0,noscript:!0,style:!0,pre:!0};function O(D,F){var B=new m(null),_=B,W=[B],te=0;F=F||{};for(var X;X=b.exec(D);){if(te+X[0].length<b.lastIndex){var K=D.substring(te,b.lastIndex-X[0].length);_.appendChild(new g(K))}if(te=b.lastIndex,X[0][1]=="!"){if(F.comment){var K=D.substring(te-3,te-X[0].length+4);_.appendChild(new v(K))}continue}if(F.lowerCaseTagName&&(X[2]=X[2].toLowerCase()),!X[1]&&(!X[9]&&$[_.tagName]&&$[_.tagName][X[2]]&&(W.pop(),_=x(W)),_=_.appendChild(new m(X[2],X[3].trim())),W.push(_),I[X[2]])){var H="</"+X[2]+">",U=D.indexOf(H,b.lastIndex);if(F[X[2]]){var K=void 0;U==-1?K=D.substr(b.lastIndex):K=D.substring(b.lastIndex,U),K.length>0&&_.appendChild(new g(K))}U==-1?te=b.lastIndex=D.length+1:(te=b.lastIndex=U+H.length,X[1]="true")}if(X[1]||X[9]||T[X[2]])for(;;)if(_.tagName==X[2]){W.pop(),_=x(W);break}else{if(R[_.tagName]&&R[_.tagName][X[2]]){W.pop(),_=x(W);continue}break}}te<D.length&&B.appendChild(new g(D.substring(te))),B.valid=W.length===1;for(var G=function(){var L=W.pop(),Z=x(W);L.parentNode&&L.parentNode instanceof m&&L.parentNode.parentNode&&(L.parentNode===Z&&L.tagName===Z.tagName?(Z.removeChild(L),L.childNodes.forEach(function(ne){Z.parentNode.appendChild(ne)}),W.pop()):(Z.removeChild(L),L.childNodes.forEach(function(ne){Z.appendChild(ne)})))};W.length>1;)G();return B}a.parse=O;var C=["html","body","address","article","aside","blockquote","canvas","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","header","hr","li","main","nav","noscript","ol","p","pre","section","tfoot","table","tbody","ul","video","th","td","tr","h1","h2","h3","h4","h5","h6"];function M(D){return D.nodeType===d.ELEMENT_NODE&&D.tagName&&C.includes(D.tagName.toLowerCase())}a.isBlock=M}(dist),LineCapStyle.Butt,LineCapStyle.Round,LineCapStyle.Projecting,FillRule.EvenOdd,FillRule.NonZero,LineJoinStyle.Bevel,LineJoinStyle.Miter,LineJoinStyle.Round;const convertForPdfLayoutProps=({schema:a,pageHeight:s,applyRotateTranslate:u=!0})=>{const{width:d,height:f,position:g,rotate:v,opacity:A}=a,{x,y:m}=g,y=v?-v:0,E=mm2pt(d),p=mm2pt(f);let b=mm2pt(x),S=s-mm2pt(m)-p;if(y&&u){const w={x:b+E/2,y:s-mm2pt(m)-p/2},T=rotatePoint({x:b,y:S},w,y);b=T.x,S=T.y}return{position:{x:b,y:S},height:p,width:E,rotate:degrees(y),opacity:A}},rotatePoint=(a,s,u)=>{const d=degreesToRadians(u),f=Math.cos(d)*(a.x-s.x)-Math.sin(d)*(a.y-s.y)+s.x,g=Math.sin(d)*(a.x-s.x)+Math.cos(d)*(a.y-s.y)+s.y;return{x:f,y:g}},addAlphaToHex=(a,s)=>{if(!/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/i.test(a))throw new Error("Invalid HEX color code");let d=Math.round(s/100*255).toString(16);return d.length===1&&(d="0"+d),a+d},isEditable=(a,s)=>a==="designer"||a==="form"&&s.readOnly!==!0,hex2rgb=a=>(a.slice(0,1)==="#"&&(a=a.slice(1)),a.length===3&&(a=a.slice(0,1)+a.slice(0,1)+a.slice(1,2)+a.slice(1,2)+a.slice(2,3)+a.slice(2,3)),[a.slice(0,2),a.slice(2,4),a.slice(4,6)].map(s=>parseInt(s,16))),hex2RgbColor=a=>{if(a){if(!isHexValid(a))throw new Error(`Invalid hex color value ${a}`);const[u,d,f]=hex2rgb(a);return rgb(u/255,d/255,f/255)}},embedAndGetFontObj=async a=>{const{pdfDoc:s,font:u,_cache:d}=a;if(d.has(s))return d.get(s);const f=await Promise.all(Object.values(u).map(async v=>{let A=v.data;return typeof A=="string"&&A.startsWith("http")&&(A=await fetch(A).then(x=>x.arrayBuffer())),s.embedFont(A,{subset:typeof v.subset>"u"?!0:v.subset})})),g=Object.keys(u).reduce((v,A,x)=>Object.assign(v,{[A]:f[x]}),{});return d.set(s,g),g},getFontProp=async({value:a,font:s,schema:u,_cache:d})=>{const f=u.dynamicFontSize?await calculateDynamicFontSize({textSchema:u,font:s,value:a,_cache:d}):u.fontSize??DEFAULT_FONT_SIZE,g=hex2RgbColor(u.fontColor||DEFAULT_FONT_COLOR);return{alignment:u.alignment??DEFAULT_ALIGNMENT,verticalAlignment:u.verticalAlignment??DEFAULT_VERTICAL_ALIGNMENT,lineHeight:u.lineHeight??DEFAULT_LINE_HEIGHT,characterSpacing:u.characterSpacing??DEFAULT_CHARACTER_SPACING,fontSize:f,color:g}},pdfRender=async a=>{const{value:s,pdfDoc:u,pdfLib:d,page:f,options:g,schema:v,_cache:A}=a;if(!s)return;const{font:x=getDefaultFont()}=g,[m,y,E]=await Promise.all([embedAndGetFontObj({pdfDoc:u,font:x,_cache:A}),getFontKitFont(v,x,A),getFontProp({value:s,font:x,schema:v,_cache:A})]),{fontSize:p,color:b,alignment:S,verticalAlignment:w,lineHeight:T,characterSpacing:$}=E,R=v.fontName?v.fontName:getFallbackFontName(x),I=m&&m[R],O=f.getHeight(),{width:C,height:M,rotate:D,position:{x:F,y:B},opacity:_}=convertForPdfLayoutProps({schema:v,pageHeight:O,applyRotateTranslate:!1});if(v.backgroundColor){const L=hex2RgbColor(v.backgroundColor);f.drawRectangle({x:F,y:B,width:C,height:M,rotate:D,color:L})}f.pushOperators(d.setCharacterSpacing($??DEFAULT_CHARACTER_SPACING));const W=heightOfFontAtSize(y,p),te=getFontDescentInPt(y,p),X=T===0?0:(T-1)*p/2,K={font:y,fontSize:p,characterSpacing:$,boxWidthInPt:C};let H=[];s.split(/\r\n|\r|\n|\f|\u000B/g).forEach(L=>{H=H.concat(getSplittedLines(L,K))});let U=0;if(w===VERTICAL_ALIGN_TOP)U=W+X;else{const L=T*p*(H.length-1);w===VERTICAL_ALIGN_BOTTOM?U=M-L+te-X:w===VERTICAL_ALIGN_MIDDLE&&(U=(M-L-W+te)/2+W)}const G={x:F+C/2,y:O-mm2pt(v.position.y)-M/2};H.forEach((L,Z)=>{const ne=widthOfTextAtSize(L,y,p,$),ue=T*p*Z;let fe=F;S==="center"?fe+=(C-ne)/2:S==="right"&&(fe+=C-ne);let ie=O-mm2pt(v.position.y)-U-ue;if(D.angle!==0){const se=rotatePoint({x:fe,y:ie},G,D.angle);fe=se.x,ie=se.y}f.drawText(L,{x:fe,y:ie,rotate:D,size:p,color:b,lineHeight:T*p,font:I,opacity:_})})},DEFAULT_OPACITY=1,HEX_COLOR_PATTERN="^#(?:[A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$",UseDynamicFontSize=a=>{const{rootElement:s,changeSchemas:u,activeSchema:d,i18n:f}=a,g=document.createElement("input");g.type="checkbox",g.checked=!!(d!=null&&d.dynamicFontSize),g.onchange=A=>{const x=A.target.checked?{min:DEFAULT_DYNAMIC_MIN_FONT_SIZE,max:DEFAULT_DYNAMIC_MAX_FONT_SIZE,fit:DEFAULT_DYNAMIC_FIT}:void 0;u([{key:"dynamicFontSize",value:x,schemaId:d.id}])};const v=document.createElement("label");v.innerText=f("schemas.text.dynamicFontSize")||"",v.style.cssText="display: flex; width: 100%;",v.appendChild(g),s.appendChild(v)},propPanel={schema:({options:a,activeSchema:s,i18n:u})=>{const d=a.font||{[DEFAULT_FONT_NAME]:{data:"",fallback:!0}},f=Object.keys(d),g=getFallbackFontName(d),v=!!(s!=null&&s.dynamicFontSize);return{fontName:{title:u("schemas.text.fontName"),type:"string",widget:"select",default:g,props:{options:f.map(x=>({label:x,value:x}))},span:12},fontSize:{title:u("schemas.text.size"),type:"number",widget:"inputNumber",span:6,disabled:v},characterSpacing:{title:u("schemas.text.spacing"),type:"number",widget:"inputNumber",span:6},alignment:{title:u("schemas.text.textAlign"),type:"string",widget:"select",props:{options:[{label:u("schemas.left"),value:DEFAULT_ALIGNMENT},{label:u("schemas.center"),value:ALIGN_CENTER},{label:u("schemas.right"),value:ALIGN_RIGHT}]},span:8},verticalAlignment:{title:u("schemas.text.verticalAlign"),type:"string",widget:"select",props:{options:[{label:u("schemas.top"),value:VERTICAL_ALIGN_TOP},{label:u("schemas.middle"),value:VERTICAL_ALIGN_MIDDLE},{label:u("schemas.bottom"),value:VERTICAL_ALIGN_BOTTOM}]},span:8},lineHeight:{title:u("schemas.text.lineHeight"),type:"number",widget:"inputNumber",props:{step:.1},span:8},useDynamicFontSize:{type:"boolean",widget:"UseDynamicFontSize",bind:!1,span:16},dynamicFontSize:{type:"object",widget:"card",column:3,properties:{min:{title:u("schemas.text.min"),type:"number",widget:"inputNumber",hidden:!v},max:{title:u("schemas.text.max"),type:"number",widget:"inputNumber",hidden:!v},fit:{title:u("schemas.text.fit"),type:"string",widget:"select",hidden:!v,props:{options:[{label:u("schemas.horizontal"),value:DYNAMIC_FIT_HORIZONTAL},{label:u("schemas.vertical"),value:DYNAMIC_FIT_VERTICAL}]}}}},fontColor:{title:u("schemas.textColor"),type:"string",widget:"color",rules:[{pattern:HEX_COLOR_PATTERN,message:u("hexColorPrompt")}]},backgroundColor:{title:u("schemas.bgColor"),type:"string",widget:"color",rules:[{pattern:HEX_COLOR_PATTERN,message:u("hexColorPrompt")}]}}},widgets:{UseDynamicFontSize},defaultValue:"Type Something...",defaultSchema:{type:"text",position:{x:0,y:0},width:45,height:10,rotate:0,alignment:DEFAULT_ALIGNMENT,verticalAlignment:DEFAULT_VERTICAL_ALIGNMENT,fontSize:DEFAULT_FONT_SIZE,lineHeight:DEFAULT_LINE_HEIGHT,characterSpacing:DEFAULT_CHARACTER_SPACING,dynamicFontSize:void 0,fontColor:DEFAULT_FONT_COLOR,fontName:void 0,backgroundColor:"",opacity:DEFAULT_OPACITY}},mapVerticalAlignToFlex=a=>{switch(a){case VERTICAL_ALIGN_TOP:return"flex-start";case VERTICAL_ALIGN_MIDDLE:return"center";case VERTICAL_ALIGN_BOTTOM:return"flex-end"}return"flex-start"},getBackgroundColor=(a,s,u)=>a?s.backgroundColor?s.backgroundColor:u:"transparent",uiRender=async a=>{const{value:s,schema:u,rootElement:d,mode:f,onChange:g,stopEditing:v,tabIndex:A,placeholder:x,options:m,theme:y,_cache:E}=a,p=(m==null?void 0:m.font)||getDefaultFont();let b;const S=F=>({textSchema:u,font:p,value:F,startingFontSize:b,_cache:E});u.dynamicFontSize&&s&&(b=await calculateDynamicFontSize(S(s)));const w=await getFontKitFont(u,p,E),{topAdj:T,bottomAdj:$}=getBrowserVerticalFontAdjustments(w,b??u.fontSize??DEFAULT_FONT_SIZE,u.lineHeight??DEFAULT_LINE_HEIGHT,u.verticalAlignment??DEFAULT_VERTICAL_ALIGNMENT),R=T.toString(),I=$.toString(),O=document.createElement("div"),C={padding:0,resize:"none",backgroundColor:getBackgroundColor(s,u,addAlphaToHex(y.colorPrimaryBg,30)),border:"none",display:"flex",flexDirection:"column",justifyContent:mapVerticalAlignToFlex(u.verticalAlignment),width:"100%",height:"100%"};Object.assign(O.style,C),d.innerHTML="",d.appendChild(O);const M={fontFamily:u.fontName?`'${u.fontName}'`:"inherit",color:u.fontColor?u.fontColor:DEFAULT_FONT_COLOR,fontSize:`${b??u.fontSize??DEFAULT_FONT_SIZE}pt`,letterSpacing:`${u.characterSpacing??DEFAULT_CHARACTER_SPACING}pt`,lineHeight:`${u.lineHeight??DEFAULT_LINE_HEIGHT}em`,textAlign:u.alignment??DEFAULT_ALIGNMENT,whiteSpace:"pre-wrap",wordBreak:"break-word",resize:"none",border:"none",outline:"none",marginBottom:`${I}px`,paddingTop:`${R}px`,backgroundColor:"transparent"},D=document.createElement("div");if(Object.assign(D.style,M),isEditable(f,u)){if(D.contentEditable="plaintext-only",D.tabIndex=A||0,D.innerText=s,D.addEventListener("blur",F=>{g&&g(F.target.innerText),v&&v()}),u.dynamicFontSize&&D.addEventListener("keyup",()=>{setTimeout(()=>{(async()=>{if(!D.textContent)return;b=await calculateDynamicFontSize(S(D.textContent)),D.style.fontSize=`${b}pt`;const{topAdj:F,bottomAdj:B}=getBrowserVerticalFontAdjustments(w,b??u.fontSize??DEFAULT_FONT_SIZE,u.lineHeight??DEFAULT_LINE_HEIGHT,u.verticalAlignment??DEFAULT_VERTICAL_ALIGNMENT);D.style.paddingTop=`${F}px`,D.style.marginBottom=`${B}px`})()},0)}),x&&!s){if(D.innerText=x,D.style.color=PLACEHOLDER_FONT_COLOR,u.dynamicFontSize){const F=await calculateDynamicFontSize(S(x));D.style.fontSize=`${F}pt`}D.addEventListener("focus",()=>{D.innerText===x&&(D.innerText="",D.style.color=u.fontColor??DEFAULT_FONT_COLOR)})}if(O.appendChild(D),f==="designer"){D.focus();const F=window.getSelection(),B=document.createRange();B.selectNodeContents(D),B.collapse(!1),F==null||F.removeAllRanges(),F==null||F.addRange(B)}}else D.innerHTML=s.split("").map((F,B)=>`<span style="letter-spacing:${String(s).length===B+1?0:"inherit"};">${F}</span>`).join(""),O.appendChild(D)},textSchema={pdf:pdfRender,ui:uiRender,propPanel},text=textSchema;textSchema.pdf,textSchema.ui,{...textSchema.propPanel,defaultSchema:{...textSchema.propPanel.defaultSchema,readOnlyValue:textSchema.propPanel.defaultValue}};const builtInPlugins={Text:text};class BaseUIClass{constructor(s){this.lang=DEFAULT_LANG,this.font=getDefaultFont(),this.pluginsRegistry=builtInPlugins,this.options={},this.setSize=debounce$1(()=>{if(!this.domContainer)throw Error(DESTROYED_ERR_MSG);this.size={height:this.domContainer.clientHeight||window.innerHeight,width:this.domContainer.clientWidth||window.innerWidth},this.render()},100),this.resizeObserver=new ResizeObserver(this.setSize),checkUIProps(s);const{domContainer:u,template:d,options:f={},plugins:g={}}=s;this.domContainer=u,this.template=generateColumnsAndSampledataIfNeeded(cloneDeep$1(d)),this.options=f,this.size={height:this.domContainer.clientHeight||window.innerHeight,width:this.domContainer.clientWidth||window.innerWidth},this.resizeObserver.observe(this.domContainer);const{lang:v,font:A}=f;v&&(this.lang=v),A&&(this.font=A),Object.values(g).length>0&&(this.pluginsRegistry=g)}getLang(){return this.lang}getFont(){return this.font}getPluginsRegistry(){return this.pluginsRegistry}getOptions(){return this.options}getTemplate(){if(!this.domContainer)throw Error(DESTROYED_ERR_MSG);return this.template}updateTemplate(s){if(checkTemplate(s),!this.domContainer)throw Error(DESTROYED_ERR_MSG);this.template=cloneDeep$1(s),this.render()}updateOptions(s){checkUIOptions(s);const{lang:u,font:d}=s||{};u&&(this.lang=u),d&&(this.font=d),this.options=Object.assign(this.options,s),this.render()}destroy(){if(!this.domContainer)throw Error(DESTROYED_ERR_MSG);ReactDOM.unmountComponentAtNode(this.domContainer),this.resizeObserver.unobserve(this.domContainer),this.domContainer=null}}class PreviewUI extends BaseUIClass{constructor(s){super(s),checkPreviewProps(s),this.inputs=cloneDeep$1(s.inputs)}getInputs(){if(!this.domContainer)throw Error(DESTROYED_ERR_MSG);return this.inputs}setInputs(s){if(!this.domContainer)throw Error(DESTROYED_ERR_MSG);checkInputs(s),this.inputs=cloneDeep$1(s),this.render()}}var reactExports=requireReact();const React$a=getDefaultExportFromCjs(reactExports),React$b=_mergeNamespaces({__proto__:null,default:React$a},[reactExports]);var classnames$1={exports:{}};/*!
|
331
331
|
Copyright (c) 2018 Jed Watson.
|
332
332
|
Licensed under the MIT License (MIT), see
|
333
333
|
http://jedwatson.github.io/classnames
|