diff --git a/web-app/.gitignore b/web-app/.gitignore index 7aa4ad5e24..a493aafc79 100644 --- a/web-app/.gitignore +++ b/web-app/.gitignore @@ -29,4 +29,7 @@ yarn-error.log* !.yarn/sdks !.yarn/versions -yarn.log \ No newline at end of file +yarn.log + +# Build +build/ \ No newline at end of file diff --git a/web-app/build/Loader.svg b/web-app/build/Loader.svg deleted file mode 100644 index 85076a0f80..0000000000 --- a/web-app/build/Loader.svg +++ /dev/null @@ -1,42 +0,0 @@ - diff --git a/web-app/build/agpl-logo.svg b/web-app/build/agpl-logo.svg deleted file mode 100644 index 64d745ce28..0000000000 --- a/web-app/build/agpl-logo.svg +++ /dev/null @@ -1,25 +0,0 @@ - diff --git a/web-app/build/agpl.svg b/web-app/build/agpl.svg deleted file mode 100644 index 149816dc0e..0000000000 --- a/web-app/build/agpl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/amazon.png b/web-app/build/amazon.png deleted file mode 100644 index 80296722b6..0000000000 Binary files a/web-app/build/amazon.png and /dev/null differ diff --git a/web-app/build/amqp-logo.svg b/web-app/build/amqp-logo.svg deleted file mode 100644 index 5b2cfec44d..0000000000 --- a/web-app/build/amqp-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/amqp.png b/web-app/build/amqp.png deleted file mode 100644 index 1636373cd5..0000000000 Binary files a/web-app/build/amqp.png and /dev/null differ diff --git a/web-app/build/android-icon-144x144.png b/web-app/build/android-icon-144x144.png deleted file mode 100644 index 70e43f7973..0000000000 Binary files a/web-app/build/android-icon-144x144.png and /dev/null differ diff --git a/web-app/build/android-icon-192x192.png b/web-app/build/android-icon-192x192.png deleted file mode 100644 index abda28f162..0000000000 Binary files a/web-app/build/android-icon-192x192.png and /dev/null differ diff --git a/web-app/build/android-icon-36x36.png b/web-app/build/android-icon-36x36.png deleted file mode 100644 index 94ff188a26..0000000000 Binary files a/web-app/build/android-icon-36x36.png and /dev/null differ diff --git a/web-app/build/android-icon-48x48.png b/web-app/build/android-icon-48x48.png deleted file mode 100644 index a7101777c4..0000000000 Binary files a/web-app/build/android-icon-48x48.png and /dev/null differ diff --git a/web-app/build/android-icon-72x72.png b/web-app/build/android-icon-72x72.png deleted file mode 100644 index b3a95c7848..0000000000 Binary files a/web-app/build/android-icon-72x72.png and /dev/null differ diff --git a/web-app/build/android-icon-96x96.png b/web-app/build/android-icon-96x96.png deleted file mode 100644 index 792e74fa79..0000000000 Binary files a/web-app/build/android-icon-96x96.png and /dev/null differ diff --git a/web-app/build/apple-icon-180x180.png b/web-app/build/apple-icon-180x180.png deleted file mode 100644 index eabb63230d..0000000000 Binary files a/web-app/build/apple-icon-180x180.png and /dev/null differ diff --git a/web-app/build/asset-manifest.json b/web-app/build/asset-manifest.json deleted file mode 100644 index ec67e1d4b3..0000000000 --- a/web-app/build/asset-manifest.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "files": { - "main.css": "./static/css/main.849b542e.css", - "main.js": "./static/js/main.1266bae7.js", - "static/js/4186.1b3f78a1.chunk.js": "./static/js/4186.1b3f78a1.chunk.js", - "static/js/5354.36064e92.chunk.js": "./static/js/5354.36064e92.chunk.js", - "static/js/5412.7b253da5.chunk.js": "./static/js/5412.7b253da5.chunk.js", - "static/js/6644.a53d4ec8.chunk.js": "./static/js/6644.a53d4ec8.chunk.js", - "static/js/2813.f128a9fb.chunk.js": "./static/js/2813.f128a9fb.chunk.js", - "static/js/2928.999f6aa5.chunk.js": "./static/js/2928.999f6aa5.chunk.js", - "static/js/6777.aa21fae5.chunk.js": "./static/js/6777.aa21fae5.chunk.js", - "static/js/7445.6ddb0188.chunk.js": "./static/js/7445.6ddb0188.chunk.js", - "static/js/4121.4051bbf5.chunk.js": "./static/js/4121.4051bbf5.chunk.js", - "static/js/6215.3e9b6962.chunk.js": "./static/js/6215.3e9b6962.chunk.js", - "static/js/2643.e00d71a1.chunk.js": "./static/js/2643.e00d71a1.chunk.js", - "static/js/5028.88444243.chunk.js": "./static/js/5028.88444243.chunk.js", - "static/js/4169.96b3dd33.chunk.js": "./static/js/4169.96b3dd33.chunk.js", - "static/js/9185.cc2a0952.chunk.js": "./static/js/9185.cc2a0952.chunk.js", - "static/js/68.5a8e7ba6.chunk.js": "./static/js/68.5a8e7ba6.chunk.js", - "static/js/7401.cd4f5830.chunk.js": "./static/js/7401.cd4f5830.chunk.js", - "static/js/8308.b17edc51.chunk.js": "./static/js/8308.b17edc51.chunk.js", - "static/js/4860.8173be96.chunk.js": "./static/js/4860.8173be96.chunk.js", - "static/js/2684.c186c305.chunk.js": "./static/js/2684.c186c305.chunk.js", - "static/js/4857.17d79bcb.chunk.js": "./static/js/4857.17d79bcb.chunk.js", - "static/js/3126.ab390859.chunk.js": "./static/js/3126.ab390859.chunk.js", - "static/js/9010.3d0cf884.chunk.js": "./static/js/9010.3d0cf884.chunk.js", - "static/js/2258.40327c01.chunk.js": "./static/js/2258.40327c01.chunk.js", - "static/js/669.7276830a.chunk.js": "./static/js/669.7276830a.chunk.js", - "static/js/7478.a490512a.chunk.js": "./static/js/7478.a490512a.chunk.js", - "static/js/4274.247cb27e.chunk.js": "./static/js/4274.247cb27e.chunk.js", - "static/js/7726.cd9216d1.chunk.js": "./static/js/7726.cd9216d1.chunk.js", - "static/js/583.f19c0589.chunk.js": "./static/js/583.f19c0589.chunk.js", - "static/js/2587.52daa1fb.chunk.js": "./static/js/2587.52daa1fb.chunk.js", - "static/js/6681.da659a1c.chunk.js": "./static/js/6681.da659a1c.chunk.js", - "static/js/9117.3c176205.chunk.js": "./static/js/9117.3c176205.chunk.js", - "static/js/756.0c323599.chunk.js": "./static/js/756.0c323599.chunk.js", - "static/js/1715.27bf60ec.chunk.js": "./static/js/1715.27bf60ec.chunk.js", - "static/js/9287.2ebcab7b.chunk.js": "./static/js/9287.2ebcab7b.chunk.js", - "static/js/6481.f7633420.chunk.js": "./static/js/6481.f7633420.chunk.js", - "static/js/8796.a27f6ee3.chunk.js": "./static/js/8796.a27f6ee3.chunk.js", - "static/js/4388.f2cdce6f.chunk.js": "./static/js/4388.f2cdce6f.chunk.js", - "static/js/8682.65338008.chunk.js": "./static/js/8682.65338008.chunk.js", - "static/js/1634.60fdc0b6.chunk.js": "./static/js/1634.60fdc0b6.chunk.js", - "static/js/5169.f67830ab.chunk.js": "./static/js/5169.f67830ab.chunk.js", - "static/js/4517.ecaf7d95.chunk.js": "./static/js/4517.ecaf7d95.chunk.js", - "static/js/7852.bfb1c5b8.chunk.js": "./static/js/7852.bfb1c5b8.chunk.js", - "static/js/9459.730903fb.chunk.js": "./static/js/9459.730903fb.chunk.js", - "static/js/3541.34ae70ef.chunk.js": "./static/js/3541.34ae70ef.chunk.js", - "static/js/593.fb5ea6de.chunk.js": "./static/js/593.fb5ea6de.chunk.js", - "static/js/3477.3cc8bd40.chunk.js": "./static/js/3477.3cc8bd40.chunk.js", - "static/js/1366.9849e99a.chunk.js": "./static/js/1366.9849e99a.chunk.js", - "static/js/9506.f54e4e5b.chunk.js": "./static/js/9506.f54e4e5b.chunk.js", - "static/js/1004.94a825c6.chunk.js": "./static/js/1004.94a825c6.chunk.js", - "static/js/6242.24c7dc20.chunk.js": "./static/js/6242.24c7dc20.chunk.js", - "static/js/5238.1b851f9f.chunk.js": "./static/js/5238.1b851f9f.chunk.js", - "static/js/7958.d5f7989a.chunk.js": "./static/js/7958.d5f7989a.chunk.js", - "static/js/5465.15dfdf24.chunk.js": "./static/js/5465.15dfdf24.chunk.js", - "static/js/6582.fb2dceaa.chunk.js": "./static/js/6582.fb2dceaa.chunk.js", - "static/js/2896.27ff0208.chunk.js": "./static/js/2896.27ff0208.chunk.js", - "static/js/7356.3b77119f.chunk.js": "./static/js/7356.3b77119f.chunk.js", - "static/js/9559.cf39aa7d.chunk.js": "./static/js/9559.cf39aa7d.chunk.js", - "static/js/4758.894e4bf0.chunk.js": "./static/js/4758.894e4bf0.chunk.js", - "static/js/66.6c94b445.chunk.js": "./static/js/66.6c94b445.chunk.js", - "static/js/3697.ae39b184.chunk.js": "./static/js/3697.ae39b184.chunk.js", - "static/js/2797.c53d9c9c.chunk.js": "./static/js/2797.c53d9c9c.chunk.js", - "static/js/4402.d8bb81a3.chunk.js": "./static/js/4402.d8bb81a3.chunk.js", - "static/js/7102.28d59501.chunk.js": "./static/js/7102.28d59501.chunk.js", - "static/js/5692.8621ba1a.chunk.js": "./static/js/5692.8621ba1a.chunk.js", - "static/js/7945.948a1b2f.chunk.js": "./static/js/7945.948a1b2f.chunk.js", - "static/js/9033.9a564e55.chunk.js": "./static/js/9033.9a564e55.chunk.js", - "static/js/3576.89f6718c.chunk.js": "./static/js/3576.89f6718c.chunk.js", - "static/js/8231.bd61de62.chunk.js": "./static/js/8231.bd61de62.chunk.js", - "static/js/4043.e97d09a3.chunk.js": "./static/js/4043.e97d09a3.chunk.js", - "static/js/4945.b4f6f750.chunk.js": "./static/js/4945.b4f6f750.chunk.js", - "static/js/4803.2a486f1b.chunk.js": "./static/js/4803.2a486f1b.chunk.js", - "static/js/5938.d0dc8bf3.chunk.js": "./static/js/5938.d0dc8bf3.chunk.js", - "static/js/4540.7d7510b7.chunk.js": "./static/js/4540.7d7510b7.chunk.js", - "static/js/3214.ed7fb3fd.chunk.js": "./static/js/3214.ed7fb3fd.chunk.js", - "static/js/8350.64629895.chunk.js": "./static/js/8350.64629895.chunk.js", - "static/js/1988.2b6fa00d.chunk.js": "./static/js/1988.2b6fa00d.chunk.js", - "static/js/8814.7ba6f8b7.chunk.js": "./static/js/8814.7ba6f8b7.chunk.js", - "static/js/2499.a423e5db.chunk.js": "./static/js/2499.a423e5db.chunk.js", - "static/js/8399.dbae1106.chunk.js": "./static/js/8399.dbae1106.chunk.js", - "static/js/1869.0f80c90a.chunk.js": "./static/js/1869.0f80c90a.chunk.js", - "static/js/5503.a9d9da00.chunk.js": "./static/js/5503.a9d9da00.chunk.js", - "static/js/116.d72fac0b.chunk.js": "./static/js/116.d72fac0b.chunk.js", - "static/js/4599.93da78de.chunk.js": "./static/js/4599.93da78de.chunk.js", - "static/js/9636.04da1350.chunk.js": "./static/js/9636.04da1350.chunk.js", - "static/js/8894.9c332859.chunk.js": "./static/js/8894.9c332859.chunk.js", - "static/js/8530.2dee5b9d.chunk.js": "./static/js/8530.2dee5b9d.chunk.js", - "static/js/4964.f7712fa8.chunk.js": "./static/js/4964.f7712fa8.chunk.js", - "static/js/7389.2d39bf47.chunk.js": "./static/js/7389.2d39bf47.chunk.js", - "static/js/7470.4b28f453.chunk.js": "./static/js/7470.4b28f453.chunk.js", - "static/js/2979.1c1ffc3c.chunk.js": "./static/js/2979.1c1ffc3c.chunk.js", - "static/media/Inter-BoldItalic.woff": "./static/media/Inter-BoldItalic.b376885042f6c961a541.woff", - "static/media/Inter-LightItalic.woff": "./static/media/Inter-LightItalic.ef9f65d91d2b0ba9b2e4.woff", - "static/media/Inter-BlackItalic.woff": "./static/media/Inter-BlackItalic.ca1e738e4f349f27514d.woff", - "static/media/Inter-Italic.woff": "./static/media/Inter-Italic.890025e726861dba417f.woff", - "static/media/Inter-Bold.woff": "./static/media/Inter-Bold.93c1301bd9f486c573b3.woff", - "static/media/Inter-Light.woff": "./static/media/Inter-Light.994e34451cc19ede31d3.woff", - "static/media/Inter-Black.woff": "./static/media/Inter-Black.c6938660eec019fefd68.woff", - "static/media/Inter-Thin.woff": "./static/media/Inter-Thin.29b9c616a95a912abf73.woff", - "static/media/Inter-Regular.woff": "./static/media/Inter-Regular.8c206db99195777c6769.woff", - "static/media/Inter-BoldItalic.woff2": "./static/media/Inter-BoldItalic.2d26c56a606662486796.woff2", - "static/media/Inter-LightItalic.woff2": "./static/media/Inter-LightItalic.f86952265d7b0f02c921.woff2", - "static/media/Inter-BlackItalic.woff2": "./static/media/Inter-BlackItalic.cb2a7335650c690077fe.woff2", - "static/media/Inter-Italic.woff2": "./static/media/Inter-Italic.cb10ffd7684cd9836a05.woff2", - "static/media/Inter-Bold.woff2": "./static/media/Inter-Bold.ec64ea577b0349e055ad.woff2", - "static/media/Inter-Light.woff2": "./static/media/Inter-Light.2d5198822ab091ce4305.woff2", - "static/media/Inter-Black.woff2": "./static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2", - "static/media/Inter-Thin.woff2": "./static/media/Inter-Thin.fff2a096db014f6239d4.woff2", - "static/media/Inter-Regular.woff2": "./static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2", - "static/media/background.jpg": "./static/media/background.435dd27a31c18d712ec4.jpg", - "index.html": "./index.html" - }, - "entrypoints": [ - "static/css/main.849b542e.css", - "static/js/main.1266bae7.js" - ] -} \ No newline at end of file diff --git a/web-app/build/aws-logo.svg b/web-app/build/aws-logo.svg deleted file mode 100644 index 4715937ff0..0000000000 --- a/web-app/build/aws-logo.svg +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/web-app/build/azure-logo.svg b/web-app/build/azure-logo.svg deleted file mode 100644 index 52c32ac3bb..0000000000 --- a/web-app/build/azure-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/azure.png b/web-app/build/azure.png deleted file mode 100644 index b9ecbae672..0000000000 Binary files a/web-app/build/azure.png and /dev/null differ diff --git a/web-app/build/elasticsearch-logo.svg b/web-app/build/elasticsearch-logo.svg deleted file mode 100644 index 6d83951124..0000000000 --- a/web-app/build/elasticsearch-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/elasticsearch.png b/web-app/build/elasticsearch.png deleted file mode 100644 index 92f3fcc53c..0000000000 Binary files a/web-app/build/elasticsearch.png and /dev/null differ diff --git a/web-app/build/favicon-16x16.png b/web-app/build/favicon-16x16.png deleted file mode 100644 index fac143bb75..0000000000 Binary files a/web-app/build/favicon-16x16.png and /dev/null differ diff --git a/web-app/build/favicon-32x32.png b/web-app/build/favicon-32x32.png deleted file mode 100644 index 3d2711fcad..0000000000 Binary files a/web-app/build/favicon-32x32.png and /dev/null differ diff --git a/web-app/build/favicon-96x96.png b/web-app/build/favicon-96x96.png deleted file mode 100644 index a151c18468..0000000000 Binary files a/web-app/build/favicon-96x96.png and /dev/null differ diff --git a/web-app/build/favicon.ico b/web-app/build/favicon.ico deleted file mode 100644 index e15ff4d741..0000000000 Binary files a/web-app/build/favicon.ico and /dev/null differ diff --git a/web-app/build/gcs-logo.svg b/web-app/build/gcs-logo.svg deleted file mode 100644 index 81b7d24547..0000000000 --- a/web-app/build/gcs-logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-app/build/gcs.png b/web-app/build/gcs.png deleted file mode 100644 index 2322a143b5..0000000000 Binary files a/web-app/build/gcs.png and /dev/null differ diff --git a/web-app/build/images/ob_bucket_clear.svg b/web-app/build/images/ob_bucket_clear.svg deleted file mode 100644 index 630261d0a1..0000000000 --- a/web-app/build/images/ob_bucket_clear.svg +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/web-app/build/images/ob_bucket_filled.svg b/web-app/build/images/ob_bucket_filled.svg deleted file mode 100644 index afd4910a2e..0000000000 --- a/web-app/build/images/ob_bucket_filled.svg +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/web-app/build/images/ob_file_clear.svg b/web-app/build/images/ob_file_clear.svg deleted file mode 100644 index 992b9a141a..0000000000 --- a/web-app/build/images/ob_file_clear.svg +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/web-app/build/images/ob_file_filled.svg b/web-app/build/images/ob_file_filled.svg deleted file mode 100644 index bcdf1e54c0..0000000000 --- a/web-app/build/images/ob_file_filled.svg +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/web-app/build/images/ob_folder_clear.svg b/web-app/build/images/ob_folder_clear.svg deleted file mode 100644 index 0c67aa0765..0000000000 --- a/web-app/build/images/ob_folder_clear.svg +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/web-app/build/images/ob_folder_filled.svg b/web-app/build/images/ob_folder_filled.svg deleted file mode 100644 index 1c23c4551e..0000000000 --- a/web-app/build/images/ob_folder_filled.svg +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/web-app/build/images/object-browser-folder-icn.svg b/web-app/build/images/object-browser-folder-icn.svg deleted file mode 100644 index fb4a28b952..0000000000 --- a/web-app/build/images/object-browser-folder-icn.svg +++ /dev/null @@ -1,11 +0,0 @@ - diff --git a/web-app/build/images/object-browser-icn.svg b/web-app/build/images/object-browser-icn.svg deleted file mode 100644 index 111e0bbd15..0000000000 --- a/web-app/build/images/object-browser-icn.svg +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/web-app/build/images/search-icn.svg b/web-app/build/images/search-icn.svg deleted file mode 100644 index b75ed005b9..0000000000 --- a/web-app/build/images/search-icn.svg +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/web-app/build/images/trash-icn.svg b/web-app/build/images/trash-icn.svg deleted file mode 100644 index 349d5d4aea..0000000000 --- a/web-app/build/images/trash-icn.svg +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/web-app/build/index.html b/web-app/build/index.html deleted file mode 100644 index fea9df1d02..0000000000 --- a/web-app/build/index.html +++ /dev/null @@ -1 +0,0 @@ -
=w||c<0||c>=y?l<<=1:l=l<<1|r[o][c]}const g=k.readBit(C,l);t[s]=g}}return x}function decodeTextRegion(e,t,a,r,i,n,s,o,c,l,h,u,d,f,g,p,m,b,y){if(e&&t)throw new Jbig2Error("refinement with Huffman is not supported");const w=[];let S,x;for(S=0;S 0,c=(r+7>>3)*i,l=e.getBytes(c),h=1===r&&1===i&&o===(0===l.length||!!(128&l[0]));if(h)return{isSingleOpaquePixel:h};if(t){if(ImageResizer.needsToBeResized(r,i)){const e=new Uint8ClampedArray(r*i*4);convertBlackAndWhiteToRGBA({src:l,dest:e,width:r,height:i,nonBlackColor:0,inverseDecode:o});return ImageResizer.createImage({kind:v,data:e,width:r,height:i,interpolate:n})}const e=new OffscreenCanvas(r,i),t=e.getContext("2d"),a=t.createImageData(r,i);convertBlackAndWhiteToRGBA({src:l,dest:a.data,width:r,height:i,nonBlackColor:0,inverseDecode:o});t.putImageData(a,0,0);return{data:null,width:r,height:i,interpolate:n,bitmap:e.transferToImageBitmap()}}const u=l.byteLength;let d;if(e instanceof DecodeStream&&(!o||c===u))d=l;else if(o){d=new Uint8Array(c);d.set(l);d.fill(255,u)}else d=new Uint8Array(l);if(o)for(let e=0;e>7&1;s[d+1]=u>>6&1;s[d+2]=u>>5&1;s[d+3]=u>>4&1;s[d+4]=u>>3&1;s[d+5]=u>>2&1;s[d+6]=u>>1&1;s[d+7]=1&u;d+=8}if(d>=1}}}}else{let a=0;u=0;for(d=0,h=n;d=0;t--){d[t]=o[a];a=l[a]}}else d[f++]=d[0]}if(i){l[s]=u;c[s]=c[u]+1;o[s]=d[0];s++;h=s+n&s+n-1?h:0|Math.min(Math.log(s+n)/.6931471805599453+1,12)}u=e;g+=f;if(r127))){n=0;break}}if(2!==n)continue;if(!t){warn("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");continue}const o=new Lexer(new Stream(e.peekBytes(75)),t);o._hexStringWarn=()=>{};let c=0;for(;;){const e=o.getObj();if(e===wa){n=0;break}if(e instanceof Cmd){const a=t[e.cmd];if(!a){n=0;break}if(a.variableArgs?c<=a.numArgs:c===a.numArgs)break;c=0}else c++}if(2===n)break}else n=0;if(-1===r){warn("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker");if(i){warn('... trying to recover by using the last "EI" occurrence.');e.skip(-(e.pos-i))}}let s=4;e.skip(-s);r=e.peekByte();e.skip(s);isWhiteSpace(r)||s--;return e.pos-s-a}findDCTDecodeInlineStreamEnd(e){const t=e.pos;let a,r,i=!1;for(;-1!==(a=e.getByte());)if(255===a){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:i=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:r=e.getUint16();r>2?e.skip(r-2):e.skip(-2)}if(i)break}const n=e.pos-t;if(-1===a){warn("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead.");e.skip(-n);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return n}findASCII85DecodeInlineStreamEnd(e){const t=e.pos;let a;for(;-1!==(a=e.getByte());)if(126===a){const t=e.pos;a=e.peekByte();for(;isWhiteSpace(a);){e.skip();a=e.peekByte()}if(62===a){e.skip();break}if(e.pos>t){const t=e.peekBytes(2);if(69===t[0]&&73===t[1])break}}const r=e.pos-t;if(-1===a){warn("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead.");e.skip(-r);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return r}findASCIIHexDecodeInlineStreamEnd(e){const t=e.pos;let a;for(;-1!==(a=e.getByte())&&62!==a;);const r=e.pos-t;if(-1===a){warn("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead.");e.skip(-r);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return r}inlineStreamSkipEI(e){let t,a=0;for(;-1!==(t=e.getByte());)if(0===a)a=69===t?1:0;else if(1===a)a=73===t?2:0;else if(2===a)break}makeInlineImage(e){const t=this.lexer,a=t.stream,r=Object.create(null);let i;for(;!isCmd(this.buf1,"ID")&&this.buf1!==wa;){if(!(this.buf1 instanceof Name))throw new FormatError("Dictionary key must be a name object");const t=this.buf1.name;this.shift();if(this.buf1===wa)break;r[t]=this.getObj(e)}-1!==t.beginInlineImagePos&&(i=a.pos-t.beginInlineImagePos);const n=this.xref.fetchIfRef(r.F||r.Filter);let s;if(n instanceof Name)s=n.name;else if(Array.isArray(n)){const e=this.xref.fetchIfRef(n[0]);e instanceof Name&&(s=e.name)}const o=a.pos;let c,l;switch(s){case"DCT":case"DCTDecode":c=this.findDCTDecodeInlineStreamEnd(a);break;case"A85":case"ASCII85Decode":c=this.findASCII85DecodeInlineStreamEnd(a);break;case"AHx":case"ASCIIHexDecode":c=this.findASCIIHexDecodeInlineStreamEnd(a);break;default:c=this.findDefaultInlineStreamEnd(a)}if(c<1e3&&i>0){const e=a.pos;a.pos=t.beginInlineImagePos;l=function getInlineImageCacheKey(e){const t=[],a=e.length;let r=0;for(;r=4){i-=4;if(this.seacAnalysisEnabled){e.seac=n.slice(i,i+4);return!1}}l=zr[c]}else if(c>=32&&c<=246){n[i]=c-139;i++}else if(c>=247&&c<=254){n[i]=c<251?(c-247<<8)+t[o]+108:-(c-251<<8)-t[o]-108;o++;i++}else if(255===c){n[i]=(t[o]<<24|t[o+1]<<16|t[o+2]<<8|t[o+3])/65536;o+=4;i++}else if(19===c||20===c){e.hints+=i>>1;if(0===e.hints){t.copyWithin(o-1,o,-1);o-=1;s-=1;continue}o+=e.hints+7>>3;i%=2;l=zr[c]}else{if(10===c||29===c){const t=10===c?a:r;if(!t){l=zr[c];warn("Missing subrsIndex for "+l.id);return!1}let s=32768;t.count<1240?s=107:t.count<33900&&(s=1131);const o=n[--i]+s;if(o<0||o>=t.count||isNaN(o)){l=zr[c];warn("Out of bounds subrIndex for "+l.id);return!1}e.stackSize=i;e.callDepth++;if(!this.parseCharString(e,t.get(o),a,r))return!1;e.callDepth--;i=e.stackSize;continue}if(11===c){e.stackSize=i;return!0}if(0===c&&o===t.length){t[o-1]=14;l=zr[14]}else{if(9===c){t.copyWithin(o-1,o,-1);o-=1;s-=1;continue}l=zr[c]}}if(l){if(l.stem){e.hints+=i>>1;if(3===c||23===c)e.hasVStems=!0;else if(e.hasVStems&&(1===c||18===c)){warn("CFF stem hints are in wrong order");t[o-1]=1===c?3:23}}if("min"in l&&!e.undefStack&&i0){w+="ÿÿ";y+="ÿÿ";S+="\0";x+="\0\0"}const v="\0\0"+string16(2*d)+string16(f.range)+string16(f.entry)+string16(f.rangeShift)+w+"\0\0"+y+S+x+k;let F="",O="";if(i>1){l+="\0\0\n"+string32(4+8*i+4+v.length);F="";for(n=0,s=r.length;ne||!o)&&(o=e);c=0){reverseValues(xn,e,n);e=-1}}else e<0&&(e=n);e>=0&&reverseValues(xn,e,c.length)}for(n=0,s=xn.length;n"!==e||(xn[n]="")}return createBidiText(xn.join(""),r)}const kn={style:"normal",weight:"normal"},Cn={style:"normal",weight:"bold"},vn={style:"italic",weight:"normal"},Fn={style:"italic",weight:"bold"},In=new Map([["Times-Roman",{local:["Times New Roman","Times-Roman","Times","Liberation Serif","Nimbus Roman","Nimbus Roman L","Tinos","Thorndale","TeX Gyre Termes","FreeSerif","Linux Libertine O","Libertinus Serif","DejaVu Serif","Bitstream Vera Serif","Ubuntu"],style:kn,ultimate:"serif"}],["Times-Bold",{alias:"Times-Roman",style:Cn,ultimate:"serif"}],["Times-Italic",{alias:"Times-Roman",style:vn,ultimate:"serif"}],["Times-BoldItalic",{alias:"Times-Roman",style:Fn,ultimate:"serif"}],["Helvetica",{local:["Helvetica","Helvetica Neue","Arial","Arial Nova","Liberation Sans","Arimo","Nimbus Sans","Nimbus Sans L","A030","TeX Gyre Heros","FreeSans","DejaVu Sans","Albany","Bitstream Vera Sans","Arial Unicode MS","Microsoft Sans Serif","Apple Symbols","Cantarell"],path:"LiberationSans-Regular.ttf",style:kn,ultimate:"sans-serif"}],["Helvetica-Bold",{alias:"Helvetica",path:"LiberationSans-Bold.ttf",style:Cn,ultimate:"sans-serif"}],["Helvetica-Oblique",{alias:"Helvetica",path:"LiberationSans-Italic.ttf",style:vn,ultimate:"sans-serif"}],["Helvetica-BoldOblique",{alias:"Helvetica",path:"LiberationSans-BoldItalic.ttf",style:Fn,ultimate:"sans-serif"}],["Courier",{local:["Courier","Courier New","Liberation Mono","Nimbus Mono","Nimbus Mono L","Cousine","Cumberland","TeX Gyre Cursor","FreeMono","Linux Libertine Mono O","Libertinus Mono"],style:kn,ultimate:"monospace"}],["Courier-Bold",{alias:"Courier",style:Cn,ultimate:"monospace"}],["Courier-Oblique",{alias:"Courier",style:vn,ultimate:"monospace"}],["Courier-BoldOblique",{alias:"Courier",style:Fn,ultimate:"monospace"}],["ArialBlack",{local:["Arial Black"],style:{style:"normal",weight:"900"},fallback:"Helvetica-Bold"}],["ArialBlack-Bold",{alias:"ArialBlack"}],["ArialBlack-Italic",{alias:"ArialBlack",style:{style:"italic",weight:"900"},fallback:"Helvetica-BoldOblique"}],["ArialBlack-BoldItalic",{alias:"ArialBlack-Italic"}],["ArialNarrow",{local:["Arial Narrow","Liberation Sans Narrow","Helvetica Condensed","Nimbus Sans Narrow","TeX Gyre Heros Cn"],style:kn,fallback:"Helvetica"}],["ArialNarrow-Bold",{alias:"ArialNarrow",style:Cn,fallback:"Helvetica-Bold"}],["ArialNarrow-Italic",{alias:"ArialNarrow",style:vn,fallback:"Helvetica-Oblique"}],["ArialNarrow-BoldItalic",{alias:"ArialNarrow",style:Fn,fallback:"Helvetica-BoldOblique"}],["Calibri",{local:["Calibri","Carlito"],style:kn,fallback:"Helvetica"}],["Calibri-Bold",{alias:"Calibri",style:Cn,fallback:"Helvetica-Bold"}],["Calibri-Italic",{alias:"Calibri",style:vn,fallback:"Helvetica-Oblique"}],["Calibri-BoldItalic",{alias:"Calibri",style:Fn,fallback:"Helvetica-BoldOblique"}],["Wingdings",{local:["Wingdings","URW Dingbats"],style:kn}],["Wingdings-Regular",{alias:"Wingdings"}],["Wingdings-Bold",{alias:"Wingdings"}]]),On=new Map([["Arial-Black","ArialBlack"]]);function getFamilyName(e){const t=new Set(["thin","extralight","ultralight","demilight","semilight","light","book","regular","normal","medium","demibold","semibold","bold","extrabold","ultrabold","black","heavy","extrablack","ultrablack","roman","italic","oblique","ultracondensed","extracondensed","condensed","semicondensed","normal","semiexpanded","expanded","extraexpanded","ultraexpanded","bolditalic"]);return e.split(/[- ,+]+/g).filter((e=>!t.has(e.toLowerCase()))).join(" ")}function generateFont({alias:e,local:t,path:a,fallback:r,style:i,ultimate:n},s,o,c=!0,l=!0,h=""){const u={style:null,ultimate:null};if(t){const e=h?` ${h}`:"";for(const a of t)s.push(`local(${a}${e})`)}if(e){const t=In.get(e),n=h||function getStyleToAppend(e){switch(e){case Cn:return"Bold";case vn:return"Italic";case Fn:return"Bold Italic";default:if("bold"===e?.weight)return"Bold";if("italic"===e?.style)return"Italic"}return""}(i);Object.assign(u,generateFont(t,s,o,c&&!r,l&&!a,n))}i&&(u.style=i);n&&(u.ultimate=n);if(c&&r){const e=In.get(r),{ultimate:t}=generateFont(e,s,o,c,l&&!a,h);u.ultimate||=t}l&&a&&o&&s.push(`url(${o}${a})`);return u}function getFontSubstitution(e,t,a,r,i,n){if(r.startsWith("InvalidPDFjsFont_"))return null;"TrueType"!==n&&"Type1"!==n||!/^[A-Z]{6}\+/.test(r)||(r=r.slice(7));const s=r=normalizeFontName(r);let o=e.get(s);if(o)return o;let c=In.get(r);if(!c)for(const[e,t]of On)if(r.startsWith(e)){r=`${t}${r.substring(e.length)}`;c=In.get(r);break}let l=!1;if(!c){c=In.get(i);l=!0}const h=`${t.getDocId()}_s${t.createFontId()}`;if(!c){if(!validateFontName(r)){warn(`Cannot substitute the font because of its name: ${r}`);e.set(s,null);return null}const t=/bold/gi.test(r),a=/oblique|italic/gi.test(r),i=t&&a&&Fn||t&&Cn||a&&vn||kn;o={css:`"${getFamilyName(r)}",${h}`,guessFallback:!0,loadedName:h,baseFontName:r,src:`local(${r})`,style:i};e.set(s,o);return o}const u=[];l&&validateFontName(r)&&u.push(`local(${r})`);const{style:d,ultimate:f}=generateFont(c,u,a),g=null===f,p=g?"":`,${f}`;o={css:`"${getFamilyName(r)}",${h}${p}`,guessFallback:g,loadedName:h,baseFontName:r,src:u.join(","),style:d};e.set(s,o);return o}const Tn=3285377520,Mn=4294901760,Dn=65535;class MurmurHash3_64{constructor(e){this.h1=e?4294967295&e:Tn;this.h2=e?4294967295&e:Tn}update(e){let t,a;if("string"==typeof e){t=new Uint8Array(2*e.length);a=0;for(let r=0,i=e.length;r>>8;t[a++]=255&i}}}else{if(!ArrayBuffer.isView(e))throw new Error("Invalid data format, must be a string or TypedArray.");t=e.slice();a=t.byteLength}const r=a>>2,i=a-4*r,n=new Uint32Array(t.buffer,0,r);let s=0,o=0,c=this.h1,l=this.h2;const h=3432918353,u=461845907,d=11601,f=13715;for(let e=0;e.5*b.width){appendEOL();return!0}resetLastChars();flushTextContentItem();return!0}if(Math.abs(t)>b.width){appendEOL();return!0}e<=s*b.notASpace&&resetLastChars();if(e<=s*b.trackingSpaceMin)if(shouldAddWhitepsace()){resetLastChars();flushTextContentItem();pushWhitespace({height:Math.abs(e)})}else b.height+=e;else if(!addFakeSpaces(e,b.prevTransform,s))if(0===b.str.length){resetLastChars();pushWhitespace({height:Math.abs(e)})}else b.height+=e;Math.abs(t)>.25*b.width&&flushTextContentItem();return!0}const o=(a-i)/b.textAdvanceScale,l=r-n,h=Math.sign(b.width);if(oEvaluatorPreprocessor.MAX_INVALID_PATH_OPS)throw new FormatError(`Invalid ${e}`);warn(`Skipping ${e}`);null!==t&&(t.length=0);continue}}this.preprocessCommand(n,t);e.fn=n;e.args=t;return!0}if(a===wa)return!1;if(null!==a){null===t&&(t=[]);t.push(a);if(t.length>33)throw new FormatError("Too many arguments")}}}preprocessCommand(e,t){switch(0|e){case Be:this.stateManager.save();break;case Re:this.stateManager.restore();break;case Ne:this.stateManager.transform(t)}}}class DefaultAppearanceEvaluator extends EvaluatorPreprocessor{constructor(e){super(new StringStream(e))}parse(){const e={fn:0,args:[]},t={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;;){e.args.length=0;if(!this.read(e))break;if(0!==this.savedStatesDepth)continue;const{fn:a,args:r}=e;switch(0|a){case nt:const[e,a]=r;e instanceof Name&&(t.fontName=e.name);"number"==typeof a&&a>0&&(t.fontSize=a);break;case It:ColorSpaceUtils.rgb.getRgbItem(r,0,t.fontColor,0);break;case vt:ColorSpaceUtils.gray.getRgbItem(r,0,t.fontColor,0);break;case Tt:ColorSpaceUtils.cmyk.getRgbItem(r,0,t.fontColor,0)}}}catch(e){warn(`parseDefaultAppearance - ignoring errors: "${e}".`)}return t}}function parseDefaultAppearance(e){return new DefaultAppearanceEvaluator(e).parse()}class AppearanceStreamEvaluator extends EvaluatorPreprocessor{constructor(e,t,a,r){super(e);this.stream=e;this.evaluatorOptions=t;this.xref=a;this.globalColorSpaceCache=r;this.resources=e.dict?.get("Resources")}parse(){const e={fn:0,args:[]};let t={scaleFactor:1,fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3),fillColorSpace:ColorSpaceUtils.gray},a=!1;const r=[];try{for(;;){e.args.length=0;if(a||!this.read(e))break;const{fn:i,args:n}=e;switch(0|i){case Be:r.push({scaleFactor:t.scaleFactor,fontSize:t.fontSize,fontName:t.fontName,fontColor:t.fontColor.slice(),fillColorSpace:t.fillColorSpace});break;case Re:t=r.pop()||t;break;case ht:t.scaleFactor*=Math.hypot(n[0],n[1]);break;case nt:const[e,i]=n;e instanceof Name&&(t.fontName=e.name);"number"==typeof i&&i>0&&(t.fontSize=i*t.scaleFactor);break;case wt:t.fillColorSpace=ColorSpaceUtils.parse({cs:n[0],xref:this.xref,resources:this.resources,pdfFunctionFactory:this._pdfFunctionFactory,globalColorSpaceCache:this.globalColorSpaceCache,localColorSpaceCache:this._localColorSpaceCache});break;case At:t.fillColorSpace.getRgbItem(n,0,t.fontColor,0);break;case It:ColorSpaceUtils.rgb.getRgbItem(n,0,t.fontColor,0);break;case vt:ColorSpaceUtils.gray.getRgbItem(n,0,t.fontColor,0);break;case Tt:ColorSpaceUtils.cmyk.getRgbItem(n,0,t.fontColor,0);break;case dt:case ft:case gt:case pt:a=!0}}}catch(e){warn(`parseAppearanceStream - ignoring errors: "${e}".`)}this.stream.reset();delete t.scaleFactor;delete t.fillColorSpace;return t}get _localColorSpaceCache(){return shadow(this,"_localColorSpaceCache",new LocalColorSpaceCache)}get _pdfFunctionFactory(){return shadow(this,"_pdfFunctionFactory",new PDFFunctionFactory({xref:this.xref,isEvalSupported:this.evaluatorOptions.isEvalSupported}))}}function getPdfColor(e,t){if(e[0]===e[1]&&e[1]===e[2]){return`${numberToString(e[0]/255)} ${t?"g":"G"}`}return Array.from(e,(e=>numberToString(e/255))).join(" ")+" "+(t?"rg":"RG")}class FakeUnicodeFont{constructor(e,t){this.xref=e;this.widths=null;this.firstChar=1/0;this.lastChar=-1/0;this.fontFamily=t;const a=new OffscreenCanvas(1,1);this.ctxMeasure=a.getContext("2d",{willReadFrequently:!0});FakeUnicodeFont._fontNameId||(FakeUnicodeFont._fontNameId=1);this.fontName=Name.get(`InvalidPDFjsFont_${t}_${FakeUnicodeFont._fontNameId++}`)}get fontDescriptorRef(){if(!FakeUnicodeFont._fontDescriptorRef){const e=new Dict(this.xref);e.set("Type",Name.get("FontDescriptor"));e.set("FontName",this.fontName);e.set("FontFamily","MyriadPro Regular");e.set("FontBBox",[0,0,0,0]);e.set("FontStretch",Name.get("Normal"));e.set("FontWeight",400);e.set("ItalicAngle",0);FakeUnicodeFont._fontDescriptorRef=this.xref.getNewPersistentRef(e)}return FakeUnicodeFont._fontDescriptorRef}get descendantFontRef(){const e=new Dict(this.xref);e.set("BaseFont",this.fontName);e.set("Type",Name.get("Font"));e.set("Subtype",Name.get("CIDFontType0"));e.set("CIDToGIDMap",Name.get("Identity"));e.set("FirstChar",this.firstChar);e.set("LastChar",this.lastChar);e.set("FontDescriptor",this.fontDescriptorRef);e.set("DW",1e3);const t=[],a=[...this.widths.entries()].sort();let r=null,i=null;for(const[e,n]of a)if(r)if(e===r+i.length)i.push(n);else{t.push(r,i);r=e;i=[n]}else{r=e;i=[n]}r&&t.push(r,i);e.set("W",t);const n=new Dict(this.xref);n.set("Ordering","Identity");n.set("Registry","Adobe");n.set("Supplement",0);e.set("CIDSystemInfo",n);return this.xref.getNewPersistentRef(e)}get baseFontRef(){const e=new Dict(this.xref);e.set("BaseFont",this.fontName);e.set("Type",Name.get("Font"));e.set("Subtype",Name.get("Type0"));e.set("Encoding",Name.get("Identity-H"));e.set("DescendantFonts",[this.descendantFontRef]);e.set("ToUnicode",Name.get("Identity-H"));return this.xref.getNewPersistentRef(e)}get resources(){const e=new Dict(this.xref),t=new Dict(this.xref);t.set(this.fontName.name,this.baseFontRef);e.set("Font",t);return e}_createContext(){this.widths=new Map;this.ctxMeasure.font=`1000px ${this.fontFamily}`;return this.ctxMeasure}createFontResources(e){const t=this._createContext();for(const a of e.split(/\r\n?|\n/))for(const e of a.split("")){const a=e.charCodeAt(0);if(this.widths.has(a))continue;const r=t.measureText(e),i=Math.ceil(r.width);this.widths.set(a,i);this.firstChar=Math.min(a,this.firstChar);this.lastChar=Math.max(a,this.lastChar)}return this.resources}static getFirstPositionInfo(e,t,i){const[n,s,o,c]=e;let l=o-n,h=c-s;t%180!=0&&([l,h]=[h,l]);const u=a*i;return{coords:[0,h+r*i-u],bbox:[0,0,l,h],matrix:0!==t?getRotationMatrix(t,h,u):void 0}}createAppearance(e,t,i,n,s,o){const c=this._createContext(),l=[];let h=-1/0;for(const t of e.split(/\r\n?|\n/)){l.push(t);const e=c.measureText(t).width;h=Math.max(h,e);for(const e of codePointIter(t)){const t=String.fromCodePoint(e);let a=this.widths.get(e);if(void 0===a){const r=c.measureText(t);a=Math.ceil(r.width);this.widths.set(e,a);this.firstChar=Math.min(e,this.firstChar);this.lastChar=Math.max(e,this.lastChar)}}}h*=n/1e3;const[u,d,f,g]=t;let p=f-u,m=g-d;i%180!=0&&([p,m]=[m,p]);let b=1;h>p&&(b=p/h);let y=1;const w=a*n,S=r*n,x=w*l.length;x>m&&(y=m/x);const k=n*Math.min(b,y),C=["q",`0 0 ${numberToString(p)} ${numberToString(m)} re W n`,"BT",`1 0 0 1 0 ${numberToString(m+S)} Tm 0 Tc ${getPdfColor(s,!0)}`,`/${this.fontName.name} ${numberToString(k)} Tf`],{resources:v}=this;if(1!==(o="number"==typeof o&&o>=0&&o<=1?o:1)){C.push("/R0 gs");const e=new Dict(this.xref),t=new Dict(this.xref);t.set("ca",o);t.set("CA",o);t.set("Type",Name.get("ExtGState"));e.set("R0",t);v.set("ExtGState",e)}const F=numberToString(w);for(const e of l)C.push(`0 -${F} Td <${stringToUTF16HexString(e)}> Tj`);C.push("ET","Q");const O=C.join("\n"),T=new Dict(this.xref);T.set("Subtype",Name.get("Form"));T.set("Type",Name.get("XObject"));T.set("BBox",[0,0,p,m]);T.set("Length",O.length);T.set("Resources",v);if(i){const e=getRotationMatrix(i,p,m);T.set("Matrix",e)}const M=new StringStream(O);M.dict=T;return M}}class NameOrNumberTree{constructor(e,t,a){this.root=e;this.xref=t;this._type=a}getAll(){const e=new Map;if(!this.root)return e;const t=this.xref,a=new RefSet;a.put(this.root);const r=[this.root];for(;r.length>0;){const i=t.fetchIfRef(r.shift());if(!(i instanceof Dict))continue;if(i.has("Kids")){const e=i.get("Kids");if(!Array.isArray(e))continue;for(const t of e){if(a.has(t))throw new FormatError(`Duplicate entry in "${this._type}" tree.`);r.push(t);a.put(t)}continue}const n=i.get(this._type);if(Array.isArray(n))for(let a=0,r=n.length;a