alle new
This commit is contained in:
erik committed 2026-10-01 06:46:51 +02:00
1 parent da64472251
commit 5b20adee48
1605 files changed
+396517 -1674

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
/**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2024 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @licend The above is the entire license notice for the
* JavaScript code in this page
*/
/**
* pdfjsVersion = 6.3.289
* pdfjsBuild = 1c8020a7d
*/var e={9306(e,t,n){var a=n(4901),r=n(6823),s=TypeError;e.exports=function(e){if(a(e))return e;throw new s(r(e)+" is not a function")}},3506(e,t,n){var a=n(3925),r=String,s=TypeError;e.exports=function(e){if(a(e))return e;throw new s("Can't set "+r(e)+" as a prototype")}},7080(e,t,n){var a=n(4402).has;e.exports=function(e){a(e);return e}},3463(e){var t=TypeError;e.exports=function(e){if("string"==typeof e)return e;throw new t("Argument is not a string")}},4328(e,t,n){var a=n(4995),r=new a.WeakMap,s=a.set,i=a.remove;e.exports=function(e){s(r,e,1);i(r,e);return e}},6557(e,t,n){var a=n(4995).has;e.exports=function(e){a(e);return e}},6469(e,t,n){var a=n(8227),r=n(2360),s=n(4913).f,i=a("unscopables"),o=Array.prototype;void 0===o[i]&&s(o,i,{configurable:!0,value:r(null)});e.exports=function(e){o[i][e]=!0}},679(e,t,n){var a=n(1625),r=TypeError;e.exports=function(e,t){if(a(t,e))return e;throw new r("Incorrect invocation")}},3972(e,t,n){var a=n(34),r=String,s=TypeError;e.exports=function(e){if(void 0===e||a(e))return e;throw new s(r(e)+" is not an object or undefined")}},8551(e,t,n){var a=n(34),r=String,s=TypeError;e.exports=function(e){if(a(e))return e;throw new s(r(e)+" is not an object")}},4154(e,t,n){var a=n(6955),r=TypeError;e.exports=function(e){if("Uint8Array"===a(e))return e;throw new r("Argument is not an Uint8Array")}},7811(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7394(e,t,n){var a=n(4576),r=n(6706),s=n(2195),i=a.ArrayBuffer,o=a.TypeError;e.exports=i&&r(i.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==s(e))throw new o("ArrayBuffer expected");return e.byteLength}},3238(e,t,n){var a=n(4576),r=n(7811),s=n(7394),i=a.DataView;e.exports=function(e){if(!r||0!==s(e))return!1;try{new i(e);return!1}catch(e){return!0}}},5169(e,t,n){var a=n(3238),r=TypeError;e.exports=function(e){if(a(e))throw new r("ArrayBuffer is detached");return e}},4644(e,t,n){var a,r,s,i=n(7811),o=n(3724),l=n(4576),f=n(4901),c=n(34),h=n(9297),u=n(6955),m=n(6823),p=n(6699),d=n(6840),g=n(2106),b=n(1625),w=n(2787),j=n(2967),k=n(8227),y=n(3392),q=n(1181),v=q.enforce,S=q.get,x=l.Int8Array,C=x&&x.prototype,T=l.Uint8ClampedArray,O=T&&T.prototype,R=x&&w(x),D=C&&w(C),H=Object.prototype,M=l.TypeError,N=k("toStringTag"),_=y("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",z=i&&!!j&&"Opera"!==u(l.opera),L=!1,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},W={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(e){var t=w(e);if(c(t)){var n=S(t);return n&&h(n,E)?n[E]:getTypedArrayConstructor(t)}},isTypedArray=function(e){if(!c(e))return!1;var t=u(e);return h(U,t)||h(W,t)};for(a in U)(s=(r=l[a])&&r.prototype)?v(s)[E]=r:z=!1;for(a in W)(s=(r=l[a])&&r.prototype)&&(v(s)[E]=r);if(!z||!f(R)||R===Function.prototype){R=function TypedArray(){throw new M("Incorrect invocation")};if(z)for(a in U)l[a]&&j(l[a],R)}if(!z||!D||D===H){D=R.prototype;if(z)for(a in U)l[a]&&j(l[a].prototype,D)}z&&w(O)!==D&&j(O,D);if(o&&!h(D,N)){L=!0;g(D,N,{configurable:!0,get:function(){return c(this)?this[_]:void 0}});for(a in U)l[a]&&p(l[a].prototype,_,a)}e.exports={NATIVE_ARRAY_BUFFER_VIEWS:z,TYPED_ARRAY_TAG:L&&_,aTypedArray:function(e){if(isTypedArray(e))return e;throw new M("Target is not a typed array")},aTypedArrayConstructor:function(e){if(f(e)&&(!j||b(R,e)))return e;throw new M(m(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,a){if(o){if(n)for(var r in U){var s=l[r];if(s&&h(s.prototype,e))try{delete s.prototype[e]}catch(n){try{s.prototype[e]=t}catch(e){}}}D[e]&&!n||d(D,e,n?t:z&&C[e]||t,a)}},exportTypedArrayStaticMethod:function(e,t,n){var a,r;if(o){if(j){if(n)for(a in U)if((r=l[a])&&h(r,e))try{delete r[e]}catch(e){}if(R[e]&&!n)return;try{return d(R,e,n?t:z&&R[e]||t)}catch(e){}}for(a in U)!(r=l[a])||r[e]&&!n||d(r,e,t)}},getTypedArrayConstructor,isView:function isView(e){if(!c(e))return!1;var t=u(e);return"DataView"===t||h(U,t)||h(W,t)},isTypedArray,TypedArray:R,TypedArrayPrototype:D}},5370(e,t,n){var a=n(6198);e.exports=function(e,t,n){for(var r=0,s=arguments.length>2?n:a(t),i=new e(s);s>r;)i[r]=t[r++];return i}},9617(e,t,n){var a=n(5397),r=n(5610),s=n(6198),createMethod=function(e){return function(t,n,i){var o=a(t),l=s(o);if(0===l)return!e&&-1;var f,c=r(i,l);if(e&&n!=n){for(;l>c;)if((f=o[c++])!=f)return!0}else for(;l>c;c++)if((e||c in o)&&o[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},4527(e,t,n){var a=n(3724),r=n(4376),s=TypeError,i=Object.getOwnPropertyDescriptor,o=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=o?function(e,t){if(r(e)&&!i(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},7680(e,t,n){var a=n(9504);e.exports=a([].slice)},2804(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcLine truncated
/*webpackIgnore: true*/
/*@vite-ignore*/
`${WasmImage.#O}${this._noWasmFilename}`)).default()}catch(e){warn(`#getJsModule: ${e}`)}e(t)}async#Q(e,t,n){try{this.#$||(WasmImage.#V?this.#$=await fetchBinaryData(`${WasmImage.#O}${this._filename}`):this.#$=await WasmImage.#K.sendWithPromise("FetchBinaryData",{kind:"wasmUrl",filename:this._filename}));return n((await WebAssembly.instantiate(this.#$,t)).instance)}catch(t){warn(`#instantiateWasm: ${t}`);this.#J(e);return null}}_getModule(e){if(!this.#Y){const{promise:t,resolve:n}=Promise.withResolvers(),a=[t];WasmImage.#T?a.push(e({warn,instantiateWasm:this.#Q.bind(this,n)})):this.#J(n);this.#Y=Promise.race(a)}return this.#Y}async decode(e,t){unreachable("Abstract method `decode` called")}}class Jbig2Error extends ln{constructor(e){super(e,"Jbig2Error")}}class JBig2CCITTFaxImage extends WasmImage{_filename="jbig2.wasm";_noWasmFilename="jbig2_nowasm_fallback.js";static get instance(){return shadow(this,"instance",new JBig2CCITTFaxImage(!0))}async decode(e,t,n,a,r){const s=await this._getModule(sa);if(!s)throw new Jbig2Error("JBig2 failed to initialize");let i,o;try{const l=e.length;i=s._malloc(l);s.writeArrayToMemory(e,i);if(r)s._ccitt_decode(i,l,t,n,r.K,r.EndOfLine?1:0,r.EncodedByteAlign?1:0,r.BlackIs1?1:0,r.Columns,r.Rows);else{const e=a?a.length:0;if(e>0){o=s._malloc(e);s.writeArrayToMemory(a,o)}s._jbig2_decode(i,l,t,n,o,e)}if(!s.imageData)throw new Jbig2Error("Unknown error");const{imageData:f}=s;s.imageData=null;return f}finally{i&&s._free(i);o&&s._free(o)}}}class CCITTFaxStream extends DecodeStream{constructor(e,t,n){super(t);this.stream=e;this.maybeLength=t;this.dict=e.dict;n instanceof Dict||(n=Dict.empty);this.params={K:n.get("K")||0,EndOfLine:!!n.get("EndOfLine"),EncodedByteAlign:!!n.get("EncodedByteAlign"),Columns:n.get("Columns")||1728,Rows:n.get("Rows")||0,EndOfBlock:!!(n.get("EndOfBlock")??1),BlackIs1:!!n.get("BlackIs1")}}get bytes(){return shadow(this,"bytes",this.stream.getBytes(this.maybeLength))}get isImageStream(){return!0}get isAsyncDecoder(){return!0}async decodeImage(e,t,n){if(this.eof)return this.buffer;e??=this.stream.isAsync&&await this.stream.asyncGetBytes()||this.bytes;this.buffer=await JBig2CCITTFaxImage.instance.decode(e,this.dict.get("W","Width"),this.dict.get("H","Height"),null,this.params);this.bufferLength=this.buffer.length;this.eof=!0;return this.buffer}}const ia=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),oa=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),la=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),fa=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,59004Line truncated