@nutrient-sdk/viewer 1.1.1 → 1.2.0
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.d.ts +119 -184
- package/dist/nutrient-viewer-lib/chunk-848-c4af4b1235565d89.js +13 -0
- package/dist/nutrient-viewer-lib/chunk-core-worker-d7d350018422b676.js +13 -0
- package/dist/nutrient-viewer-lib/chunk-gdpicture-6cf91306092a5071.js +13 -0
- package/dist/nutrient-viewer-lib/{chunk-gdpicture-worker-c4723b209596697c.js → chunk-gdpicture-worker-39bda307513c184d.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-lazy-sha-14df29dc619e0262.js → chunk-lazy-sha-a9b27c62e7bb8b18.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cs-e9c9fb084c98cca6.js → chunk-locale-cs-0f2312ee065af99f.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-cy-0dc2dff923511a4a.js → chunk-locale-cy-8818d31d15d29abd.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-da-b99f686991aee2b3.js → chunk-locale-da-2a36988656c76746.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-de-7b28245d685f843e.js → chunk-locale-de-3df11d899f4b4a69.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-el-df5bfe89a6aa178b.js → chunk-locale-el-3b27f39d9a0882a8.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-en-GB-67ef3918309b53a0.js → chunk-locale-en-GB-581ca4b7bf8977cf.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-es-bb7a33b68352ba4e.js → chunk-locale-es-4214e9efa89d2549.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-fi-c9767d42904a8b7f.js → chunk-locale-fi-8c07dbac89f3184a.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-c802e12bb92fa07c.js → chunk-locale-fr-8536295fe59bfaea.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-CA-430a6bca44960e53.js → chunk-locale-fr-CA-12434fe18290da1f.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-hr-ca78857f908df998.js → chunk-locale-hr-f6b56cc87a274564.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-id-63de7b2a63ef08ab.js → chunk-locale-id-8ab614958f05000e.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-it-1889ef2cdd2ba589.js → chunk-locale-it-706552bf6e90b5c1.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-ja-8d922d259faf50c0.js → chunk-locale-ja-0b7280dfcbb50f2a.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-ko-470cba20660563da.js → chunk-locale-ko-4f717a9875a6e990.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-ms-a13d7a6b6abfec45.js → chunk-locale-ms-b758c034d23cabfa.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-nb-NO-1198b798b4931a1c.js → chunk-locale-nb-NO-b0217d811df79416.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-nl-ed4ebe0b87ee90f5.js → chunk-locale-nl-96cc62475932df82.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-pl-77cdcc64588fb11d.js → chunk-locale-pl-6561e81b13ff675c.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-f5367a447d6609e6.js → chunk-locale-pt-676a6d152411b45a.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-PT-b3d59f9afd895949.js → chunk-locale-pt-PT-c5e7c9c00d80d425.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-ru-e9f28aa6d0526259.js → chunk-locale-ru-f477d7cd24a461ec.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-sk-e70f7ea078e76bb6.js → chunk-locale-sk-9879069332ed1f1f.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-sl-bc6f04c59a7f3d55.js → chunk-locale-sl-806a57a81b0ff895.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-sv-c87ebcee63964842.js → chunk-locale-sv-1ffceca8a7f05243.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-th-9792a8a0cf03a2fc.js → chunk-locale-th-ea4cdfba00f25ac9.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-tr-39406fbd3707a2cb.js → chunk-locale-tr-cd18d1bf4794476d.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-uk-218ada504f205025.js → chunk-locale-uk-d881259d317e9c5c.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hans-8a94b8dfda749756.js → chunk-locale-zh-Hans-ccc31eb1eeeb32ca.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hant-9c78b18f12237ca5.js → chunk-locale-zh-Hant-617b7eef3d47c487.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-server-f455cf825ffb055c.js → chunk-server-a10bab718b2ed3ff.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-server-instant-b110288acc2d9efa.js → chunk-server-instant-ece7fa9e68705b77.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-server-rest-0049c683fda3b85d.js → chunk-server-rest-7df53a3d8111e271.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-standalone-8327853e20d6127f.js → chunk-standalone-8d8da2a8de3e9cdf.js} +2 -2
- package/dist/nutrient-viewer-lib/chunk-standalone-server-f642e099f889f38f.js +13 -0
- package/dist/nutrient-viewer-lib/core-worker.js +2 -2
- package/dist/nutrient-viewer-lib/dark-1139dca3c446e0c1.css +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/DocumentFormat.OpenXml.Framework.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/DocumentFormat.OpenXml.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.API.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/GdPicture.NET.14.CAD.DWG.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/GdPicture.NET.14.CAD.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/GdPicture.NET.14.Common.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.Document.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/GdPicture.NET.14.Email.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.HTML.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/GdPicture.NET.14.Imaging.Formats.Conversion.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/GdPicture.NET.14.Imaging.Rendering.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/GdPicture.NET.14.Imaging.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/GdPicture.NET.14.MSOfficeBinary.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.OpenDocument.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/GdPicture.NET.14.OpenXML.Templating.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.OpenXML.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.PDF.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/GdPicture.NET.14.RTF.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/GdPicture.NET.14.SVG.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/GdPicture.NET.14.barcode.1d.writer.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/GdPicture.NET.14.barcode.2d.writer.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.JsonApi.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/GdPicture.NET.PSPDFKit.Wasm.runtimeconfig.json +1 -1
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/GdPicture.NET.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/Microsoft.CSharp.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Collections.Concurrent.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Collections.Immutable.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Collections.NonGeneric.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Collections.Specialized.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Collections.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.ComponentModel.EventBasedAsync.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.ComponentModel.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.ComponentModel.TypeConverter.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.ComponentModel.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Console.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Data.Common.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Diagnostics.DiagnosticSource.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Diagnostics.Process.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Diagnostics.TraceSource.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Drawing.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Drawing.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/System.Formats.Asn1.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.IO.Compression.ZipFile.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.IO.Compression.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/System.IO.Packaging.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Linq.Expressions.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Memory.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Net.Http.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Net.Mail.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Net.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Net.Requests.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Net.Security.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Net.ServicePoint.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Net.Sockets.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Net.WebHeaderCollection.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Net.WebSockets.Client.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Net.WebSockets.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.ObjectModel.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/System.Private.CoreLib.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Private.Uri.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Private.Xml.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Private.Xml.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Runtime.InteropServices.JavaScript.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Runtime.Numerics.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Runtime.Serialization.Formatters.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Runtime.Serialization.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/System.Security.Cryptography.Pkcs.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Security.Cryptography.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Text.Encoding.CodePages.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Text.Encodings.Web.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Text.Json.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Text.RegularExpressions.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/System.Threading.Tasks.Parallel.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Windows.Extensions.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Xml.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/blazor.boot.json +114 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/dotnet.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/dotnet.js.map +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/dotnet.native.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/dotnet.native.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/dotnet.runtime.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/dotnet.runtime.js.map +1 -1
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/protobuf-net.Core.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/protobuf-net.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/jit → gdpicture-7e5da953/aot}/resources/list.json +206 -206
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/DocumentFormat.OpenXml.Framework.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/DocumentFormat.OpenXml.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.API.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/GdPicture.NET.14.CAD.DWG.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/GdPicture.NET.14.CAD.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/GdPicture.NET.14.Common.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.Document.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/GdPicture.NET.14.Email.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.HTML.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/GdPicture.NET.14.Imaging.Formats.Conversion.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/GdPicture.NET.14.Imaging.Rendering.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/GdPicture.NET.14.Imaging.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/GdPicture.NET.14.MSOfficeBinary.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.OpenDocument.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/GdPicture.NET.14.OpenXML.Templating.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.OpenXML.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.PDF.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/GdPicture.NET.14.RTF.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/GdPicture.NET.14.SVG.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/GdPicture.NET.14.barcode.1d.writer.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/GdPicture.NET.14.barcode.2d.writer.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.JsonApi.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/GdPicture.NET.PSPDFKit.Wasm.runtimeconfig.json +1 -1
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/GdPicture.NET.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/Microsoft.CSharp.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Collections.Concurrent.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Collections.Immutable.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Collections.NonGeneric.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Collections.Specialized.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Collections.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.ComponentModel.EventBasedAsync.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.ComponentModel.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.ComponentModel.TypeConverter.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.ComponentModel.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Console.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Data.Common.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Diagnostics.DiagnosticSource.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Diagnostics.Process.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Diagnostics.TraceSource.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Drawing.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Drawing.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/System.Formats.Asn1.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.IO.Compression.ZipFile.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.IO.Compression.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/System.IO.Packaging.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Linq.Expressions.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Memory.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Net.Http.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Net.Mail.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Net.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Net.Requests.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Net.Security.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Net.ServicePoint.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Net.Sockets.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Net.WebHeaderCollection.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Net.WebSockets.Client.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Net.WebSockets.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.ObjectModel.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/System.Private.CoreLib.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Private.Uri.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Private.Xml.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Private.Xml.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Runtime.InteropServices.JavaScript.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Runtime.Numerics.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Runtime.Serialization.Formatters.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Runtime.Serialization.Primitives.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/System.Security.Cryptography.Pkcs.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Security.Cryptography.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Text.Encoding.CodePages.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Text.Encodings.Web.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Text.Json.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Text.RegularExpressions.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/System.Threading.Tasks.Parallel.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Windows.Extensions.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Xml.Linq.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/blazor.boot.json +114 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/dotnet.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/dotnet.js.map +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/dotnet.native.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/dotnet.native.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/dotnet.runtime.js +1 -1
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/dotnet.runtime.js.map +1 -1
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/protobuf-net.Core.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/protobuf-net.wasm +0 -0
- package/dist/nutrient-viewer-lib/{gdpicture-0070d2de/aot → gdpicture-7e5da953/jit}/resources/list.json +205 -205
- package/dist/nutrient-viewer-lib/gdpicture-worker.js +2 -2
- package/dist/nutrient-viewer-lib/{nutrient-viewer-1.1.1.css → nutrient-viewer-1.2.0.css} +747 -7
- package/dist/nutrient-viewer-lib/{nutrient-viewer-2f2f38dcd3a74c2e.wasm.js → nutrient-viewer-71ed620203f4d1c5.wasm.js} +2 -2
- package/dist/nutrient-viewer-lib/{nutrient-viewer-e80575810bc02b6f.wasm → nutrient-viewer-8defba59cb1dc1a1.wasm} +0 -0
- package/dist/nutrient-viewer.js +2 -2
- package/package.json +1 -1
- package/dist/nutrient-viewer-lib/chunk-core-worker-79ebc11a6e531144.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-gdpicture-ed4953b581fabf6d.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-standalone-server-26631e1f0d39850e.js +0 -13
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/GdPicture.NET.14.API.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/GdPicture.NET.14.Document.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/GdPicture.NET.14.HTML.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/GdPicture.NET.14.OpenDocument.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/GdPicture.NET.14.OpenXML.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/GdPicture.NET.14.PDF.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/GdPicture.NET.JsonApi.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/Microsoft.Bcl.Cryptography.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/System.Formats.Asn1.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/System.IO.Packaging.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/System.Private.CoreLib.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/System.Security.Cryptography.Pkcs.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/blazor.boot.json +0 -115
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/protobuf-net.Core.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/aot/protobuf-net.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/GdPicture.NET.14.API.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/GdPicture.NET.14.Document.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/GdPicture.NET.14.HTML.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/GdPicture.NET.14.OpenDocument.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/GdPicture.NET.14.OpenXML.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/GdPicture.NET.14.PDF.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/GdPicture.NET.JsonApi.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/Microsoft.Bcl.Cryptography.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/System.Formats.Asn1.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/System.IO.Packaging.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/System.Private.CoreLib.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/System.Security.Cryptography.Pkcs.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/blazor.boot.json +0 -115
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/protobuf-net.Core.wasm +0 -0
- package/dist/nutrient-viewer-lib/gdpicture-0070d2de/jit/protobuf-net.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/BouncyCastle.Cryptography.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/Newtonsoft.Json.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/OpenMcdf.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/RtfPipe.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/System.Net.Http.Formatting.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/icudt_CJK.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/icudt_EFIGS.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/icudt_no_CJK.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/initDotnet.js +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/package.json +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resourceLoader.js +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_78-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_78-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_78-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_78-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_78-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_78-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_78ms-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_78ms-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_83pv-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_90ms-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_90ms-RKSJ-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_90ms-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_90msp-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_90msp-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_90pv-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_90pv-RKSJ-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_90pv-RKSJ-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_90pv-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Add-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Add-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Add-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Add-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-6.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-7.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-B5pc.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-ETenms-B5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-CNS1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-GB1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-GB1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-GB1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-GB1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-GB1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-GB1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-GB1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-6.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-90ms-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-90pv-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Japan2-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Korea1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Korea1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Korea1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Korea1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Korea1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Korea1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Korea1-KSCms-UHC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Korea1-KSCpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Adobe-Korea1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_B5pc-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_B5pc-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_B5pc-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_B5pc-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_CNS-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_CNS-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_CNS1-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_CNS1-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_CNS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_CNS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_CourierStdToNew.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_DefaultCMYK.icc +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_DroidSansFallbackFull.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_DroidSansMono.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_ETHK-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_ETHK-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_ETen-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_ETen-B5-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_ETen-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_ETenms-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_ETenms-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Ext-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Ext-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Ext-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Ext-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GB-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GB-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GB-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GB-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBK-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBK-EUC-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBK-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBK2K-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBK2K-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBKp-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBKp-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBT-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBT-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBT-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBT-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBTpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBTpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBpc-EUC-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GBpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_GdPictureOCRFont.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKdla-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKdla-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKdlb-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKdlb-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKgccs-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKgccs-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKm314-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKm314-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKm471-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKm471-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKscs-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_HKscs-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Hankaku.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Hiragana.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Hojo-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Hojo-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Hojo-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Hojo-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Identity-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Identity-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSC-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSC-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSC-Johab-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSC-Johab-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSCms-UHC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSCms-UHC-HW-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSCms-UHC-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSCms-UHC-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSCms-UHC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSCpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSCpc-EUC-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_KSCpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Katakana.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_NWP-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_NWP-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_OutputIntent.icc +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_PDFA-XMP.4.2.3 +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Roman.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Symbol.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UCS2-90ms-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UCS2-90pv-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UCS2-B5pc.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UCS2-ETen-B5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UCS2-GBK-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UCS2-GBpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UCS2-KSCms-UHC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UCS2-KSCpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniCNS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniCNS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniCNS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniCNS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniCNS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniCNS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniCNS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniCNS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniGB-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniGB-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniGB-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniGB-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniGB-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniGB-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniGB-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniGB-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniHojo-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniHojo-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniHojo-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniHojo-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniHojo-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniHojo-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniHojo-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniHojo-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS-UCS2-HW-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS-UCS2-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS2004-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS2004-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS2004-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS2004-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS2004-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJIS2004-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJISPro-UCS2-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJISPro-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJISPro-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJISX0213-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJISX0213-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJISX02132004-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniJISX02132004-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniKS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniKS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniKS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniKS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniKS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniKS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniKS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_UniKS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_WP-Symbol.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_Wingding.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_ZapfDingbats.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_fontsubst.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/resources/_times.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/aot/supportFiles/0_runtimeconfig.bin +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/BouncyCastle.Cryptography.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/Newtonsoft.Json.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/OpenMcdf.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/RtfPipe.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/System.Net.Http.Formatting.wasm +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/icudt_CJK.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/icudt_EFIGS.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/icudt_no_CJK.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/initDotnet.js +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/package.json +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resourceLoader.js +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_78-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_78-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_78-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_78-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_78-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_78-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_78ms-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_78ms-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_83pv-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_90ms-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_90ms-RKSJ-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_90ms-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_90msp-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_90msp-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_90pv-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_90pv-RKSJ-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_90pv-RKSJ-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_90pv-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Add-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Add-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Add-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Add-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-6.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-7.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-B5pc.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-ETenms-B5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-CNS1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-GB1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-GB1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-GB1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-GB1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-GB1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-GB1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-GB1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-3.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-4.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-6.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-90ms-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-90pv-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Japan2-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Korea1-0.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Korea1-1.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Korea1-2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Korea1-H-CID.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Korea1-H-Host.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Korea1-H-Mac.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Korea1-KSCms-UHC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Korea1-KSCpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Adobe-Korea1-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_B5pc-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_B5pc-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_B5pc-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_B5pc-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_CNS-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_CNS-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_CNS1-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_CNS1-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_CNS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_CNS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_CourierStdToNew.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_DefaultCMYK.icc +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_DroidSansFallbackFull.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_DroidSansMono.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_ETHK-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_ETHK-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_ETen-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_ETen-B5-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_ETen-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_ETenms-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_ETenms-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Ext-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Ext-RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Ext-RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Ext-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GB-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GB-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GB-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GB-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBK-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBK-EUC-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBK-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBK2K-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBK2K-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBKp-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBKp-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBT-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBT-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBT-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBT-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBTpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBTpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBpc-EUC-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GBpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_GdPictureOCRFont.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKdla-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKdla-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKdlb-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKdlb-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKgccs-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKgccs-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKm314-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKm314-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKm471-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKm471-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKscs-B5-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_HKscs-B5-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Hankaku.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Hiragana.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Hojo-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Hojo-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Hojo-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Hojo-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Identity-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Identity-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSC-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSC-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSC-Johab-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSC-Johab-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSCms-UHC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSCms-UHC-HW-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSCms-UHC-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSCms-UHC-UCS2.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSCms-UHC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSCpc-EUC-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSCpc-EUC-UCS2C.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_KSCpc-EUC-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Katakana.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_NWP-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_NWP-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_OutputIntent.icc +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_PDFA-XMP.4.2.3 +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_RKSJ-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_RKSJ-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Roman.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Symbol.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UCS2-90ms-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UCS2-90pv-RKSJ.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UCS2-B5pc.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UCS2-ETen-B5.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UCS2-GBK-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UCS2-GBpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UCS2-KSCms-UHC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UCS2-KSCpc-EUC.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniCNS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniCNS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniCNS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniCNS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniCNS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniCNS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniCNS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniCNS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniGB-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniGB-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniGB-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniGB-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniGB-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniGB-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniGB-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniGB-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniHojo-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniHojo-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniHojo-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniHojo-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniHojo-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniHojo-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniHojo-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniHojo-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS-UCS2-HW-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS-UCS2-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS2004-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS2004-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS2004-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS2004-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS2004-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJIS2004-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJISPro-UCS2-HW-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJISPro-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJISPro-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJISX0213-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJISX0213-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJISX02132004-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniJISX02132004-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniKS-UCS2-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniKS-UCS2-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniKS-UTF16-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniKS-UTF16-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniKS-UTF32-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniKS-UTF32-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniKS-UTF8-H.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_UniKS-UTF8-V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_V.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_WP-Symbol.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_Wingding.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_ZapfDingbats.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_fontsubst.dat +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/resources/_times.ttf +0 -0
- /package/dist/nutrient-viewer-lib/{gdpicture-0070d2de → gdpicture-7e5da953}/jit/supportFiles/0_runtimeconfig.bin +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Nutrient Web SDK 1.
|
|
2
|
+
* Nutrient Web SDK 1.2.0 (https://www.nutrient.io/sdk/web)
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2016-2025 PSPDFKit GmbH. All rights reserved.
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*
|
|
11
11
|
* PSPDFKit uses several open source third-party components: https://www.nutrient.io/legal/acknowledgements/web-acknowledgements/
|
|
12
12
|
*/
|
|
13
|
-
(globalThis.webpackChunkNutrientViewer=globalThis.webpackChunkNutrientViewer||[]).push([[750],{1033:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>z});var r=n(67136),s=n(49568),i=n(85409),o=n(45646),a=n(6163),l=n(99589),h=n(2752),c=n(55994),u=n(34551),d=n(47159),p=n(5293),m=n(97881),f=n(14631),g=n(54781),E=n(85553);class v extends(s.mS({authPayload:null,serverUrl:null,hostedBaseUrl:null,documentId:null,layerName:null,sourcePdfSha256:null,backendPermissions:null,documentURL:null,imageToken:null,instantSettings:null,token:null,features:(0,s.B8)(),signatureFeatureAvailability:E.g.NONE,isFormsEnabled:!0,minSearchQueryLength:1,documentHandle:null,isDocumentHandleOutdated:!1,digitalSignatures:null,defaultGroup:void 0,hasCollaborationPermissions:!1,forceLegacySignaturesFeature:!1,disableWebAssemblyStreaming:!1,overrideMemoryLimit:null,baseCoreUrl:null,useDeprecatedRestProvider:!1})){}var w=n(14511),y=n(15168),$=n(28650),R=n(85410),S=n(9627);const I="The image can not be rendered because of an unknown error.";class P{constructor(e){let{identifier:t,url:n,token:r,payload:s,doNotRequestWebP:i=!1}=e;this.identifier=t,this.url=n,this.token=r,this.payload=s,this.doNotRequestWebP=i}abort(){this.httpRequest?.abort()}request(){return new Promise(((e,t)=>{const n=new XMLHttpRequest;this.httpRequest=n,n.open(this.payload?"POST":"GET",this.url,!0),n.setRequestHeader("X-PSPDFKit-Image-Token",this.token),n.setRequestHeader("PSPDFKit-Platform","web"),n.setRequestHeader("PSPDFKit-Version",(0,R._q)()),y.xd&&!this.doNotRequestWebP&&n.setRequestHeader("Accept","image/webp,*/*"),n.responseType="blob",n.onreadystatechange=(async()=>{if(4!==n.readyState)return;if(n.response&&n.response.type.startsWith("application/json")){const r=new FileReader;return r.onload=n=>{const r=JSON.parse(n.target?.result);r.attachments_not_found?e({attachmentsNotFound:r.attachments_not_found}):r.error?"initialization_error"===r.error?e(null):t(new i.uE(`The server could not render the requested image (${r.error})`)):t(new i.uE(I))},r.onerror=()=>t(new i.uE(I)),void r.readAsText(n.response)}if(!(0,w.Nk)(n.status))return void t(new i.uE(I));const r=n.response,s=URL.createObjectURL(r),o=new Image;o.onerror=()=>t(new i.uE(I)),o.src=s;const a=o.decode();try{await a}catch(e){if(!S.H8)throw new i.uE(`The image could not be decoded: ${e.message}`);await new Promise((e=>setTimeout(e,200)))}e(new $.A(o,(()=>URL.revokeObjectURL(s))))}).bind(this),n.send(this.payload)}))}}var b=n(37361),A=n(89574),_=n(41477),N=n(51946),T=n(30026);async function L(e,t,n){const r=await fetch(`${e}/auth`,{method:"POST",headers:{"Content-Type":"application/json","PSPDFKit-Platform":"web","PSPDFKit-Version":(0,R._q)()},body:JSON.stringify({jwt:t.jwt,password:n}),credentials:"include"});return r.ok?r.json():r.text().then((e=>{throw"INVALID_PASSWORD"===e?new i.uE(e):new i.uE(`An error occurred while connecting to Nutrient Document Engine: ${e||r.statusText}`)}))}var O=n(25888),x=n(4824),F=n(12219),D=n(37094),C=n(72262),U=n(40927),j=n(9939),k=n(83720),M=n(64337),G=n(89055),B=n(20546),V=n(37506),X=n(26175),q=n(77270),H=n(20873);class z extends C.K{constructor(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;super(),t=this,(0,r.A)(this,"_password",null),(0,r.A)(this,"type","SERVER"),(0,r.A)(this,"_requestRenderAnnotation",((e,n,r,s,o,l)=>{const h=`${this._state.documentURL}/render_annotation`,c=`render-annotation-${l?(0,a.Z0)():e.id}`,u=JSON.stringify({data:(0,m.eq)(e),width:s,height:o,detached:l||void 0,formFieldValue:n?(0,m.cA)(n):void 0});let d=!1,p=[];const f=(0,q.yl)();let g;if((0,A.cu)(e)){if(g=(0,A.sS)(e),this.isVisuallyIdenticalAnnotationCached({annotation:e,providedVisualAnnotationIndex:g,width:s,height:o}))return this.cachedRenderedAnnotationDiscardablePromise(g,f);this._addCachedRenderedAnnotation(g,{width:s,height:o,noZoom:e.noZoom,APStreamPromise:f.promise})}const E=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const a=new FormData;a.append("render",u),n.length>0&&"imageAttachmentId"in e&&e.imageAttachmentId&&r&&a.append(e.imageAttachmentId,r);const l=new P({identifier:c,url:h,token:t._state.imageToken,payload:a,doNotRequestWebP:s>b.HI||o>b.HI}),m=t._requestQueue.enqueue(l,!1);m.promise.then((n=>{if(!d)if(n?.attachmentsNotFound)E(n.attachmentsNotFound);else{if(!n?.attachmentsNotFound)return(0,A.cu)(e)&&t._makeEnqueuedRelease(n,g),f.resolve(n),n;f.reject(new i.uE("Attachment could not be found."))}})).catch((e=>{const n=t._cachedRenderedAnnotations.get(g);n&&n.timeout&&clearTimeout(n.timeout),t._cachedRenderedAnnotations.delete(g),d?f.resolve(void 0):f.reject(e)})),p.push(m)};return E(),{promise:f.promise,cancel:()=>{d=!0,p.forEach((e=>{e.cancel()}))}}})),(0,r.A)(this,"_requestRenderAnnotations",((e,t,n,r,s)=>{const i=`${this._state.documentURL}/render_annotations`,o=JSON.stringify({annotations:t.map(((t,s)=>({pageIndex:e,pdfObjectId:t,width:n[s],height:r[s]}))),formFieldValues:s});let a,l,h=!1;const c=new Promise(((e,t)=>{a=e,l=t}));return this._fetch(i,{method:"post",body:o,credentials:"include",headers:{"X-PSPDFKit-Image-Token":this._state.imageToken,"Content-Type":"application/json",Accept:"multipart/form-data"}}).then((e=>e.formData())).then((e=>{h||a(Array.from(e.values()))})).catch((e=>{h||l(e)})),{promise:c,cancel:()=>{h=!0}}})),(0,r.A)(this,"handleDocumentHandleConflict",(()=>{this._state=this._state.set("isDocumentHandleOutdated",!0),this.cancelRequests(),this._destroyProvider()}));let s=null;if("session"in e){if("string"!=typeof e.session)throw new i.uE("The supplied session token is invalid. Must be a string.");s={jwt:e.session},e.instant=!("instant"in e)||"boolean"!=typeof e.instant&&!(0,i.Qd)(e.instant)||e.instant}else"authPayload"in e&&(s=e.authPayload);if("object"!=typeof s)throw new i.uE("authPayload must be an object that contains the `jwt`. For example: `authPayload: { jwt: 'xxx.xxx.xxx'}`");const l=s?.accessToken;let h=null,c=null,u="documentId"in e?e.documentId:null,d=null;if(l)d=e.hostedBaseUrl||"https://api.pspdfkit.com/",(0,w.Me)(d),(0,f.P1)(l);else{if(!s||"object"!=typeof s||!("jwt"in s)||"string"!=typeof s.jwt)throw new i.uE("authPayload must be an object that contains the `jwt`. For example: `authPayload: { jwt: 'xxx.xxx.xxx'}`");const{serverUrl:t,documentId:r}=(0,f.Gm)(s.jwt);if(h=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;const r=e.serverUrl||t||(0,R.$_)(n.document);if("/"!==r.substr(-1))throw new i.uE("`serverUrl` must have a slash at the end (e.g. `https://pspdfkit.example.com/`).");if(!e.serverUrl&&r===(0,w.ln)(n.location.origin))throw new i.uE('PSPDFKit automatically infers the URL of Nutrient Document Engine from the current `<script>` tag.\nIn the current case, this URL is set to the same as the current browser\'s location.\nThis can happen when you bundle nutrient-viewer.js with your custom JavaScript for example.\n\nTo make sure everything works as expected, please set the `serverUrl` to the URL of Nutrient Document Engine:\n\nPSPDFKit.load({\n serverUrl: "https://pspdfkit-server.example.com/",\n ...,\n});');return r}(e,t,n),u=u||r,"string"!=typeof u)throw new i.uE("`documentId` must be of type string.");c=`${h}i/d/${u}`}!function(e){let t="";if("boolean"!=typeof e&&((0,i.Qd)(e)?(e.hasOwnProperty("clientsPresenceEnabled")&&"boolean"!=typeof e.clientsPresenceEnabled&&(t+="`clientsPresenceEnabled` in instance settings is not valid. Must be `true` or `false`.\n"),e.hasOwnProperty("listenToServerChangesEnabled")&&"boolean"!=typeof e.listenToServerChangesEnabled&&(t+="`listenToServerChangesEnabled` in instance settings is not valid. Must be `true` or `false`.\n")):t="`instant` flag must either be set to `true` or `false`\n",t))throw new i.uE(`${t}\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/`)}(e.instant);let p=null;if(e.instant)if((0,i.Qd)(e.instant)){const t=e.instant;p={clientsPresenceEnabled:!1!==t.clientsPresenceEnabled,listenToServerChangesEnabled:!1!==t.listenToServerChangesEnabled}}else p=x.S;this._requestQueue=new o.L(b.LB);const g=!!e.electronicSignatures&&Boolean(e.electronicSignatures.forceLegacySignaturesFeature),E=e.baseUrl||(0,R.$_)(window.document),y=e.baseCoreUrl||E;this._state=new v({serverUrl:h,hostedBaseUrl:d,documentId:u,instantSettings:p,documentURL:c,authPayload:s,isFormsEnabled:!e.disableForms,forceLegacySignaturesFeature:g,disableWebAssemblyStreaming:e.disableWebAssemblyStreaming,overrideMemoryLimit:e.overrideMemoryLimit,baseCoreUrl:y,useDeprecatedRestProvider:e.useDeprecatedRestProvider}),"trustedCAsCallback"in e&&e.trustedCAsCallback&&(0,i.R8)("PSPDFKit.Configuration#trustedCAsCallback is only used on Standalone deployments. On a Server-Backed deployment, please follow the instructions at https://pspdfkit.com/guides/web")}isUsingInstantProvider(){return!this._state.useDeprecatedRestProvider}hasClientsPresence(){const e=this._state.instantSettings;return null!=e&&!1!==e.clientsPresenceEnabled}async load(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.tryAuthenticateHostedViewer();const{imageToken:t,token:n,permissions:r,features:o,signatureFeatureAvailability:a,hasPassword:u,minSearchQueryLength:d,layerHandle:p,allowedTileScales:f,digitalSignatures:g,defaultGroup:v,collaborationPermissions:w,creatorName:y,documentEngineVersion:$,layerName:S,sourcePdfSha256:I}=await L(`${this._state.serverUrl}i/d/${this._state.documentId}`,this._state.authPayload,e.password);this._password=e.password;const P=(0,l.valid)((0,l.coerce)($));if(this.documentEngineVersion=P,!this.satisfiesDocumentEngineVersion(">=1.5.6"))throw new i.uE(`Document Engine version ${$} does not meet minimum required version requirement >=1.5.6.`);if(this._state.instantSettings&&!o.includes(M.Y.INSTANT))throw new i.uE("Instant feature is not enabled on this server. Please set `instant` to `false`.\n\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/");if(this._state.useDeprecatedRestProvider&&this._state.instantSettings)throw new i.uE("Instant feature can't be enabled together with using deprecated REST provider. Please set either `instant` or `useDeprecatedRestProvider` to `false`.\n\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/");const b=!o.includes(M.Y.INSTANT)&&!this.satisfiesDocumentEngineVersion(">=1.7.0"),A=a===E.g.ELECTRONIC_SIGNATURES&&(0,G.UX)(o)&&this._state.forceLegacySignaturesFeature?E.g.LEGACY_SIGNATURES:a;this._state=this._state.withMutations((e=>e.set("imageToken",t).set("token",n).set("features",(0,s.B8)(o)).set("signatureFeatureAvailability",A).set("backendPermissions",new T.A({readOnly:-1===r.indexOf("write"),downloadingAllowed:r.indexOf("download")>=0})).set("documentURL",`${this._state.serverUrl}i/d/${this._state.documentId}/h/${p}`).set("documentHandle",p).set("isDocumentHandleOutdated",!1).set("digitalSignatures",(0,m.N5)(g)).set("layerName",S).set("sourcePdfSha256",I).set("useDeprecatedRestProvider",b||e.useDeprecatedRestProvider)));if(this.corePDFBridge=new X.D(h.MX.createServerContext({url:this._state.serverUrl,token:this._state.token,imageToken:this._state.imageToken,documentId:this._state.documentId,layerHandle:p,headers:{"PSPDFKit-Platform":"web","PSPDFKit-Version":(0,R._q)()}},(async()=>{const t=H.mG.checkOut().object,n=(0,R.f)(null),r=await L(`${this._state.serverUrl}i/d/${this._state.documentId}`,this._state.authPayload,e.password);return(0,i.V1)(r.wasmToken,"No wasmToken was returned from the server."),(0,i.V1)(this._state.baseCoreUrl),await t.loadNativeModule(this._state.baseCoreUrl,{mainThreadOrigin:n,disableWebAssemblyStreaming:this._state.disableWebAssemblyStreaming,enableAutomaticLinkExtraction:!1,overrideMemoryLimit:this._state.overrideMemoryLimit,workerSpawnerFn:()=>c.pj(!0)}).then((async()=>t.load("",r.wasmToken,{mainThreadOrigin:n,productId:null}))),t}),(e=>this.satisfiesDocumentEngineVersion(e)))),w&&!this._state.instantSettings)throw new i.uE("Collaboration Permissions is not supported when `instant` is disabled. Please make sure `configuration#instant` is set to `true`.");return this._state=this._state.withMutations((e=>{e.defaultGroup=v,e.hasCollaborationPermissions=Boolean(w)})),this.provider&&this.provider.destroy(),this.provider=await this._initProvider(),{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:u,password:this._password,minSearchQueryLength:d,allowedTileScales:f,creatorName:y,defaultGroup:v}}satisfiesDocumentEngineVersion(e){return!!this.documentEngineVersion&&(0,l.satisfies)(this.documentEngineVersion,e)}async tryAuthenticateHostedViewer(){if("accessToken"in this._state.authPayload){const{hostedBaseUrl:e}=this._state,t=this._state.authPayload.accessToken,{serverUrl:n,serverId:r,jwt:s}=await async function(e,t){const n=await fetch(`${e}i/documents/auth`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json","PSPDFKit-Platform":"web","PSPDFKit-Version":"cloud-protocol=1, server-protocol=5, client=1.1.1, client-git=7e6d7be754"},body:JSON.stringify({accessToken:t})});if(n.ok)return n.json();throw new Error(`An error occurred while connecting to PSPDFKit API: ${await n.text()}`)}(e,t);this._state=this._state.withMutations((e=>{e.set("serverUrl",n).set("documentId",r).set("documentURL",`${n}i/d/${r}`).set("authPayload",{jwt:s})}))}}async _initProvider(){if(this._state.useDeprecatedRestProvider){const e=this._state.isFormsEnabled&&this._state.features.includes(M.Y.FORMS),{RESTProvider:t}=await n.e(269).then(n.bind(n,33393));return new t(this._state.documentURL,{token:this._state.token},{isFormsEnabled:e})}{const e=`${this._state.serverUrl}i/d/${this._state.documentId}/h/${this._state.documentHandle}`,{InstantProvider:t}=await n.e(534).then(n.bind(n,15124)),r=new t(`${this._state.serverUrl}i/d/${this._state.documentId}`,e,{auth_token:this._state.token},this._state.instantSettings||x.z);return r.setDocumentHandleConflictCallback(this.handleDocumentHandleConflict),r}}destroy(){this._destroyProvider(),this._requestQueue&&this._requestQueue.destroy()}documentInfo(){return this._fetch(`${this._state.documentURL}/document.json`).then((e=>e.json())).then((e=>e.data))}getFormJSON(){return this._fetch(`${this._state.documentURL}/form.json`).then((e=>403===e.status?{v:1,type:"pspdfkit/form",annotations:[],fields:[]}:e.json().then((e=>e.data))))}async evalFormValuesActions(){throw new Error("not implemented")}async evalScript(){throw new Error("not implemented")}async setFormJSONUpdateBatchMode(){throw new Error("not implemented")}compareDocuments(){throw new Error("not implemented")}updateButtonIcon(){throw new Error("not implemented")}permissions(){return Promise.resolve(this._state.backendPermissions)}getDefaultGroup(){return this._state.defaultGroup}isCollaborationPermissionsEnabled(){return this._state.hasCollaborationPermissions}textForPageIndex(e){return this.corePDFBridge.getTextLines(e)}async getSuggestedLineHeightFactor(){return 1}async getAnnotationsByScale(){return[]}getAvailableFontFaces(){throw new i.uE("Custom fonts need to be mounted on the server in Server-Backed deployments.")}getContentTreeForPageIndex(e){return this.corePDFBridge.getContentTree(e)}getTextFromRects(e,t){const n=encodeURIComponent(JSON.stringify(t.map(p.w).toArray()));return this._fetch(`${this._state.documentURL}/page-${e}-highlighted?rects=${n}`).then((e=>e.json())).then((e=>e.text))}_getJSONRequestHandler(){return g.A}renderAnnotation(e,t,n,r,s){return this._requestRenderAnnotation(e,t,n,r,s)}async renderPageAnnotations(e,t,n){const r=this.provider,s=t.some((e=>e instanceof N.sb));s&&await r._setReadStateCallbacksPromise;const i=[],o=t.filter((e=>{const t=s?r._readStateCallbacks.getAnnotationWithFormField(e.id):null,n=t?.formField,o=(0,A.lG)(e,n);if(o&&n&&"number"==typeof e.pdfObjectId){i.find((e=>e.name===n.name))||i.push((0,m.cA)((0,k.Af)(n)))}return o&&"number"==typeof e.pdfObjectId}));if(0===o.size&&0===i.length)return Promise.resolve();const a=new Promise(((t,r)=>{const s=o.filter((e=>0!==Math.floor(e.boundingBox.width*n)&&0!==Math.floor(e.boundingBox.height*n))),{promise:a,cancel:l}=this._requestRenderAnnotations(e,s.map((e=>e.pdfObjectId)).toArray(),s.map((e=>Math.floor(e.boundingBox.width*n))).toArray(),s.map((e=>Math.floor(e.boundingBox.height*n))).toArray(),i);a.then((e=>{const n=e.map((e=>e&&(0,j.BJ)(e)));n.forEach((async(e,t)=>{const n=await e,r=s.get(t);if(r){const e=this.annotationAPStreamPromises.get(r.id);e&&(this.annotationAPStreamPromises=this.annotationAPStreamPromises.delete(r.id),e(n)),n&&this.cacheAPStream(n,r)}})),Promise.all(n).then((()=>t()))})).catch((e=>{l(),r(e)}))}));return this.pageAPStreamsPromises=this.pageAPStreamsPromises.set(e,a),a}renderDetachedAnnotation(e,t,n,r){return this._requestRenderAnnotation(e,null,t,n,r,!0)}async getAttachment(e){try{const t=await this._fetch(`${this._state.documentURL}/attachments/${e}`);switch(t.status){case 404:throw new i.uE("Attachment not Found.");case 200:return await t.blob();default:throw new i.uE("Bad Request.")}}catch(e){throw new i.uE(`Could not fetch attachment from Nutrient Document Engine. ${e}`)}}async search(e,t,n,r){let s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:D.n.TEXT;const o=`q=${i===D.n.PRESET?e.replace(/_/g,"-"):encodeURIComponent(e)}&start=${t}&limit=${n}&type=${i}&include_annotations=${s.toString()}&case_sensitive=${r.toString()}`,a=`${this._state.documentURL}/search?${o}`,l=await new g.A(a,this._state.token).request();return(0,d.g)(l.data)}async getMeasurementSnappingPoints(e){}async searchAndRedact(e,t){const{searchType:n,annotationPreset:r,searchInAnnotations:i,caseSensitive:o,startPageIndex:a,pageRange:l}=t,{color:h,fillColor:c,outlineColor:u,...d}=r,p=await this._fetch(`${this._state.documentURL}/redactions`,{method:"post",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({strategy:n,strategyOptions:{[n]:n===D.n.PRESET?e.replace(/_/g,"-"):e,includeAnnotations:i,caseSensitive:o,...void 0!==a&&{start:a},...void 0!==l&&{limit:l}},content:{...d,color:h&&h.toHex(),fillColor:c&&c.toHex(),outlineColor:u&&u.toHex()}})}),{data:m}=await p.json(),f=(0,s.B8)(m.annotations?.filter((e=>!!e.content)).map((e=>F.A.fromJSON(e.id,e.content)))||[]);if(f.size){const e=this._state.instantSettings;!this.isUsingInstantProvider()||e&&e.listenToServerChangesEnabled||await this.syncChanges()}return f}exportPDF(){let{flatten:e=!1,includeComments:t=!0,excludeAnnotations:n=!1,outputFormat:r=!1,optimize:s=!1,flattenElectronicSignatures:o=e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&!1===o)throw new i.uE("Cannot set `flattenElectronicSignatures` to `false` when `flatten` is set to `true`.");const a=`${this._state.documentURL}/pdf?token=${this._state.token}${e?`&flatten=${String(e)}`:""}&comments=${String(t)}&render_ap_streams=${String(!e)}&remove_annotations=${String(n)}${e?"":`&keep_signatures=${!o}`}`;if(s){const e={documentFormat:"pdf",grayscaleText:!1,grayscaleGraphics:!1,grayscaleFormFields:!1,grayscaleAnnotations:!1,grayscaleImages:!1,disableImages:!1,mrcCompression:!1,imageOptimizationQuality:2,linearize:!1};let t;if("boolean"!=typeof s){t={...e,...s}}else t=e;const{documentFormat:n,grayscaleText:r,grayscaleGraphics:i,grayscaleFormFields:o,grayscaleAnnotations:l,grayscaleImages:h,disableImages:c,mrcCompression:u,imageOptimizationQuality:d,linearize:p}=t;return fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:n,grayscaleText:r,grayscaleGraphics:i,grayscaleFormFields:o,grayscaleAnnotations:l,grayscaleImages:h,disableImages:c,mrcCompression:u,imageOptimizationQuality:d,linearize:p}}),credentials:"include"}).then((e=>e.arrayBuffer()))}if(r){const e={conformance:B.o.PDFA_2B,vectorization:!0,rasterization:!0};let t;if("boolean"!=typeof r){t={...e,...r}}else t=e;const{conformance:n,vectorization:s,rasterization:i}=t;return fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:"pdfa",conformance:n,vectorization:s,rasterization:i}}),credentials:"include"}).then((e=>e.arrayBuffer()))}return fetch(a,{method:"GET",credentials:"include"}).then((e=>e.arrayBuffer()))}exportOffice(e){let{format:t}=e;const n=`${this._state.documentURL}/build`;return this._fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:t.toLowerCase()}}),credentials:"include"}).then((e=>e.arrayBuffer())).catch((e=>{throw new i.uE(`Exporting to Office failed: ${e.message}`)}))}exportXFDF(){return this._fetch(`${this._state.documentURL}/document.xfdf`).then((e=>e.text()))}exportInstantJSON(e){return this._fetch(`${this._state.documentURL}/instant.json${"number"==typeof e?`?version=${e}`:""}`).then((e=>e.json()))}getPDFURL(){let{includeComments:e=!0,excludeAnnotations:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{promise:Promise.resolve(`${this._state.documentURL}/pdf?token=${this._state.token}&flatten=true&comments=${String(e)}&remove_annotations=${String(t)}`),revoke:()=>{}}}generatePDFObjectURL(){let e,{includeComments:t=!0,excludeAnnotations:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;return{promise:new Promise((s=>{this.exportPDF({flatten:!0,includeComments:t,excludeAnnotations:n}).then((t=>{if(r)return;const n=new Blob([t],{type:"application/pdf"});e=window.URL.createObjectURL(n),s(e)}))})),revoke:()=>{e&&window.URL.revokeObjectURL(e),r=!0}}}async getDocumentOutline(){let e;try{e=(await this._fetch(`${this._state.documentURL}/outline.json`).then((e=>e.json()))).data}catch(t){e={}}const t=Array.isArray(e.outline)?e.outline:[];return(0,s.B8)(t.map(_.r))}async setDocumentOutline(){throw new i.uE("Not implemented in Server backend.")}async getPageGlyphs(){throw new i.uE("Not implemented in Server backend.")}onKeystrokeEvent(){throw new Error("not implemented")}async getMeasurementScales(){let e;try{return e=(await this._fetch(`${this._state.documentURL}/measurement_content_formats`).then((e=>e.json()))).data,e}catch(e){throw new i.uE(`Fetching measurement scales failed: ${e}`)}}async getSecondaryMeasurementUnit(){let e;try{return e=(await this._fetch(`${this._state.documentURL}/secondary_measurement_unit`).then((e=>e.json()))).data,e}catch(e){throw new i.uE(`Fetching secondary measurement unit failed: ${e}`)}}async setSecondaryMeasurementUnit(e){try{const t=JSON.stringify({unitTo:e?e.unitTo:null,precision:e?e.precision:null});await this._fetch(`${this._state.documentURL}/secondary_measurement_unit`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Setting secondary measurement unit failed: ${e}`)}}async addMeasurementScale(e){try{const t=JSON.stringify((0,u.U)(e));await this._fetch(`${this._state.documentURL}/measurement_content_formats`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Adding a new measurement scale failed: ${e}`)}}async removeMeasurementScale(e){try{const t=JSON.stringify((0,u.U)(e));await this._fetch(`${this._state.documentURL}/measurement_content_formats/delete`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Removing scale failed: ${e}`)}}async applyOperationsAndReload(e){try{const t=await J(e);this._destroyProvider(),await this._fetch(`${this._state.documentURL}/apply-operations`,{method:"post",body:t,credentials:"include"})}catch(e){throw new i.uE(`Applying operations failed: ${e}`)}return this.reloadDocument()}async applyRedactionsAndReload(){try{return this._destroyProvider(),await this._fetch(`${this._state.documentURL}/redact`,{method:"post",credentials:"include"}),this.reloadDocument()}catch(e){throw this.provider.load(),new i.uE(`Applying redactions failed: ${e}`)}}async reloadDocument(){this.clearRenderedAnnotationsCache();try{return await this.load({password:this._password})}catch(e){throw new i.uE(`Reloading the document failed: ${e}`)}}async exportPDFWithOperations(e){try{const t=await J(e);return this._fetch(`${this._state.documentURL}/pdf-with-operations`,{method:"post",body:t,credentials:"include"}).then((e=>e.arrayBuffer()))}catch(e){throw new i.uE(`Exporting PDF with operations failed: ${e}`)}}async setSignaturesLTV(e){throw new Error("not implemented")}async getSignaturesInfo(){return this._refreshSignaturesInfoPromise&&await this._refreshSignaturesInfoPromise,this._state.digitalSignatures}refreshSignaturesInfo(){return this._refreshSignaturesInfoPromise||(this._refreshSignaturesInfoPromise=new Promise(((e,t)=>{this._fetch(`${this._state.documentURL}/signatures`,{method:"get",credentials:"include"}).then((e=>e.json())).then((t=>{let{data:n}=t;this._state=this._state.set("digitalSignatures",(0,m.N5)(n)),this._refreshSignaturesInfoPromise=null,e()})).catch((e=>{this._state=this._state.set("digitalSignatures",null),this._refreshSignaturesInfoPromise=null,t(e)}))}))),this._refreshSignaturesInfoPromise}async signDocumentAndReload(e,t){(0,i.V1)(void 0===t||"object"==typeof t,"Signing service data must be an object if specified.");try{if(void 0!==t&&"object"!=typeof t)throw new i.uE("Signing service data must be an object if specified.");(0,V.r6)(e);const n=e?{..."placeholderSize"in e?{estimatedSize:e.placeholderSize}:null,..."flatten"in e?{flatten:e.flatten}:null,...e?.signatureMetadata?{signatureMetadata:(0,m.sZ)(e.signatureMetadata)}:null,..."position"in e?{position:(0,m.qN)(e.position)}:null,..."appearance"in e?{appearance:await(0,m.z8)(e.appearance)}:null,..."formFieldName"in e?{formFieldName:e.formFieldName}:null,...void 0!==e?.signingData&&"signatureContainer"in e.signingData?{signatureContainer:e.signingData.signatureContainer}:null,...void 0!==e?.signingData&&"signatureType"in e.signingData?{signatureType:m.xz[e.signingData.signatureType]}:null}:null,r=e?.appearance?.watermarkImage||null,s=e?.appearance?.graphicImage||null,o={...t?{signingToken:t.signingToken}:null,...n},a=new FormData;if(a.append("data",JSON.stringify(o)),r&&a.append("image",r),s&&a.append("graphicImage",s),this._destroyProvider(),await this._fetch(`${this._state.documentURL}/sign`,{method:"post",body:a,credentials:"include"}),await this.reloadDocument(),e?.formFieldName)return e.formFieldName}catch(e){throw this.provider.load(),new i.uE(`Adding digital signature failed: ${e.message||e}`)}}async setFontSubstitutions(e){try{const t=`${this._state.documentURL}/font-substitutions`;await this._fetch(t,{method:"put",body:JSON.stringify({fontSubstitutions:e}),credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Error setting font substitution: ${e.message}`)}}getDocumentHandle(){return this._state.documentHandle}async getEmbeddedFiles(){const e=await this._fetch(`${this._state.documentURL}/embedded-files`,{method:"get",credentials:"include"}),{data:t}=await e.json();return(0,s.B8)(t?.embeddedFiles?.map((e=>{let{id:t,content:n}=e;return(0,U.r)(t,n)}))||[])}cancelRequests(){this._requestQueue.cancelAll()}_destroyProvider(){this.provider&&(this.provider._clients&&this.provider._clients.disconnect(),this.provider.destroy())}async _fetch(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"X-PSPDFKit-Token":this._state.token,"PSPDFKit-Platform":"web","PSPDFKit-Version":(0,R._q)()}});if(!n.ok){let e=await function(e){return e.clone().json().catch((()=>e.text()))}(n);e="object"==typeof e?e.reason:e;const t=e||`${n.status} ${n.statusText}`;throw new i.uE(t)}return n}syncChanges(){return this.provider.syncChanges()}async clearAPStreamCache(){}async runPDFFormattingScripts(){return[]}async runPDFFormattingScriptsFromWidgets(){return this.runPDFFormattingScripts()}async lazyLoadPages(){}async contentEditorReload(){return this._destroyProvider(),this.reloadDocument()}getOCGs(){throw new Error("not implemented")}getOCGVisibilityState(){throw new Error("not implemented")}setOCGVisibilityState(){throw new Error("not implemented")}async timestampData(e,t){throw new Error("not implemented")}async waitUntilFullyLoaded(e){throw new Error("not implemented")}}async function J(e){const t={},n=new WeakMap,r=await Promise.all(e.map((async(e,r)=>{if("importDocument"===e.type){const s=e.document;return(0,i.V1)(s instanceof File||s instanceof Blob,"Wrong `importDocument` operation `document` value: it must be a File or a Blob"),(0,O.g)(n,t,s,e,r,"document")}if("applyInstantJson"===e.type){const s=e.instantJson;(0,i.V1)("object"==typeof s&&null!==s,"Wrong `applyInstantJson` operation `instantJson` value: it must be an object");const o=JSON.stringify(s),a=new Blob([o],{type:"application/json"});return(0,O.g)(n,t,a,e,r,"dataFilePath")}if("applyXfdf"===e.type){const s=e.xfdf;(0,i.V1)("string"==typeof s,"Wrong `applyXfdf` operation `xfdf` value: it must be a string");const o=new Blob([s],{type:"application/vnd.adobe.xfdf"});return(0,O.g)(n,t,o,e,r,"dataFilePath")}return e}))),s=new FormData;s.append("operations",JSON.stringify({operations:r}));for(const e in t)s.append(e,t[e]);return s}},4824:(e,t,n)=>{"use strict";n.d(t,{S:()=>r,z:()=>s});const r={clientsPresenceEnabled:!0,listenToServerChangesEnabled:!0},s={clientsPresenceEnabled:!1,listenToServerChangesEnabled:!1}},93904:(e,t,n)=>{const r=Symbol("SemVer ANY");class s{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof s){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),h("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,h("comp",this)}parse(e){const t=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(h("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):(!(t=i(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=s;const i=n(98587),{safeRe:o,t:a}=n(99718),l=n(72111),h=n(57272),c=n(53908),u=n(78311)},78311:(e,t,n)=>{class r{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&E(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&m)|(this.options.loose&&f))+":"+e,n=s.get(t);if(n)return n;const r=this.options.loose,i=r?h[c.HYPHENRANGELOOSE]:h[c.HYPHENRANGE];e=e.replace(i,N(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(h[c.COMPARATORTRIM],u),a("comparator trim",e),e=e.replace(h[c.TILDETRIM],d),a("tilde trim",e),e=e.replace(h[c.CARETTRIM],p),a("caret trim",e);let l=e.split(" ").map((e=>w(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options)));r&&(l=l.filter((e=>(a("loose invalid filter",e,this.options),!!e.match(h[c.COMPARATORLOOSE]))))),a("range list",l);const E=new Map,v=l.map((e=>new o(e,this.options)));for(const e of v){if(g(e))return[e];E.set(e.value,e)}E.size>1&&E.has("")&&E.delete("");const y=[...E.values()];return s.set(t,y),y}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>v(n,t)&&e.set.some((e=>v(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(T(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const s=new(n(38357))({max:1e3}),i=n(98587),o=n(93904),a=n(57272),l=n(53908),{safeRe:h,t:c,comparatorTrimReplace:u,tildeTrimReplace:d,caretTrimReplace:p}=n(99718),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:f}=n(94493),g=e=>"<0.0.0-0"===e.value,E=e=>""===e.value,v=(e,t)=>{let n=!0;const r=e.slice();let s=r.pop();for(;n&&r.length;)n=r.every((e=>s.intersects(e,t))),s=r.pop();return n},w=(e,t)=>(a("comp",e,t),e=S(e,t),a("caret",e),e=$(e,t),a("tildes",e),e=P(e,t),a("xrange",e),e=A(e,t),a("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,$=(e,t)=>e.trim().split(/\s+/).map((e=>R(e,t))).join(" "),R=(e,t)=>{const n=t.loose?h[c.TILDELOOSE]:h[c.TILDE];return e.replace(n,((t,n,r,s,i)=>{let o;return a("tilde",e,t,n,r,s,i),y(n)?o="":y(r)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:y(s)?o=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(a("replaceTilde pr",i),o=`>=${n}.${r}.${s}-${i} <${n}.${+r+1}.0-0`):o=`>=${n}.${r}.${s} <${n}.${+r+1}.0-0`,a("tilde return",o),o}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>I(e,t))).join(" "),I=(e,t)=>{a("caret",e,t);const n=t.loose?h[c.CARETLOOSE]:h[c.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,s,i,o)=>{let l;return a("caret",e,t,n,s,i,o),y(n)?l="":y(s)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:y(i)?l="0"===n?`>=${n}.${s}.0${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.0${r} <${+n+1}.0.0-0`:o?(a("replaceCaret pr",o),l="0"===n?"0"===s?`>=${n}.${s}.${i}-${o} <${n}.${s}.${+i+1}-0`:`>=${n}.${s}.${i}-${o} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${i}-${o} <${+n+1}.0.0-0`):(a("no pr"),l="0"===n?"0"===s?`>=${n}.${s}.${i}${r} <${n}.${s}.${+i+1}-0`:`>=${n}.${s}.${i}${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${i} <${+n+1}.0.0-0`),a("caret return",l),l}))},P=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>b(e,t))).join(" ")),b=(e,t)=>{e=e.trim();const n=t.loose?h[c.XRANGELOOSE]:h[c.XRANGE];return e.replace(n,((n,r,s,i,o,l)=>{a("xRange",e,n,r,s,i,o,l);const h=y(s),c=h||y(i),u=c||y(o),d=u;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",h?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(c&&(i=0),o=0,">"===r?(r=">=",c?(s=+s+1,i=0,o=0):(i=+i+1,o=0)):"<="===r&&(r="<",c?s=+s+1:i=+i+1),"<"===r&&(l="-0"),n=`${r+s}.${i}.${o}${l}`):c?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:u&&(n=`>=${s}.${i}.0${l} <${s}.${+i+1}.0-0`),a("xRange return",n),n}))},A=(e,t)=>(a("replaceStars",e,t),e.trim().replace(h[c.STAR],"")),_=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(h[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),N=e=>(t,n,r,s,i,o,a,l,h,c,u,d,p)=>`${n=y(r)?"":y(s)?`>=${r}.0.0${e?"-0":""}`:y(i)?`>=${r}.${s}.0${e?"-0":""}`:o?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=y(h)?"":y(c)?`<${+h+1}.0.0-0`:y(u)?`<${h}.${+c+1}.0-0`:d?`<=${h}.${c}.${u}-${d}`:e?`<${h}.${c}.${+u+1}-0`:`<=${l}`}`.trim(),T=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(a(e[n].semver),e[n].semver!==o.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},53908:(e,t,n)=>{const r=n(57272),{MAX_LENGTH:s,MAX_SAFE_INTEGER:i}=n(94493),{safeRe:o,t:a}=n(99718),l=n(98587),{compareIdentifiers:h}=n(61123);class c{constructor(e,t){if(t=l(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>s)throw new TypeError(`version is longer than ${s} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],s=e.prerelease[t];if(r("prerelease compare",t,n,s),void 0===n&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===n)return-1;if(n!==s)return h(n,s)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const n=this.build[t],s=e.build[t];if(r("prerelease compare",t,n,s),void 0===n&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===n)return-1;if(n!==s)return h(n,s)}while(++t)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===h(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},57414:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},72111:(e,t,n)=>{const r=n(94641),s=n(13999),i=n(35580),o=n(54089),a=n(7059),l=n(25200);e.exports=(e,t,n,h)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,h);case"!=":return s(e,n,h);case">":return i(e,n,h);case">=":return o(e,n,h);case"<":return a(e,n,h);case"<=":return l(e,n,h);default:throw new TypeError(`Invalid operator: ${t}`)}}},46170:(e,t,n)=>{const r=n(53908),s=n(30144),{safeRe:i,t:o}=n(99718);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=i[o.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),i[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[o.COERCERTL].lastIndex=-1}else n=e.match(i[o.COERCE]);return null===n?null:s(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},40909:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n)=>{const s=new r(e,n),i=new r(t,n);return s.compare(i)||s.compareBuild(i)}},11763:(e,t,n)=>{const r=n(50560);e.exports=(e,t)=>r(e,t,!0)},50560:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},51832:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e,null,!0),s=r(t,null,!0),i=n.compare(s);if(0===i)return null;const o=i>0,a=o?n:s,l=o?s:n,h=!!a.prerelease.length;if(!!l.prerelease.length&&!h)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";const c=h?"pre":"";return n.major!==s.major?c+"major":n.minor!==s.minor?c+"minor":n.patch!==s.patch?c+"patch":"prerelease"}},94641:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>0===r(e,t,n)},35580:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)>0},54089:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)>=0},93007:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n,s,i)=>{"string"==typeof n&&(i=s,s=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,s,i).version}catch(e){return null}}},7059:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)<0},25200:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)<=0},32938:(e,t,n)=>{const r=n(53908);e.exports=(e,t)=>new r(e,t).major},46254:(e,t,n)=>{const r=n(53908);e.exports=(e,t)=>new r(e,t).minor},13999:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>0!==r(e,t,n)},30144:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},24493:(e,t,n)=>{const r=n(53908);e.exports=(e,t)=>new r(e,t).patch},31729:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},9970:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(t,e,n)},74277:(e,t,n)=>{const r=n(40909);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},97638:(e,t,n)=>{const r=n(78311);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},43927:(e,t,n)=>{const r=n(40909);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},56953:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},99589:(e,t,n)=>{const r=n(99718),s=n(94493),i=n(53908),o=n(61123),a=n(30144),l=n(56953),h=n(57414),c=n(93007),u=n(51832),d=n(32938),p=n(46254),m=n(24493),f=n(31729),g=n(50560),E=n(9970),v=n(11763),w=n(40909),y=n(43927),$=n(74277),R=n(35580),S=n(7059),I=n(94641),P=n(13999),b=n(54089),A=n(25200),_=n(72111),N=n(46170),T=n(93904),L=n(78311),O=n(97638),x=n(77631),F=n(19628),D=n(270),C=n(41261),U=n(13874),j=n(97075),k=n(75571),M=n(5342),G=n(76780),B=n(72525),V=n(75032);e.exports={parse:a,valid:l,clean:h,inc:c,diff:u,major:d,minor:p,patch:m,prerelease:f,compare:g,rcompare:E,compareLoose:v,compareBuild:w,sort:y,rsort:$,gt:R,lt:S,eq:I,neq:P,gte:b,lte:A,cmp:_,coerce:N,Comparator:T,Range:L,satisfies:O,toComparators:x,maxSatisfying:F,minSatisfying:D,minVersion:C,validRange:U,outside:j,gtr:k,ltr:M,intersects:G,simplifyRange:B,subset:V,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},94493:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},57272:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},61123:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),s=t.test(n);return r&&s&&(e=+e,n=+n),e===n?0:r&&!s?-1:s&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},98587:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},99718:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:i}=n(94493),o=n(57272),a=(t=e.exports={}).re=[],l=t.safeRe=[],h=t.src=[],c=t.t={};let u=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[d,s]],m=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),s=u++;o(e,s,t),c[e]=s,h[s]=t,a[s]=new RegExp(t,n?"g":void 0),l[s]=new RegExp(r,n?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${h[c.NUMERICIDENTIFIER]})\\.(${h[c.NUMERICIDENTIFIER]})\\.(${h[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${h[c.NUMERICIDENTIFIERLOOSE]})\\.(${h[c.NUMERICIDENTIFIERLOOSE]})\\.(${h[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${h[c.NUMERICIDENTIFIER]}|${h[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${h[c.NUMERICIDENTIFIERLOOSE]}|${h[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${h[c.PRERELEASEIDENTIFIER]}(?:\\.${h[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${h[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${h[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${h[c.BUILDIDENTIFIER]}(?:\\.${h[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${h[c.MAINVERSION]}${h[c.PRERELEASE]}?${h[c.BUILD]}?`),m("FULL",`^${h[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${h[c.MAINVERSIONLOOSE]}${h[c.PRERELEASELOOSE]}?${h[c.BUILD]}?`),m("LOOSE",`^${h[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${h[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${h[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${h[c.XRANGEIDENTIFIER]})(?:\\.(${h[c.XRANGEIDENTIFIER]})(?:\\.(${h[c.XRANGEIDENTIFIER]})(?:${h[c.PRERELEASE]})?${h[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${h[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[c.XRANGEIDENTIFIERLOOSE]})(?:${h[c.PRERELEASELOOSE]})?${h[c.BUILD]}?)?)?`),m("XRANGE",`^${h[c.GTLT]}\\s*${h[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${h[c.GTLT]}\\s*${h[c.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),m("COERCERTL",h[c.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${h[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${h[c.LONETILDE]}${h[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${h[c.LONETILDE]}${h[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${h[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${h[c.LONECARET]}${h[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${h[c.LONECARET]}${h[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${h[c.GTLT]}\\s*(${h[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${h[c.GTLT]}\\s*(${h[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${h[c.GTLT]}\\s*(${h[c.LOOSEPLAIN]}|${h[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${h[c.XRANGEPLAIN]})\\s+-\\s+(${h[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${h[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${h[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},38357:(e,t,n)=>{"use strict";const r=n(4927),s=Symbol("max"),i=Symbol("length"),o=Symbol("lengthCalculator"),a=Symbol("allowStale"),l=Symbol("maxAge"),h=Symbol("dispose"),c=Symbol("noDisposeOnSet"),u=Symbol("lruList"),d=Symbol("cache"),p=Symbol("updateAgeOnGet"),m=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[a])return}else n&&(e[p]&&(r.value.now=Date.now()),e[u].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},E=e=>{if(e[i]>e[s])for(let t=e[u].tail;e[i]>e[s]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[h]&&e[h](n.key,n.value),e[i]-=n.length,e[d].delete(n.key),e[u].removeNode(t)}};class w{constructor(e,t,n,r,s){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=s||0}}const y=(e,t,n,r)=>{let s=n.value;g(e,s)&&(v(e,n),e[a]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[s]=e.max||1/0;const t=e.length||m;if(this[o]="function"!=typeof t?m:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[h]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[p]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[s]=e||1/0,E(this)}get max(){return this[s]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,E(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=m),e!==this[o]&&(this[o]=e,this[i]=0,this[u].forEach((e=>{e.length=this[o](e.value,e.key),this[i]+=e.length}))),E(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let n=this[u].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[u].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){this[h]&&this[u]&&this[u].length&&this[u].forEach((e=>this[h](e.key,e.value))),this[d]=new Map,this[u]=new r,this[i]=0}dump(){return this[u].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,a=this[o](t,e);if(this[d].has(e)){if(a>this[s])return v(this,this[d].get(e)),!1;const o=this[d].get(e).value;return this[h]&&(this[c]||this[h](e,o.value)),o.now=r,o.maxAge=n,o.value=t,this[i]+=a-o.length,o.length=a,this.get(e),E(this),!0}const p=new w(e,t,a,r,n);return p.length>this[s]?(this[h]&&this[h](e,t),!1):(this[i]+=p.length,this[u].unshift(p),this[d].set(e,this[u].head),E(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[u].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],s=r.e||0;if(0===s)this.set(r.k,r.v);else{const e=s-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},50723:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},4927:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,s=arguments.length;n<s;n++)t.push(arguments[n]);return t}function s(e,t,n){var r=t===e.head?new a(n,null,t,e):new a(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function i(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,n,r){if(!(this instanceof a))return new a(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=a,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,s=this.head;null!==s;)n.push(e.call(t,s.value,this)),s=s.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,s=this.tail;null!==s;)n.push(e.call(t,s.value,this)),s=s.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var s=0;null!==r;s++)n=e(n,r.value,s),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var s=this.length-1;null!==r;s--)n=e(n,r.value,s),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=0,i=this.head;null!==i&&s<e;s++)i=i.next;for(;null!==i&&s<t;s++,i=i.next)n.push(i.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=this.length,i=this.tail;null!==i&&s>t;s--)i=i.prev;for(;null!==i&&s>e;s--,i=i.prev)n.push(i.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;var o=[];for(r=0;i&&r<t;r++)o.push(i.value),i=this.removeNode(i);null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(r=0;r<n.length;r++)i=s(this,i,n[r]);return o},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(50723)(r)}catch(e){}},75571:(e,t,n)=>{const r=n(97075);e.exports=(e,t,n)=>r(e,t,">",n)},76780:(e,t,n)=>{const r=n(78311);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},5342:(e,t,n)=>{const r=n(97075);e.exports=(e,t,n)=>r(e,t,"<",n)},19628:(e,t,n)=>{const r=n(53908),s=n(78311);e.exports=(e,t,n)=>{let i=null,o=null,a=null;try{a=new s(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==o.compare(e)||(i=e,o=new r(i,n)))})),i}},270:(e,t,n)=>{const r=n(53908),s=n(78311);e.exports=(e,t,n)=>{let i=null,o=null,a=null;try{a=new s(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==o.compare(e)||(i=e,o=new r(i,n)))})),i}},41261:(e,t,n)=>{const r=n(53908),s=n(78311),i=n(35580);e.exports=(e,t)=>{e=new s(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const s=e.set[t];let o=null;s.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!i(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||n&&!i(n,o)||(n=o)}return n&&e.test(n)?n:null}},97075:(e,t,n)=>{const r=n(53908),s=n(93904),{ANY:i}=s,o=n(78311),a=n(97638),l=n(35580),h=n(7059),c=n(25200),u=n(54089);e.exports=(e,t,n,d)=>{let p,m,f,g,E;switch(e=new r(e,d),t=new o(t,d),n){case">":p=l,m=c,f=h,g=">",E=">=";break;case"<":p=h,m=u,f=l,g="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let o=null,a=null;if(r.forEach((e=>{e.semver===i&&(e=new s(">=0.0.0")),o=o||e,a=a||e,p(e.semver,o.semver,d)?o=e:f(e.semver,a.semver,d)&&(a=e)})),o.operator===g||o.operator===E)return!1;if((!a.operator||a.operator===g)&&m(e,a.semver))return!1;if(a.operator===E&&f(e,a.semver))return!1}return!0}},72525:(e,t,n)=>{const r=n(97638),s=n(50560);e.exports=(e,t,n)=>{const i=[];let o=null,a=null;const l=e.sort(((e,t)=>s(e,t,n)));for(const e of l){r(e,t,n)?(a=e,o||(o=e)):(a&&i.push([o,a]),a=null,o=null)}o&&i.push([o,null]);const h=[];for(const[e,t]of i)e===t?h.push(e):t||e!==l[0]?t?e===l[0]?h.push(`<=${t}`):h.push(`${e} - ${t}`):h.push(`>=${e}`):h.push("*");const c=h.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return c.length<u.length?c:t}},75032:(e,t,n)=>{const r=n(78311),s=n(93904),{ANY:i}=s,o=n(97638),a=n(50560),l=[new s(">=0.0.0-0")],h=[new s(">=0.0.0")],c=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?l:h}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=h}const r=new Set;let s,c,p,m,f,g,E;for(const t of e)">"===t.operator||">="===t.operator?s=u(s,t,n):"<"===t.operator||"<="===t.operator?c=d(c,t,n):r.add(t.semver);if(r.size>1)return null;if(s&&c){if(p=a(s.semver,c.semver,n),p>0)return null;if(0===p&&(">="!==s.operator||"<="!==c.operator))return null}for(const e of r){if(s&&!o(e,String(s),n))return null;if(c&&!o(e,String(c),n))return null;for(const r of t)if(!o(e,String(r),n))return!1;return!0}let v=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver,w=!(!s||n.includePrerelease||!s.semver.prerelease.length)&&s.semver;v&&1===v.prerelease.length&&"<"===c.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(E=E||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,s)if(w&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===w.major&&e.semver.minor===w.minor&&e.semver.patch===w.patch&&(w=!1),">"===e.operator||">="===e.operator){if(m=u(s,e,n),m===e&&m!==s)return!1}else if(">="===s.operator&&!o(s.semver,String(e),n))return!1;if(c)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(f=d(c,e,n),f===e&&f!==c)return!1}else if("<="===c.operator&&!o(c.semver,String(e),n))return!1;if(!e.operator&&(c||s)&&0!==p)return!1}return!(s&&g&&!c&&0!==p)&&(!(c&&E&&!s&&0!==p)&&(!w&&!v))},u=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let s=!1;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,n);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}},77631:(e,t,n)=>{const r=n(78311);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},13874:(e,t,n)=>{const r=n(78311);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}}}]);
|
|
13
|
+
(globalThis.webpackChunkNutrientViewer=globalThis.webpackChunkNutrientViewer||[]).push([[750],{1033:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>z});var r=n(67136),s=n(49568),i=n(85409),o=n(45646),a=n(6163),l=n(99589),h=n(2752),c=n(55994),u=n(34551),d=n(47159),p=n(5293),m=n(97881),f=n(14631),g=n(54781),E=n(85553);class v extends(s.mS({authPayload:null,serverUrl:null,hostedBaseUrl:null,documentId:null,layerName:null,sourcePdfSha256:null,backendPermissions:null,documentURL:null,imageToken:null,instantSettings:null,token:null,features:(0,s.B8)(),signatureFeatureAvailability:E.g.NONE,isFormsEnabled:!0,minSearchQueryLength:1,documentHandle:null,isDocumentHandleOutdated:!1,digitalSignatures:null,defaultGroup:void 0,hasCollaborationPermissions:!1,forceLegacySignaturesFeature:!1,disableWebAssemblyStreaming:!1,overrideMemoryLimit:null,baseCoreUrl:null,useDeprecatedRestProvider:!1})){}var w=n(14511),y=n(15168),$=n(28650),R=n(85410),S=n(9627);const I="The image can not be rendered because of an unknown error.";class P{constructor(e){let{identifier:t,url:n,token:r,payload:s,doNotRequestWebP:i=!1}=e;this.identifier=t,this.url=n,this.token=r,this.payload=s,this.doNotRequestWebP=i}abort(){this.httpRequest?.abort()}request(){return new Promise(((e,t)=>{const n=new XMLHttpRequest;this.httpRequest=n,n.open(this.payload?"POST":"GET",this.url,!0),n.setRequestHeader("X-PSPDFKit-Image-Token",this.token),n.setRequestHeader("PSPDFKit-Platform","web"),n.setRequestHeader("PSPDFKit-Version",(0,R._q)()),y.xd&&!this.doNotRequestWebP&&n.setRequestHeader("Accept","image/webp,*/*"),n.responseType="blob",n.onreadystatechange=(async()=>{if(4!==n.readyState)return;if(n.response&&n.response.type.startsWith("application/json")){const r=new FileReader;return r.onload=n=>{const r=JSON.parse(n.target?.result);r.attachments_not_found?e({attachmentsNotFound:r.attachments_not_found}):r.error?"initialization_error"===r.error?e(null):t(new i.uE(`The server could not render the requested image (${r.error})`)):t(new i.uE(I))},r.onerror=()=>t(new i.uE(I)),void r.readAsText(n.response)}if(!(0,w.Nk)(n.status))return void t(new i.uE(I));const r=n.response,s=URL.createObjectURL(r),o=new Image;o.onerror=()=>t(new i.uE(I)),o.src=s;const a=o.decode();try{await a}catch(e){if(!S.H8)throw new i.uE(`The image could not be decoded: ${e.message}`);await new Promise((e=>setTimeout(e,200)))}e(new $.A(o,(()=>URL.revokeObjectURL(s))))}).bind(this),n.send(this.payload)}))}}var b=n(37361),A=n(89574),_=n(41477),N=n(51946),T=n(30026);async function L(e,t,n){const r=await fetch(`${e}/auth`,{method:"POST",headers:{"Content-Type":"application/json","PSPDFKit-Platform":"web","PSPDFKit-Version":(0,R._q)()},body:JSON.stringify({jwt:t.jwt,password:n}),credentials:"include"});return r.ok?r.json():r.text().then((e=>{throw"INVALID_PASSWORD"===e?new i.uE(e):new i.uE(`An error occurred while connecting to Nutrient Document Engine: ${e||r.statusText}`)}))}var O=n(25888),x=n(4824),F=n(12219),D=n(37094),C=n(72262),U=n(40927),j=n(9939),k=n(83720),M=n(64337),G=n(89055),B=n(20546),V=n(37506),X=n(26175),q=n(77270),H=n(20873);class z extends C.K{constructor(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;super(),t=this,(0,r.A)(this,"_password",null),(0,r.A)(this,"type","SERVER"),(0,r.A)(this,"_requestRenderAnnotation",((e,n,r,s,o,l)=>{const h=`${this._state.documentURL}/render_annotation`,c=`render-annotation-${l?(0,a.Z0)():e.id}`,u=JSON.stringify({data:(0,m.eq)(e),width:s,height:o,detached:l||void 0,formFieldValue:n?(0,m.cA)(n):void 0});let d=!1,p=[];const f=(0,q.yl)();let g;if((0,A.cu)(e)){if(g=(0,A.sS)(e),this.isVisuallyIdenticalAnnotationCached({annotation:e,providedVisualAnnotationIndex:g,width:s,height:o}))return this.cachedRenderedAnnotationDiscardablePromise(g,f);this._addCachedRenderedAnnotation(g,{width:s,height:o,noZoom:e.noZoom,APStreamPromise:f.promise})}const E=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const a=new FormData;a.append("render",u),n.length>0&&"imageAttachmentId"in e&&e.imageAttachmentId&&r&&a.append(e.imageAttachmentId,r);const l=new P({identifier:c,url:h,token:t._state.imageToken,payload:a,doNotRequestWebP:s>b.HI||o>b.HI}),m=t._requestQueue.enqueue(l,!1);m.promise.then((n=>{if(!d)if(n?.attachmentsNotFound)E(n.attachmentsNotFound);else{if(!n?.attachmentsNotFound)return(0,A.cu)(e)&&t._makeEnqueuedRelease(n,g),f.resolve(n),n;f.reject(new i.uE("Attachment could not be found."))}})).catch((e=>{const n=t._cachedRenderedAnnotations.get(g);n&&n.timeout&&clearTimeout(n.timeout),t._cachedRenderedAnnotations.delete(g),d?f.resolve(void 0):f.reject(e)})),p.push(m)};return E(),{promise:f.promise,cancel:()=>{d=!0,p.forEach((e=>{e.cancel()}))}}})),(0,r.A)(this,"_requestRenderAnnotations",((e,t,n,r,s)=>{const i=`${this._state.documentURL}/render_annotations`,o=JSON.stringify({annotations:t.map(((t,s)=>({pageIndex:e,pdfObjectId:t,width:n[s],height:r[s]}))),formFieldValues:s});let a,l,h=!1;const c=new Promise(((e,t)=>{a=e,l=t}));return this._fetch(i,{method:"post",body:o,credentials:"include",headers:{"X-PSPDFKit-Image-Token":this._state.imageToken,"Content-Type":"application/json",Accept:"multipart/form-data"}}).then((e=>e.formData())).then((e=>{h||a(Array.from(e.values()))})).catch((e=>{h||l(e)})),{promise:c,cancel:()=>{h=!0}}})),(0,r.A)(this,"handleDocumentHandleConflict",(()=>{this._state=this._state.set("isDocumentHandleOutdated",!0),this.cancelRequests(),this._destroyProvider()}));let s=null;if("session"in e){if("string"!=typeof e.session)throw new i.uE("The supplied session token is invalid. Must be a string.");s={jwt:e.session},e.instant=!("instant"in e)||"boolean"!=typeof e.instant&&!(0,i.Qd)(e.instant)||e.instant}else"authPayload"in e&&(s=e.authPayload);if("object"!=typeof s)throw new i.uE("authPayload must be an object that contains the `jwt`. For example: `authPayload: { jwt: 'xxx.xxx.xxx'}`");const l=s?.accessToken;let h=null,c=null,u="documentId"in e?e.documentId:null,d=null;if(l)d=e.hostedBaseUrl||"https://api.pspdfkit.com/",(0,w.Me)(d),(0,f.P1)(l);else{if(!s||"object"!=typeof s||!("jwt"in s)||"string"!=typeof s.jwt)throw new i.uE("authPayload must be an object that contains the `jwt`. For example: `authPayload: { jwt: 'xxx.xxx.xxx'}`");const{serverUrl:t,documentId:r}=(0,f.Gm)(s.jwt);if(h=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;const r=e.serverUrl||t||(0,R.$_)(n.document);if("/"!==r.substr(-1))throw new i.uE("`serverUrl` must have a slash at the end (e.g. `https://pspdfkit.example.com/`).");if(!e.serverUrl&&r===(0,w.ln)(n.location.origin))throw new i.uE('PSPDFKit automatically infers the URL of Nutrient Document Engine from the current `<script>` tag.\nIn the current case, this URL is set to the same as the current browser\'s location.\nThis can happen when you bundle nutrient-viewer.js with your custom JavaScript for example.\n\nTo make sure everything works as expected, please set the `serverUrl` to the URL of Nutrient Document Engine:\n\nPSPDFKit.load({\n serverUrl: "https://pspdfkit-server.example.com/",\n ...,\n});');return r}(e,t,n),u=u||r,"string"!=typeof u)throw new i.uE("`documentId` must be of type string.");c=`${h}i/d/${u}`}!function(e){let t="";if("boolean"!=typeof e&&((0,i.Qd)(e)?(e.hasOwnProperty("clientsPresenceEnabled")&&"boolean"!=typeof e.clientsPresenceEnabled&&(t+="`clientsPresenceEnabled` in instance settings is not valid. Must be `true` or `false`.\n"),e.hasOwnProperty("listenToServerChangesEnabled")&&"boolean"!=typeof e.listenToServerChangesEnabled&&(t+="`listenToServerChangesEnabled` in instance settings is not valid. Must be `true` or `false`.\n")):t="`instant` flag must either be set to `true` or `false`\n",t))throw new i.uE(`${t}\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/`)}(e.instant);let p=null;if(e.instant)if((0,i.Qd)(e.instant)){const t=e.instant;p={clientsPresenceEnabled:!1!==t.clientsPresenceEnabled,listenToServerChangesEnabled:!1!==t.listenToServerChangesEnabled}}else p=x.S;this._requestQueue=new o.L(b.LB);const g=!!e.electronicSignatures&&Boolean(e.electronicSignatures.forceLegacySignaturesFeature),E=e.baseUrl||(0,R.$_)(window.document),y=e.baseCoreUrl||E;this._state=new v({serverUrl:h,hostedBaseUrl:d,documentId:u,instantSettings:p,documentURL:c,authPayload:s,isFormsEnabled:!e.disableForms,forceLegacySignaturesFeature:g,disableWebAssemblyStreaming:e.disableWebAssemblyStreaming,overrideMemoryLimit:e.overrideMemoryLimit,baseCoreUrl:y,useDeprecatedRestProvider:e.useDeprecatedRestProvider}),"trustedCAsCallback"in e&&e.trustedCAsCallback&&(0,i.R8)("PSPDFKit.Configuration#trustedCAsCallback is only used on Standalone deployments. On a Server-Backed deployment, please follow the instructions at https://pspdfkit.com/guides/web")}isUsingInstantProvider(){return!this._state.useDeprecatedRestProvider}hasClientsPresence(){const e=this._state.instantSettings;return null!=e&&!1!==e.clientsPresenceEnabled}async load(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.tryAuthenticateHostedViewer();const{imageToken:t,token:n,permissions:r,features:o,signatureFeatureAvailability:a,hasPassword:u,minSearchQueryLength:d,layerHandle:p,allowedTileScales:f,digitalSignatures:g,defaultGroup:v,collaborationPermissions:w,creatorName:y,documentEngineVersion:$,layerName:S,sourcePdfSha256:I}=await L(`${this._state.serverUrl}i/d/${this._state.documentId}`,this._state.authPayload,e.password);this._password=e.password;const P=(0,l.valid)((0,l.coerce)($));if(this.documentEngineVersion=P,!this.satisfiesDocumentEngineVersion(">=1.5.6"))throw new i.uE(`Document Engine version ${$} does not meet minimum required version requirement >=1.5.6.`);if(this._state.instantSettings&&!o.includes(M.Y.INSTANT))throw new i.uE("Instant feature is not enabled on this server. Please set `instant` to `false`.\n\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/");if(this._state.useDeprecatedRestProvider&&this._state.instantSettings)throw new i.uE("Instant feature can't be enabled together with using deprecated REST provider. Please set either `instant` or `useDeprecatedRestProvider` to `false`.\n\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/");const b=!o.includes(M.Y.INSTANT)&&!this.satisfiesDocumentEngineVersion(">=1.7.0"),A=a===E.g.ELECTRONIC_SIGNATURES&&(0,G.UX)(o)&&this._state.forceLegacySignaturesFeature?E.g.LEGACY_SIGNATURES:a;this._state=this._state.withMutations((e=>e.set("imageToken",t).set("token",n).set("features",(0,s.B8)(o)).set("signatureFeatureAvailability",A).set("backendPermissions",new T.A({readOnly:-1===r.indexOf("write"),downloadingAllowed:r.indexOf("download")>=0})).set("documentURL",`${this._state.serverUrl}i/d/${this._state.documentId}/h/${p}`).set("documentHandle",p).set("isDocumentHandleOutdated",!1).set("digitalSignatures",(0,m.N5)(g)).set("layerName",S).set("sourcePdfSha256",I).set("useDeprecatedRestProvider",b||e.useDeprecatedRestProvider)));if(this.corePDFBridge=new X.D(h.MX.createServerContext({url:this._state.serverUrl,token:this._state.token,imageToken:this._state.imageToken,documentId:this._state.documentId,layerHandle:p,headers:{"PSPDFKit-Platform":"web","PSPDFKit-Version":(0,R._q)()}},(async()=>{const t=H.mG.checkOut().object,n=(0,R.f)(null),r=await L(`${this._state.serverUrl}i/d/${this._state.documentId}`,this._state.authPayload,e.password);return(0,i.V1)(r.wasmToken,"No wasmToken was returned from the server."),(0,i.V1)(this._state.baseCoreUrl),await t.loadNativeModule(this._state.baseCoreUrl,{mainThreadOrigin:n,disableWebAssemblyStreaming:this._state.disableWebAssemblyStreaming,enableAutomaticLinkExtraction:!1,overrideMemoryLimit:this._state.overrideMemoryLimit,workerSpawnerFn:()=>c.pj(!0)}).then((async()=>t.load("",r.wasmToken,{mainThreadOrigin:n,productId:null}))),t}),(e=>this.satisfiesDocumentEngineVersion(e)))),w&&!this._state.instantSettings)throw new i.uE("Collaboration Permissions is not supported when `instant` is disabled. Please make sure `configuration#instant` is set to `true`.");return this._state=this._state.withMutations((e=>{e.defaultGroup=v,e.hasCollaborationPermissions=Boolean(w)})),this.provider&&this.provider.destroy(),this.provider=await this._initProvider(),{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:u,password:this._password,minSearchQueryLength:d,allowedTileScales:f,creatorName:y,defaultGroup:v}}satisfiesDocumentEngineVersion(e){return!!this.documentEngineVersion&&(0,l.satisfies)(this.documentEngineVersion,e)}async tryAuthenticateHostedViewer(){if("accessToken"in this._state.authPayload){const{hostedBaseUrl:e}=this._state,t=this._state.authPayload.accessToken,{serverUrl:n,serverId:r,jwt:s}=await async function(e,t){const n=await fetch(`${e}i/documents/auth`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json","PSPDFKit-Platform":"web","PSPDFKit-Version":"cloud-protocol=1, server-protocol=5, client=1.2.0, client-git=a58562548c"},body:JSON.stringify({accessToken:t})});if(n.ok)return n.json();throw new Error(`An error occurred while connecting to PSPDFKit API: ${await n.text()}`)}(e,t);this._state=this._state.withMutations((e=>{e.set("serverUrl",n).set("documentId",r).set("documentURL",`${n}i/d/${r}`).set("authPayload",{jwt:s})}))}}async _initProvider(){if(this._state.useDeprecatedRestProvider){const e=this._state.isFormsEnabled&&this._state.features.includes(M.Y.FORMS),{RESTProvider:t}=await n.e(269).then(n.bind(n,33393));return new t(this._state.documentURL,{token:this._state.token},{isFormsEnabled:e})}{const e=`${this._state.serverUrl}i/d/${this._state.documentId}/h/${this._state.documentHandle}`,{InstantProvider:t}=await n.e(534).then(n.bind(n,15124)),r=new t(`${this._state.serverUrl}i/d/${this._state.documentId}`,e,{auth_token:this._state.token},this._state.instantSettings||x.z);return r.setDocumentHandleConflictCallback(this.handleDocumentHandleConflict),r}}destroy(){this._destroyProvider(),this._requestQueue&&this._requestQueue.destroy()}documentInfo(){return this._fetch(`${this._state.documentURL}/document.json`).then((e=>e.json())).then((e=>e.data))}getFormJSON(){return this._fetch(`${this._state.documentURL}/form.json`).then((e=>403===e.status?{v:1,type:"pspdfkit/form",annotations:[],fields:[]}:e.json().then((e=>e.data))))}async evalFormValuesActions(){throw new Error("not implemented")}async evalScript(){throw new Error("not implemented")}async setFormJSONUpdateBatchMode(){throw new Error("not implemented")}compareDocuments(){throw new Error("not implemented")}updateButtonIcon(){throw new Error("not implemented")}permissions(){return Promise.resolve(this._state.backendPermissions)}getDefaultGroup(){return this._state.defaultGroup}isCollaborationPermissionsEnabled(){return this._state.hasCollaborationPermissions}textForPageIndex(e){return this.corePDFBridge.getTextLines(e)}async getSuggestedLineHeightFactor(){return 1}async getAnnotationsByScale(){return[]}getAvailableFontFaces(){throw new i.uE("Custom fonts need to be mounted on the server in Server-Backed deployments.")}getContentTreeForPageIndex(e){return this.corePDFBridge.getContentTree(e)}getTextFromRects(e,t){const n=encodeURIComponent(JSON.stringify(t.map(p.w).toArray()));return this._fetch(`${this._state.documentURL}/page-${e}-highlighted?rects=${n}`).then((e=>e.json())).then((e=>e.text))}_getJSONRequestHandler(){return g.A}renderAnnotation(e,t,n,r,s){return this._requestRenderAnnotation(e,t,n,r,s)}async renderPageAnnotations(e,t,n){const r=this.provider,s=t.some((e=>e instanceof N.sb));s&&await r._setReadStateCallbacksPromise;const i=[],o=t.filter((e=>{const t=s?r._readStateCallbacks.getAnnotationWithFormField(e.id):null,n=t?.formField,o=(0,A.lG)(e,n);if(o&&n&&"number"==typeof e.pdfObjectId){i.find((e=>e.name===n.name))||i.push((0,m.cA)((0,k.Af)(n)))}return o&&"number"==typeof e.pdfObjectId}));if(0===o.size&&0===i.length)return Promise.resolve();const a=new Promise(((t,r)=>{const s=o.filter((e=>0!==Math.floor(e.boundingBox.width*n)&&0!==Math.floor(e.boundingBox.height*n))),{promise:a,cancel:l}=this._requestRenderAnnotations(e,s.map((e=>e.pdfObjectId)).toArray(),s.map((e=>Math.floor(e.boundingBox.width*n))).toArray(),s.map((e=>Math.floor(e.boundingBox.height*n))).toArray(),i);a.then((e=>{const n=e.map((e=>e&&(0,j.BJ)(e)));n.forEach((async(e,t)=>{const n=await e,r=s.get(t);if(r){const e=this.annotationAPStreamPromises.get(r.id);e&&(this.annotationAPStreamPromises=this.annotationAPStreamPromises.delete(r.id),e(n)),n&&this.cacheAPStream(n,r)}})),Promise.all(n).then((()=>t()))})).catch((e=>{l(),r(e)}))}));return this.pageAPStreamsPromises=this.pageAPStreamsPromises.set(e,a),a}renderDetachedAnnotation(e,t,n,r){return this._requestRenderAnnotation(e,null,t,n,r,!0)}async getAttachment(e){try{const t=await this._fetch(`${this._state.documentURL}/attachments/${e}`);switch(t.status){case 404:throw new i.uE("Attachment not Found.");case 200:return await t.blob();default:throw new i.uE("Bad Request.")}}catch(e){throw new i.uE(`Could not fetch attachment from Nutrient Document Engine. ${e}`)}}async search(e,t,n,r){let s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:D.n.TEXT;const o=`q=${i===D.n.PRESET?e.replace(/_/g,"-"):encodeURIComponent(e)}&start=${t}&limit=${n}&type=${i}&include_annotations=${s.toString()}&case_sensitive=${r.toString()}`,a=`${this._state.documentURL}/search?${o}`,l=await new g.A(a,this._state.token).request();return(0,d.g)(l.data)}async getMeasurementSnappingPoints(e){}async searchAndRedact(e,t){const{searchType:n,annotationPreset:r,searchInAnnotations:i,caseSensitive:o,startPageIndex:a,pageRange:l}=t,{color:h,fillColor:c,outlineColor:u,...d}=r,p=await this._fetch(`${this._state.documentURL}/redactions`,{method:"post",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({strategy:n,strategyOptions:{[n]:n===D.n.PRESET?e.replace(/_/g,"-"):e,includeAnnotations:i,caseSensitive:o,...void 0!==a&&{start:a},...void 0!==l&&{limit:l}},content:{...d,color:h&&h.toHex(),fillColor:c&&c.toHex(),outlineColor:u&&u.toHex()}})}),{data:m}=await p.json(),f=(0,s.B8)(m.annotations?.filter((e=>!!e.content)).map((e=>F.A.fromJSON(e.id,e.content)))||[]);if(f.size){const e=this._state.instantSettings;!this.isUsingInstantProvider()||e&&e.listenToServerChangesEnabled||await this.syncChanges()}return f}exportPDF(){let{flatten:e=!1,includeComments:t=!0,excludeAnnotations:n=!1,outputFormat:r=!1,optimize:s=!1,flattenElectronicSignatures:o=e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&!1===o)throw new i.uE("Cannot set `flattenElectronicSignatures` to `false` when `flatten` is set to `true`.");const a=`${this._state.documentURL}/pdf?token=${this._state.token}${e?`&flatten=${String(e)}`:""}&comments=${String(t)}&render_ap_streams=${String(!e)}&remove_annotations=${String(n)}${e?"":`&keep_signatures=${!o}`}`;if(s){const e={documentFormat:"pdf",grayscaleText:!1,grayscaleGraphics:!1,grayscaleFormFields:!1,grayscaleAnnotations:!1,grayscaleImages:!1,disableImages:!1,mrcCompression:!1,imageOptimizationQuality:2,linearize:!1};let t;if("boolean"!=typeof s){t={...e,...s}}else t=e;const{documentFormat:n,grayscaleText:r,grayscaleGraphics:i,grayscaleFormFields:o,grayscaleAnnotations:l,grayscaleImages:h,disableImages:c,mrcCompression:u,imageOptimizationQuality:d,linearize:p}=t;return fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:n,grayscaleText:r,grayscaleGraphics:i,grayscaleFormFields:o,grayscaleAnnotations:l,grayscaleImages:h,disableImages:c,mrcCompression:u,imageOptimizationQuality:d,linearize:p}}),credentials:"include"}).then((e=>e.arrayBuffer()))}if(r){const e={conformance:B.o.PDFA_2B,vectorization:!0,rasterization:!0};let t;if("boolean"!=typeof r){t={...e,...r}}else t=e;const{conformance:n,vectorization:s,rasterization:i}=t;return fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:"pdfa",conformance:n,vectorization:s,rasterization:i}}),credentials:"include"}).then((e=>e.arrayBuffer()))}return fetch(a,{method:"GET",credentials:"include"}).then((e=>e.arrayBuffer()))}exportOffice(e){let{format:t}=e;const n=`${this._state.documentURL}/build`;return this._fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:t.toLowerCase()}}),credentials:"include"}).then((e=>e.arrayBuffer())).catch((e=>{throw new i.uE(`Exporting to Office failed: ${e.message}`)}))}exportXFDF(){return this._fetch(`${this._state.documentURL}/document.xfdf`).then((e=>e.text()))}exportInstantJSON(e){return this._fetch(`${this._state.documentURL}/instant.json${"number"==typeof e?`?version=${e}`:""}`).then((e=>e.json()))}getPDFURL(){let{includeComments:e=!0,excludeAnnotations:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{promise:Promise.resolve(`${this._state.documentURL}/pdf?token=${this._state.token}&flatten=true&comments=${String(e)}&remove_annotations=${String(t)}`),revoke:()=>{}}}generatePDFObjectURL(){let e,{includeComments:t=!0,excludeAnnotations:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;return{promise:new Promise((s=>{this.exportPDF({flatten:!0,includeComments:t,excludeAnnotations:n}).then((t=>{if(r)return;const n=new Blob([t],{type:"application/pdf"});e=window.URL.createObjectURL(n),s(e)}))})),revoke:()=>{e&&window.URL.revokeObjectURL(e),r=!0}}}async getDocumentOutline(){let e;try{e=(await this._fetch(`${this._state.documentURL}/outline.json`).then((e=>e.json()))).data}catch(t){e={}}const t=Array.isArray(e.outline)?e.outline:[];return(0,s.B8)(t.map(_.r))}async setDocumentOutline(){throw new i.uE("Not implemented in Server backend.")}async getPageGlyphs(){throw new i.uE("Not implemented in Server backend.")}onKeystrokeEvent(){throw new Error("not implemented")}async getMeasurementScales(){let e;try{return e=(await this._fetch(`${this._state.documentURL}/measurement_content_formats`).then((e=>e.json()))).data,e}catch(e){throw new i.uE(`Fetching measurement scales failed: ${e}`)}}async getSecondaryMeasurementUnit(){let e;try{return e=(await this._fetch(`${this._state.documentURL}/secondary_measurement_unit`).then((e=>e.json()))).data,e}catch(e){throw new i.uE(`Fetching secondary measurement unit failed: ${e}`)}}async setSecondaryMeasurementUnit(e){try{const t=JSON.stringify({unitTo:e?e.unitTo:null,precision:e?e.precision:null});await this._fetch(`${this._state.documentURL}/secondary_measurement_unit`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Setting secondary measurement unit failed: ${e}`)}}async addMeasurementScale(e){try{const t=JSON.stringify((0,u.U)(e));await this._fetch(`${this._state.documentURL}/measurement_content_formats`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Adding a new measurement scale failed: ${e}`)}}async removeMeasurementScale(e){try{const t=JSON.stringify((0,u.U)(e));await this._fetch(`${this._state.documentURL}/measurement_content_formats/delete`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Removing scale failed: ${e}`)}}async applyOperationsAndReload(e){try{const t=await J(e);this._destroyProvider(),await this._fetch(`${this._state.documentURL}/apply-operations`,{method:"post",body:t,credentials:"include"})}catch(e){throw new i.uE(`Applying operations failed: ${e}`)}return this.reloadDocument()}async applyRedactionsAndReload(){try{return this._destroyProvider(),await this._fetch(`${this._state.documentURL}/redact`,{method:"post",credentials:"include"}),this.reloadDocument()}catch(e){throw this.provider.load(),new i.uE(`Applying redactions failed: ${e}`)}}async reloadDocument(){this.clearRenderedAnnotationsCache();try{return await this.load({password:this._password})}catch(e){throw new i.uE(`Reloading the document failed: ${e}`)}}async exportPDFWithOperations(e){try{const t=await J(e);return this._fetch(`${this._state.documentURL}/pdf-with-operations`,{method:"post",body:t,credentials:"include"}).then((e=>e.arrayBuffer()))}catch(e){throw new i.uE(`Exporting PDF with operations failed: ${e}`)}}async setSignaturesLTV(e){throw new Error("not implemented")}async getSignaturesInfo(){return this._refreshSignaturesInfoPromise&&await this._refreshSignaturesInfoPromise,this._state.digitalSignatures}refreshSignaturesInfo(){return this._refreshSignaturesInfoPromise||(this._refreshSignaturesInfoPromise=new Promise(((e,t)=>{this._fetch(`${this._state.documentURL}/signatures`,{method:"get",credentials:"include"}).then((e=>e.json())).then((t=>{let{data:n}=t;this._state=this._state.set("digitalSignatures",(0,m.N5)(n)),this._refreshSignaturesInfoPromise=null,e()})).catch((e=>{this._state=this._state.set("digitalSignatures",null),this._refreshSignaturesInfoPromise=null,t(e)}))}))),this._refreshSignaturesInfoPromise}async signDocumentAndReload(e,t){(0,i.V1)(void 0===t||"object"==typeof t,"Signing service data must be an object if specified.");try{if(void 0!==t&&"object"!=typeof t)throw new i.uE("Signing service data must be an object if specified.");(0,V.r6)(e);const n=e?{..."placeholderSize"in e?{estimatedSize:e.placeholderSize}:null,..."flatten"in e?{flatten:e.flatten}:null,...e?.signatureMetadata?{signatureMetadata:(0,m.sZ)(e.signatureMetadata)}:null,..."position"in e?{position:(0,m.qN)(e.position)}:null,..."appearance"in e?{appearance:await(0,m.z8)(e.appearance)}:null,..."formFieldName"in e?{formFieldName:e.formFieldName}:null,...void 0!==e?.signingData&&"signatureContainer"in e.signingData?{signatureContainer:e.signingData.signatureContainer}:null,...void 0!==e?.signingData&&"signatureType"in e.signingData?{signatureType:m.xz[e.signingData.signatureType]}:null}:null,r=e?.appearance?.watermarkImage||null,s=e?.appearance?.graphicImage||null,o={...t?{signingToken:t.signingToken}:null,...n},a=new FormData;if(a.append("data",JSON.stringify(o)),r&&a.append("image",r),s&&a.append("graphicImage",s),this._destroyProvider(),await this._fetch(`${this._state.documentURL}/sign`,{method:"post",body:a,credentials:"include"}),await this.reloadDocument(),e?.formFieldName)return e.formFieldName}catch(e){throw this.provider.load(),new i.uE(`Adding digital signature failed: ${e.message||e}`)}}async setFontSubstitutions(e){try{const t=`${this._state.documentURL}/font-substitutions`;await this._fetch(t,{method:"put",body:JSON.stringify({fontSubstitutions:e}),credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Error setting font substitution: ${e.message}`)}}getDocumentHandle(){return this._state.documentHandle}async getEmbeddedFiles(){const e=await this._fetch(`${this._state.documentURL}/embedded-files`,{method:"get",credentials:"include"}),{data:t}=await e.json();return(0,s.B8)(t?.embeddedFiles?.map((e=>{let{id:t,content:n}=e;return(0,U.r)(t,n)}))||[])}cancelRequests(){this._requestQueue.cancelAll()}_destroyProvider(){this.provider&&(this.provider._clients&&this.provider._clients.disconnect(),this.provider.destroy())}async _fetch(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"X-PSPDFKit-Token":this._state.token,"PSPDFKit-Platform":"web","PSPDFKit-Version":(0,R._q)()}});if(!n.ok){let e=await function(e){return e.clone().json().catch((()=>e.text()))}(n);e="object"==typeof e?e.reason:e;const t=e||`${n.status} ${n.statusText}`;throw new i.uE(t)}return n}syncChanges(){return this.provider.syncChanges()}async clearAPStreamCache(){}async runPDFFormattingScripts(){return[]}async runPDFFormattingScriptsFromWidgets(){return this.runPDFFormattingScripts()}async lazyLoadPages(){}async contentEditorReload(){return this._destroyProvider(),this.reloadDocument()}getOCGs(){throw new Error("not implemented")}getOCGVisibilityState(){throw new Error("not implemented")}setOCGVisibilityState(){throw new Error("not implemented")}async timestampData(e,t){throw new Error("not implemented")}async waitUntilFullyLoaded(e){throw new Error("not implemented")}}async function J(e){const t={},n=new WeakMap,r=await Promise.all(e.map((async(e,r)=>{if("importDocument"===e.type){const s=e.document;return(0,i.V1)(s instanceof File||s instanceof Blob,"Wrong `importDocument` operation `document` value: it must be a File or a Blob"),(0,O.g)(n,t,s,e,r,"document")}if("applyInstantJson"===e.type){const s=e.instantJson;(0,i.V1)("object"==typeof s&&null!==s,"Wrong `applyInstantJson` operation `instantJson` value: it must be an object");const o=JSON.stringify(s),a=new Blob([o],{type:"application/json"});return(0,O.g)(n,t,a,e,r,"dataFilePath")}if("applyXfdf"===e.type){const s=e.xfdf;(0,i.V1)("string"==typeof s,"Wrong `applyXfdf` operation `xfdf` value: it must be a string");const o=new Blob([s],{type:"application/vnd.adobe.xfdf"});return(0,O.g)(n,t,o,e,r,"dataFilePath")}return e}))),s=new FormData;s.append("operations",JSON.stringify({operations:r}));for(const e in t)s.append(e,t[e]);return s}},4824:(e,t,n)=>{"use strict";n.d(t,{S:()=>r,z:()=>s});const r={clientsPresenceEnabled:!0,listenToServerChangesEnabled:!0},s={clientsPresenceEnabled:!1,listenToServerChangesEnabled:!1}},93904:(e,t,n)=>{const r=Symbol("SemVer ANY");class s{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof s){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),h("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,h("comp",this)}parse(e){const t=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(h("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):(!(t=i(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=s;const i=n(98587),{safeRe:o,t:a}=n(99718),l=n(72111),h=n(57272),c=n(53908),u=n(78311)},78311:(e,t,n)=>{class r{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&E(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&m)|(this.options.loose&&f))+":"+e,n=s.get(t);if(n)return n;const r=this.options.loose,i=r?h[c.HYPHENRANGELOOSE]:h[c.HYPHENRANGE];e=e.replace(i,N(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(h[c.COMPARATORTRIM],u),a("comparator trim",e),e=e.replace(h[c.TILDETRIM],d),a("tilde trim",e),e=e.replace(h[c.CARETTRIM],p),a("caret trim",e);let l=e.split(" ").map((e=>w(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options)));r&&(l=l.filter((e=>(a("loose invalid filter",e,this.options),!!e.match(h[c.COMPARATORLOOSE]))))),a("range list",l);const E=new Map,v=l.map((e=>new o(e,this.options)));for(const e of v){if(g(e))return[e];E.set(e.value,e)}E.size>1&&E.has("")&&E.delete("");const y=[...E.values()];return s.set(t,y),y}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>v(n,t)&&e.set.some((e=>v(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(T(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const s=new(n(38357))({max:1e3}),i=n(98587),o=n(93904),a=n(57272),l=n(53908),{safeRe:h,t:c,comparatorTrimReplace:u,tildeTrimReplace:d,caretTrimReplace:p}=n(99718),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:f}=n(94493),g=e=>"<0.0.0-0"===e.value,E=e=>""===e.value,v=(e,t)=>{let n=!0;const r=e.slice();let s=r.pop();for(;n&&r.length;)n=r.every((e=>s.intersects(e,t))),s=r.pop();return n},w=(e,t)=>(a("comp",e,t),e=S(e,t),a("caret",e),e=$(e,t),a("tildes",e),e=P(e,t),a("xrange",e),e=A(e,t),a("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,$=(e,t)=>e.trim().split(/\s+/).map((e=>R(e,t))).join(" "),R=(e,t)=>{const n=t.loose?h[c.TILDELOOSE]:h[c.TILDE];return e.replace(n,((t,n,r,s,i)=>{let o;return a("tilde",e,t,n,r,s,i),y(n)?o="":y(r)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:y(s)?o=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(a("replaceTilde pr",i),o=`>=${n}.${r}.${s}-${i} <${n}.${+r+1}.0-0`):o=`>=${n}.${r}.${s} <${n}.${+r+1}.0-0`,a("tilde return",o),o}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>I(e,t))).join(" "),I=(e,t)=>{a("caret",e,t);const n=t.loose?h[c.CARETLOOSE]:h[c.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,s,i,o)=>{let l;return a("caret",e,t,n,s,i,o),y(n)?l="":y(s)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:y(i)?l="0"===n?`>=${n}.${s}.0${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.0${r} <${+n+1}.0.0-0`:o?(a("replaceCaret pr",o),l="0"===n?"0"===s?`>=${n}.${s}.${i}-${o} <${n}.${s}.${+i+1}-0`:`>=${n}.${s}.${i}-${o} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${i}-${o} <${+n+1}.0.0-0`):(a("no pr"),l="0"===n?"0"===s?`>=${n}.${s}.${i}${r} <${n}.${s}.${+i+1}-0`:`>=${n}.${s}.${i}${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${i} <${+n+1}.0.0-0`),a("caret return",l),l}))},P=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>b(e,t))).join(" ")),b=(e,t)=>{e=e.trim();const n=t.loose?h[c.XRANGELOOSE]:h[c.XRANGE];return e.replace(n,((n,r,s,i,o,l)=>{a("xRange",e,n,r,s,i,o,l);const h=y(s),c=h||y(i),u=c||y(o),d=u;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",h?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(c&&(i=0),o=0,">"===r?(r=">=",c?(s=+s+1,i=0,o=0):(i=+i+1,o=0)):"<="===r&&(r="<",c?s=+s+1:i=+i+1),"<"===r&&(l="-0"),n=`${r+s}.${i}.${o}${l}`):c?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:u&&(n=`>=${s}.${i}.0${l} <${s}.${+i+1}.0-0`),a("xRange return",n),n}))},A=(e,t)=>(a("replaceStars",e,t),e.trim().replace(h[c.STAR],"")),_=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(h[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),N=e=>(t,n,r,s,i,o,a,l,h,c,u,d,p)=>`${n=y(r)?"":y(s)?`>=${r}.0.0${e?"-0":""}`:y(i)?`>=${r}.${s}.0${e?"-0":""}`:o?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=y(h)?"":y(c)?`<${+h+1}.0.0-0`:y(u)?`<${h}.${+c+1}.0-0`:d?`<=${h}.${c}.${u}-${d}`:e?`<${h}.${c}.${+u+1}-0`:`<=${l}`}`.trim(),T=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(a(e[n].semver),e[n].semver!==o.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},53908:(e,t,n)=>{const r=n(57272),{MAX_LENGTH:s,MAX_SAFE_INTEGER:i}=n(94493),{safeRe:o,t:a}=n(99718),l=n(98587),{compareIdentifiers:h}=n(61123);class c{constructor(e,t){if(t=l(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>s)throw new TypeError(`version is longer than ${s} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],s=e.prerelease[t];if(r("prerelease compare",t,n,s),void 0===n&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===n)return-1;if(n!==s)return h(n,s)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const n=this.build[t],s=e.build[t];if(r("prerelease compare",t,n,s),void 0===n&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===n)return-1;if(n!==s)return h(n,s)}while(++t)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===h(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},57414:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},72111:(e,t,n)=>{const r=n(94641),s=n(13999),i=n(35580),o=n(54089),a=n(7059),l=n(25200);e.exports=(e,t,n,h)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,h);case"!=":return s(e,n,h);case">":return i(e,n,h);case">=":return o(e,n,h);case"<":return a(e,n,h);case"<=":return l(e,n,h);default:throw new TypeError(`Invalid operator: ${t}`)}}},46170:(e,t,n)=>{const r=n(53908),s=n(30144),{safeRe:i,t:o}=n(99718);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=i[o.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),i[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[o.COERCERTL].lastIndex=-1}else n=e.match(i[o.COERCE]);return null===n?null:s(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},40909:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n)=>{const s=new r(e,n),i=new r(t,n);return s.compare(i)||s.compareBuild(i)}},11763:(e,t,n)=>{const r=n(50560);e.exports=(e,t)=>r(e,t,!0)},50560:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},51832:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e,null,!0),s=r(t,null,!0),i=n.compare(s);if(0===i)return null;const o=i>0,a=o?n:s,l=o?s:n,h=!!a.prerelease.length;if(!!l.prerelease.length&&!h)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";const c=h?"pre":"";return n.major!==s.major?c+"major":n.minor!==s.minor?c+"minor":n.patch!==s.patch?c+"patch":"prerelease"}},94641:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>0===r(e,t,n)},35580:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)>0},54089:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)>=0},93007:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n,s,i)=>{"string"==typeof n&&(i=s,s=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,s,i).version}catch(e){return null}}},7059:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)<0},25200:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)<=0},32938:(e,t,n)=>{const r=n(53908);e.exports=(e,t)=>new r(e,t).major},46254:(e,t,n)=>{const r=n(53908);e.exports=(e,t)=>new r(e,t).minor},13999:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>0!==r(e,t,n)},30144:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},24493:(e,t,n)=>{const r=n(53908);e.exports=(e,t)=>new r(e,t).patch},31729:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},9970:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(t,e,n)},74277:(e,t,n)=>{const r=n(40909);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},97638:(e,t,n)=>{const r=n(78311);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},43927:(e,t,n)=>{const r=n(40909);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},56953:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},99589:(e,t,n)=>{const r=n(99718),s=n(94493),i=n(53908),o=n(61123),a=n(30144),l=n(56953),h=n(57414),c=n(93007),u=n(51832),d=n(32938),p=n(46254),m=n(24493),f=n(31729),g=n(50560),E=n(9970),v=n(11763),w=n(40909),y=n(43927),$=n(74277),R=n(35580),S=n(7059),I=n(94641),P=n(13999),b=n(54089),A=n(25200),_=n(72111),N=n(46170),T=n(93904),L=n(78311),O=n(97638),x=n(77631),F=n(19628),D=n(270),C=n(41261),U=n(13874),j=n(97075),k=n(75571),M=n(5342),G=n(76780),B=n(72525),V=n(75032);e.exports={parse:a,valid:l,clean:h,inc:c,diff:u,major:d,minor:p,patch:m,prerelease:f,compare:g,rcompare:E,compareLoose:v,compareBuild:w,sort:y,rsort:$,gt:R,lt:S,eq:I,neq:P,gte:b,lte:A,cmp:_,coerce:N,Comparator:T,Range:L,satisfies:O,toComparators:x,maxSatisfying:F,minSatisfying:D,minVersion:C,validRange:U,outside:j,gtr:k,ltr:M,intersects:G,simplifyRange:B,subset:V,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},94493:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},57272:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},61123:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),s=t.test(n);return r&&s&&(e=+e,n=+n),e===n?0:r&&!s?-1:s&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},98587:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},99718:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:i}=n(94493),o=n(57272),a=(t=e.exports={}).re=[],l=t.safeRe=[],h=t.src=[],c=t.t={};let u=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[d,s]],m=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),s=u++;o(e,s,t),c[e]=s,h[s]=t,a[s]=new RegExp(t,n?"g":void 0),l[s]=new RegExp(r,n?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${h[c.NUMERICIDENTIFIER]})\\.(${h[c.NUMERICIDENTIFIER]})\\.(${h[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${h[c.NUMERICIDENTIFIERLOOSE]})\\.(${h[c.NUMERICIDENTIFIERLOOSE]})\\.(${h[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${h[c.NUMERICIDENTIFIER]}|${h[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${h[c.NUMERICIDENTIFIERLOOSE]}|${h[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${h[c.PRERELEASEIDENTIFIER]}(?:\\.${h[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${h[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${h[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${h[c.BUILDIDENTIFIER]}(?:\\.${h[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${h[c.MAINVERSION]}${h[c.PRERELEASE]}?${h[c.BUILD]}?`),m("FULL",`^${h[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${h[c.MAINVERSIONLOOSE]}${h[c.PRERELEASELOOSE]}?${h[c.BUILD]}?`),m("LOOSE",`^${h[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${h[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${h[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${h[c.XRANGEIDENTIFIER]})(?:\\.(${h[c.XRANGEIDENTIFIER]})(?:\\.(${h[c.XRANGEIDENTIFIER]})(?:${h[c.PRERELEASE]})?${h[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${h[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[c.XRANGEIDENTIFIERLOOSE]})(?:${h[c.PRERELEASELOOSE]})?${h[c.BUILD]}?)?)?`),m("XRANGE",`^${h[c.GTLT]}\\s*${h[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${h[c.GTLT]}\\s*${h[c.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),m("COERCERTL",h[c.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${h[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${h[c.LONETILDE]}${h[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${h[c.LONETILDE]}${h[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${h[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${h[c.LONECARET]}${h[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${h[c.LONECARET]}${h[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${h[c.GTLT]}\\s*(${h[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${h[c.GTLT]}\\s*(${h[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${h[c.GTLT]}\\s*(${h[c.LOOSEPLAIN]}|${h[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${h[c.XRANGEPLAIN]})\\s+-\\s+(${h[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${h[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${h[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},38357:(e,t,n)=>{"use strict";const r=n(4927),s=Symbol("max"),i=Symbol("length"),o=Symbol("lengthCalculator"),a=Symbol("allowStale"),l=Symbol("maxAge"),h=Symbol("dispose"),c=Symbol("noDisposeOnSet"),u=Symbol("lruList"),d=Symbol("cache"),p=Symbol("updateAgeOnGet"),m=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[a])return}else n&&(e[p]&&(r.value.now=Date.now()),e[u].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},E=e=>{if(e[i]>e[s])for(let t=e[u].tail;e[i]>e[s]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[h]&&e[h](n.key,n.value),e[i]-=n.length,e[d].delete(n.key),e[u].removeNode(t)}};class w{constructor(e,t,n,r,s){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=s||0}}const y=(e,t,n,r)=>{let s=n.value;g(e,s)&&(v(e,n),e[a]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[s]=e.max||1/0;const t=e.length||m;if(this[o]="function"!=typeof t?m:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[h]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[p]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[s]=e||1/0,E(this)}get max(){return this[s]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,E(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=m),e!==this[o]&&(this[o]=e,this[i]=0,this[u].forEach((e=>{e.length=this[o](e.value,e.key),this[i]+=e.length}))),E(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let n=this[u].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[u].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){this[h]&&this[u]&&this[u].length&&this[u].forEach((e=>this[h](e.key,e.value))),this[d]=new Map,this[u]=new r,this[i]=0}dump(){return this[u].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,a=this[o](t,e);if(this[d].has(e)){if(a>this[s])return v(this,this[d].get(e)),!1;const o=this[d].get(e).value;return this[h]&&(this[c]||this[h](e,o.value)),o.now=r,o.maxAge=n,o.value=t,this[i]+=a-o.length,o.length=a,this.get(e),E(this),!0}const p=new w(e,t,a,r,n);return p.length>this[s]?(this[h]&&this[h](e,t),!1):(this[i]+=p.length,this[u].unshift(p),this[d].set(e,this[u].head),E(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[u].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],s=r.e||0;if(0===s)this.set(r.k,r.v);else{const e=s-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},50723:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},4927:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,s=arguments.length;n<s;n++)t.push(arguments[n]);return t}function s(e,t,n){var r=t===e.head?new a(n,null,t,e):new a(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function i(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,n,r){if(!(this instanceof a))return new a(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=a,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,s=this.head;null!==s;)n.push(e.call(t,s.value,this)),s=s.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,s=this.tail;null!==s;)n.push(e.call(t,s.value,this)),s=s.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var s=0;null!==r;s++)n=e(n,r.value,s),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var s=this.length-1;null!==r;s--)n=e(n,r.value,s),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=0,i=this.head;null!==i&&s<e;s++)i=i.next;for(;null!==i&&s<t;s++,i=i.next)n.push(i.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=this.length,i=this.tail;null!==i&&s>t;s--)i=i.prev;for(;null!==i&&s>e;s--,i=i.prev)n.push(i.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;var o=[];for(r=0;i&&r<t;r++)o.push(i.value),i=this.removeNode(i);null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(r=0;r<n.length;r++)i=s(this,i,n[r]);return o},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(50723)(r)}catch(e){}},75571:(e,t,n)=>{const r=n(97075);e.exports=(e,t,n)=>r(e,t,">",n)},76780:(e,t,n)=>{const r=n(78311);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},5342:(e,t,n)=>{const r=n(97075);e.exports=(e,t,n)=>r(e,t,"<",n)},19628:(e,t,n)=>{const r=n(53908),s=n(78311);e.exports=(e,t,n)=>{let i=null,o=null,a=null;try{a=new s(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==o.compare(e)||(i=e,o=new r(i,n)))})),i}},270:(e,t,n)=>{const r=n(53908),s=n(78311);e.exports=(e,t,n)=>{let i=null,o=null,a=null;try{a=new s(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==o.compare(e)||(i=e,o=new r(i,n)))})),i}},41261:(e,t,n)=>{const r=n(53908),s=n(78311),i=n(35580);e.exports=(e,t)=>{e=new s(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const s=e.set[t];let o=null;s.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!i(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||n&&!i(n,o)||(n=o)}return n&&e.test(n)?n:null}},97075:(e,t,n)=>{const r=n(53908),s=n(93904),{ANY:i}=s,o=n(78311),a=n(97638),l=n(35580),h=n(7059),c=n(25200),u=n(54089);e.exports=(e,t,n,d)=>{let p,m,f,g,E;switch(e=new r(e,d),t=new o(t,d),n){case">":p=l,m=c,f=h,g=">",E=">=";break;case"<":p=h,m=u,f=l,g="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let o=null,a=null;if(r.forEach((e=>{e.semver===i&&(e=new s(">=0.0.0")),o=o||e,a=a||e,p(e.semver,o.semver,d)?o=e:f(e.semver,a.semver,d)&&(a=e)})),o.operator===g||o.operator===E)return!1;if((!a.operator||a.operator===g)&&m(e,a.semver))return!1;if(a.operator===E&&f(e,a.semver))return!1}return!0}},72525:(e,t,n)=>{const r=n(97638),s=n(50560);e.exports=(e,t,n)=>{const i=[];let o=null,a=null;const l=e.sort(((e,t)=>s(e,t,n)));for(const e of l){r(e,t,n)?(a=e,o||(o=e)):(a&&i.push([o,a]),a=null,o=null)}o&&i.push([o,null]);const h=[];for(const[e,t]of i)e===t?h.push(e):t||e!==l[0]?t?e===l[0]?h.push(`<=${t}`):h.push(`${e} - ${t}`):h.push(`>=${e}`):h.push("*");const c=h.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return c.length<u.length?c:t}},75032:(e,t,n)=>{const r=n(78311),s=n(93904),{ANY:i}=s,o=n(97638),a=n(50560),l=[new s(">=0.0.0-0")],h=[new s(">=0.0.0")],c=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?l:h}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=h}const r=new Set;let s,c,p,m,f,g,E;for(const t of e)">"===t.operator||">="===t.operator?s=u(s,t,n):"<"===t.operator||"<="===t.operator?c=d(c,t,n):r.add(t.semver);if(r.size>1)return null;if(s&&c){if(p=a(s.semver,c.semver,n),p>0)return null;if(0===p&&(">="!==s.operator||"<="!==c.operator))return null}for(const e of r){if(s&&!o(e,String(s),n))return null;if(c&&!o(e,String(c),n))return null;for(const r of t)if(!o(e,String(r),n))return!1;return!0}let v=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver,w=!(!s||n.includePrerelease||!s.semver.prerelease.length)&&s.semver;v&&1===v.prerelease.length&&"<"===c.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(E=E||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,s)if(w&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===w.major&&e.semver.minor===w.minor&&e.semver.patch===w.patch&&(w=!1),">"===e.operator||">="===e.operator){if(m=u(s,e,n),m===e&&m!==s)return!1}else if(">="===s.operator&&!o(s.semver,String(e),n))return!1;if(c)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(f=d(c,e,n),f===e&&f!==c)return!1}else if("<="===c.operator&&!o(c.semver,String(e),n))return!1;if(!e.operator&&(c||s)&&0!==p)return!1}return!(s&&g&&!c&&0!==p)&&(!(c&&E&&!s&&0!==p)&&(!w&&!v))},u=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let s=!1;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,n);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}},77631:(e,t,n)=>{const r=n(78311);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},13874:(e,t,n)=>{const r=n(78311);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}}}]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Nutrient Web SDK 1.
|
|
2
|
+
* Nutrient Web SDK 1.2.0 (https://www.nutrient.io/sdk/web)
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2016-2025 PSPDFKit GmbH. All rights reserved.
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*
|
|
11
11
|
* PSPDFKit uses several open source third-party components: https://www.nutrient.io/legal/acknowledgements/web-acknowledgements/
|
|
12
12
|
*/
|
|
13
|
-
"use strict";(globalThis.webpackChunkNutrientViewer=globalThis.webpackChunkNutrientViewer||[]).push([[362],{63993:(t,e,a)=>{a.r(e),a.d(e,{corePool:()=>l.mG,customFontsPromiseRef:()=>_,default:()=>b,loadModule:()=>F,normalizeCoreOptions:()=>l.DO,validateStandaloneConfiguration:()=>l.mn});var s=a(49568),i=a(85409),n=a(55994),
|
|
13
|
+
"use strict";(globalThis.webpackChunkNutrientViewer=globalThis.webpackChunkNutrientViewer||[]).push([[362],{63993:(t,e,a)=>{a.r(e),a.d(e,{corePool:()=>l.mG,customFontsPromiseRef:()=>_,default:()=>b,loadModule:()=>F,normalizeCoreOptions:()=>l.DO,validateStandaloneConfiguration:()=>l.mn});var s=a(49568),i=a(85409),n=a(55994),o=a(41204),r=a(85410),l=a(20873),u=a(37506),c=a(85553),d=a(89055),h=a(68322),m=a(24934),f=a(84318);async function p(t,e){const a=await fetch(t,{credentials:"same-origin"}).finally((()=>{e?.()}));return{isFullyAvailable:!0,fullDocument:await a.arrayBuffer()}}async function g(t,e,a,s){if(t instanceof ArrayBuffer)return{isFullyAvailable:!0,fullDocument:t};(0,i.V1)("string"==typeof t,"Document is not a string");let n=!1;const{linearizedInstance:o,serverSupportsRangeRequests:r}=await(async()=>{if(a&&function(t){try{const e=new URL(t);return"http:"===e.protocol||"https:"===e.protocol}catch(t){return!1}}(t)){const a=e.initializeLinearizedInstance();return{linearizedInstance:a,serverSupportsRangeRequests:await a.initialize(t)}}return{linearizedInstance:null,serverSupportsRangeRequests:!1}})();try{if(!r)return n=!0,p(t,s);(0,i.V1)(o,"Loader is not available"),o.kickStartDownload();if(!await o.waitUntilIsLinearizedIsKnown())return o.destroy(),n=!0,p(t,s);s?.();const e=await o.waitUntilDocumentInfoAvailable();return e?(s?.(),{isFullyAvailable:!1,documentResponse:e}):(o.destroy(),n=!0,p(t,s))}catch(e){if(o?.destroy(),n)throw e;return p(t,s)}}var y=a(33075);let w;class b extends l.Ay{constructor(t){const e=t.baseUrl||(0,r.$_)(window.document),a=t.baseCoreUrl||e,s=t.baseProcessorEngineUrl||e,n={...t,baseUrl:e,baseCoreUrl:a,baseProcessorEngineUrl:s};if("string"!=typeof n.baseUrl)throw new i.uE("`baseUrl` is mandatory and must be a valid URL, e.g. `https://example.com/`");if("string"!=typeof n.document&&!(n.document instanceof ArrayBuffer))throw new i.uE("document must be either an URL to a supported document type (PDF and images), e.g. `https://example.com/document.pdf`, or an `ArrayBuffer`");if(w&&w!==n.licenseKey)throw new i.uE("Trying to re-use instance with a different licenseKey.\nUnfortunately we only allow one licenseKey per instance.\nPlease contact support for further assistance.");if("string"==typeof n.licenseKey&&n.licenseKey.startsWith("TRIAL-"))throw new i.uE("You're using the npm key instead of the license key. This key is used to download the PSPDFKit for Web package via the node package manager.\n\nLeave out the license key to activate as a trial.");super(n),this.destroyed=!1,this.activeConfiguration=t}async load(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=.2;t.progressCallback&&t.progressCallback("loading",e),this._isPDFJavaScriptEnabled=t.isPDFJavaScriptEnabled,"string"==typeof this._state.document&&(0,y.XC)(this._state.baseUrl,this._state.document,this._state.productId);const a=await F(this.client,this._state).finally((()=>{e+=.3,t.progressCallback&&t.progressCallback("loading",e)})),n=g(this._state.document,this.corePDFBridge,this._state.allowLinearizedLoading,(()=>{e+=.3,t.progressCallback&&t.progressCallback("loading",e)}));(0,i.V1)(a);const{features:r,signatureFeatureAvailability:l,capabilities:u}=a;if(this._state.productId===h.v.SharePoint&&"string"==typeof this._state.document&&Array.isArray(a.afu)){const t=new URL(this._state.document,this._state.baseUrl);if(!a.afu.some((e=>t.hostname.match(e))))throw new i.uE(`The document origin ${t.hostname} is not authorized.`)}const f=l===c.g.ELECTRONIC_SIGNATURES&&(0,d.UX)(r)&&this._state.forceLegacySignaturesFeature?c.g.LEGACY_SIGNATURES:l;this._state=this._state.set("features",(0,s.B8)(r)).set("signatureFeatureAvailability",f),w=this._state.licenseKey;const p=await n;let b=null;if(p.isFullyAvailable){let e=p.fullDocument.slice(0);try{this.destroyed?(e=null,b=await new Promise((()=>{}))):(b=await this.client.openDocument(p.fullDocument,{password:t.password,initialPageIndex:"number"==typeof t.initialPageIndex?t.initialPageIndex:0,formsConfiguration:this._formsConfiguration}),e=null)}catch(a){if("INVALID_PASSWORD"===a.message&&this._state.document instanceof ArrayBuffer&&(this._state=this._state.set("document",a.callArgs[0])),"IMAGE_DOCUMENTS_NOT_LICENSED"===a.message&&(a.message="The image documents feature is not enabled for your license key. Please contact support or sales to purchase the UI module for your product."),!(u?.includes("GdPictureWASM")&&a instanceof i.uE&&a.message.includes("File not in PDF format or corrupted.")))throw a;{(0,i.V1)(e);let s,n=(0,m.jU)();try{n||(n=(0,m.NY)({baseUrl:this._state.baseProcessorEngineUrl,mainThreadOrigin:this._state.appName||(0,o.D5)()||window.location.origin,licenseKey:this._state.licenseKey||void 0,customFonts:this._state.customFonts||void 0,dynamicFonts:this._state.dynamicFonts||void 0,fontSubstitutions:this._state.fontSubstitutions,processorEngine:this._state.processorEngine}),(0,m.Pm)(n)),s=await n,(0,i.V1)(s);const a=await s.toPdf(e);b=await this.client.openDocument(a,{password:t.password,initialPageIndex:"number"==typeof t.initialPageIndex?t.initialPageIndex:0,formsConfiguration:this._formsConfiguration})}catch(t){throw"INVALID_PASSWORD"===t.message&&this._state.document instanceof ArrayBuffer&&(this._state=this._state.set("document",a.callArgs[0])),"IMAGE_DOCUMENTS_NOT_LICENSED"===t.message&&(t.message="The image documents feature is not enabled for your license key. Please contact support or sales to purchase the UI module for your product."),t}finally{e=null,s?.destroy(),(0,m.Pm)(null)}}}(0,i.V1)(b),await this.afterDocumentLoaded(b)}else b=p.documentResponse;return this._state=this._state.set("documentResponse",b),{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:!!t.password,password:t.password,allowedTileScales:"all",evaluation:a.evaluation,linearizedLoading:!p.isFullyAvailable,documentResponse:b}}destroy(){this.destroyed=!0,super.destroy()}getCustomFontsPromise(){return _}async afterDocumentLoaded(t){if(this._isPDFJavaScriptEnabled&&(this._initialChanges=await this.client.enablePDFJavaScriptSupport()),this._XFDF&&await this.client.importXFDF(this._XFDF.source,this._XFDF.keepCurrentAnnotations,this._XFDF.ignorePageRotation),this._instantJSON&&this._instantJSON.pdfId&&t.ID.permanent){const e=this._instantJSON.pdfId,a=t.ID;if(e.permanent!==a.permanent)throw new i.uE("Could not instantiate from Instant JSON: Permanent PDF ID mismatch.\nPlease use the same PDF document that was used to create this Instant JSON.\nFor more information, please visit: https://www.nutrient.io/guides/web/importing-exporting/instant-json/");if(e.changing!==a.changing)throw new i.uE("Could not instantiate from Instant JSON: Changing PDF ID mismatch.\nPlease use the same revision of this PDF document that was used to create this Instant JSON.\nFor more information, please visit: https://www.nutrient.io/guides/web/importing-exporting/instant-json/")}if(this._trustedCAsCallback)try{const t=await this._trustedCAsCallback();if(!Array.isArray(t))throw new i.uE("Certificates response must be an array");if(t.some((t=>!(t instanceof ArrayBuffer)&&"string"!=typeof t)))throw new i.uE("All certificates must be passed as ArrayBuffer (DER) or string (PEM)");await this.client.loadCertificates(t.map(u.PI))}catch(t){throw new i.uE(`Could not retrieve certificates for digital signatures validation: ${t.message}.`)}}async waitUntilFullyLoaded(t){(0,i.V1)(this.corePDFBridge.linearizedInstance,"Linearized loader is not available");return this.corePDFBridge.linearizedInstance.waitUntilDownloaded().then((async()=>{await this.corePDFBridge.normallyOpenLinearizedDocument(this,{password:t,initialPageIndex:0,formsConfiguration:this._formsConfiguration}),await this.afterDocumentLoaded(this._state.documentResponse)}))}async getDocumentBytes(){if(this._state.document instanceof ArrayBuffer)return this._state.document;if("string"==typeof this._state.document){const t=await fetch(this._state.document);if(!t.ok)throw new i.uE(`Failed to fetch document: ${t.statusText}`);return t.arrayBuffer()}throw new i.uE("Document bytes are not available")}}const _={current:void 0};async function F(t,e){_.current=_.current||(e.customFonts?(0,f.eY)(e.customFonts):void 0);const a=(0,r.f)(e.appName);return t.loadNativeModule(e.baseCoreUrl,{mainThreadOrigin:a,disableWebAssemblyStreaming:e.disableWebAssemblyStreaming,enableAutomaticLinkExtraction:e.enableAutomaticLinkExtraction,overrideMemoryLimit:e.overrideMemoryLimit,workerSpawnerFn:()=>(0,n.pj)(e.inlineWorkers)}).then((async()=>t.load(e.baseCoreUrl,e.licenseKey,{mainThreadOrigin:a,..._.current?{customFonts:await _.current}:null,dynamicFonts:e.dynamicFonts,productId:e.productId,featureFlags:e.enableCoreUnifiedComments?["UnifiedComments"]:void 0})))}}}]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Nutrient Web SDK 1.2.0 (https://www.nutrient.io/sdk/web)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2016-2025 PSPDFKit GmbH. All rights reserved.
|
|
5
|
+
*
|
|
6
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
7
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
8
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
9
|
+
* This notice may not be removed from this file.
|
|
10
|
+
*
|
|
11
|
+
* PSPDFKit uses several open source third-party components: https://www.nutrient.io/legal/acknowledgements/web-acknowledgements/
|
|
12
|
+
*/
|
|
13
|
+
"use strict";(globalThis.webpackChunkNutrientViewer=globalThis.webpackChunkNutrientViewer||[]).push([[42],{26175:(e,t,n)=>{n.d(t,{D:()=>h});var a=n(67136),i=n(2752),s=n(49568),o=n(85409),r=n(55994),c=n(47240),l=n(89574),d=n(97881),u=n(9939),m=n(32784);class h{constructor(e){(0,a.A)(this,"linearizedInstance",null),this.ctx=e}initializeLinearizedInstance(){if(this.linearizedInstance&&!this.linearizedInstance.isDestroyed())throw new o.uE("Linearized loader is already allocated");(0,o.V1)(this.ctx.wasmCtx,"Wasm context is not available");const e=this.linearizedInstance=new i.MX.LinearizedInstance(this.ctx.wasmCtx,r.EA);return(0,o.V1)(this.linearizedInstance,"Linearized loader is not available"),(0,c.attachLinearizedInstance)(this.ctx,e),this.linearizedInstance}async normallyOpenLinearizedDocument(e,t){(0,o.V1)(this.ctx.wasmCtx,"Wasm context is not available"),(0,o.V1)(this.linearizedInstance,"Linearized loader is not available"),(0,o.V1)(this.linearizedInstance.state===i.MX.LinearizedInstanceState.Complete,"PDF isnt completely downloaded"),(0,c.removeLinearizedInstance)(this.ctx),this.linearizedInstance=null,await e.client.openCreateFilePathDocument(t)}destroy(){(0,c.removeLinearizedInstance)(this.ctx)}fetchPageInfoWhileDownloading(e,t){const n=this.linearizedInstance;return(0,o.V1)(n,"Linearized loader is not available"),n.whenPageAvailable(e,t)}renderTile(e,t,n,a,s,o){let r;o&&(r={annotations:o.annotations.filter(l.mH).map(d.eq).toJS().map((e=>({content:e}))),formFieldValues:o.formFieldValues.map(d.cA).toJS(),formFields:o.formFields.map(d.T7).toJS(),signatures:o.signatures||[],attachments:o.attachments});const c=i.MX.Renderer.renderTile(this.ctx,e,t,n,{renderForPrinting:a,renderText:s,priority:t.width===n.width&&t.height===n.height?i.MX.Priority.High:i.MX.Priority.Normal},r).then((e=>(0,u.vB)({buffer:e.buffer.buffer,width:n.width,height:n.height,format:e.format}).then((e=>{if(null===e)throw new Error("Image handle is null");return e}))));return{promise:c.promise,cancel:c.cancel}}getTextLines(e){return i.MX.Text.getTextForPage(this.ctx,e).then((t=>(0,m.K0)({textLines:t},e)))}getContentTree(e){return i.MX.Text.getContentTreeForPage(this.ctx,e).then((t=>{let n=[],a=0,i=0;return n=t.reduce(((t,n)=>{let{nodes:s}=n;const o=(0,m.l1)(s,e,t.length,a,i);return a+=o.reduce(((e,t)=>{let{content:n}=t;return e+(0,m.Y_)(n).size}),0),i+=o.reduce(((e,t)=>{let{content:n}=t;return e+(0,m.M3)(n).size}),0),t.concat(o)}),[]),(0,s.B8)(n)}))}compareText(e){const t={data:e.originalDocument.arrayBuffer,password:e.originalDocument.password,pageIndexes:e.originalDocument.pageIndexes},n={data:e.changedDocument.arrayBuffer,password:e.changedDocument.password,pageIndexes:e.changedDocument.pageIndexes};return i.MX.TextComparison.compareText(this.ctx,t,n,{numberOfContextWords:e.comparisonOperation.options?.numberOfContextWords}).then((e=>e))}}},72262:(e,t,n)=>{n.d(t,{K:()=>d});var a=n(67136),i=n(49568),s=n(85409),o=n(76117),r=n(89574),c=n(28650),l=n(69371);class d{constructor(){(0,a.A)(this,"attachmentsCache",(0,i.T5)()),(0,a.A)(this,"cachedAPStreams",(0,i.T5)()),(0,a.A)(this,"pageAPStreamsPromises",(0,i.T5)()),(0,a.A)(this,"annotationAPStreamPromises",(0,i.T5)()),(0,a.A)(this,"_cachedRenderedAnnotations",(0,i.uY)()),(0,a.A)(this,"_objectURLs",{}),(0,a.A)(this,"_makeEnqueuedRelease",((e,t)=>{if("IMG"===e?.element?.tagName){const n=e.element.src;if(!n)return;"number"==typeof this._objectURLs[n]?this._objectURLs[n]++:this._objectURLs[n]=1;const a=e.release;e.release=()=>{this._objectURLs[n]--,this._objectURLs[n]<=0&&(a?.(),this._cachedRenderedAnnotations.has(t)&&(this._cachedRenderedAnnotations=this._cachedRenderedAnnotations.delete(t)),delete this._objectURLs[n])}}})),(0,a.A)(this,"_cacheableRenderedAnnotationSetExpire",(e=>{const t=this._cachedRenderedAnnotations.get(e);(0,s.V1)(t),t.timeout&&clearTimeout(t.timeout);const n=setTimeout((()=>{this._cachedRenderedAnnotations.has(e)&&(this._cachedRenderedAnnotations=this._cachedRenderedAnnotations.delete(e))}),3e4);this._cachedRenderedAnnotations=this._cachedRenderedAnnotations.update(e,(e=>({...e,timeout:n})))})),(0,a.A)(this,"_addCachedRenderedAnnotation",((e,t)=>{let{width:n,height:a,noZoom:i,APStreamPromise:s}=t;if(this._cachedRenderedAnnotations.size>1e3){const e=this._cachedRenderedAnnotations.keySeq().first();e&&(this._cachedRenderedAnnotations=this._cachedRenderedAnnotations.delete(e))}this._cachedRenderedAnnotations=this._cachedRenderedAnnotations.set(e,{width:n,height:a,noZoom:i,APStreamPromise:s}),this._cacheableRenderedAnnotationSetExpire(e)}))}getAnnotationFormFieldAndValue(e){const t=this.provider;(0,s.V1)(t instanceof t.constructor,"Backend can only use backend annotation provider");const n=e instanceof o.sb?t._readStateCallbacks?.getFormFieldByName(e.formFieldName):null;return{formField:n,formFieldValue:!n||n instanceof o.Vw?null:new o.E2({name:n.name,value:void 0!==n.formattedValue?n.formattedValue:"string"==typeof n.value?n.value:n.values})}}getAnnotationAvailableVariants(e){const t=this.provider;(0,s.V1)(t instanceof t.constructor,"Backend can only use backend annotation provider");return[...t._readStateCallbacks?.getAvailableVariants(e)||[],"normal"]}cachedRenderAnnotation(e,t,n,a,i,o){const c=this.provider;(0,s.V1)(c instanceof c.constructor,"Backend can only use backend annotation provider");const{formField:l,formFieldValue:d}=this.getAnnotationFormFieldAndValue(e);if(!(0,r.lG)(e,l))return this.renderAnnotation(e,d,t,n,a,i,o);const u=this.getAnnotationAvailableVariants(e);let m=!1,h=()=>{m=!0};return{promise:new Promise((async(s,r)=>{const c=t=>{const n=this.annotationAPStreamPromises.get(e.id);n&&(this.annotationAPStreamPromises=this.annotationAPStreamPromises.delete(e.id),n(t))},l=this.annotationAPStreamPromises.get(e.id);this.annotationAPStreamPromises=this.annotationAPStreamPromises.set(e.id,s),l&&l(null);try{const r=this.pageAPStreamsPromises.get(e.pageIndex);if(!r){const t=new Promise((t=>{this.annotationAPStreamPromises=this.annotationAPStreamPromises.set(e.id,t)}));return void s(await t)}await r;const l=this.cachedAPStreams.get(e.pageIndex);if(l){const t=l?l.get(e.id):null;if(t)return void c(this.getAPStream(t,i))}const{promise:p,cancel:f}=this.renderAPStream(e,d,t,n,a,u,i,o);if(m)c(null);else if(h=f,u.length>1){const t=await Promise.all(p.map((e=>e.promise)));c(t[u.indexOf(i||"normal")]),t.some(Boolean)&&this.cacheAPStream(u.reduce(((e,n,a)=>t[a]?{...e,[n]:t[a]}:e),{}),e)}else{const t=await p,n=t?this.getAPStream(t,i):null;c(n),n&&this.cacheAPStream(t,e)}}catch(e){r(e)}})),cancel:h}}cacheAPStream(e,t){let n=this.cachedAPStreams.get(t.pageIndex);n||(this.cachedAPStreams=this.cachedAPStreams.set(t.pageIndex,(0,i.T5)()),n=this.cachedAPStreams.get(t.pageIndex)),this.cachedAPStreams=this.cachedAPStreams.setIn([t.pageIndex,t.id],e)}clearAllPageAPStreams(e){const t=this.cachedAPStreams.get(e);t&&(t.forEach((e=>{this.releaseAPStream(e)})),this.cachedAPStreams=this.cachedAPStreams.delete(e)),this.pageAPStreamsPromises=this.pageAPStreamsPromises.delete(e)}clearPageAPStreams(e,t){const n=this.cachedAPStreams.get(e);n&&(n.filter(((e,n)=>t.has(n))).forEach((e=>{this.releaseAPStream(e)})),this.cachedAPStreams=this.cachedAPStreams.updateIn([e],(0,l.C$)((e=>e.filter(((e,n)=>!t.has(n)))))))}getAPStream(e,t){return e instanceof c.A?e:e?.[t||"normal"]||null}renderAPStream(e,t,n,a,i,s,o,r){if(s.length>1){const o=s.map((s=>this.renderAnnotation(e,t,n,a,i,"normal"!==s?s:void 0,r)));return{promise:o,cancel:()=>{o.forEach((e=>{e.cancel()}))}}}return this.renderAnnotation(e,t,n,a,i,o,r)}releaseAPStream(e){e instanceof c.A?e.release():Object.values(e).forEach((e=>{e.release()}))}isVisuallyIdenticalAnnotationCached(e){let{annotation:t,providedVisualAnnotationIndex:n,width:a,height:i}=e;if(!(0,r.cu)(t))return!1;const o=n||(0,r.sS)(t);if(!this._cachedRenderedAnnotations.has(o))return!1;const c=this._cachedRenderedAnnotations.get(o);return(0,s.V1)(c),(0,r.Ab)({noZoom:c.noZoom&&t.noZoom,cachedRenderedAnnotationWidth:c.width,cachedRenderedAnnotationHeight:c.height,testAnnotationWidth:a,testAnnotationHeight:i})}cachedRenderedAnnotationDiscardablePromise(e,t){let{promise:n,resolve:a,reject:i}=t;const o=this._cachedRenderedAnnotations.get(e);return(0,s.V1)(o),o.APStreamPromise.then((t=>{let n;return t&&(n=new c.A(t.element.cloneNode(!0),t.release),this._makeEnqueuedRelease(n,e),this._cacheableRenderedAnnotationSetExpire(e)),a(n),n})).catch(i),{promise:n,cancel:()=>{}}}clearRenderedAnnotationsCache(){this._cachedRenderedAnnotations.forEach((e=>{let{APStreamPromise:t,timeout:n}=e;t.then((e=>{e?.release()})),n&&clearTimeout(n)})),this._cachedRenderedAnnotations=(0,i.T5)(),this._objectURLs={}}}},20873:(e,t,n)=>{n.d(t,{mG:()=>re,Ay:()=>ce,DO:()=>le,mn:()=>de});var a=n(67136),i=n(49568),s=n(55994),o=n(85409),r=n(45646),c=n(6163),l=n(80018),d=n(2752),u=n(41204),m=n(95248),h=n(9939),p=n(41477),f=n(89574),g=n(72262),y=n(37361),b=n(47159),A=n(97881),S=n(45467),P=n(82987),w=n(78625),_=n(74111),F=n(78236);class v extends((0,i.mS)({alreadyLoadedPages:(0,i.T5)(),isLoaded:!1,isDestroyed:!1})){}const k={skippedPdfObjectIds:[],skippedPdfBookmarkIds:[],annotations:[],bookmarks:[],formFieldValues:[],formFields:[],attachments:{}};class C{constructor(e,t){(0,a.A)(this,"_state",new v),(0,a.A)(this,"_formFieldsLoadedPromise",null),(0,a.A)(this,"_objectCreationPromises",(0,i.T5)()),(0,a.A)(this,"_loadBookmarksPromise",null),(0,a.A)(this,"_commentsLoadedPromise",null),(0,a.A)(this,"canCreateBackendOrphanWidgets",!1),(0,a.A)(this,"updateTabOrderTimeout",null),(0,a.A)(this,"pagesTabOrderToUpdate",(0,i.NZ)()),this._core=e,this._json=t?(0,o.$y)(t):null,this._setReadStateCallbacksPromise=new Promise((e=>{this._setReadStateCallbacksPromiseResolve=e}))}async load(){if(this._state=this._state.set("isLoaded",!0),!this._formFieldCallbacks&&await this._loadFormFieldValues(),!this._json)return this;await this._core.importInstantJSON({...k,...this._json}),(0,o.V1)(this._json);const{annotations:e,attachments:t}=this._json;if(this._isDestroyed()||!t||0===Object.entries(t).length)return this;if(e)for(let n=0;n<e.length;n++){let a=null;const i=e[n];if("imageAttachmentId"in i&&i.imageAttachmentId){const e=t?t[i.imageAttachmentId]:null;if(e)try{a=(0,w.lj)(atob(e.binary),e.contentType),(0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.createAttachment(i.imageAttachmentId,a)}catch(e){(0,o.pq)(`Skipped attachment with id ${i.imageAttachmentId} from payload because an error occurred while converting the binary image to blob.`),(0,o.pq)(e)}}}return this}destroy(){this._state=this._state.set("isDestroyed",!0),this._annotationCallbacks=null,this._readStateCallbacks=null,this._bookmarkCallbacks=null,this._formFieldCallbacks=null,this._formFieldValueCallbacks=null,this._commentCallbacks=null}setReadStateCallbacks(e){this._readStateCallbacks=e,this._setReadStateCallbacksPromiseResolve?.()}setAnnotationCallbacks(e){this._annotationCallbacks=e}setBookmarkCallbacks(e){this._bookmarkCallbacks=e}setFormFieldCallbacks(e){this._formFieldCallbacks=e}setFormFieldValueCallbacks(e){this._formFieldValueCallbacks=e}setCommentCallbacks(e){this._commentCallbacks=e}createComment(e,t,n){return this._core.applyComments(t.map((e=>I(e,n))).toArray())}updateComment(e,t,n){return this._core.applyComments(t.map((e=>I(e,n))).toArray())}deleteComment(e,t,n){return this._core.applyComments(t.map((e=>I(e,n))).toArray())}async loadComments(){return this._commentsLoadedPromise||(this._commentsLoadedPromise=this._loadComments()),this._commentsLoadedPromise}async _loadComments(){this._verifyLoaded();const e=await this._core.getComments()??[],t=(0,i.B8)(e.map((e=>{let t;return t=e.pdfObjectId?e.id||e.pdfObjectId?.toString():(0,f.K1)(),(0,A.XL)(t,e)})));await Promise.all(t.map((e=>"number"==typeof e.pageIndex&&this.loadAnnotationsForPageIndex(e.pageIndex))).filter(Boolean).toArray()),this._commentCallbacks?.createComments(t,F.n),this._commentsLoadedPromise=Promise.resolve()}async updateTabOrder(e){this.pagesTabOrderToUpdate=this.pagesTabOrderToUpdate.add(e),this.updateTabOrderTimeout&&clearTimeout(this.updateTabOrderTimeout),this.updateTabOrderTimeout=setTimeout((async()=>{const e=this.pagesTabOrderToUpdate.toArray();if(this.pagesTabOrderToUpdate=(0,i.NZ)(),this._isDestroyed())return;const t=await Promise.all(e.map((e=>this._core.getTabOrder(e))));this._isDestroyed()||((0,o.V1)(this._annotationCallbacks),(0,S.vA)((()=>{e.forEach(((e,n)=>{this._annotationCallbacks?.setPageTabOrder(e,t[n])}))})))}),1e3)}async setTabOrder(e,t){return this._core.setTabOrder(e,t)}async createAnnotation(e,t){this._verifyLoaded();const n=t.find(((t,n)=>((0,o.V1)("imageAttachmentId"in e,"Annotation must have imageAttachmentId."),n===e.imageAttachmentId))),a=await this._core.createAnnotation((0,A.eq)(e),n?n.data:null);"number"!=typeof a||"number"!=typeof e.pdfObjectId||e.pdfObjectId===a||this._isDestroyed()||((0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.updateAnnotations((0,i.B8)([e.set("pdfObjectId",a)]))),await this.updateTabOrder(e.pageIndex)}async updateAnnotation(e){this._verifyLoaded(),await this._core.updateAnnotation((0,A.eq)(e)),await this.updateTabOrder(e.pageIndex)}deleteAnnotation(e){return this._verifyLoaded(),this._core.deleteAnnotation((0,A.eq)(e))}createBookmark(e){return this._verifyLoaded(),this._core.createBookmark((0,P.U)(e))}updateBookmark(e){return this._verifyLoaded(),this._core.updateBookmark((0,P.U)(e))}deleteBookmark(e){return this._verifyLoaded(),this._core.deleteBookmark(e)}createFormField(e){this._verifyLoaded(),(0,o.V1)(this._readStateCallbacks);const t=this._readStateCallbacks.getFormFieldWidgets(e);return this._core.createFormField((0,A.T7)(e),t.map((e=>(0,A.eq)(e))).toArray()).then((async e=>{(0,S.vA)((()=>{e.forEach(((e,n)=>{const a=t.get(n);(0,o.V1)(a),(0,o.V1)(this._annotationCallbacks),"number"!=typeof e||"number"!=typeof a.pdfObjectId||a.pdfObjectId===e||this._isDestroyed()||this._annotationCallbacks.updateAnnotations((0,i.B8)([a.set("pdfObjectId",e)]))}))}))}))}updateFormField(e){this._verifyLoaded(),(0,o.V1)(this._readStateCallbacks);const t=this._readStateCallbacks.getFormFieldWidgets(e);return this._core.updateFormField((0,A.T7)(e),t.map((e=>(0,A.eq)(e))).toArray())}deleteFormField(e){return this._verifyLoaded(),this._core.deleteFormField((0,A.T7)(e))}loadFormFields(){return this._formFieldsLoadedPromise||(this._formFieldsLoadedPromise=this._loadFormFields()),this._formFieldsLoadedPromise}async _loadFormFields(){this._verifyLoaded();const e=await this._core.readFormJSONObjects();if(this._isDestroyed())return;let t=(0,i.B8)(),n=(0,i.B8)().withMutations((n=>{e.forEach((e=>{const{formField:a,widgets:i,value:s}=e;try{let e;e=a.pdfObjectId?a.pdfObjectId.toString():(0,f.K1)();const r=(0,A.mh)(e,a);(0,o.V1)(this._readStateCallbacks),this._readStateCallbacks.isFormFieldInState(r.name)||n.push(r.set("value",s)),i.forEach((e=>{let n;n=e.pdfObjectId?e.id||e.pdfObjectId.toString():(0,f.K1)(),(0,o.V1)(this._readStateCallbacks),t=t.push((0,A.h8)(n,e))}))}catch(e){(0,o.pq)(`Skipped creating form field #${a.pdfObjectId} from payload because an error occurred while deserializing.`),(0,o.pq)(e)}}))}));const a={},s={};t.forEach((e=>{s[e.id]||(s[e.id]=[]),s[e.id].push(e.pdfObjectId)})),t=t.map((e=>{if(s[e.id].filter((t=>t!==e.pdfObjectId)).length>0&&e.pdfObjectId?.toString()!==e.id||this._readStateCallbacks?.isAnnotationInState(e.id)){const t=(0,f.K1)();return a[e.formFieldName]?a[e.formFieldName].push({[e.id]:t}):a[e.formFieldName]=[{[e.id]:t}],n=n.map((n=>n.name===e.formFieldName?n.update("annotationIds",(n=>n?.map((n=>n===e.id?t:n)))):n)),e.set("id",t)}return e})),Object.keys(a).forEach((e=>{const a=n.find((t=>t.name===e));(0,o.V1)(a);const i=t.filter((t=>t.formFieldName===e)).toArray().map((e=>(0,A.eq)(e)));this._core.updateFormField((0,A.T7)(a),i)})),n.size>0&&!this._isDestroyed()&&((0,o.V1)(this._formFieldCallbacks),this._formFieldCallbacks.createFormFields(n,F.n)),await this._loadFormFieldValues(),t.size>0&&!this._isDestroyed()&&((0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.createAnnotations(t,(0,i.T5)(),F.n)),this._formFieldsLoadedPromise=Promise.resolve()}createFormFieldValue(e){return this._verifyLoaded(),this.setFormFieldValue(e)}setFormFieldValue(e){return this._verifyLoaded(),this._core.setFormFieldValue((0,A.cA)(e))}deleteFormFieldValue(e){return this._verifyLoaded(),this._core.deleteFormFieldValue(e.replace("form-field-value/",""))}loadAnnotationsForPageIndex(e){const t=this._state.alreadyLoadedPages.get(e);if(t)return t;const n=this._loadAnnotationsForPageIndex(e);return this._state=this._state.setIn(["alreadyLoadedPages",e],n),n}async _loadAnnotationsForPageIndex(e){this._verifyLoaded();const[t,n]=await Promise.all([this._core.annotationsForPageIndex(e),this._core.getTabOrder(e)]);if(this._isDestroyed())return;const a=[],s=[],r=t.map((e=>{let{rollover:t,down:n,...i}=e;return t&&"number"==typeof i.pdfObjectId&&a.push(i.pdfObjectId),n&&"number"==typeof i.pdfObjectId&&s.push(i.pdfObjectId),i})).filter((e=>"number"==typeof e.pageIndex));this._formFieldCallbacks&&await this.loadFormFields();const c=(0,i.B8)().withMutations((e=>{r.filter((e=>!e.id||this._readStateCallbacks&&!this._readStateCallbacks.isAnnotationInState(e.id))).forEach((t=>{t.pdfObjectId;try{let n;n=function(e){return"pspdfkit/link"===e.type&&0===e.pdfObjectId}(t)?t.id||(0,f.K1)():t.id||t.pdfObjectId.toString(),(e.some((e=>e.id===n))||this._readStateCallbacks?.isAnnotationInState(n))&&(n=(0,f.K1)(),t.id=n,this._core.updateAnnotation(t));const a=(0,A.h8)(n,t);e.push(a)}catch(e){(0,o.pq)(`Skipped creating annotation #${t.pdfObjectId} from payload because an error occurred while deserializing.`),(0,o.pq)(e)}}))}));(0,S.vA)((()=>{(0,o.V1)(this._annotationCallbacks),c.size>0&&this._annotationCallbacks.createAnnotations(c,(0,i.T5)(),F.n),this._annotationCallbacks.setPageTabOrder(e,n),a.length>0&&this._annotationCallbacks.addAnnotationVariants("rollover",a),s.length>0&&this._annotationCallbacks.addAnnotationVariants("down",s)})),this._state=this._state.setIn(["alreadyLoadedPages",e],Promise.resolve())}async _loadFormFieldValues(){this._verifyLoaded();const e=await this._core.getFormValues();if(this._isDestroyed())return;const t=(0,i.B8)().withMutations((t=>{e.forEach((e=>{try{t.push((0,A.R5)(e))}catch(t){(0,o.pq)(`Skipped creating form field value #${e.pdfObjectId} from payload because an error occurred while deserializing.`),(0,o.pq)(t)}}))}));t.size>0&&!this._isDestroyed()&&((0,o.V1)(this._formFieldValueCallbacks),this._formFieldValueCallbacks.setFormFieldValues(t))}async loadBookmarks(){this._verifyLoaded();const e=await this._core.getBookmarks();if(this._isDestroyed())return;const t=(0,i.B8)().withMutations((t=>{e.forEach((e=>{let n;n=e.id?e.id:e.pdfBookmarkId?e.pdfBookmarkId:(0,_.z)();try{t.push((0,P.r)(n,e))}catch(e){(0,o.pq)(`Skipped creating bookmark #${n} from payload because an error occurred while deserializing.`),(0,o.pq)(e)}}))}));t.size>0&&!this._isDestroyed()&&((0,o.V1)(this._bookmarkCallbacks),this._bookmarkCallbacks.createBookmarks(t,F.n))}_verifyLoaded(){(0,o.V1)(this._state.isLoaded,"StandaloneProvider not properly initialized.")}_isDestroyed(){return this._state.isDestroyed}async syncChanges(){}}function I(e,t){(0,o.V1)(e.rootId,"A new comment must have `rootId` present");const n=t.get(e.rootId);return(0,o.V1)(n,"An annotation must be present linked to the comment to create"),(0,A.wG)(e,n.pdfObjectId?.toString()===n.id?parseInt(e.rootId):e.rootId)}class D{constructor(e,t){this.identifier=e,this.callback=t}request(){return this.callback()}}var R=n(30026),x=n(85553);class T extends(i.mS({baseUrl:null,baseCoreUrl:null,baseProcessorEngineUrl:null,licenseKey:null,document:null,backendPermissions:new R.A,documentResponse:null,disableWebAssemblyStreaming:!1,enableAutomaticLinkExtraction:!1,overrideMemoryLimit:null,features:(0,i.B8)(),signatureFeatureAvailability:x.g.NONE,documentHandle:null,trustedCAsCallback:null,signaturesInfoPromise:null,customFonts:null,fontSubstitutions:null,forceLegacySignaturesFeature:!1,forceAnnotationsRender:!1,appName:null,lazyLoadedPages:null,productId:null,processorEngine:null,dynamicFonts:null,inlineWorkers:!0,allowLinearizedLoading:!1,enableCoreUnifiedComments:!1})){}var V=n(83720),O=n(44439),L=n(25888),B=n(83145),E=n(14511),U=n(5293),j=n(37094),N=n(15168),z=n(70631),M=n(40927),q=n(76117),K=n(64337),W=n(68322),$=n(20546),J=n(83647),G=n(87374),X=n(24934),H=n(50960),Y=n(26175),Z=n(77270);function Q(e){return"string"==typeof e?.serialNumber&&e.body instanceof ArrayBuffer}function ee(e){return e?.pkcs7 instanceof ArrayBuffer&&(!("ocspResponses"in e)||Array.isArray(e.ocspResponses)&&e.ocspResponses.every((e=>Q(e))))}function te(e){if(!e)return!1;const{signedData:t,timestampResponse:n,ocspResponses:a}=e;if(!(t instanceof ArrayBuffer))return!1;if(n&&!(n instanceof ArrayBuffer))return!1;if(a){if(!Array.isArray(a))return!1;if(!a.every((e=>Q(e))))return!1}return!0}class ne{constructor(e){this.backend=e}async signDocumentAndReload(e,t){const n=e?.signingData,a=n?.certificates;(0,o.V1)(void 0===t||"function"==typeof t,"On a Standalone deployment, when `signaturePreparationData.signingData.privateKey` is not provided, `twoStepSignatureCallbackOrSigningServiceData` must be a function or `PSPDFKit.StandaloneSigningServiceData`."),(0,o.V1)(!n?.timestamp||"string"==typeof n?.timestamp?.url,"The `url` property of `signingData.timestamp` must be a string."),(0,o.V1)(!n?.timestamp||!n?.timestamp?.password||"string"==typeof n?.timestamp?.password,"The `password` property of `signingData.timestamp` must be a string."),(0,o.V1)(!n?.timestamp||!n?.timestamp?.username||"string"==typeof n?.timestamp?.username,"The `username` property of `signingData.timestamp` must be a string."),(0,o.V1)(void 0===n?.ltv||"boolean"==typeof n?.ltv,"The `ltv` property of `signingData` must be a boolean if set."),(0,o.V1)(void 0===n?.ltv||"boolean"==typeof n?.ltv,"The `ltv` property of `signingData` must be a boolean if set."),(0,o.V1)(!n||!n.signatureType||n.signatureType===J.D7.CMS||Array.isArray(a)&&a.length>0&&a.every((e=>Boolean(e instanceof ArrayBuffer&&e.byteLength>0||"string"==typeof e&&e.length>0))),"For signatures of type `PSPDFKit.SignatureType.CAdES` an `Array` of certificates must be provided in `signaturePreparationData.signingData.certificates`.");const i={signatureType:n?.signatureType||(Array.isArray(a)&&a.length>0?J.D7.CAdES:J.D7.CMS),...a&&{certificates:a.map((e=>e instanceof ArrayBuffer?l.o4.fromUint8Array(new Uint8Array(e)):l.o4.encode(e)))},...e?.placeholderSize?{estimatedSize:e.placeholderSize}:null};try{const{hash:a,signatureFormFieldName:s,file:r,fileContents:c,dataToBeSigned:d}=await this.backend.client.prepareSign((0,A.Y6)(i),e?.signatureMetadata?(0,A.sZ)(e.signatureMetadata):null,Boolean(e?.flatten),e?.formFieldName,(0,A.qN)(e?.position),await(0,A.z8)(e?.appearance)),u=function(e){const t=e.trim(),n=t.length/2,a=new Uint8Array(n);for(let e=0;e<n;e++)a[e]=parseInt(t.substr(2*e,2),16);return a}(d);let m,h,p;if(t){try{m=await t({hash:a,fileContents:c,dataToBeSigned:u})}catch(e){throw new o.uE(`\`twoStepSignatureCallback\` threw an error: ${e}`)}if(!(m instanceof ArrayBuffer||ee(m)||te(m)))throw new o.uE(`The resolved value from \`twoStepSignatureCallback\` should be a an \`ArrayBuffer\`, \`SignatureCallbackResponsePkcs7\`, or \`SignatureCallbackResponseRaw\`, but is of type \`${typeof m}\` instead.`);p=m}else{if(!n?.privateKey)throw new o.uE("No `twoStepSignatureCallback` or `signingData.privateKey` was provided.");{const e={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"},modulusLength:2048,extractable:!1,publicExponent:new Uint8Array([1,0,1])},t=await globalThis.crypto.subtle.importKey("pkcs8",function(e){const t=e.split("\n");let n="";for(let e=0;e<t.length;e++)t[e].trim().length>0&&t[e].indexOf("-BEGIN RSA PRIVATE KEY-")<0&&t[e].indexOf("-BEGIN PRIVATE KEY-")<0&&t[e].indexOf("-BEGIN RSA PUBLIC KEY-")<0&&t[e].indexOf("-BEGIN CERTIFICATE-")<0&&t[e].indexOf("-END RSA PRIVATE KEY-")<0&&t[e].indexOf("-END PRIVATE KEY-")<0&&t[e].indexOf("-END RSA PUBLIC KEY-")<0&&t[e].indexOf("-END CERTIFICATE-")<0&&(n+=t[e].trim());return l.o4.toUint8Array(n).buffer}(n.privateKey),e,!0,["sign"]);h=await globalThis.crypto.subtle.sign(e,t,u),p=h}}let f="",g=i.certificates||[];if(p instanceof ArrayBuffer)f=l.o4.fromUint8Array(new Uint8Array(p))||"";else if(ee(p)){const e=p;f=l.o4.fromUint8Array(new Uint8Array(e.pkcs7))||""}else if(te(p)){const e=p;f=l.o4.fromUint8Array(new Uint8Array(e.signedData))||"",g=e.certificates.map((e=>e instanceof ArrayBuffer?l.o4.fromUint8Array(new Uint8Array(e)):l.o4.encode(e)))}let y=null,b=[];if(n?.ltv&&(p instanceof ArrayBuffer?b=await this.backend.getRevocationResponses(g):(ee(p)||te(p))&&((0,o.V1)(null==p.ocspResponses||Array.isArray(p.ocspResponses)&&p.ocspResponses.every((e=>Q(e))),"The `ocspResponses` property of `signatureData` must be a array of `OCSPResponses`."),b=p.ocspResponses?.map((e=>({response_code:200,body:l.o4.fromUint8Array(new Uint8Array(e.body)),token:e.serialNumber})))??[],b.length||((0,o.R8)("The `TwoStepSignatureCallback` didn't return certificate revocation responses; trying to fetch them online."),b=await this.backend.getRevocationResponses(g)))),te(p)){const e=p;(0,o.V1)(null==e.timestampResponse||e.timestampResponse instanceof ArrayBuffer,"The `timestampResponse` property of `signatureData` must be an `ArrayBuffer`."),e.timestampResponse&&(y={response_code:200,body:l.o4.fromUint8Array(new Uint8Array(e.timestampResponse)),token:"1234"})}if(!y&&n?.timestamp&&p instanceof ArrayBuffer){const e=l.o4.toUint8Array(f).buffer;y=await this.backend.timestampData(e,n.timestamp)}const S=await this.backend.client.sign(r,s,a,A.xz[i.signatureType],f,g,ee(p)?"pkcs7":te(p)?"raw":n?.signatureContainer?n.signatureContainer:null,y,b);return n?.ltv&&S.signature.certificateChainValidationStatus===J.k5.ok_but_could_not_check_revocation&&(0,o.R8)("Document signed, but couldn't add certificate revocation information so the signature may not be LTV-enabled."),await this.backend.reloadDocument(),s}catch(e){throw await this.backend.client.restoreToOriginalState(),e}}}var ae=n(40527),ie=n(64966);class se extends ne{constructor(e){super(e)}async signDocumentAndReload(e,t){t=(0,ae.kJ)(t),(0,o.V1)(t,"`twoStepSignatureCallbackOrStandaloneSigningServiceData` must be a `PSPDFKit.StandaloneSigningServiceData` object when performing signing via a backend service.");const{jwt:n,signingToken:a}=t,i=this.resolveApiBasePath(t),s=this.resolveServerUrl(t),r=await this.getCertificates(s,n,`${i}get_certificates`,a),c=this.signatureCallbackFactory(s,n,r,e,t,`${i}sign_hash`);return await super.signDocumentAndReload({...e,signingData:{...e?.signingData,signatureType:e?.signingData?.signatureType||J.D7.CAdES,certificates:r}},c)}async getCertificates(e,t,n,a){let i;const s=`${e}${n}`;try{i=await fetch(s,{method:"POST",headers:{Authorization:`Bearer ${t}`,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({signingToken:a})})}catch(e){throw new o.uE(`The signing service failed to retrieve certificates: Failed to fetch from ${s}`)}if(!i.ok)throw new o.uE(`The signing service failed to retrieve certificates: ${await i.json()}`);const r=(await i.json())?.data||{};return r.certificates.concat(r.ca_certificates).map((e=>l.o4.fromBase64(e)))}resolveApiBasePath(e){return(0,ie.i)(e.jwt).api_base_path||"/api/"}resolveServerUrl(e){const t=e.serverUrl||(0,ie.i)(e.jwt).server_url;return(0,o.V1)(t,"`twoStepSignatureCallbackOrStandaloneSigningServiceData.jwt` must contain claim `server_url` or the `twoStepSignatureCallbackOrStandaloneSigningServiceData.serverUrl` should be set"),t}signatureCallbackFactory(e,t,n,a,i,s){return async r=>{let c,{hash:d,dataToBeSigned:u}=r;try{c=await fetch(`${e}${s}`,{method:"POST",headers:{Authorization:`Bearer ${t}`,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({dataToBeSigned:l.o4.fromUint8Array(u),hash:d,signatureType:a?.signingData?.signatureType||J.D7.CAdES,signingToken:i.signingToken,cadesLevel:a?.signingData?.padesLevel||J.sX.b_lt})})}catch(t){throw new o.uE(`The signing service failed to retrieve certificates: Failed to fetch from ${e}${s}`)}if(!c.ok)throw new o.uE(`The signing service failed to sign: ${await c.text()}`);const m=(await c.json())?.data||{};if(a?.signingData?.signatureContainer===J.Yj.pkcs7){const e={pkcs7:l.o4.toUint8Array(m.pkcs7).buffer};return m.ocspResponses&&(e.ocspResponses=m.ocspResponses.map((e=>({serialNumber:e.serialNumber,body:l.o4.toUint8Array(e.body).buffer})))),e}{const e={certificates:n,signedData:l.o4.toUint8Array(m.signedData).buffer,timestampResponse:l.o4.toUint8Array(m.timestampResponse).buffer};return m.ocspResponses&&(e.ocspResponses=m.ocspResponses.map((e=>({serialNumber:e.serialNumber,body:l.o4.toUint8Array(e.body).buffer})))),e}}}}let oe;oe=n(55994).Fe;const re=new s.iy(oe);class ce extends g.K{constructor(e){super(),(0,a.A)(this,"type","STANDALONE"),(0,a.A)(this,"standaloneDocumentSigner",new ne(this)),(0,a.A)(this,"signingServiceDocumentSigner",new se(this)),(0,a.A)(this,"_XFDF",null),de(e);const{baseUrl:t,baseCoreUrl:n,baseProcessorEngineUrl:i,instantJSON:s,XFDF:o,enableAutomaticLinkExtraction:c,overrideMemoryLimit:l,trustedCAsCallback:u,electronAppName:m,appName:h,isSharePoint:p,isSalesforce:f,productId:g,processorEngine:b,dynamicFonts:A,inlineWorkers:S,formsConfiguration:P,allowLinearizedLoading:w,unifiedCommentsSupport:_}=e;"string"==typeof o&&(this._XFDF={source:o,keepCurrentAnnotations:!0===e.XFDFKeepCurrentAnnotations,ignorePageRotation:!0===e.XFDFIgnorePageRotation}),s&&s.annotations&&(s.annotations=s.annotations.map((e=>(e.id=e.id?.toString(),e)))),this._instantJSON=s,this._formsConfiguration=P,"function"==typeof u&&(this._trustedCAsCallback=u);const{disableWebAssemblyStreaming:F,customFonts:v,fontSubstitutions:k}=e,{standaloneInstancesPoolSize:I}=e;void 0!==I&&(re.size=I);const D=!!e.electronicSignatures&&Boolean(e.electronicSignatures.forceLegacySignaturesFeature);let R=g||null;!p&&!f||R||(R=p?W.v.SharePoint:W.v.Salesforce),this._state=new T(le({baseUrl:t,baseCoreUrl:n,baseProcessorEngineUrl:i,licenseKey:e.licenseKey,document:e.document,disableWebAssemblyStreaming:F,enableAutomaticLinkExtraction:c,overrideMemoryLimit:l,documentHandle:"0",customFonts:v,fontSubstitutions:k,forceLegacySignaturesFeature:D,appName:h||m,productId:R,processorEngine:b||G.j.fasterProcessing,dynamicFonts:A,inlineWorkers:S,allowLinearizedLoading:w,enableCoreUnifiedComments:_})),this._requestQueue=new r.L(y.z3);const{object:x,checkIn:V}=re.checkOut();this.client=x,this.checkIn=V,this.corePDFBridge=new Y.D(d.MX.createWASMContext(this.client));const O=s?{annotations:s.annotations||[],formFields:s.formFields||[],formFieldValues:s.formFieldValues||[],skippedPdfObjectIds:s.skippedPdfObjectIds||[],skippedPdfFormFieldIds:s.skippedPdfFormFieldIds||[],attachments:s.attachments||{},bookmarks:s.bookmarks||[],skippedPdfBookmarkIds:s.skippedPdfBookmarkIds||[],comments:s.comments||void 0,skippedComments:s.skippedComments||void 0,format:s.format,...s.pdfId?{pdfId:s.pdfId}:null}:null;this.provider=new C(this.client,O)}isUsingInstantProvider(){return!1}hasClientsPresence(){return!1}async load(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._isPDFJavaScriptEnabled=e.isPDFJavaScriptEnabled,{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:!!e.password,password:e.password,allowedTileScales:"all"}}async afterDocumentLoaded(e){}destroy(){this.corePDFBridge.destroy(),this.provider&&this.provider.destroy(),this._requestQueue&&this._requestQueue.destroy(),this.checkIn()}async documentInfo(){return this._state.documentResponse}async lazyLoadPages(){if(!this._state.lazyLoadedPages){const e=await this.client.getAllPageInfos(this._state.documentResponse.pageCount);this._state=this._state.set("lazyLoadedPages",e)}return this._state.lazyLoadedPages}getDocumentHandle(){return this._state.documentHandle}getFormJSON(){return this.client.getFormJSON()}permissions(){return Promise.resolve(this._state.backendPermissions)}textForPageIndex(e){return this.corePDFBridge.getTextLines(e)}getContentTreeForPageIndex(e){return this.corePDFBridge.getContentTree(e)}getTextFromRects(e,t){return this.client.getTextFromRects(e,t.toJS())}getAvailableFontFaces(e){return this.client.getAvailableFontFaces(e)}async getSuggestedLineHeightFactor(e){return"number"!=typeof e.pdfObjectId?1:"number"!=typeof e.pageIndex?((0,o.R8)("Annotation must have a pageIndex."),1):(e.lineHeightFactor&&(0,o.R8)(`Annotation ${e.id} already has a line height factor.`),this.client.getSuggestedLineHeightFactor(e.pdfObjectId,e.pageIndex))}async getClosestSnapPoint(e){const t=await this.client.getClosestSnapPoint(e.x,e.y);return t&&"number"==typeof t[0]&&"number"==typeof t[1]?new H.bR({x:t[0],y:t[1]}):e}configureSnapper(e){return this.client.configureSnapper(e)}renderAnnotation(e,t,n,a,i,s,o){if(0===Math.floor(a)||0===Math.floor(i))return{promise:Promise.resolve(void 0),cancel:()=>{}};const r=(0,Z.yl)();let c;if((0,f.cu)(e)){if(c=(0,f.sS)(e),this.isVisuallyIdenticalAnnotationCached({annotation:e,providedVisualAnnotationIndex:c,width:a,height:i}))return this.cachedRenderedAnnotationDiscardablePromise(c,r);this._addCachedRenderedAnnotation(c,{width:a,height:i,noZoom:e.noZoom,APStreamPromise:r.promise})}const l=e.id,d=new D(l,(()=>this.client.renderAnnotation((0,A.eq)(e),n,a,i,(0,N.LG)(),s,o).then((e=>e?"string"==typeof e?(0,h.$3)(e):(0,h.vB)({buffer:e,width:a,height:i}):Promise.resolve(null))).then((t=>((0,f.cu)(e)&&this._makeEnqueuedRelease(t,c),r.resolve(t),t)))));return this._requestQueue.enqueue(d,!1)}async getMeasurementSnappingPoints(e){return this.client.getMeasurementSnappingPoints(e)}async getSecondaryMeasurementUnit(){return await this.client.getSecondaryMeasurementUnit()}async setSecondaryMeasurementUnit(e){return await this.client.setSecondaryMeasurementUnit(e)}async compareDocuments(e,t){const n={originalDocument:e.originalDocument,changedDocument:e.changedDocument,comparisonOperation:(0,m.c)(t)};return this.corePDFBridge.compareText(n).promise}async renderPageAnnotations(e,t,n){const a=this.provider,i=[],s=[],r=t.some((e=>e instanceof q.sb));r&&await a._setReadStateCallbacksPromise;const c=t.filter((e=>{const t=r?a._readStateCallbacks.getAnnotationWithFormField(e.id):null,n=t?.formField,o=(0,f.lG)(e,n);if(o&&n){i.find((e=>e.name===n.name))||(i.push((0,A.cA)((0,V.Af)(n))),s.push(n))}return o}));function l(e,t){if((0,f.uM)(e)){const n=s.find((t=>t.name===e.formFieldName)),a=t.find((t=>t.name===e.formFieldName));if(!(0,V.Ny)(n,a))return!1}return!0}const d=new Promise(((t,i)=>{const r=c.filter((e=>0!==Math.floor(e.boundingBox.width*n)&&0!==Math.floor(e.boundingBox.height*n)));this.client.renderPageAnnotations(e,r.map((e=>e.pdfObjectId)).toArray(),r.map((e=>e.boundingBox.width*n)).toArray(),r.map((e=>e.boundingBox.height*n)).toArray(),(0,N.LG)()).then((e=>{const i=s.map((e=>a._readStateCallbacks?.getFormFieldByName(e.name))).filter(Boolean),c=e.map(((e,t)=>{const a=r.get(t);return(0,o.V1)(a),l(a,i)&&a&&e?"string"==typeof e?(0,h.$3)(e):(0,h.vB)({buffer:e,width:a.boundingBox.width*n,height:a.boundingBox.height*n}):Promise.resolve(null)}));Promise.all(c).then((e=>{const i=s.map((e=>a._readStateCallbacks?.getFormFieldByName(e.name))).filter(Boolean);e.forEach(((e,t)=>{const a=r.get(t);if(a){const{formFieldValue:t}=this.getAnnotationFormFieldAndValue(a),s=this.getAnnotationAvailableVariants(a),o=this.annotationAPStreamPromises.get(a.id),r=l(a,i);if(o&&(this.annotationAPStreamPromises=this.annotationAPStreamPromises.delete(a.id),o(r?e:null)),s.length>1){const i={normal:e};e&&r&&this.cacheAPStream(i,a);const{promise:o}=this.renderAPStream(a,t,null,a.boundingBox.width*n,a.boundingBox.height*n,s);Promise.all(o.map((e=>e.promise))).then((e=>{e.some(Boolean)&&s.forEach(((t,n)=>{"normal"!==t&&e[n]&&(i[t]=e[n])}))}))}else e&&r&&this.cacheAPStream(e,a)}})),t()}))})).catch(i)}));return this.pageAPStreamsPromises=this.pageAPStreamsPromises.set(e,d),d}renderDetachedAnnotation(e,t,n,a){if(e.id)throw new o.uE(`Detached annotations should not have an \`id\`: ${e.id}`);const i=(0,Z.yl)();let s;if((0,f.cu)(e)){if(s=(0,f.sS)(e),this.isVisuallyIdenticalAnnotationCached({annotation:e,providedVisualAnnotationIndex:s,width:n,height:a}))return this.cachedRenderedAnnotationDiscardablePromise(s,i);this._addCachedRenderedAnnotation(s,{width:n,height:a,noZoom:e.noZoom,APStreamPromise:i.promise})}const r=(0,c.Z0)(),l=new D(r,(()=>this.client.renderDetachedAnnotation((0,A.eq)(e),t,n,a,(0,N.LG)()).then((e=>e?(0,h.vB)({buffer:e,width:n,height:a}):Promise.resolve(null))).then((t=>((0,f.cu)(e)&&this._makeEnqueuedRelease(t,s),i.resolve(t),t))).catch((()=>{const e=this._cachedRenderedAnnotations.get(s);e&&e.timeout&&clearTimeout(e.timeout),this._cachedRenderedAnnotations.delete(s)})))),{promise:d,cancel:u}=this._requestQueue.enqueue(l,!1);return{promise:d,cancel:u}}async getAttachment(e){const[t,n]=await this.client.getAttachment(e);return new Blob([t],{type:n})}async parseXFDF(e,t){const{errors:n,formFieldValues:a,annotations:s}=await this.client.parseXFDF(e,t);return{errors:n?.map((e=>({errorMessage:e.error_message,type:e.type}))),formFieldValues:a?.reduce(((e,t)=>(e[t.fqdn]=t.values,e)),{}),annotations:(0,i.B8)(s?.map((e=>(0,A.h8)((0,f.K1)(),e)))||[])}}async search(e,t,n,a){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:j.n.TEXT;const o=await this.client.search(e,t,n,a,s);return(0,b.g)(o.filter((e=>i||!e.isAnnotation)))}async searchAndRedact(e,t,n){const{totalPages:a}=n,s=await this.client.search(e,t.startPageIndex??0,t.pageRange??a,t.caseSensitive,t.searchType);return(0,i.B8)(s.filter((e=>t.searchInAnnotations||!e.isAnnotation)).map((e=>{const a=e.isAnnotation?[e.annotationRect]:e.rectsOnPage,s=(0,i.B8)(a).map((e=>((0,o.V1)(e),(0,U.a)(e))));return new B.A({...(0,f.mN)(n),...t.annotationPreset,pageIndex:e.pageIndex,rects:s,boundingBox:O.A.union(s)})})))}async exportPDF(){let{flatten:e=!1,incremental:t,saveForPrinting:n=!1,format:a="pdf",excludeAnnotations:i=!1,preserveInstantJSONChanges:s=!0,permissions:r,outputFormat:c=!1,flattenElectronicSignatures:l=e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=arguments.length>1?arguments[1]:void 0;if(e&&!l)throw new o.uE("Cannot set `flattenElectronicSignatures` to `false` when `flatten` is set to `true`.");if(c&&"boolean"!=typeof c&&c.conformance&&(0,o.V1)(c.conformance&&Object.values($.o).includes(c.conformance),"The supplied PDF/A Conformance type is not valid. Valid Conformance should be one of the following options PSPDFKit.Conformance."+Object.keys($.o).join(", PSPDFKit.Conformance.")),void 0===t)if(this._state.features.includes(K.Y.DIGITAL_SIGNATURES)){const e=await this.getSignaturesInfo();t=!n&&Boolean("not_signed"!==e.status)}else t=!1;return this.client.exportFile(e,t,n,a,i,s,r,d).then((async e=>{let[t,n]=e;if(t.mimeType=n.mimeType,t.extension=n.extension,c){const e="boolean"!=typeof c&&c.conformance?c.conformance:$.o.PDFA_2B;let n;try{return n=await this._setupGdPictureClient(),await n.toPdf(t,e)}finally{n?.destroy(),(0,X.Pm)(null)}}return t}))}async exportOffice(e){let t,{format:n}=e;try{const[e]=await this.client.exportFile(!1,!1,!1,"pdf",!1,!0);return t=await this._setupGdPictureClient(),await t.toOffice(e,n)}catch(e){throw new o.uE(`Exporting to ${n} failed: ${e.message}.`)}finally{t?.destroy(),(0,X.Pm)(null)}}async _setupGdPictureClient(){let e=(0,X.jU)();return e||(e=(0,X.NY)({baseUrl:this._state.baseProcessorEngineUrl,mainThreadOrigin:this._state.appName||(0,u.D5)()||window.location.origin,licenseKey:this._state.licenseKey,processorEngine:this._state.processorEngine,customFonts:this._state.customFonts,dynamicFonts:this._state.dynamicFonts,fontSubstitutions:this._state.fontSubstitutions}),(0,X.Pm)(e)),e}exportXFDF(e){return this.client.exportXFDF(e)}exportInstantJSON(e){return this.client.exportInstantJSON(e)}getPDFURL(){let{includeComments:e=!0,saveForPrinting:t,excludeAnnotations:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.generatePDFObjectURL({includeComments:e,saveForPrinting:t,excludeAnnotations:n})}generatePDFObjectURL(){let e,{includeComments:t=!0,saveForPrinting:n,excludeAnnotations:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=!1;return{promise:new Promise((s=>{this.exportPDF({flatten:!0,includeComments:t,saveForPrinting:n,excludeAnnotations:a}).then((t=>{if(i)return;const n=new Blob([t],{type:t.mimeType});e=window.URL.createObjectURL(n),s(e)}))})),revoke:()=>{e&&window.URL.revokeObjectURL(e),i=!0}}}async getDocumentOutline(){const e=await this.client.getDocumentOutline();return(0,i.B8)(e.map(p.r))}async setDocumentOutline(e){return this.client.setDocumentOutline(e.map(p.U).toArray())}async getPageGlyphs(e){const t=await this.client.getPageGlyphs(e);return(0,A.Fj)(t)}async onKeystrokeEvent(e){return await this.client.onKeystrokeEvent(e)}async evalFormValuesActions(e){return this.client.evalFormValuesActions(e.map(A.cA).toJS())}async evalScript(e,t,n){return this.client.evalScript(e,t,n)}async setFormJSONUpdateBatchMode(e){return this.client.setFormJSONUpdateBatchMode(e)}async getMeasurementScales(){const e=await this.client.getMeasurementScales();return e?.measurementContentFormats}async addMeasurementScale(e){return await this.client.addMeasurementScale(e)}async removeMeasurementScale(e){return await this.client.removeMeasurementScale(e)}async getAnnotationsByScale(e){return await this.client.getAnnotationsByScale(e)}async applyOperationsAndReload(e){try{const{processedOperations:t,operationsDocuments:n}=await(0,L.t)(e);await this.client.applyOperations(t,n)}catch(e){throw new o.uE(`Applying operations failed: ${e}`)}return this.provider._state=this.provider._state.set("alreadyLoadedPages",(0,i.T5)()),this.reloadDocument()}async applyRedactionsAndReload(){try{await this.client.applyRedactions()}catch(e){throw new o.uE(`Applying redactions failed: ${e}`)}return this.reloadDocument()}async reloadDocument(){try{this.provider?.destroy(),this.provider=new C(this.client,null),this._state=this._state.set("lazyLoadedPages",null);const e=await this.client.reloadDocument();return this._state=this._state.set("documentResponse",e).set("documentHandle",(parseInt(this._state.documentHandle)+1).toString()).set("signaturesInfoPromise",null),this.clearRenderedAnnotationsCache(),{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:!1,password:void 0,allowedTileScales:"all"}}catch(e){throw new o.uE(`Reloading failed: ${e}`)}}async getEmbeddedFiles(){const e=await this.client.getEmbeddedFilesList();return(0,i.B8)(e.map((e=>{let{id:t,...n}=e;return(0,M.r)(t,n,!0)})))}async exportPDFWithOperations(e){try{const{processedOperations:t,operationsDocuments:n}=await(0,L.t)(e);return this.client.exportPDFWithOperations(t,n)}catch(e){throw new o.uE(`Exporting PDF with operations failed: ${e}`)}}async setSignaturesLTV(e){try{const t=(e??[]).map((e=>e instanceof ArrayBuffer?l.o4.fromUint8Array(new Uint8Array(e)):l.o4.encode(e))),n=await this.getRevocationResponses(t),a=await this.client.setSignaturesLTV(n).then((e=>(0,A.N5)(e)));if(a.signatures?.find((e=>e.certificateChainValidationStatus===J.k5.ok_but_could_not_check_revocation)))throw"Could not set LTV for all signatures. Check that the OCSP response is valid.";return this._state=this._state.set("signaturesInfoPromise",null),this.getSignaturesInfo()}catch(e){throw new o.uE(`Setting signatures LTV failed: ${e}`)}}getSignaturesInfo(){try{if(this._state.signaturesInfoPromise)return this._state.signaturesInfoPromise;const e=this.client.getSignaturesInfo().then((e=>(0,A.N5)(e)));return this._state=this._state.set("signaturesInfoPromise",e),e}catch(e){throw new o.uE(`Getting document signatures info: ${e}`)}}async refreshSignaturesInfo(){this._state=this._state.set("signaturesInfoPromise",null)}async loadCertificates(e){return this.client.loadCertificates(e)}async getRevocationResponses(e){const t=await this.client.getRevocationRequests(e);return await Promise.all(t.map((async e=>{let{method:t,url:n,content_type:a,request_data:i,token:s}=e;try{const e=await fetch(n,{method:t,headers:{"Content-Type":a??"application/ocsp-request"},body:l.o4.toUint8Array(i).buffer}),o=await e.arrayBuffer();return{response_code:e.status,body:l.o4.fromUint8Array(new Uint8Array(o)),token:s}}catch(e){return{response_code:0,body:"",token:s,error_message:e.message}}})))}async signDocumentAndReload(e,t){(0,o.V1)(void 0===t||"function"==typeof t||(0,ae.kJ)(t),"On a Standalone deployment, `twoStepSignatureCallbackOrSigningServiceData` must be a function or `PSPDFKit.StandaloneSigningServiceData` if provided.");const n=(0,ae.kJ)(t);return n?this.signingServiceDocumentSigner.signDocumentAndReload(e,n):this.standaloneDocumentSigner.signDocumentAndReload(e,t)}cancelRequests(){this._requestQueue.cancelAll()}async syncChanges(){}getDefaultGroup(){}isCollaborationPermissionsEnabled(){return!1}async clearAPStreamCache(){return this.client.clearAPStreamCache()}async setComparisonDocument(e,t){return this.client.setComparisonDocument(e,t)}async openComparisonDocument(e){return this._state=this._state.set("forceAnnotationsRender",!1),await this.client.closeDocument(),this._state=this._state.set("forceAnnotationsRender",!0),await this.client.openComparisonDocument(e)||this._state.documentResponse}async documentCompareAndOpen(e){return this.client.documentCompareAndOpen(e)}async persistOpenDocument(e){return this.client.persistOpenDocument(e)}async cleanupDocumentComparison(){return this.client.cleanupDocumentComparison()}async runPDFFormattingScripts(e,t){return this.client.runPDFFormattingScripts(e,t)}async runPDFFormattingScriptsFromWidgets(e,t,n){let a=[];if(this._isPDFJavaScriptEnabled){const{withAPStream:i,withoutAPStream:s}=e.reduce(((e,a)=>{if(a instanceof q.sb){const i=t?.get(a.formFieldName);if(i instanceof q.Vw)return e;n?.(a)?e.withAPStream.push(a.formFieldName):e.withoutAPStream.push(a.formFieldName)}return e}),{withAPStream:[],withoutAPStream:[]});let o=[];if(i.length&&!s.length)o=await this.runPDFFormattingScripts(i,!0);else if(!i.length&&s.length)o=await this.runPDFFormattingScripts(s,!1);else if(i.length&&s.length){const[e,t]=await Promise.all([this.runPDFFormattingScripts(i,!0),this.runPDFFormattingScripts(s,!1)]);o=e.concat(t)}a=(0,V.A5)(this._initialChanges,o)}return a}setFontSubstitutions(e){return this.client.setFontSubstitutions(e)}async contentEditorReload(){return(0,o.V1)(this.provider instanceof C,"Standalone can only use standalone annotation provider"),this.provider._state=this.provider._state.set("alreadyLoadedPages",(0,i.T5)()),this.reloadDocument()}getOCGs(){return this.client.getOCGs()}getOCGVisibilityState(){return this.client.getOCGVisibilityState()}setOCGVisibilityState(e){return this.client.setOCGVisibilityState(e)}updateButtonIcon(e,t,n){return this.client.updateButtonIcon((0,A.eq)(e),t,n)}async timestampData(e,t){const{url:n,username:a="",password:i=""}=t,s=l.o4.fromUint8Array(new Uint8Array(e));try{const e=await this.client.getTimestampRequest(s,{url:n,username:a,password:i}),t={method:e.method,headers:{"Content-Type":e.contentType||"application/timestamp-query"},body:l.o4.toUint8Array(e.requestData).buffer};(e.username||e.password)&&(t.headers.Authorization=`Basic ${btoa(`${e.username}:${e.password}`)}`);try{const n=await fetch(e.url,t),a=await n.arrayBuffer();return{response_code:n.status,body:l.o4.fromUint8Array(new Uint8Array(a)),token:e.token}}catch(t){return{response_code:400,body:"",token:e.token,error_message:t.message}}}catch(e){return{response_code:500,body:"",token:"",error_message:e.message}}}async waitUntilFullyLoaded(e){}}function le(e){return{baseUrl:e.baseUrl,baseCoreUrl:e.baseCoreUrl,baseProcessorEngineUrl:e.baseProcessorEngineUrl,licenseKey:e.licenseKey,document:e.document,disableWebAssemblyStreaming:!!e.disableWebAssemblyStreaming,enableAutomaticLinkExtraction:!!e.enableAutomaticLinkExtraction,overrideMemoryLimit:"number"==typeof e.overrideMemoryLimit?e.overrideMemoryLimit:null,documentHandle:"number"==typeof e.documentHandle?e.documentHandle:"0",trustedCAsCallback:"function"==typeof e.trustedCAsCallback?e.trustedCAsCallback:null,customFonts:Array.isArray(e.customFonts)?e.customFonts.filter((e=>e instanceof z.A)):null,forceLegacySignaturesFeature:Boolean(e.forceLegacySignaturesFeature),appName:"string"==typeof e.appName?e.appName:null,productId:e.productId,processorEngine:e.processorEngine,dynamicFonts:e.dynamicFonts,fontSubstitutions:e.fontSubstitutions,inlineWorkers:e.inlineWorkers,allowLinearizedLoading:e.allowLinearizedLoading,enableCoreUnifiedComments:e.enableCoreUnifiedComments}}function de(e){const{licenseKey:t,instantJSON:n,XFDF:a,disableWebAssemblyStreaming:i,disableIndexedDBCaching:s,enableAutomaticLinkExtraction:r,overrideMemoryLimit:c,standaloneInstancesPoolSize:l,trustedCAsCallback:d,baseUrl:u,baseCoreUrl:m,baseProcessorEngineUrl:h,customFonts:p,isSharePoint:f,isSalesforce:g,dynamicFonts:y,inlineWorkers:b,formsConfiguration:A}=e;if((0,o.V1)("string"==typeof u,"`baseUrl` is mandatory and must be a valid URL, e.g. `https://example.com/"),(0,E.f4)(u),(0,o.V1)(!m||"string"==typeof m,"`baseCoreUrl` must be a valid URL if set, e.g. `https://example.com/"),m&&(0,E.Qo)(m),(0,o.V1)(!h||"string"==typeof h,"`baseProcessorEngineUrl` must be a valid URL if set, e.g. `https://example.com/"),h&&(0,E.hc)(h),(0,o.V1)(null==t||"string"==typeof t,"licenseKey must be a string value if provided. Please obtain yours from https://customers.pspdfkit.com."),"string"==typeof t&&(0,o.V1)(!t.startsWith("TRIAL-"),"You're using the npm key instead of the license key. This key is used to download the PSPDFKit for Web package via the node package manager.\n\nLeave out the license key to activate as a trial."),(0,o.V1)(void 0===a||"string"==typeof a,"XFDF must be a string"),n&&((0,o.yj)(n),(0,o.V1)(void 0===a,"Cannot import from both instantJSON and XFDF")),(0,o.V1)(void 0===i||"boolean"==typeof i,"disableWebAssemblyStreaming must be a boolean"),(0,o.V1)(void 0===r||"boolean"==typeof r,"enableAutomaticLinkExtraction must be a boolean"),(0,o.V1)(void 0===c||"number"==typeof c,"overrideMemoryLimit must be a number"),(0,o.V1)(void 0===l||"number"==typeof l&&l>=0,"standaloneInstancesPoolSize must be a non-negative number"),(0,o.V1)(void 0===d||"function"==typeof d,"trustedCAsCallback must be a function"),(0,o.V1)(void 0===p||Array.isArray(p)&&p.every((e=>e instanceof z.A)),"customFonts must be an array of PSPDFKit.Font instances"),(0,o.V1)(void 0===p||p.every((e=>e.callback)),"All PSPDFKit.Font instances specified on customFonts must have its callback property defined"),void 0!==s&&(0,o.t6)("disableIndexedDbCaching has been deprecated and it no longer has effect. It will be removed in a later version.\nBrowsers dropped IndexedDB serialization of Wasm modules in favor of regular HTTP caching."),(f||g)&&(0,o.t6)("isSharePoint and isSalesforce configuration properties are deprecated and will be removed in the next major release. Please use the new Configuration#productId property instead. For more information, please check the migration guide."),(0,o.V1)(!(f&&g),"You cannot enable both SharePoint and Salesforce integrations at the same time. Please set either isSharePoint or isSalesforce to true, but not both."),"string"==typeof y)try{new URL(y)}catch(e){throw new o.uE("dynamicFonts must be a valid URL to a JSON file containing the data for fonts to be dynamically loaded.")}(0,o.V1)(void 0===b||"boolean"==typeof b,"inlineWorkers must be a boolean"),A&&(0,o.V1)(void 0===A.export?.disableComboBoxArrow||"boolean"==typeof A.export?.disableComboBoxArrow,"formsConfiguration.export.disableComboBoxArrow must be a boolean")}},40927:(e,t,n)=>{n.d(t,{r:()=>o});var a=n(49568);class i extends(a.mS({id:"",attachmentId:"",description:null,fileName:null,fileSize:null,updatedAt:null})){}var s=n(46952);function o(e,t){return function(e,t){return t}(0,arguments.length>2&&void 0!==arguments[2]&&arguments[2])?new i({id:(0,s.A)(),description:t.fileDescription,attachmentId:e,fileName:t.fileName||null,fileSize:t.fileSize||null,updatedAt:t.modificationDate?new Date(t.modificationDate):null}):new i({id:e,description:t.description,attachmentId:t.fileAttachmentId,fileName:t.fileName||null,fileSize:t.fileSize||null,updatedAt:new Date(t.updatedAt)||null})}},41477:(e,t,n)=>{n.d(t,{U:()=>c,r:()=>l});var a=n(85409),i=n(49568),s=n(6085),o=n(16792),r=n(76117);function c(e){return{type:"pspdfkit/outline-element",children:e.children&&e.children.map((e=>c(e))).toJS(),title:e.title,color:e.color&&(0,o.J)(e.color),isBold:e.isBold,isItalic:e.isItalic,isExpanded:e.isExpanded,action:e.action&&(0,s.Ix)(e.action)}}function l(e){let t,n;(0,a.V1)("pspdfkit/outline-element"===e.type,"invalid outline element type."),(0,a.V1)(null==e.children||Array.isArray(e.children),"children must be an Array<OutlineElement>."),(0,a.V1)("string"==typeof e.title,"title must be a string."),(0,a.V1)(null==e.isBold||"boolean"==typeof e.isBold,"isBold must be a boolean."),(0,a.V1)(null==e.isItalic||"boolean"==typeof e.isItalic,"isItalic must be a boolean."),(0,a.V1)(null==e.isExpanded||"boolean"==typeof e.isExpanded,"isExpanded must be a boolean.");try{t=e.action&&(0,s._8)(e.action)}catch(t){(0,a.R8)(`PDF Action not supported ${JSON.stringify(e.action)})`)}try{n=e.color&&(0,o.p)(e.color)}catch(t){(0,a.R8)(`Invalid color:\n\n${e.color}`)}const c={title:e.title,color:n,isBold:!0===e.isBold,isItalic:!0===e.isItalic,isExpanded:!0===e.isExpanded,action:t,children:e.children&&e.children.length>0?(0,i.B8)(e.children.map(l)):(0,i.B8)()};return new r.LC(c)}},25888:(e,t,n)=>{n.d(t,{g:()=>i,t:()=>s});var a=n(85409);function i(e,t,n,a,i,s){let o;return e.has(n)?o=e.get(n):(o=i.toString(),t[o]=n,e.set(n,o)),{...a,[s]:o}}async function s(e){const t=new WeakMap,n={};return{processedOperations:await Promise.all(e.map((async(e,s)=>{if("importDocument"===e.type){const{document:o}=e;return(0,a.V1)(o instanceof File||o instanceof Blob,"Wrong `importDocument` operation `document` value: it must be a File or a Blob"),i(t,n,o,e,s,"document")}if("applyInstantJson"===e.type){const o=e.instantJson;(0,a.V1)("object"==typeof o&&null!==o,"Wrong `applyInstantJson` operation `instantJson` value: it must be an object");const r=JSON.stringify(o),c=new Blob([r],{type:"application/json"});return i(t,n,c,e,s,"dataFilePath")}if("applyXfdf"===e.type){const o=e.xfdf;(0,a.V1)("string"==typeof o,"Wrong `applyXfdf` operation `xfdf` value: it must be a string");const r=new Blob([o],{type:"application/vnd.adobe.xfdf"});return i(t,n,r,e,s,"dataFilePath")}return e}))),operationsDocuments:n}}},47159:(e,t,n)=>{n.d(t,{g:()=>r});var a=n(49568),i=n(85409),s=n(5293),o=n(3220);function r(e){return(0,i.V1)(Array.isArray(e),"Wrong `json` field"),(0,a.B8)(e.map((e=>((0,i.V1)("number"==typeof e.pageIndex,"Wrong `pageIndex` field"),(0,i.V1)("string"==typeof e.previewText,"Wrong `previewText` field"),(0,i.V1)(Array.isArray(e.rangeInPreview),"Wrong `rangeInPreview` field"),(0,i.V1)(Array.isArray(e.rectsOnPage),"Wrong `rectsOnPage` field"),new o.A({pageIndex:e.pageIndex,previewText:e.previewText,locationInPreview:e.rangeInPreview[0],lengthInPreview:e.rangeInPreview[1],rectsOnPage:(0,a.B8)(e.rectsOnPage).map((e=>(0,s.a)(e))),isAnnotation:!!e.isAnnotation,annotationRect:e.annotationRect?(0,s.a)(e.annotationRect):null})))).filter(Boolean))}}}]);
|