1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8216],{284:e=>{"use strict";e.exports={rE:"7.0.0"}},4912:e=>{"use strict";e.exports={workerBlobURL:!0,logger:()=>{}}},9446:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(77711);let a=async e=>new Promise((t,r)=>{let n,a=new Image;if("string"==typeof e)n=e;else if(e instanceof ArrayBuffer)n=URL.createObjectURL(new Blob([new Uint8Array(e)]));else if(e instanceof Blob)n=URL.createObjectURL(e);else throw Error("Invalid argument provided");a.onload=()=>{let{height:r,width:o}=a;e instanceof Blob&&URL.revokeObjectURL(n),t({height:r,width:o})},a.onerror=e=>r(e),a.src=n}),o=e=>"number"==typeof e&&e-e==0,i=(e,t)=>e>t?"l":"p";class s{constructor(e=[]){for(const t of(this.images=[],e))t instanceof ArrayBuffer||t instanceof Uint8Array?this.images.push({src:t}):this.images.push(t)}addImage(e,t){this.images.push({src:e,options:t})}async createPdf(){let e;for(let t of this.images){let r=t.src instanceof ArrayBuffer?new Uint8Array(t.src):t.src,s=t.options||{};if(!o(s.height)||!o(s.width)){let e=await a(r.buffer);s.height=e.height,s.width=e.width}let l=i(s.width,s.height);void 0===e?e=new n.uE({format:[s.width,s.height],orientation:l}):e.addPage([s.width,s.height],l),e.addImage(r,0,0,s.width,s.height)}return{arrayBuffer:()=>e.output("arraybuffer"),dataUrl:()=>e.output("dataurlstring")}}}let l=s},10173:(e,t,r)=>{"use strict";r(73556);let n=r(25148),a=r(49249),o=r(50959),i=r(90632),s=r(14272),l=r(34063),{setLogging:c}=r(95013);e.exports={languages:i,OEM:s,PSM:l,createScheduler:n,createWorker:a,setLogging:c,...o}},13626:e=>{"use strict";e.exports=(e,t)=>`${e}-${t}-${Math.random().toString(16).slice(3,8)}`},14272:e=>{"use strict";e.exports={TESSERACT_ONLY:0,LSTM_ONLY:1,TESSERACT_LSTM_COMBINED:2,DEFAULT:3}},21071:(e,t,r)=>{"use strict";r.d(t,{$:()=>V,a8:()=>Z});var n=Uint8Array,a=Uint16Array,o=Int32Array,i=new n([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]),s=new n([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]),l=new n([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(e,t){for(var r=new a(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];for(var i=new o(r[30]),n=1;n<30;++n)for(var s=r[n];s<r[n+1];++s)i[s]=s-r[n]<<5|n;return{b:r,r:i}},f=c(i,2),u=f.b,h=f.r;u[28]=258,h[258]=28;for(var d=c(s,0),p=d.b,v=d.r,y=new a(32768),g=0;g<32768;++g){var m=(43690&g)>>1|(21845&g)<<1;m=(61680&(m=(52428&m)>>2|(13107&m)<<2))>>4|(3855&m)<<4,y[g]=((65280&m)>>8|(255&m)<<8)>>1}for(var w=function(e,t,r){for(var n,o=e.length,i=0,s=new a(t);i<o;++i)e[i]&&++s[e[i]-1];var l=new a(t);for(i=1;i<t;++i)l[i]=l[i-1]+s[i-1]<<1;if(r){n=new a(1<<t);var c=15-t;for(i=0;i<o;++i)if(e[i])for(var f=i<<4|e[i],u=t-e[i],h=l[e[i]-1]++<<u,d=h|(1<<u)-1;h<=d;++h)n[y[h]>>c]=f}else for(n=new a(o),i=0;i<o;++i)e[i]&&(n[i]=y[l[e[i]-1]++]>>15-e[i]);return n},b=new n(288),g=0;g<144;++g)b[g]=8;for(var g=144;g<256;++g)b[g]=9;for(var g=256;g<280;++g)b[g]=7;for(var g=280;g<288;++g)b[g]=8;for(var L=new n(32),g=0;g<32;++g)L[g]=5;var E=w(b,9,0),S=w(b,9,1),A=w(L,5,0),T=w(L,5,1),O=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},_=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},k=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},x=function(e){return(e+7)/8|0},R=function(e,t,r){return(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length),new n(e.subarray(t,r))}
1,N=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],M=function(e,t,r){var n=Error(t||N[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,M),!r)throw n;return n},I=function(e,t,r,a){var o=e.length,c=a?a.length:0;if(!o||t.f&&!t.l)return r||new n(0);var f=!r,h=f||2!=t.i,d=t.i;f&&(r=new n(3*o));var v=function(e){var t=r.length;if(e>t){var a=new n(Math.max(2*t,e));a.set(r),r=a}},y=t.f||0,g=t.p||0,m=t.b||0,b=t.l,L=t.d,E=t.m,A=t.n,N=8*o;do{if(!b){y=_(e,g,1);var I=_(e,g+1,3);if(g+=3,I)if(1==I)b=S,L=T,E=9,A=5;else if(2==I){var P=_(e,g,31)+257,U=_(e,g+10,15)+4,j=P+_(e,g+5,31)+1;g+=14;for(var C=new n(j),B=new n(19),F=0;F<U;++F)B[l[F]]=_(e,g+3*F,7);g+=3*U;for(var D=O(B),G=(1<<D)-1,$=w(B,D,1),F=0;F<j;){var z=$[_(e,g,G)];g+=15&z;var Y=z>>4;if(Y<16)C[F++]=Y;else{var K=0,H=0;for(16==Y?(H=3+_(e,g,3),g+=2,K=C[F-1]):17==Y?(H=3+_(e,g,7),g+=3):18==Y&&(H=11+_(e,g,127),g+=7);H--;)C[F++]=K}}var W=C.subarray(0,P),J=C.subarray(P);E=O(W),A=O(J),b=w(W,E,1),L=w(J,A,1)}else M(1);else{var Y=x(g)+4,V=e[Y-4]|e[Y-3]<<8,Z=Y+V;if(Z>o){d&&M(0);break}h&&v(m+V),r.set(e.subarray(Y,Z),m),t.b=m+=V,t.p=g=8*Z,t.f=y;continue}if(g>N){d&&M(0);break}}h&&v(m+131072);for(var q=(1<<E)-1,Q=(1<<A)-1,X=g;;X=g){var K=b[k(e,g)&q],ee=K>>4;if((g+=15&K)>N){d&&M(0);break}if(K||M(2),ee<256)r[m++]=ee;else if(256==ee){X=g,b=null;break}else{var et=ee-254;if(ee>264){var F=ee-257,er=i[F];et=_(e,g,(1<<er)-1)+u[F],g+=er}var en=L[k(e,g)&Q],ea=en>>4;en||M(3),g+=15&en;var J=p[ea];if(ea>3){var er=s[ea];J+=k(e,g)&(1<<er)-1,g+=er}if(g>N){d&&M(0);break}h&&v(m+131072);var eo=m+et;if(m<J){var ei=c-J,es=Math.min(J,eo);for(ei+m<0&&M(3);m<es;++m)r[m]=a[ei+m]}for(;m<eo;++m)r[m]=r[m-J]}}t.l=b,t.p=X,t.b=m,t.f=y,b&&(y=1,t.m=E,t.d=L,t.n=A)}while(!y);return m!=r.length&&f?R(r,0,m):r.subarray(0,m)},P=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8},U=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8,e[n+2]|=r>>16},j=function(e,t){for(var r=[],o=0;o<e.length;++o)e[o]&&r.push({s:o,f:e[o]});var i=r.length,s=r.slice();if(!i)return{t:z,l:0};if(1==i){var l=new n(r[0].s+1);return l[r[0].s]=1,{t:l,l:1}}r.sort(function(e,t){return e.f-t.f}),r.push({s:-1,f:25001});var c=r[0],f=r[1],u=0,h=1,d=2;for(r[0]={s:-1,f:c.f+f.f,l:c,r:f};h!=i-1;)c=r[r[u].f<r[d].f?u++:d++],f=r[u!=h&&r[u].f<r[d].f?u++:d++],r[h++]={s:-1,f:c.f+f.f,l:c,r:f};for(var p=s[0].s,o=1;o<i;++o)s[o].s>p&&(p=s[o].s);var v=new a(p+1),y=C(r[h-1],v,0);if(y>t){var o=0,g=0,m=y-t,w=1<<m;for(s.sort(function(e,t){return v[t.s]-v[e.s]||e.f-t.f});o<i;++o){var b=s[o].s;if(v[b]>t)g+=w-(1<<y-v[b]),v[b]=t;else break}for(g>>=m;g>0;){var L=s[o].s;v[L]<t?g-=1<<t-v[L]++-1:++o}for(;o>=0&&g;--o){var E=s[o].s;v[E]==t&&(--v[E],++g)}y=t}return{t:new n(v),l:y}},C=function(e,t,r){return -1==e.s?Math.max(C(e.l,t,r+1),C(e.r,t,r+1)):t[e.s]=r},B=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new a(++t),n=0,o=e[0],i=1,s=function(e){r[n++]=e},l=1;l<=t;++l)if(e[l]==o&&l!=t)++i;else{if(!o&&i>2){for(;i>138;i-=138)s(32754);i>2&&(s(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(s(o),--i;i>6;i-=6)s(8304);i>2&&(s(i-3<<5|8208),i=0)}for(;i--;)s(o);i=1,o=e[l]}return{c:r.subarray(0,n),n:t}},F=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},D=function(e,t,r){var n=r.length,a=x(t+2);e[a]=255&n,e[a+1]=n>>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var o=0;o<n;++o)e[a+o+4]=r[o];return(a+4+n)*8},G=function(e,t,r,n,o,c,f,u,h,d,p){P(t,p++,r),++o[256];for(var v,y,g,m,S=j(o,15),T=S.t,O=S.l,_=j(c,15),k=_.t,x=_.l,R=B(T),N=R.c,M=R.n,I=B(k),C=I.c,G=I.n,$=new a(19),z=0;z<N.length;++z)++$[31&N[z]];for(var z=0;z<C.length;++z)++$[31&C[z]];for(var Y=j($,7),K=Y.t,H=Y.l,W=19;W>4&&!K[l[W-1]];--W);var J=d+5<<3,V=F(o,b)+F(c,L)+f,Z=F(o,T)+F(c,k)+f+14+3*W+F($,K)+2*$[16]+3*$[17]+7*$[18];if(h>=0&&J<=V&&J<=Z)return D(t,p,e.subarray(h,h+d));if(P(t,p,1+(Z<V)),p+=2,Z<V){v=w(T,O,0),y=T,g=w(k,x,0),m=k;var q=w(K,H,0);P(t,p,M-257),P(t,p+5,G-1),P(t,p+10,W-4),p+=14;for(var z=0;z<W;++z)P(t,p+3*z,K[l[z]]);p+=3*W;
vendor: 1,285 bytes, line 1
1for(var Q=[N,C],X=0;X<2;++X)for(var ee=Q[X],z=0;z<ee.length;++z){var et=31&ee[z];P(t,p,q[et]),p+=K[et],et>15&&(P(t,p,ee[z]>>5&127),p+=ee[z]>>12)}}else v=E,y=b,g=A,m=L;for(var z=0;z<u;++z){var er=n[z];if(er>255){var et=er>>18&31;U(t,p,v[et+257]),p+=y[et+257],et>7&&(P(t,p,er>>23&31),p+=i[et]);var en=31&er;U(t,p,g[en]),p+=m[en],en>3&&(U(t,p,er>>5&8191),p+=s[en])}else U(t,p,v[er]),p+=y[er]}return U(t,p,v[256]),p+y[256]},$=new o([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),z=new n(0),Y=function(e,t,r,l,c,f){var u=f.z||e.length,d=new n(l+u+5*(1+Math.ceil(u/7e3))+c),p=d.subarray(l,d.length-c),y=f.l,g=7&(f.r||0);if(t){g&&(p[0]=f.r>>3);for(var m=$[t-1],w=m>>13,b=8191&m,L=(1<<r)-1,E=f.p||new a(32768),S=f.h||new a(L+1),A=Math.ceil(r/3),T=2*A,O=function(t){return(e[t]^e[t+1]<<A^e[t+2]<<T)&L},_=new o(25e3),k=new a(288),N=new a(32),M=0,I=0,P=f.i||0,U=0,j=f.w||0,C=0;P+2<u;++P){var B=O(P),F=32767&P,z=S[B];if(E[F]=z,S[B]=F,j<=P){var Y=u-P;if((M>7e3||U>24576)&&(Y>423||!y)){g=G(e,p,0,_,k,N,I,U,C,P-C,g),U=M=I=0,C=P;for(var K=0;K<286;++K)k[K]=0;for(var K=0;K<30;++K)N[K]=0}var H=2,W=0,J=b,V=F-z&32767;if(Y>2&&B==O(P-V))for(var Z=Math.min(w,Y)-1,q=Math.min(32767,P),Q=Math.min(258,Y);V<=q&&--J&&F!=z;){if(e[P+H]==e[P+H-V]){for(var X=0;X<Q&&e[P+X]==e[P+X-V];++X);if(X>
1H){if(H=X,W=V,X>Z)break;for(var ee=Math.min(V,X-2),et=0,K=0;K<ee;++K){var er=P-V+K&32767,en=E[er],ea=er-en&32767;ea>et&&(et=ea,z=er)}}}z=E[F=z],V+=F-z&32767}if(W){_[U++]=0x10000000|h[H]<<18|v[W];var eo=31&h[H],ei=31&v[W];I+=i[eo]+s[ei],++k[257+eo],++N[ei],j=P+H,++M}else _[U++]=e[P],++k[e[P]]}}for(P=Math.max(P,j);P<u;++P)_[U++]=e[P],++k[e[P]];g=G(e,p,y,_,k,N,I,U,C,P-C,g),y||(f.r=7&g|p[g/8|0]<<3,g-=7,f.h=S,f.p=E,f.i=P,f.w=j)}else{for(var P=f.w||0;P<u+y;P+=65535){var es=P+65535;es>=u&&(p[g/8|0]=y,es=u),g=D(p,g+1,e.subarray(P,es))}f.i=u}return R(d,0,l+x(g)+c)},K=function(){var e=1,t=0;return{p:function(r){for(var n=e,a=t,o=0|r.length,i=0;i!=o;){for(var s=Math.min(i+2655,o);i<s;++i)a+=n+=r[i];n=(65535&n)+15*(n>>16),a=(65535&a)+15*(a>>16)}e=n,t=a},d:function(){return e%=65521,t%=65521,(255&e)<<24|(65280&e)<<8|(255&t)<<8|t>>8}}},H=function(e,t,r,a,o){if(!o&&(o={l:1},t.dictionary)){var i=t.dictionary.subarray(-32768),s=new n(i.length+e.length);s.set(i),s.set(e,i.length),e=s,o.w=i.length}return Y(e,null==t.level?6:t.level,null==t.mem?o.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,r,a,o)},W=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},J=function(e,t){var r=t.level;if(e[0]=120,e[1]=(0==r?0:r<6?1:9==r?3:2)<<6|(t.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,t.dictionary){var n=K();n.p(t.dictionary),W(e,2,n.d())}};function V(e,t){t||(t={});var r=K();r.p(e);var n=H(e,t,t.dictionary?6:2,4);return J(n,t),W(n,n.length-4,r.d()),n}function Z(e,t){var r;return I(e.subarray((r=t&&t.dictionary,((15&e[0])!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&M(6,"invalid zlib data"),(e[1]>>5&1)==+!r&&M(6,"invalid zlib data: "+(32&e[1]?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2),-4),{i:2},t&&t.out,t&&t.dictionary)}var q="u">typeof TextDecoder&&new TextDecoder;try{q.decode(z,{stream:!0})}catch(e){}"function"==typeof queueMicrotask&&queueMicrotask},25148:function(e,t,r){"use strict";let n=r(60438),{log:a}=r(95013),o=r(13626),i=0;e.exports=()=>{let e=o("Scheduler",i),t={},r={},s=[];i+=1;let l=()=>Object.keys(t).length,c=()=>{if(0!==s.length){let e=Object.keys(t);for(let n=0;n<e.length;n+=1)if(void 0===r[e[n]]){s[0](t[e[n]]);break}}},f=(t,o)=>new Promise((i,l)=>{let f=n({action:t,payload:o});s.push(async e=>{s.shift(),r[e.id]=f;try{i(await e[t].apply(this,[...o,f.id]))}catch(e){l(e)}finally{delete r[e.id],c()}}),a(`[${e}]: Add ${f.id} to JobQueue`),a(`[${e}]: JobQueue length=${s.length}`),c()});return{addWorker:r=>(t[r.id]=r,a(`[${e}]: Add ${r.id}`),a(`[${e}]: Number of workers=${l()}`),c(),r.id),addJob:async(t,...r)=>{if(0===l())throw Error(`[${e}]: You need to have at least one worker before adding jobs`);return f(t,r)},terminate:async()=>{Object.keys(t).forEach(async e=>{await t[e].terminate()}),s=[]},getQueueLen:()=>s.length,getNumWorkers:l}}},27641:(e,t,r)=>{"use strict";let n="browser"===r(96676)("type")?e=>new URL(e,window.location.href).href:e=>e;e.exports=e=>{let t={...e};return["corePath","workerPath","langPath"].forEach(r=>{e[r]&&(t[r]=n(t[r]))}),t}},34063:e=>{"use strict";e.exports={OSD_ONLY:"0",AUTO_OSD:"1",AUTO_ONLY:"2",AUTO:"3",SINGLE_COLUMN:"4",SINGLE_BLOCK_VERT_TEXT:"5",SINGLE_BLOCK:"6",SINGLE_LINE:"7",SINGLE_WORD:"8",C
1IRCLE_WORD:"9",SINGLE_CHAR:"10",SPARSE_TEXT:"11",SPARSE_TEXT_OSD:"12",RAW_LINE:"13"}},40041:e=>{"use strict";e.exports=async(e,t)=>{e.postMessage(t)}},45489:e=>{"use strict";e.exports=(e,t)=>{e.onmessage=({data:e})=>{t(e)}}},49249:(e,t,r)=>{"use strict";let n=r(27641),a=r(60438),{log:o}=r(95013),i=r(13626),s=r(14272),{defaultOptions:l,spawnWorker:c,terminateWorker:f,onMessage:u,loadImage:h,send:d}=r(55869),p=0;e.exports=async(e="eng",t=s.LSTM_ONLY,r={},v={})=>{let y,g,m=i("Worker",p),{logger:w,errorHandler:b,...L}=n({...l,...r}),E={},S="string"==typeof e?e.split("+"):e,A=t,T=v,O=[s.DEFAULT,s.LSTM_ONLY].includes(t)&&!L.legacyCore,_=new Promise((e,t)=>{g=e,y=t}),k=c(L);k.onerror=e=>{y(e.message)},p+=1;let x=({id:e,action:t,payload:r})=>new Promise((n,a)=>{o(`[${m}]: Start ${e}, action=${t}`),E[`${t}-${e}`]={resolve:n,reject:a},d(k,{workerId:m,jobId:e,action:t,payload:r})}),R=(e,t)=>x(a({id:t,action:"loadLanguage",payload:{langs:e,options:{langPath:L.langPath,dataPath:L.dataPath,cachePath:L.cachePath,cacheMethod:L.cacheMethod,gzip:L.gzip,lstmOnly:[s.DEFAULT,s.LSTM_ONLY].includes(A)&&!L.legacyLang}}})),N=(e,t,r,n)=>x(a({id:n,action:"initialize",payload:{langs:e,oem:t,config:r}})),M=async(e,t={},r={text:!0},n)=>x(a({id:n,action:"recognize",payload:{image:await h(e),options:t,output:r}})),I=async(e,t)=>{if(O)throw Error("`worker.detect` requires Legacy model, which was not loaded.");return x(a({id:t,action:"detect",payload:{image:await h(e)}}))},P=async()=>(null!==k&&(f(k),k=null),Promise.resolve());u(k,({workerId:e,jobId:t,status:r,action:n,data:a})=>{let i=`${n}-${t}`;if("resolve"===r)o(`[${e}]: Complete ${t}`),E[i].resolve({jobId:t,data:a}),delete E[i];else if("reject"===r)if(E[i].reject(a),delete E[i],"load"===n&&y(a),b)b(a);else throw Error(a);else"progress"===r&&w({...a,userJobId:t})});let U={id:m,worker:k,load:()=>console.warn("`load` is depreciated and should be removed from code (workers now come pre-loaded)"),writeText:(e,t,r)=>x(a({id:r,action:"FS",payload:{method:"writeFile",args:[e,t]}})),readText:(e,t)=>x(a({id:t,action:"FS",payload:{method:"readFile",args:[e,{encoding:"utf8"}]}})),removeFile:(e,t)=>x(a({id:t,action:"FS",payload:{method:"unlink",args:[e]}})),FS:(e,t,r)=>x(a({id:r,action:"FS",payload:{method:e,args:t}})),reinitialize:(e="eng",t,r,n)=>{if(O&&[s.TESSERACT_ONLY,s.TESSERACT_LSTM_COMBINED].includes(t))throw Error("Legacy model requested but code missing.");let a=t||A;A=a;let o=r||T;T=o;let i=("string"==typeof e?e.split("+"):e).filter(e=>!S.includes(e));return(S.push(...i),i.length>0)?R(i,n).then(()=>N(e,a,o,n)):N(e,a,o,n)},setParameters:(e={},t)=>x(a({id:t,action:"setParameters",payload:{params:e}})),recognize:M,detect:I,terminate:P};return x(a({id:void 0,action:"load",payload:{options:{lstmOnly:O,corePath:L.corePath,logging:L.logging}}})).then(()=>R(e)).then(()=>N(e,t,v)).then(()=>g(U)).catch(()=>{}),_}},50959:(e,t,r)=>{"use strict";let n=r(49249);e.exports={recognize:async(e,t,r)=>{let a=await n(t,1,r);return a.recognize(e).finally(async()=>{await a.terminate()})},detect:async(e,t)=>{let r=await n("osd",0,t);return r.detect(e).finally(async()=>{await r.terminate()})}}},52972:e=>{"use strict";e.exports=e=>{e.terminate()}},52984:e=>{"use strict";let t=e=>new Promise((t,r)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=({target:{error:{code:e}}})=>{r(Error(`File could not be read! Code=${e}`))},n.readAsArrayBuffer(e)}),r=async e=>{let n=e;if(void 0===e)return"undefined";if("string"==typeof e)if(/data:image\/([a-zA-Z]*);base64,([^"]*)/.test(e))n=atob(e.split(",")[1]).split("").map(e=>e.charCodeAt(0));else{let t=await fetch(e);n=await t.arrayBuffer()}else if("u">typeof HTMLElement&&e instanceof HTMLElement)"IMG"===e.tagName&&(n=await r(e.src)),"VIDEO"===e.tagName&&(n=await r(e.poster)),"CANVAS"===e.tagName&&await new Promise(r=>{e.toBlob(async e=>{n=await t(e),r()})});else if("u">typeof OffscreenCanvas&&e instanceof OffscreenCanvas){let r=await e.convertToBlob();n=await t(r)}else(e instanceof File||e instanceof Blob)&&(n=await t(e));return new Uint8Array(n)};e.exports=r},54945:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{A:()=>n})},55869:(e,t,r)=>{"use strict";let n=r(76602),a=r(95544),o=r(52972),i=r(45489);e.exports={defaultOptions:n,spawnWorker:a,terminateWorker:o,onMessage:i,send:r(40041),loadImage:r(52984)}},60438:(e,t,r)=>{"use strict";let n=r(13626),a=0;e.exports=({id:e,action:t,payload:r={}})=>{let o=e;return void 0===o&&(o=n("Job",a),a+=1),{id:o,action:t,payload:r}}},73556:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function f(e,r,n,o){var i,s,l,c,f=Object.create((r&&r.prototype instanceof y?r:y).prototype);return a(f,"_invoke",{value:(i=e,s=n,l=new _(o||[]),c=h,function(e,r){if(c===d)throw Error("Generator is already running");if(c===p){if("throw"===e)throw r;return x()}for(l.method=e,l.arg=r;;){var n=l.delegate;if(n){var a=function e(r,n){var a=n.method,o=r.iterator[a];if(t===o)return(n.delegate=null,"throw"===a&&r.iterator.return&&
1(n.method="return",n.arg=t,e(r,n),"throw"===n.method))?v:("return"!==a&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+a+"' method")),v);var i=u(o,r.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var s=i.arg;return s?s.done?(n[r.resultName]=s.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):s:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,v)}(n,l);if(a){if(a===v)continue;return a}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if(c===h)throw c=p,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);c=d;var o=u(i,s,l);if("normal"===o.type){if(c=l.done?p:"suspendedYield",o.arg===v)continue;return{value:o.arg,done:l.done}}"throw"===o.type&&(c=p,l.method="throw",l.arg=o.arg)}})}),f}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var h="suspendedStart",d="executing",p="completed",v={};function y(){}function g(){}function m(){}var w={};c(w,i,function(){return this});var b=Object.getPrototypeOf,L=b&&b(b(k([])));L&&L!==r&&n.call(L,i)&&(w=L);var E=m.prototype=y.prototype=Object.create(w);function S(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){var r;a(this,"_invoke",{value:function(a,o){function i(){return new t(function(r,i){!function r(a,o,i,s){var l=u(e[a],e,o);if("throw"===l.type)s(l.arg);else{var c=l.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then(function(e){r("next",e,i,s)},function(e){r("throw",e,i,s)}):t.resolve(f).then(function(e){c.value=e,i(c)},function(e){return r("throw",e,i,s)})}}(a,o,r,i)})}return r=r?r.then(i,i):i()}})}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function k(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}return{next:x}}function x(){return{value:t,done:!0}}return g.prototype=m,a(E,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:g,configurable:!0}),g.displayName=c(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},S(A.prototype),c(A.prototype,s,function(){return this}),e.AsyncIterator=A,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new A(f(t,r,n,a),o);return e.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(E),c(E,l,"Generator"),c(E,i,function(){return this}),c(E,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=k,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return s.type="throw",s.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);else if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else if(c){if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else throw Error("try statement without catch or finally")}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return(i.type=e,i.arg=t,o)?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];
1if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;O(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},76602:(e,t,r)=>{"use strict";let n=r(284).rE;e.exports={...r(4912),workerPath:`https://cdn.jsdelivr.net/npm/tesseract.js@v${n}/dist/worker.min.js`}},90632:e=>{"use strict";e.exports={AFR:"afr",AMH:"amh",ARA:"ara",ASM:"asm",AZE:"aze",AZE_CYRL:"aze_cyrl",BEL:"bel",BEN:"ben",BOD:"bod",BOS:"bos",BUL:"bul",CAT:"cat",CEB:"ceb",CES:"ces",CHI_SIM:"chi_sim",CHI_TRA:"chi_tra",CHR:"chr",CYM:"cym",DAN:"dan",DEU:"deu",DZO:"dzo",ELL:"ell",ENG:"eng",ENM:"enm",EPO:"epo",EST:"est",EUS:"eus",FAS:"fas",FIN:"fin",FRA:"fra",FRK:"frk",FRM:"frm",GLE:"gle",GLG:"glg",GRC:"grc",GUJ:"guj",HAT:"hat",HEB:"heb",HIN:"hin",HRV:"hrv",HUN:"hun",IKU:"iku",IND:"ind",ISL:"isl",ITA:"ita",ITA_OLD:"ita_old",JAV:"jav",JPN:"jpn",KAN:"kan",KAT:"kat",KAT_OLD:"kat_old",KAZ:"kaz",KHM:"khm",KIR:"kir",KOR:"kor",KUR:"kur",LAO:"lao",LAT:"lat",LAV:"lav",LIT:"lit",MAL:"mal",MAR:"mar",MKD:"mkd",MLT:"mlt",MSA:"msa",MYA:"mya",NEP:"nep",NLD:"nld",NOR:"nor",ORI:"ori",PAN:"pan",POL:"pol",POR:"por",PUS:"pus",RON:"ron",RUS:"rus",SAN:"san",SIN:"sin",SLK:"slk",SLV:"slv",SPA:"spa",SPA_OLD:"spa_old",SQI:"sqi",SRP:"srp",SRP_LATN:"srp_latn",SWA:"swa",SWE:"swe",SYR:"syr",TAM:"tam",TEL:"tel",TGK:"tgk",TGL:"tgl",THA:"tha",TIR:"tir",TUR:"tur",UIG:"uig",UKR:"ukr",URD:"urd",UZB:"uzb",UZB_CYRL:"uzb_cyrl",VIE:"vie",YID:"yid"}},95013:function(e,t){"use strict";let r=!1;t.logging=!1,t.setLogging=e=>{r=e},t.log=(...e)=>r?console.log.apply(this,e):null},95544:e=>{"use strict";e.exports=({workerPath:e,workerBlobURL:t})=>{let r;if(Blob&&URL&&t){let t=new Blob([`importScripts("${e}");`],{type:"application/javascript"});r=new Worker(URL.createObjectURL(t))}else r=new Worker(e);return r}},96676:(e,t,r)=>{"use strict";var n=r(99742);e.exports=e=>{let t={};return("u">typeof WorkerGlobalScope?t.type="webworker":"object"==typeof document?t.type="browser":"object"==typeof n&&(t.type="node"),void 0===e)?t:t[e]}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.