securityos/node_modules/pdfjs-dist/legacy/build/pdf.sandbox.min.js

22 lines
714 KiB
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
/**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2023 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
*/
!function webpackUniversalModuleDefinition(A,g){"object"==typeof exports&&"object"==typeof module?module.exports=A.pdfjsSandbox=g():"function"==typeof define&&define.amd?define("pdfjs-dist/build/pdf.sandbox",[],(()=>A.pdfjsSandbox=g())):"object"==typeof exports?exports["pdfjs-dist/build/pdf.sandbox"]=A.pdfjsSandbox=g():A["pdfjs-dist/build/pdf.sandbox"]=A.pdfjsSandbox=g()}(globalThis,(()=>(()=>{"use strict";var A=[,(A,g,Q)=>{var C=Q(2),E=Q(3),n=Q(68),i=Q(69),o="WebAssembly",D=E[o],t=7!==Error("e",{cause:7}).cause,exportGlobalErrorCauseWrapper=function(A,g){var Q={};Q[A]=i(A,g,t);C({global:!0,constructor:!0,arity:1,forced:t},Q)},exportWebAssemblyErrorCauseWrapper=function(A,g){if(D&&D[A]){var Q={};Q[A]=i(o+"."+A,g,t);C({target:o,stat:!0,constructor:!0,arity:1,forced:t},Q)}};exportGlobalErrorCauseWrapper("Error",(function(A){return function Error(g){return n(A,this,arguments)}}));exportGlobalErrorCauseWrapper("EvalError",(function(A){return function EvalError(g){return n(A,this,arguments)}}));exportGlobalErrorCauseWrapper("RangeError",(function(A){return function RangeError(g){return n(A,this,arguments)}}));exportGlobalErrorCauseWrapper("ReferenceError",(function(A){return function ReferenceError(g){return n(A,this,arguments)}}));exportGlobalErrorCauseWrapper("SyntaxError",(function(A){return function SyntaxError(g){return n(A,this,arguments)}}));exportGlobalErrorCauseWrapper("TypeError",(function(A){return function TypeError(g){return n(A,this,arguments)}}));exportGlobalErrorCauseWrapper("URIError",(function(A){return function URIError(g){return n(A,this,arguments)}}));exportWebAssemblyErrorCauseWrapper("CompileError",(function(A){return function CompileError(g){return n(A,this,arguments)}}));exportWebAssemblyErrorCauseWrapper("LinkError",(function(A){return function LinkError(g){return n(A,this,arguments)}}));exportWebAssemblyErrorCauseWrapper("RuntimeError",(function(A){return function RuntimeError(g){return n(A,this,arguments)}}))},(A,g,Q)=>{var C=Q(3),E=Q(4).f,n=Q(43),i=Q(47),o=Q(37),D=Q(55),t=Q(67);A.exports=function(A,g){var Q,r,s,c,h,y=A.target,M=A.global,R=A.stat;if(Q=M?C:R?C[y]||o(y,{}):(C[y]||{}).prototype)for(r in g){c=g[r];s=A.dontCallGetSet?(h=E(Q,r))&&h.value:Q[r];if(!t(M?r:y+(R?".":"#")+r,A.forced)&&void 0!==s){if(typeof c==typeof s)continue;D(c,s)}(A.sham||s&&s.sham)&&n(c,"sham",!0);i(Q,r,c,A)}}},function(A){var check=function(A){return A&&A.Math===Math&&A};A.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||function(){return this}()||this||Function("return this")()},(A,g,Q)=>{var C=Q(5),E=Q(7),n=Q(9),i=Q(10),o=Q(11),D=Q(17),t=Q(38),r=Q(41),s=Object.getOwnPropertyDescriptor;g.f=C?s:function getOwnPropertyDescriptor(A,g){A=o(A);g=D(g);if(r)try{return s(A,g)}catch(A){}if(t(A,g))return i(!E(n.f,A,g),A[g])}},(A,g,Q)=>{var C=Q(6);A.exports=!C((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},A=>{A.exports=function(A){try{return!!A()}catch(A){return!0}}},(A,g,Q)=>{var C=Q(8),E=Function.prototype.call;A.exports=C?E.bind(E):function(){return E.apply(E,arguments)}},(A,g,Q)=>{var C=Q(6);A.exports=!C((function(){var A=function(){}.bind();return"function"!=typeof A||A.hasOwnProperty("prototype")}))},(A,g)=>{var Q={}.propertyIsEnumerable,C=Object.getOwnPropertyDescriptor,E=C&&!Q.call({1:2},1);g.f=E?function propertyIsEnumerable(A){var g=C(this,A);return!!g&&g.enumerable}:Q},A=>{A.exports=function(A,g){return{enumerable:!(1&A),configurable:!(2&A),writable:!(4&A),value:g}}},(A,g,Q)=>{var C=Q(12),E=Q(15);A.exports=function(A){return C(E(A))}},(A,g,Q)=>{var C=Q(13),E=Q(6),n=Q(14),i=Object,o=C("".split);A.exports=E((function(){return!i("z").propertyIsEnumerable(0)}))?function(A){return"String"===n(A)?o(A,""):i(A)}:i},(A,g,Q)=>{var C=Q(8),E=Function.prototype,n=E.call,i=C&&E.bind.bind(n,n);A.exports=C?i:function(A){return function(){return n.apply(A,arguments)}}},(A,g,Q)=>{var C=Q(13),E=C({}.toString),n=C("".slice);A.exports=function(A){return n(E(A),8,-1)}},(A,g,Q)=>{va