@nutrient-sdk/viewer 1.1.0 → 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 +140 -187
- 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-53197614a599f95b.js → chunk-gdpicture-worker-39bda307513c184d.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-lazy-sha-6da5934fe6a5ecfd.js → chunk-lazy-sha-a9b27c62e7bb8b18.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-locale-cs-f87eb3cac2baa757.js → chunk-locale-cs-0f2312ee065af99f.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-cy-be304d2202fc76ab.js → chunk-locale-cy-8818d31d15d29abd.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-da-37837ff2c758f9a8.js → chunk-locale-da-2a36988656c76746.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-de-2a5643448e93e131.js → chunk-locale-de-3df11d899f4b4a69.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-el-5f2a1f110b0f8f1d.js → chunk-locale-el-3b27f39d9a0882a8.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-en-GB-e59f31af0f242b68.js → chunk-locale-en-GB-581ca4b7bf8977cf.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-es-a2287eb606cf2979.js → chunk-locale-es-4214e9efa89d2549.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-fi-3a7a80493e63a0f5.js → chunk-locale-fi-8c07dbac89f3184a.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-bba2666cac765bce.js → chunk-locale-fr-8536295fe59bfaea.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-fr-CA-4cdcbd6d195b7408.js → chunk-locale-fr-CA-12434fe18290da1f.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-hr-12669aade180c9ef.js → chunk-locale-hr-f6b56cc87a274564.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-id-9e082c7bfcd9e58c.js → chunk-locale-id-8ab614958f05000e.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-it-79ef8d097a29d085.js → chunk-locale-it-706552bf6e90b5c1.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-ja-e10857fccf041841.js → chunk-locale-ja-0b7280dfcbb50f2a.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-ko-da823b3bbe3b0d4d.js → chunk-locale-ko-4f717a9875a6e990.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-ms-27385907b5f98b0c.js → chunk-locale-ms-b758c034d23cabfa.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-nb-NO-3b2332258144065b.js → chunk-locale-nb-NO-b0217d811df79416.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-nl-5b0d5550eeda59aa.js → chunk-locale-nl-96cc62475932df82.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-pl-af25087e167cbf74.js → chunk-locale-pl-6561e81b13ff675c.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-9b7a5e9cbc6d161c.js → chunk-locale-pt-676a6d152411b45a.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-pt-PT-032b95edbc5c3dcb.js → chunk-locale-pt-PT-c5e7c9c00d80d425.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-ru-388e8d8de7d7a185.js → chunk-locale-ru-f477d7cd24a461ec.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-sk-f87d1e46f753976b.js → chunk-locale-sk-9879069332ed1f1f.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-sl-ee98c3fcc4b35ff1.js → chunk-locale-sl-806a57a81b0ff895.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-sv-b0d614c5064f9ed6.js → chunk-locale-sv-1ffceca8a7f05243.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-th-0419c67c4d517939.js → chunk-locale-th-ea4cdfba00f25ac9.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-tr-83454330c8a51aa6.js → chunk-locale-tr-cd18d1bf4794476d.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-uk-cc627b497c3c6611.js → chunk-locale-uk-d881259d317e9c5c.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hans-9688fcf166005268.js → chunk-locale-zh-Hans-ccc31eb1eeeb32ca.js} +2 -2
- package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hant-28714aa9130ea7e7.js → chunk-locale-zh-Hant-617b7eef3d47c487.js} +2 -2
- package/dist/nutrient-viewer-lib/chunk-server-a10bab718b2ed3ff.js +13 -0
- package/dist/nutrient-viewer-lib/{chunk-server-instant-3d6c34ef0242320a.js → chunk-server-instant-ece7fa9e68705b77.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-server-rest-fa517daf9a801375.js → chunk-server-rest-7df53a3d8111e271.js} +1 -1
- package/dist/nutrient-viewer-lib/{chunk-standalone-899126411b707866.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 → 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 → 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/jit → 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 → 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 → 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/aot → 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.0.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-54550b3e8ae83744.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-d1737a3ff63ee59f.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-gdpicture-c5e3a3f7cc37f676.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-server-d1305371c3efbfc2.js +0 -13
- package/dist/nutrient-viewer-lib/chunk-standalone-server-1cc877789226f9d3.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
|
@@ -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))}}}]);
|
|
@@ -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
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.NutrientViewer=t():e.NutrientViewer=t()}(globalThis,(()=>(()=>{var e={24601:(e,t,n)=>{var r=n(78420),o=n(13838),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},73938:(e,t,n)=>{var r=n(65335),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},58186:(e,t,n)=>{var r=n(5476),o=n(6539),i=n(23493),a=function(e){return function(t,n,a){var s,c=r(t),u=i(c),l=o(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},29609:(e,t,n)=>{var r=n(30281);e.exports=r([].slice)},18569:(e,t,n)=>{var r=n(30281),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},84361:(e,t,n)=>{var r=n(36490),o=n(15816),i=n(97632),a=n(43610);e.exports=function(e,t,n){for(var s=o(t),c=a.f,u=i.f,l=0;l<s.length;l++){var d=s[l];r(e,d)||n&&r(n,d)||c(e,d,u(t,d))}}},97712:(e,t,n)=>{var r=n(65077),o=n(43610),i=n(66843);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},66843:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7485:(e,t,n)=>{var r=n(78420),o=n(43610),i=n(48218),a=n(59430);e.exports=function(e,t,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&i(n,u,s),s.global)c?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},59430:(e,t,n)=>{var r=n(30200),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},65077:(e,t,n)=>{var r=n(92074);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},96568:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},23262:(e,t,n)=>{var r=n(30200),o=n(65335),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},16874:e=>{e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},62050:(e,t,n)=>{var r=n(47061);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},75223:(e,t,n)=>{var r=n(18569),o=n(30200);e.exports="process"==r(o.process)},47061:(e,t,n)=>{var r=n(56492);e.exports=r("navigator","userAgent")||""},6845:(e,t,n)=>{var r,o,i=n(30200),a=n(47061),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},30290:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},51605:(e,t,n)=>{var r=n(30200),o=n(97632).f,i=n(97712),a=n(7485),s=n(59430),c=n(84361),u=n(84977);e.exports=function(e,t){var n,l,d,p,f,m=e.target,g=e.global,h=e.stat;if(n=g?r:h?r[m]||s(m,{}):(r[m]||{}).prototype)for(l in t){if(p=t[l],d=e.dontCallGetSet?(f=o(n,l))&&f.value:n[l],!u(g?l:m+(h?".":"#")+l,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,l,p,e)}}},92074:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},99070:(e,t,n)=>{var r=n(38823),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},46885:(e,t,n)=>{var r=n(43091),o=n(24601),i=n(38823),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},38823:(e,t,n)=>{var r=n(92074);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},72368:(e,t,n)=>{var r=n(38823),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},12071:(e,t,n)=>{var r=n(65077),o=n(36490),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},43091:(e,t,n)=>{var r=n(18569),o=n(30281);e.exports=function(e){if("Function"===r(e))return o(e)}},30281:(e,t,n)=>{var r=n(38823),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},56492:(e,t,n)=>{var r=n(30200),o=n(78420);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},46457:(e,t,n)=>{var r=n(24601),o=n(88406);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},30200:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},36490:(e,t,n)=>{var r=n(30281),o=n(92612),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},67708:e=>{e.exports={}},28890:(e,t,n)=>{var r=n(56492);e.exports=r("document","documentElement")},87694:(e,t,n)=>{var r=n(65077),o=n(92074),i=n(23262);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},48664:(e,t,n)=>{var r=n(30281),o=n(92074),i=n(18569),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},69965:(e,t,n)=>{var r=n(30281),o=n(78420),i=n(49310),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},99206:(e,t,n)=>{var r,o,i,a=n(8369),s=n(30200),c=n(65335),u=n(97712),l=n(36490),d=n(49310),p=n(25904),f=n(67708),m="Object already initialized",g=s.TypeError,h=s.WeakMap;if(a||d.state){var y=d.state||(d.state=new h);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw g(m);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var b=p("state");f[b]=!0,r=function(e,t){if(l(e,b))throw g(m);return t.facade=e,u(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},78420:(e,t,n)=>{var r=n(96568),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},84977:(e,t,n)=>{var r=n(92074),o=n(78420),i=/#|\.prototype\./,a=function(e,t){var n=c[s(e)];return n==l||n!=u&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},88406:e=>{e.exports=function(e){return null==e}},65335:(e,t,n)=>{var r=n(78420),o=n(96568),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},6926:e=>{e.exports=!1},32328:(e,t,n)=>{var r=n(56492),o=n(78420),i=n(47658),a=n(5225),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},23493:(e,t,n)=>{var r=n(33747);e.exports=function(e){return r(e.length)}},48218:(e,t,n)=>{var r=n(92074),o=n(78420),i=n(36490),a=n(65077),s=n(12071).CONFIGURABLE,c=n(69965),u=n(99206),l=u.enforce,d=u.get,p=Object.defineProperty,f=a&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),m=String(String).split("String"),g=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),f&&n&&i(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=l(e);return i(r,"source")||(r.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return o(this)&&d(this).source||c(this)}),"toString")},19830:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},43610:(e,t,n)=>{var r=n(65077),o=n(87694),i=n(94491),a=n(73938),s=n(86032),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:d in n?n[d]:r[d],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},97632:(e,t,n)=>{var r=n(65077),o=n(72368),i=n(9304),a=n(66843),s=n(5476),c=n(86032),u=n(36490),l=n(87694),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=c(t),l)try{return d(e,t)}catch(e){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},64789:(e,t,n)=>{var r=n(16347),o=n(30290).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},18916:(e,t)=>{t.f=Object.getOwnPropertySymbols},47658:(e,t,n)=>{var r=n(30281);e.exports=r({}.isPrototypeOf)},16347:(e,t,n)=>{var r=n(30281),o=n(36490),i=n(5476),a=n(58186).indexOf,s=n(67708),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);for(;t.length>u;)o(r,n=t[u++])&&(~a(l,n)||c(l,n));return l}},9304:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},69751:(e,t,n)=>{var r=n(72368),o=n(78420),i=n(65335),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},15816:(e,t,n)=>{var r=n(56492),o=n(30281),i=n(64789),a=n(18916),s=n(73938),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?c(t,n(e)):t}},71229:(e,t,n)=>{var r=n(88406),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},18827:(e,t,n)=>{"use strict";var r,o=n(30200),i=n(99070),a=n(78420),s=n(16874),c=n(47061),u=n(29609),l=n(56589),d=o.Function,p=/MSIE .\./.test(c)||s&&((r=o.Bun.version.split(".")).length<3||0==r[0]&&(r[1]<3||3==r[1]&&0==r[2]));e.exports=function(e,t){var n=t?2:1;return p?function(r,o){var s=l(arguments.length,1)>n,c=a(r)?r:d(r),p=s?u(arguments,n):[],f=s?function(){i(c,this,p)}:c;return t?e(f,o):e(f)}:e}},25904:(e,t,n)=>{var r=n(50002),o=n(50665),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},49310:(e,t,n)=>{var r=n(30200),o=n(59430),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},50002:(e,t,n)=>{var r=n(6926),o=n(49310);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},82072:(e,t,n)=>{var r=n(6845),o=n(92074);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},74922:(e,t,n)=>{var r,o,i,a,s=n(30200),c=n(99070),u=n(46885),l=n(78420),d=n(36490),p=n(92074),f=n(28890),m=n(29609),g=n(23262),h=n(56589),y=n(62050),b=n(75223),w=s.setImmediate,v=s.clearImmediate,_=s.process,O=s.Dispatch,F=s.Function,S=s.MessageChannel,x=s.String,I=0,E={},A="onreadystatechange";try{r=s.location}catch(e){}var j=function(e){if(d(E,e)){var t=E[e];delete E[e],t()}},D=function(e){return function(){j(e)}},P=function(e){j(e.data)},k=function(e){s.postMessage(x(e),r.protocol+"//"+r.host)};w&&v||(w=function(e){h(arguments.length,1);var t=l(e)?e:F(e),n=m(arguments,1);return E[++I]=function(){c(t,void 0,n)},o(I),I},v=function(e){delete E[e]},b?o=function(e){_.nextTick(D(e))}:O&&O.now?o=function(e){O.now(D(e))}:S&&!y?(a=(i=new S).port2,i.port1.onmessage=P,o=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!p(k)?(o=k,s.addEventListener("message",P,!1)):o=A in g("script")?function(e){f.appendChild(g("script"))[A]=function(){f.removeChild(this),j(e)}}:function(e){setTimeout(D(e),0)}),e.exports={set:w,clear:v}},6539:(e,t,n)=>{var r=n(79328),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5476:(e,t,n)=>{var r=n(48664),o=n(71229);e.exports=function(e){return r(o(e))}},79328:(e,t,n)=>{var r=n(19830);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},33747:(e,t,n)=>{var r=n(79328),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},92612:(e,t,n)=>{var r=n(71229),o=Object;e.exports=function(e){return o(r(e))}},50874:(e,t,n)=>{var r=n(72368),o=n(65335),i=n(32328),a=n(46457),s=n(69751),c=n(31602),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,c=a(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},86032:(e,t,n)=>{var r=n(50874),o=n(32328);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},13838:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},50665:(e,t,n)=>{var r=n(30281),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},5225:(e,t,n)=>{var r=n(82072);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},94491:(e,t,n)=>{var r=n(65077),o=n(92074);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},56589:e=>{var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},8369:(e,t,n)=>{var r=n(30200),o=n(78420),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},31602:(e,t,n)=>{var r=n(30200),o=n(50002),i=n(36490),a=n(50665),s=n(82072),c=n(5225),u=o("wks"),l=r.Symbol,d=l&&l.for,p=c?l:l&&l.withoutSetter||a;e.exports=function(e){if(!i(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&i(l,e)?u[e]=l[e]:u[e]=c&&d?d(t):p(t)}return u[e]}},61857:(e,t,n)=>{var r=n(51605),o=n(30200),i=n(74922).clear;r({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},75417:(e,t,n)=>{n(61857),n(19708)},19708:(e,t,n)=>{var r=n(51605),o=n(30200),i=n(74922).set,a=n(18827),s=o.setImmediate?a(i,!1):i;r({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==s},{setImmediate:s})},55480:()=>{},95920:e=>{e.exports="54550b3e8ae83744"},41211:e=>{e.exports="2f2f38dcd3a74c2e"}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);return(()=>{"use strict";n(75417);"object"==typeof window&&(window._babelPolyfill=!1);const e=function e(t){let n;return n=t instanceof Error?t:new Error(t),Object.setPrototypeOf(n,e.prototype),n};e.prototype=Object.create(Error.prototype,{name:{value:"PSPDFKitError",enumerable:!1}});const t=e;function r(e,n){if(!e)throw new t(`Assertion failed: ${n||"Condition not met"}\n\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}function o(e){console.log(e)}function i(){console.warn(...arguments)}function a(e){console.error(e)}["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}function u(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}new WeakMap;const l="function"==typeof Buffer,d=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder&&new TextEncoder,Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),p=(e=>{let t={};return e.forEach(((e,n)=>t[e]=n)),t})(d),f=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,m=String.fromCharCode.bind(String),g="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),h=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),y=e=>{let t,n,r,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=d[t>>18&63]+d[t>>12&63]+d[t>>6&63]+d[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},b=e=>{if(e=e.replace(/\s+/g,""),!f.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,o="";for(let i=0;i<e.length;)t=p[e.charAt(i++)]<<18|p[e.charAt(i++)]<<12|(n=p[e.charAt(i++)])<<6|(r=p[e.charAt(i++)]),o+=64===n?m(t>>16&255):64===r?m(t>>16&255,t>>8&255):m(t>>16&255,t>>8&255,255&t);return o},w="function"==typeof atob?e=>atob(h(e)):l?e=>Buffer.from(e,"base64").toString("binary"):b,v=l?e=>g(Buffer.from(e,"base64")):e=>g(w(e).split("").map((e=>e.charCodeAt(0)))),_=e=>v(O(e)),O=e=>h(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))),F=_;function S(e){return{name:e.name,scale:{unitFrom:e.scale.unitFrom,unitTo:e.scale.unitTo,from:Number(e.scale.fromValue),to:Number(e.scale.toValue)},precision:e.precision}}var x=n(95920),I=n.n(x),E=n(41211),A=n.n(E),j=n(55480),D=n.n(j);let P;P="object"==typeof process&&"object"==typeof process.versions&&void 0!==process.versions.node?D():function(e){return"object"==typeof window?new Promise(((t,n)=>{const o=document.createElement("script");o.type="text/javascript",o.async=!0,o.onload=()=>t(window.PSPDFModuleInit),o.onerror=n,o.src=e;const{documentElement:i}=document;r(i),i.appendChild(o)})):(self.importScripts(e),Promise.resolve(self.PSPDFModuleInit))};const k=P,C="nutrient-viewer-lib/",T=`${C}nutrient-viewer${"-"+A()}.wasm.js`,N=`${C}nutrient-viewer${"-"+I()}.wasm`;function $(e,t){let n,r,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:globalThis;return new Promise((async c=>{n=function(e,t){let n;if("object"==typeof e){n=e.wasm;return{wasmBinaryFile:N,locateFile:e=>e,wasmBinary:n}}const r={wasmBinaryFile:e+N,locateFile:e=>e,wasmBinary:n};{const e=fetch(r.wasmBinaryFile,{credentials:"same-origin"}),n=13857921;e.then((e=>{const t=e.headers.get("content-length");return t&&parseInt(t)>=n&&i("The WASM binary file is being served without compression. Due to its size, it's recommended to configure the server so application/wasm files are served with compression.\n\nFind more details in our Standalone performance guides: https://www.nutrient.io/guides/web/best-practices/caching-on-the-web/#gzip-and-brotli"),e})).catch((e=>{throw new Error(`Failed to load WASM binary file: ${e}`)})),r.instantiateWasm=(n,i)=>((async()=>{o(`Start ${r.wasmBinaryFile} download.`);const s=Date.now();let c,u;const l=!t&&"function"==typeof WebAssembly.instantiateStreaming;function d(){return e.then((e=>{if(!e.ok)throw new Error(`Error loading ${r.wasmBinaryFile}: ${e.statusText}`);return e.arrayBuffer()})).then((e=>(u=Date.now(),o(`Download complete, took: ${u-s}ms`),WebAssembly.instantiate(new Uint8Array(e),n))))}c=l?WebAssembly.instantiateStreaming(e,n).then((e=>(u=Date.now(),o(`Download and Instantiation complete, took: ${Date.now()-s}ms`),e))).catch((e=>{if(/mime.*type/i.test(e.message))return a(e.message),null;throw e})):d();let p=await c;null===p&&(a("Streaming instantiation failed! Falling back to classic instantiation. This might result in slower initialization time therefore we highly recommend to follow the troubleshooting instructions in our guides to fix this error: https://www.nutrient.io/guides/web/current/troubleshooting/common-issues/#response-has-unsupported-mime-type-error."),p=await d()),!l&&u&&o(`Compilation and Instantiation complete, took: ${Date.now()-u}ms`),i(p.instance,p.module)})(),{})}return r}(e,t),"string"==typeof e&&(r=await k(`${e}${T}`)),o("Using WASM method"),function(e){e.PSPDFLoggingServices={error(e,t){a(`[${e}] ${t}`)},warn(e,t){i(`[${e}] ${t}`)},info(e,t){0},debug(e,t){0},trace(e,t){0}},e.PSPDFUnicodeServices={stripDiacritics(e){const t={Á:"A",Ă:"A",Ắ:"A",Ặ:"A",Ằ:"A",Ẳ:"A",Ẵ:"A",Ǎ:"A",Â:"A",Ấ:"A",Ậ:"A",Ầ:"A",Ẩ:"A",Ẫ:"A",Ä:"A",Ǟ:"A",Ȧ:"A",Ǡ:"A",Ạ:"A",Ȁ:"A",À:"A",Ả:"A",Ȃ:"A",Ā:"A",Ą:"A",Å:"A",Ǻ:"A",Ḁ:"A",Ⱥ:"A",Ã:"A",Ꜳ:"AA",Æ:"AE",Ǽ:"AE",Ǣ:"AE",Ꜵ:"AO",Ꜷ:"AU",Ꜹ:"AV",Ꜻ:"AV",Ꜽ:"AY",Ḃ:"B",Ḅ:"B",Ɓ:"B",Ḇ:"B",Ƀ:"B",Ƃ:"B",Ć:"C",Č:"C",Ç:"C",Ḉ:"C",Ĉ:"C",Ċ:"C",Ƈ:"C",Ȼ:"C",Ď:"D",Ḑ:"D",Ḓ:"D",Ḋ:"D",Ḍ:"D",Ɗ:"D",Ḏ:"D",Dz:"D",Dž:"D",Đ:"D",Ƌ:"D",DZ:"DZ",DŽ:"DZ",É:"E",Ĕ:"E",Ě:"E",Ȩ:"E",Ḝ:"E",Ê:"E",Ế:"E",Ệ:"E",Ề:"E",Ể:"E",Ễ:"E",Ḙ:"E",Ë:"E",Ė:"E",Ẹ:"E",Ȅ:"E",È:"E",Ẻ:"E",Ȇ:"E",Ē:"E",Ḗ:"E",Ḕ:"E",Ę:"E",Ɇ:"E",Ẽ:"E",Ḛ:"E",Ꝫ:"ET",Ḟ:"F",Ƒ:"F",Ǵ:"G",Ğ:"G",Ǧ:"G",Ģ:"G",Ĝ:"G",Ġ:"G",Ɠ:"G",Ḡ:"G",Ǥ:"G",Ḫ:"H",Ȟ:"H",Ḩ:"H",Ĥ:"H",Ⱨ:"H",Ḧ:"H",Ḣ:"H",Ḥ:"H",Ħ:"H",Í:"I",Ĭ:"I",Ǐ:"I",Î:"I",Ï:"I",Ḯ:"I",İ:"I",Ị:"I",Ȉ:"I",Ì:"I",Ỉ:"I",Ȋ:"I",Ī:"I",Į:"I",Ɨ:"I",Ĩ:"I",Ḭ:"I",Ꝺ:"D",Ꝼ:"F",Ᵹ:"G",Ꞃ:"R",Ꞅ:"S",Ꞇ:"T",Ꝭ:"IS",Ĵ:"J",Ɉ:"J",Ḱ:"K",Ǩ:"K",Ķ:"K",Ⱪ:"K",Ꝃ:"K",Ḳ:"K",Ƙ:"K",Ḵ:"K",Ꝁ:"K",Ꝅ:"K",Ĺ:"L",Ƚ:"L",Ľ:"L",Ļ:"L",Ḽ:"L",Ḷ:"L",Ḹ:"L",Ⱡ:"L",Ꝉ:"L",Ḻ:"L",Ŀ:"L",Ɫ:"L",Lj:"L",Ł:"L",LJ:"LJ",Ḿ:"M",Ṁ:"M",Ṃ:"M",Ɱ:"M",Ń:"N",Ň:"N",Ņ:"N",Ṋ:"N",Ṅ:"N",Ṇ:"N",Ǹ:"N",Ɲ:"N",Ṉ:"N",Ƞ:"N",Nj:"N",Ñ:"N",NJ:"NJ",Ó:"O",Ŏ:"O",Ǒ:"O",Ô:"O",Ố:"O",Ộ:"O",Ồ:"O",Ổ:"O",Ỗ:"O",Ö:"O",Ȫ:"O",Ȯ:"O",Ȱ:"O",Ọ:"O",Ő:"O",Ȍ:"O",Ò:"O",Ỏ:"O",Ơ:"O",Ớ:"O",Ợ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ȏ:"O",Ꝋ:"O",Ꝍ:"O",Ō:"O",Ṓ:"O",Ṑ:"O",Ɵ:"O",Ǫ:"O",Ǭ:"O",Ø:"O",Ǿ:"O",Õ:"O",Ṍ:"O",Ṏ:"O",Ȭ:"O",Ƣ:"OI",Ꝏ:"OO",Ɛ:"E",Ɔ:"O",Ȣ:"OU",Ṕ:"P",Ṗ:"P",Ꝓ:"P",Ƥ:"P",Ꝕ:"P",Ᵽ:"P",Ꝑ:"P",Ꝙ:"Q",Ꝗ:"Q",Ŕ:"R",Ř:"R",Ŗ:"R",Ṙ:"R",Ṛ:"R",Ṝ:"R",Ȑ:"R",Ȓ:"R",Ṟ:"R",Ɍ:"R",Ɽ:"R",Ꜿ:"C",Ǝ:"E",Ś:"S",Ṥ:"S",Š:"S",Ṧ:"S",Ş:"S",Ŝ:"S",Ș:"S",Ṡ:"S",Ṣ:"S",Ṩ:"S",Ť:"T",Ţ:"T",Ṱ:"T",Ț:"T",Ⱦ:"T",Ṫ:"T",Ṭ:"T",Ƭ:"T",Ṯ:"T",Ʈ:"T",Ŧ:"T",Ɐ:"A",Ꞁ:"L",Ɯ:"M",Ʌ:"V",Ꜩ:"TZ",Ú:"U",Ŭ:"U",Ǔ:"U",Û:"U",Ṷ:"U",Ü:"U",Ǘ:"U",Ǚ:"U",Ǜ:"U",Ǖ:"U",Ṳ:"U",Ụ:"U",Ű:"U",Ȕ:"U",Ù:"U",Ủ:"U",Ư:"U",Ứ:"U",Ự:"U",Ừ:"U",Ử:"U",Ữ:"U",Ȗ:"U",Ū:"U",Ṻ:"U",Ų:"U",Ů:"U",Ũ:"U",Ṹ:"U",Ṵ:"U",Ꝟ:"V",Ṿ:"V",Ʋ:"V",Ṽ:"V",Ꝡ:"VY",Ẃ:"W",Ŵ:"W",Ẅ:"W",Ẇ:"W",Ẉ:"W",Ẁ:"W",Ⱳ:"W",Ẍ:"X",Ẋ:"X",Ý:"Y",Ŷ:"Y",Ÿ:"Y",Ẏ:"Y",Ỵ:"Y",Ỳ:"Y",Ƴ:"Y",Ỷ:"Y",Ỿ:"Y",Ȳ:"Y",Ɏ:"Y",Ỹ:"Y",Ź:"Z",Ž:"Z",Ẑ:"Z",Ⱬ:"Z",Ż:"Z",Ẓ:"Z",Ȥ:"Z",Ẕ:"Z",Ƶ:"Z",IJ:"IJ",Œ:"OE",ᴀ:"A",ᴁ:"AE",ʙ:"B",ᴃ:"B",ᴄ:"C",ᴅ:"D",ᴇ:"E",ꜰ:"F",ɢ:"G",ʛ:"G",ʜ:"H",ɪ:"I",ʁ:"R",ᴊ:"J",ᴋ:"K",ʟ:"L",ᴌ:"L",ᴍ:"M",ɴ:"N",ᴏ:"O",ɶ:"OE",ᴐ:"O",ᴕ:"OU",ᴘ:"P",ʀ:"R",ᴎ:"N",ᴙ:"R",ꜱ:"S",ᴛ:"T",ⱻ:"E",ᴚ:"R",ᴜ:"U",ᴠ:"V",ᴡ:"W",ʏ:"Y",ᴢ:"Z",á:"a",ă:"a",ắ:"a",ặ:"a",ằ:"a",ẳ:"a",ẵ:"a",ǎ:"a",â:"a",ấ:"a",ậ:"a",ầ:"a",ẩ:"a",ẫ:"a",ä:"a",ǟ:"a",ȧ:"a",ǡ:"a",ạ:"a",ȁ:"a",à:"a",ả:"a",ȃ:"a",ā:"a",ą:"a",ᶏ:"a",ẚ:"a",å:"a",ǻ:"a",ḁ:"a",ⱥ:"a",ã:"a",ꜳ:"aa",æ:"ae",ǽ:"ae",ǣ:"ae",ꜵ:"ao",ꜷ:"au",ꜹ:"av",ꜻ:"av",ꜽ:"ay",ḃ:"b",ḅ:"b",ɓ:"b",ḇ:"b",ᵬ:"b",ᶀ:"b",ƀ:"b",ƃ:"b",ɵ:"o",ć:"c",č:"c",ç:"c",ḉ:"c",ĉ:"c",ɕ:"c",ċ:"c",ƈ:"c",ȼ:"c",ď:"d",ḑ:"d",ḓ:"d",ȡ:"d",ḋ:"d",ḍ:"d",ɗ:"d",ᶑ:"d",ḏ:"d",ᵭ:"d",ᶁ:"d",đ:"d",ɖ:"d",ƌ:"d",ı:"i",ȷ:"j",ɟ:"j",ʄ:"j",dz:"dz",dž:"dz",é:"e",ĕ:"e",ě:"e",ȩ:"e",ḝ:"e",ê:"e",ế:"e",ệ:"e",ề:"e",ể:"e",ễ:"e",ḙ:"e",ë:"e",ė:"e",ẹ:"e",ȅ:"e",è:"e",ẻ:"e",ȇ:"e",ē:"e",ḗ:"e",ḕ:"e",ⱸ:"e",ę:"e",ᶒ:"e",ɇ:"e",ẽ:"e",ḛ:"e",ꝫ:"et",ḟ:"f",ƒ:"f",ᵮ:"f",ᶂ:"f",ǵ:"g",ğ:"g",ǧ:"g",ģ:"g",ĝ:"g",ġ:"g",ɠ:"g",ḡ:"g",ᶃ:"g",ǥ:"g",ḫ:"h",ȟ:"h",ḩ:"h",ĥ:"h",ⱨ:"h",ḧ:"h",ḣ:"h",ḥ:"h",ɦ:"h",ẖ:"h",ħ:"h",ƕ:"hv",í:"i",ĭ:"i",ǐ:"i",î:"i",ï:"i",ḯ:"i",ị:"i",ȉ:"i",ì:"i",ỉ:"i",ȋ:"i",ī:"i",į:"i",ᶖ:"i",ɨ:"i",ĩ:"i",ḭ:"i",ꝺ:"d",ꝼ:"f",ᵹ:"g",ꞃ:"r",ꞅ:"s",ꞇ:"t",ꝭ:"is",ǰ:"j",ĵ:"j",ʝ:"j",ɉ:"j",ḱ:"k",ǩ:"k",ķ:"k",ⱪ:"k",ꝃ:"k",ḳ:"k",ƙ:"k",ḵ:"k",ᶄ:"k",ꝁ:"k",ꝅ:"k",ĺ:"l",ƚ:"l",ɬ:"l",ľ:"l",ļ:"l",ḽ:"l",ȴ:"l",ḷ:"l",ḹ:"l",ⱡ:"l",ꝉ:"l",ḻ:"l",ŀ:"l",ɫ:"l",ᶅ:"l",ɭ:"l",ł:"l",lj:"lj",ſ:"s",ẜ:"s",ẛ:"s",ẝ:"s",ḿ:"m",ṁ:"m",ṃ:"m",ɱ:"m",ᵯ:"m",ᶆ:"m",ń:"n",ň:"n",ņ:"n",ṋ:"n",ȵ:"n",ṅ:"n",ṇ:"n",ǹ:"n",ɲ:"n",ṉ:"n",ƞ:"n",ᵰ:"n",ᶇ:"n",ɳ:"n",ñ:"n",nj:"nj",ó:"o",ŏ:"o",ǒ:"o",ô:"o",ố:"o",ộ:"o",ồ:"o",ổ:"o",ỗ:"o",ö:"o",ȫ:"o",ȯ:"o",ȱ:"o",ọ:"o",ő:"o",ȍ:"o",ò:"o",ỏ:"o",ơ:"o",ớ:"o",ợ:"o",ờ:"o",ở:"o",ỡ:"o",ȏ:"o",ꝋ:"o",ꝍ:"o",ⱺ:"o",ō:"o",ṓ:"o",ṑ:"o",ǫ:"o",ǭ:"o",ø:"o",ǿ:"o",õ:"o",ṍ:"o",ṏ:"o",ȭ:"o",ƣ:"oi",ꝏ:"oo",ɛ:"e",ᶓ:"e",ɔ:"o",ᶗ:"o",ȣ:"ou",ṕ:"p",ṗ:"p",ꝓ:"p",ƥ:"p",ᵱ:"p",ᶈ:"p",ꝕ:"p",ᵽ:"p",ꝑ:"p",ꝙ:"q",ʠ:"q",ɋ:"q",ꝗ:"q",ŕ:"r",ř:"r",ŗ:"r",ṙ:"r",ṛ:"r",ṝ:"r",ȑ:"r",ɾ:"r",ᵳ:"r",ȓ:"r",ṟ:"r",ɼ:"r",ᵲ:"r",ᶉ:"r",ɍ:"r",ɽ:"r",ↄ:"c",ꜿ:"c",ɘ:"e",ɿ:"r",ś:"s",ṥ:"s",š:"s",ṧ:"s",ş:"s",ŝ:"s",ș:"s",ṡ:"s",ṣ:"s",ṩ:"s",ʂ:"s",ᵴ:"s",ᶊ:"s",ȿ:"s",ɡ:"g",ᴑ:"o",ᴓ:"o",ᴝ:"u",ť:"t",ţ:"t",ṱ:"t",ț:"t",ȶ:"t",ẗ:"t",ⱦ:"t",ṫ:"t",ṭ:"t",ƭ:"t",ṯ:"t",ᵵ:"t",ƫ:"t",ʈ:"t",ŧ:"t",ᵺ:"th",ɐ:"a",ᴂ:"ae",ǝ:"e",ᵷ:"g",ɥ:"h",ʮ:"h",ʯ:"h",ᴉ:"i",ʞ:"k",ꞁ:"l",ɯ:"m",ɰ:"m",ᴔ:"oe",ɹ:"r",ɻ:"r",ɺ:"r",ⱹ:"r",ʇ:"t",ʌ:"v",ʍ:"w",ʎ:"y",ꜩ:"tz",ú:"u",ŭ:"u",ǔ:"u",û:"u",ṷ:"u",ü:"u",ǘ:"u",ǚ:"u",ǜ:"u",ǖ:"u",ṳ:"u",ụ:"u",ű:"u",ȕ:"u",ù:"u",ủ:"u",ư:"u",ứ:"u",ự:"u",ừ:"u",ử:"u",ữ:"u",ȗ:"u",ū:"u",ṻ:"u",ų:"u",ᶙ:"u",ů:"u",ũ:"u",ṹ:"u",ṵ:"u",ᵫ:"ue",ꝸ:"um",ⱴ:"v",ꝟ:"v",ṿ:"v",ʋ:"v",ᶌ:"v",ⱱ:"v",ṽ:"v",ꝡ:"vy",ẃ:"w",ŵ:"w",ẅ:"w",ẇ:"w",ẉ:"w",ẁ:"w",ⱳ:"w",ẘ:"w",ẍ:"x",ẋ:"x",ᶍ:"x",ý:"y",ŷ:"y",ÿ:"y",ẏ:"y",ỵ:"y",ỳ:"y",ƴ:"y",ỷ:"y",ỿ:"y",ȳ:"y",ẙ:"y",ɏ:"y",ỹ:"y",ź:"z",ž:"z",ẑ:"z",ʑ:"z",ⱬ:"z",ż:"z",ẓ:"z",ȥ:"z",ẕ:"z",ᵶ:"z",ᶎ:"z",ʐ:"z",ƶ:"z",ɀ:"z",ff:"ff",ffi:"ffi",ffl:"ffl",fi:"fi",fl:"fl",ij:"ij",œ:"oe",st:"st",ₐ:"a",ₑ:"e",ᵢ:"i",ⱼ:"j",ₒ:"o",ᵣ:"r",ᵤ:"u",ᵥ:"v",ₓ:"x"};if(!e.normalize)return e;const n=e.replace(/[^A-Za-z0-9[\] ]/g,(function(e){return t[e]||e}));return e.normalize("NFC").length==n.normalize("NFC").length?n:""},escapeRegExp:e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),match(e,t,n){const r=new RegExp(t,n?"g":"gi"),o=[];let i=r.exec(e);for(;null!=i;)o.push([i.index,i[0].length]),i=r.exec(e);return o},exec:(e,t)=>new RegExp(e).exec(t)}}(s);c({nativeModule:await r(n)})}))}function B(e){if("arrayBuffer"in e)return e.arrayBuffer().then((e=>new Uint8Array(e)));const t=new FileReader;return new Promise(((n,r)=>{t.onerror=e=>{r(new Error(e))},t.onload=e=>{n(new Uint8Array(e.target?.result))},t.readAsArrayBuffer(e)}))}const M="text",R="documentA",J="documentB",L="result",U="Maui_Android",z="Maui_iOS",W="Maui_MacCatalyst",V="Maui_Windows",q="FlutterForWeb",K="Electron",G="cms",Z="unableToShape",H="requiresMoreFonts";async function Y(e){try{const n=await fetch(e).catch((n=>{throw new t(`Error fetching dynamic fonts file ${e}. ${n}`)}));if(200!==n.status)throw new t(`Error fetching dynamic fonts file ${e}. Status code: ${n.status}`);return n}catch(e){throw e}}function X(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:globalThis.navigator?.userAgent??"";return e.indexOf("Trident/")>-1?"trident":e.indexOf("Edge/")>-1?"edge":e.indexOf("Chrome/")>-1?"blink":e.indexOf("AppleWebKit/")>-1?"webkit":e.indexOf("Gecko/")>-1?"gecko":"unknown"}function Q(e,t){const n=new RegExp(` ${t}/(\\d+)\\.*`);let r;return(r=e.match(n))?Number(r[1]):0}function ee(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:globalThis.navigator?.userAgent??"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis.navigator?.platform??"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:globalThis.navigator?.maxTouchPoints??0;return t.indexOf("MacIntel")>-1&&n>1?"ios":e.indexOf("Win")>-1?"windows":e.indexOf("iPhone")>-1||e.indexOf("iPad")>-1||"iPad"===t?"ios":e.indexOf("Mac")>-1?"macos":e.indexOf("Android")>-1?"android":e.indexOf("Linux")>-1?"linux":"unknown"}X();const te=ee(),ne=(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:globalThis.navigator?.userAgent;switch(X(e)){case"trident":return Q(e,"Trident");case"edge":return Q(e,"Edge");case"blink":return Q(e,"Chrome");case"webkit":return Q(e,"Version");case"gecko":return Q(e,"Firefox");default:;}}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ee(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X();"ios"===e||"android"===e||re(t)}(),"ios"===te||re(),"ios"===te);function re(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X();return("undefined"==typeof window||!window.PSPDFKIT_PLAYWRIGHT_TEST)&&("webkit"===e&&"undefined"!=typeof TouchEvent)}let oe;"undefined"!=typeof window&&(window.addEventListener("mousemove",(function e(){oe=!1,window.removeEventListener("mousemove",e)})),window.addEventListener("pointermove",(function e(t){"mouse"!==t.pointerType&&"pen"!==t.pointerType||(oe=!1),window.removeEventListener("pointermove",e)})));/Mac/i.test(globalThis.navigator?.platform);function ie(){return"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron/")>=0}const ae="/create.pdf",se="/save.pdf",ce="/embedded.pdf",ue="WebAssembly module not loaded.";let le=null,de=!1,pe=!1,fe=null;const me={password:void 0,initialPageIndex:void 0};let ge=[],he=me,ye=null,be=null;const we=new Set,ve="/fonts";let _e="";const Oe=new Set;let Fe=!1;var Se=function(e){return e[e.Daemon=0]="Daemon",e[e.WASM=1]="WASM",e}(Se||{});const xe=[];function Ie(e){return Array.isArray(e)&&0===e.length}const Ee=["configurePDFJavaScriptSupport","closeDocument","setFormValues","openDocument","saveDocument","importXFDF","importInstantDocumentJSON"],Ae={annotationsAndForms:"annotations_and_forms",assemble:"assemble",extract:"extract",extractAccessibility:"extract_accessibility",fillForms:"fill_forms",modification:"modification",printHighQuality:"print_high_quality",printing:"printing"};function je(e){r(le,"WebAssembly module not loaded."),Fe&&performance.mark("exec");for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];const i=n.map((e=>Ie(e)?JSON.stringify(e):e));Ee.includes(e)&&Je();const a=le[e](...i)||'{ "success": true }',s=JSON.parse(a);if(Fe&&xe.push({type:Se.WASM,name:e,args:i,time:performance.measure("exec - RECORD_CALLS","exec").duration}),!s.success)throw new Error(s.error);return s}function De(e){r(le,"WebAssembly module not loaded."),Fe&&performance.mark("execBinary");for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];Ee.includes(e)&&Je();const i=n.map((e=>Ie(e)?JSON.stringify(e):e)),a=le[e](...i);return Fe&&xe.push({type:Se.WASM,name:e,args:i,time:performance.measure("execBinary: RECORD_CALLS","execBinary").duration}),a}const Pe=["run_pdf_formatting_scripts","run_pdf_javascript","set_form_values_get_script_changes","edit_document","prepare_sign","sign","on_keystroke_event","save_document","update_annotation"];function ke(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;r(le,"WebAssembly module not loaded.");const o=JSON.stringify({type:e,...t});let i;if(Fe&&performance.mark("daemonExec"),Pe.includes(e)&&Je(),n)try{const e="string"==typeof n?new Uint8Array(function(e){const t=new ArrayBuffer(2*e.length),n=new Uint16Array(t);for(let t=0,r=e.length;t<r;t++)n[t]=e.charCodeAt(t);return t}(n)):new Uint8Array(n),t=le.allocateMemory(e.byteLength);try{t.view.set(e);const n=le.memoryHandleToVector(t);try{i=le.dispatchCommandWithBinary(o,n)}finally{n.delete()}}finally{t.delete()}}catch(e){throw e}else i=le.dispatchCommand(o);if(i.hasError()){const t=new Error(i.getErrorMessage()||"There was an error while executing the command: "+e);throw i.delete(),t}const a=[];for(let e=0;e<i.getRepliesCount();e++)i.hasJSONReply(e)&&a.push(JSON.parse(i.getJSONReply(e))),i.hasBinaryReply(e)&&a.push(i.getBinaryReply(e).slice(0));return Fe&&xe.push({type:Se.Daemon,name:e,args:[o],time:performance.measure("daemonExec: RECORD_CALLS","daemonExec").duration}),i.delete(),a}function Ce(e,t){return`${e}/${t}.pdf`}async function Te(e,t){const n=Math.random().toString(36).slice(-5),o=await Promise.all(Object.entries(t).map((async t=>{let[r,o]=t;return e.forEach((e=>{"document"in e&&e.document===r&&"importDocument"===e.type?(!1===e.treatImportedDocumentAsOnePage&&(e.treatImportedDocumentAsOnePage=void 0),e.document=Ce(n,r)):("dataFilePath"in e&&e.dataFilePath===r&&"applyInstantJson"===e.type||"dataFilePath"in e&&e.dataFilePath===r&&"applyXfdf"===e.type)&&(e.dataFilePath=Ce(n,r))})),{basename:r,buffer:await B(o)}})));return o.forEach((e=>{!function(e,t,n){r(le,ue),le.FS.analyzePath(e).exists||le.FS.mkdir(e),le.FS.writeFile(Ce(e,t),n)}(n,e.basename,e.buffer)})),function(){o.forEach((e=>{!function(e,t){r(le,ue),le.FS.unlink(Ce(e,t))}(n,e.basename)}))}}function Ne(){pe=!0;const e=je("configurePDFJavaScriptSupport",!0);return r(e.success,"An error occurred while executing the document level JavaScript."),e.changes||[]}function $e(e,t){try{ke("edit_document",{save_path:t,operations:e})}catch(e){throw new Error(`Error applying operations to document: ${e.message}`)}}let Be=null,Me=!1,Re=!1;function Je(){Me||(Be=null,Re=!1)}function Le(e){Me&&!e&&(Me=!1,Be&&ze(Be)),Me=e}function Ue(){return null===Be&&(Be=ke("read_form_json_objects",{include_line_height_factor:!1}),Re=!1),Be}function ze(e){if(Me){if(null===e)throw Me=!1,new Error("Error enqueuing form JSON objects: form fields JSON is null.");return Be&&!Re&&(Re=!0),void(Be=e)}if(Re||!Me)try{Je(),ke("apply_form_json_objects",{form_fields_with_widgets:e})}catch(e){throw new Error("Error applying form JSON objects to "+ae+": "+e.message)}}function We(e,t,n,o,i,a){const s=qe(i,{width:n,height:o});if(r("number"==typeof e.pageIndex,"Annotation must have a pageIndex"),!we.has(e.pdfObjectId))try{r("number"==typeof e.pdfObjectId,"Cannot call renderAnnotation() for an annotation without pdfObjectId.");const t=ke("render_annotation",{page:e.pageIndex,annotation_id:e.pdfObjectId,format:s,bitmap_width:n,bitmap_height:o,appearance_stream_type:a||"normal"});if("bitmap"===s)return t[0];{const e=new Blob([t[0]],{type:`image/${s}`});return URL.createObjectURL(e)}}catch(e){return void 0}}const Ve={SharePoint:"SPO",Salesforce:"SF",[z]:"MauiIOS",[U]:"MauiAndroid",[W]:"MauiMacCatalyst",[V]:"MauiWindows",[q]:"FlutterForWeb",NodeJS:"NodeJS",Electron:"Electron"};function qe(e,t){let{width:n,height:r}=t;return"webp"===e&&(n>16383||r>16383)||ne&&n*r>16777216&&"bitmap"===e?"png":e}function Ke(e){return e.map((e=>Ae[e]))}function Ge(e,t){return e.pdfObjectId===t.pdfObjectId}const Ze=new class{constructor(){u(this,"_pdfObjectIdsForIds",{}),u(this,"comparisonDocuments",{}),u(this,"lastOpenedComparisonDocument",null),u(this,"persistedOpenDocument",null),u(this,"persistedOpenDocumentConfiguration",me),u(this,"files",new Map),u(this,"fileDescriptor",0)}loadNativeModule(e,t){let{disableWebAssemblyStreaming:n,enableAutomaticLinkExtraction:r,overrideMemoryLimit:o}=t;return ye=Date.now(),de=r,fe=o,$(e,n).then((e=>{let{nativeModule:t}=e;le=t;const n=je("PSPDFKitVersion").version;if(1!==n)throw new Error(`Native version mismatch. Please update the dependencies. Expected 1 but got ${n}.`)}))}corePBProtoBridge(e,t,n){const r=le.allocateMemory(n.byteLength);let o=null,i=null;try{r.view.set(n),o=le.corePBProtoBridge(e,t,r),i=o.result;const a={success:o.success,result:i.view.slice()};return Promise.resolve(a)}finally{r.delete(),o?.result?.delete(),o?.delete(),i?.delete()}}async writeFile(e,t){r(le,ue),le.FS.writeFile(e,new Uint8Array(t))}async deleteFile(e){r(le,ue),le.FS.unlink(e)}async readFile(e){return r(le,ue),le.FS.readFile(e)}async renderLinearized(e){const t=le.allocateMemory(e.byteLength);let n=null;try{return t.view.set(e),n=le.renderLinearized(t),Promise.resolve(n.view.slice())}finally{t.delete(),n?.delete()}}async load(e,t,n){let i,{mainThreadOrigin:a,customFonts:s,dynamicFonts:c,productId:u,featureFlags:l}=n;r(le,ue);try{if(le.FS.analyzePath(ve).exists||le.FS.mkdir(ve),_e=s?`${ve}/custom-fonts`:"",s&&!le.FS.analyzePath(_e).exists&&function(e,t){r(le,ue),le.FS.analyzePath(t).exists||le.FS.mkdir(t),le.FS.mount(le.FS.filesystems.WORKERFS,{blobs:e},t)}(s,_e),ie()&&(r(null==u||u===K,`PSPDFKit is running on Electron, but has been setup to be used with ${u}Please contact support to resolve the issue.`),u=K),i=le.initPSPDFKit(null==t?"":t,a,ve,"",u&&void 0!==Ve[u]?Ve[u]:"",JSON.stringify(l??[])),c){const e=await Y(c);ke("dynamic_font_loading/set_metadata_file",void 0,await e.arrayBuffer()),be=c.split("/").slice(0,-1).join("/")}}catch(e){throw e}const d=JSON.parse(i);if(ye&&o(`Native initialization complete, took: ${Date.now()-ye}ms`),!d.success)throw new Error("Failed to initialize PSPDFKit: "+d.error);return d}getNativeModule(){return le}async openDocument(e,t){try{return r(le,ue),null!==fe&&je("overrideMemoryLimit",fe),le.FS.writeFile(ae,new Uint8Array(e)),this.openAndReturnDocumentInfo(t??me)}finally{this._pdfObjectIdsForIds={}}}async openCreateFilePathDocument(e){try{return null!==fe&&je("overrideMemoryLimit",fe),this.openAndReturnDocumentInfo(e??me)}finally{this._pdfObjectIdsForIds={}}}async getSuggestedLineHeightFactor(e,t){return ke("get_suggested_line_height_factor",{annotation_ids:[e],page:t})[0].line_height_factors[e.toString()]}async getAvailableFontFaces(e){if(!e)return[];const t=ke("get_available_font_faces");return t[0]?.font_faces.reduce(((t,n)=>{const r=e.find((e=>e.name===n.path.replace(`${_e}/`,"")));return r?t.concat({readableName:n.fullName,name:r.name}):t}),[])}async setFontSubstitutions(e){try{ke("set_font_substitutions",{substitutions:e})}catch(e){throw new Error("Error setting fonts substitutions: "+e.message)}}async getClosestSnapPoint(e,t){return ke("get_closest_snap",{q:[e,t]})[0]}async configureSnapper(e){ke("configure_snapper",{page:e})}async reloadDocument(){try{return Le(!1),je("closeDocument"),this.openAndReturnDocumentInfo(he)}finally{this._pdfObjectIdsForIds={}}}async openAndReturnDocumentInfo(e){he=e,je("openDocument",ae,JSON.stringify(e)),pe&&Ne(),je("automaticLinkExtraction",de);const t=je("getDocumentInfo").documentInfo;if(t.pageCount<=0)return t;let n=[];if("number"==typeof e?.initialPageIndex){const r=await this.getPageInfo(e.initialPageIndex);for(let o=0;o<t.pageCount;o++){const t={...r,pageIndex:o,pageLabel:e.initialPageIndex===o?r.pageLabel:String(o+1)};n.push(t)}}else n=await this.getAllPageInfos(t.pageCount);return t.pages=n,t}async getPageInfo(e){try{const t=ke("page_info",{query:"page_info",page:e});r(1===t.length,"expected page_info result to return 1 result when specifying index.");const n=(new TextDecoder).decode(t[0]);return JSON.parse(n).pageInfo}catch(t){return a(`Dimensional information for page ${e} unavailable, page will not be displayed.`),{height:0,matrix:[0,0,0,0,0,0],pageLabel:"",reverseMatrix:[0,0,0,0,0,0],transformedBBox:[0,0,0,0],untransformedBBox:[0,0,0,0],width:0,pageIndex:e,rawPdfBoxes:{bleedBox:null,cropBox:null,mediaBox:null,trimBox:null}}}}async preflightRenderAnnotationText(e,t,n,o){const i=()=>"number"==typeof t&&"number"==typeof n?ke("dynamic_font_loading/preflight_annotation",{text:e,annotation_id:t,page:n})[0]:(r(o,`annotation not set: ${o}`),ke("dynamic_font_loading/preflight_annotation",{text:e,annotation_json:o})[0]);try{let e=i();e.preflight_result===H&&(await this.addDynamicFonts(e.required_fonts),e=i()),"number"==typeof t&&(e.preflight_result===Z?we.add(t):we.delete(t))}catch(n){a(`There was an error testing rendering for annotation ${t} of this text: ${e}: ${n.message}`)}}async addDynamicFonts(e){let t=[];try{t=e.filter((e=>!Oe.has(e)));!function(e){r(le,ue),e.forEach((e=>{le.FS.analyzePath(`${ve}/${e.name}`).exists||le.FS.writeFile(`${ve}/${e.name}`,new Uint8Array(e.data))}))}((await Promise.all(t.map((e=>fetch(`${be}/${e}`).then((e=>e.arrayBuffer())))))).map(((e,n)=>({name:t[n],data:e})))),t.forEach((e=>{Oe.add(e)}))}catch(e){t.forEach((e=>{Oe.delete(e)})),a(`There was an error loading a font: ${e}`)}await ke("dynamic_font_loading/notify_fonts_added",{added_fonts:t.map((e=>({remote_file_path:e,local_file_name:e})))})}async getAllPageInfos(e){const t=[];try{const n=ke("page_info",{query:"page_info",page:"all"});r(n.length===e,"expected the same length of page info response to page count.");for(let e=0;e<n.length;e++){const r=(new TextDecoder).decode(n[e]),o=JSON.parse(r);t.push(o.pageInfo)}}catch(n){a("There was an error retrieving page information for all pages from core. Reverting to individual queries.");for(let n=0;n<e;n++)try{const e=ke("page_info",{query:"page_info",page:n});r(1===e.length,"expected page_info result to return 1 result when specifying index.");const o=(new TextDecoder).decode(e[0]),i=JSON.parse(o);t.push(i.pageInfo)}catch(e){a(`Dimensional information for page ${n} unavailable, page will not be displayed.`);const r={height:0,matrix:[0,0,0,0,0,0],pageLabel:"",reverseMatrix:[0,0,0,0,0,0],transformedBBox:[0,0,0,0],untransformedBBox:[0,0,0,0],width:0,pageIndex:n,rawPdfBoxes:{bleedBox:null,cropBox:null,mediaBox:null,trimBox:null}};t.push(r)}}return t}async enablePDFJavaScriptSupport(){return Ne()}async runPDFFormattingScripts(e,t){let n;r(pe,"PDF Formatting Scripts can only run after JavaScript is enabled.");try{n=ke("run_pdf_formatting_scripts",{form_fqns:e,only_if_no_ap_stream:t})}catch(e){throw new Error("An error occurred while executing the document level JavaScript formatting.\n\n"+e.message)}return n[0].changes||[]}async openDocumentAt(){throw new Error("Should never be called")}async getBookmarks(){const e=ke("get_bookmarks");return r(1===e.length,"expected only one response for getBookmarks"),e[0].bookmarks||[]}async getFormJSON(){return je("getFormJSON").formJSON}async getFormValues(){return je("getFormValues").formValues}async setFormValues(e){const t=Ue();let n=!1;const r=[],o=t.map((t=>{const o=e.find((e=>e.name===t.formField.name));return o?o.value===t.value||Array.isArray(o.value)&&Array.isArray(t.value)&&o.value.every(((e,n)=>e===t.value[n]))?t:("string"==typeof o.value&&o.value.length>0?r.push({widgets:t.widgets,text:o.value}):t.widgets.forEach((e=>{"number"==typeof e.pdfObjectId&&we.delete(e.pdfObjectId)})),n=!0,{...t,value:o.value}):t}));if(n){if(be)for(let e=0;e<r.length;e++){const t=r[e].widgets;for(let n=0;n<t.length;n++)await this.preflightWidgetAnnotation(t[n],t[n].pdfObjectId,r[e].text)}ze(o)}}async setFormFieldValue(e){await this.setFormValues([e])}async applyOperations(e,t){const n=await Te(e,t);$e(e,ae),n()}async exportPDFWithOperations(e,t){const n=await Te(e,t);let o;r(le,ue);try{$e(e,se),o=le.FS.readFile(se).buffer}catch(e){throw new Error("Error applying operations: "+e.message)}return n(),o}async getSignaturesInfo(){try{return ke("get_signatures",{certificate_check_time:"current_time"})[0]}catch(e){throw new Error(`Error getting signatures info: ${e.message}`)}}async getComments(){try{return ke("get_comments")}catch(e){throw new Error(`Error getting comments: ${e.message}`)}}async applyComments(e){try{return ke("apply_comments",{comments:e})}catch(e){throw new Error(`Error applying comments: ${e.message}`)}}async prepareSign(e,t,n,o,i,a){let s;const c=!1,u=!1;try{s=ke("get_signatures",{certificate_check_time:"current_time"})[0];const e="not_signed"!==s.status;je("saveDocument",se,!1,e,c,u,"pdf",!1),je("openDocument",se,JSON.stringify(he))}catch(e){throw new Error(`Error saving document backup for invisible signing: ${e}`)}try{const e=!n&&"not_signed"!==s.status;je("saveDocument",ae,n,e,c,u,"pdf",!1),n&&(je("openDocument",ae,JSON.stringify(he)),pe&&Ne())}catch(e){throw new Error(`Error saving document for invisible signing: ${e}`)}let l;try{l=ke("prepare_sign",{signer_data_source:{...e,field_name:o,position:i,appearance:a,type:"pspdfkit/signer-data-source"},signature_metadata:{...t,type:"pspdfkit/signature-metadata"}})}catch(e){throw new Error(`Error preparing document for signing: ${e}`)}r(le,ue);let d=null;return e&&e?.signatureType!==G||(d=le.FS.readFile(l[0].result.file_contents).buffer),le.FS.unlink(l[0].result.file_contents),{file:l[0].result.file,hash:l[0].result.hash,signatureFormFieldName:l[0].result.signature_form_fqn,dataToBeSigned:l[0].result.data_to_be_signed,fileContents:d}}async getTimestampRequest(e,t){try{const[n]=ke("get_timestamp_http_request",{timestamp_authority_info:{url:t.url,authenticationInfo:{username:t.username,password:t.password}},data_to_timestamp:e});return{url:n.url,method:n.method,requestData:n.request_data,contentType:n.content_type,token:n.token,username:n.user,password:n.password}}catch(e){throw new Error(`Error getting timestamp request: ${e.message}`)}}async getRevocationRequests(e){try{return ke("get_revocation_http_requests",{signing_certificates:e})}catch(e){throw new Error(`Error getting revocations requests: ${e.message}`)}}async setSignaturesLTV(e){try{const t=ke("get_signatures",{certificate_check_time:"current_time",revocation_responses:e})[0];return je("saveDocument",ae,!1,!0,!1,!1,"pdf",!1),t}catch(e){throw new Error(`Error getting signatures info: ${e.message}`)}}async sign(e,t,n,r,o,i,a,s,c){let u;try{let l;const d=F(o).buffer,p=a?"pkcs7"===a:function(e){try{const t=new Uint8Array(e);return!!t.length&&48===t[0]}catch(e){throw new Error(`Error checking if the signature is in PKCS#7 format: ${e.message}`)}}(d);p||(l=ke("create_signature",{signatureType:r,hash:n,signed_data:o,certificates:i,timestamp_response:s})),u=ke("sign",{password:he?.password,save_path:ae,file_path:e,signature_form_fqn:t,pkcs7_container:l?.[0].result||o,revocation_responses:c??[]}),je("openDocument",ae,JSON.stringify(he)),pe&&Ne()}catch(e){throw new Error(`Error signing document: ${e}`)}return u[0].result}async restoreToOriginalState(){try{je("openDocument",se,JSON.stringify(he)),pe&&Ne();const e="not_signed"!==ke("get_signatures",{certificate_check_time:"current_time"})[0].status;je("saveDocument",ae,!1,e,!1,!1,"pdf",!1),je("openDocument",ae,JSON.stringify(he)),pe&&Ne()}catch(e){throw new Error(`Could not restore backup document: ${e}`)}}async evalFormValuesActions(e){const t=Ue().reduce(((t,n)=>e.find((e=>{let{name:t}=e;return n.formField.name===t}))&&"pspdfkit/form-field/text"===n.formField.type?t.concat(n):t),[]);if(be)for(let n=0;n<t.length;n++){const r=t[n].widgets;for(let n=0;n<r.length;n++)await this.preflightWidgetAnnotation(r[n],r[n].pdfObjectId,e.find((e=>t[n].formField.name===e.name))?.value)}const n=ke("set_form_values_get_script_changes",{form_values:e});return r(1===n.length,"expected only one response for evalFormValuesActions"),this._processChanges(n[0].changes)}async readFormJSONObjects(){return Ue()}async setFormJSONUpdateBatchMode(e){await Le(e)}_processChanges(e){return e.map((e=>"pspdfkit/javascript/effects/importIcon"===e.object.type?{...e,object:{...e.object,id:Object.entries(this._pdfObjectIdsForIds).find((t=>{let[,n]=t;return n===e.object.annotationID}))?.[0]}}:e))}async evalScript(e,t,n){const o=ke("run_pdf_javascript",{pdf_javascript_contents:e,pdf_javascript_trigger_event:t,pdf_javascript_form_fqn:n});return r(1===o.length,"expected only one response for evalScript"),this._processChanges(o[0].changes)}async closeDocument(){try{return ge=[],he={password:void 0,initialPageIndex:void 0},pe=!1,Be=null,Me=!1,Re=!1,je("closeDocument")}finally{this._pdfObjectIdsForIds={}}}async renderAnnotation(e,t,n,r,o,i){return We({...e,pdfObjectId:this._getPdfObjectIdForObject(e)},t&&await B(t),n,r,o,i)}async renderPageAnnotations(e,t,n,r,o){return t.map(((t,i)=>We({pdfObjectId:t,pageIndex:e},0,n[i],r[i],qe(o,{width:n[i],height:r[i]}))))}async renderDetachedAnnotation(e,t,n,o,i){r(le,ue),!be||"pspdfkit/stamp"!==e.type&&"pspdfkit/text"!==e.type||await this.preflightAnnotation(e,e.pdfObjectId);const a=t?await B(t):null,s=t?t.type:null;let c,u;const l=new le.VectorUint8;try{if(null!=a)for(let e=0;e<a.byteLength;e++)l.push_back(a[e]);if(u=De("renderDetachedAnnotation",i,JSON.stringify({...e,pdfObjectId:this._getPdfObjectIdForObject(e),pageIndex:0}),0,n,o,l,s||""),u.hasError()||1!==u.getRepliesCount()){const e=u.getErrorMessage(),t=u.getErrorReason();throw new Error(t+": "+e)}c=u.getBinaryReply(0).slice(0).buffer}finally{l&&l.delete(),u&&u.delete()}return c}async loadCertificates(e){if(ke("load_certificates",{certificates:e}).length>0)throw new t("Internal error while loading certificates")}async getAttachment(e){let t,n,r;const o=await this.getEmbeddedFilesList(),i=o?.map((e=>e.id)),a=i?.includes(e);try{if(a)ke("extract_embedded_file",{id:e,file_path:ce}),t=le.FS.readFile(ce).buffer;else{if(n=De("getAnnotationAttachment",e),n.hasError()||1!==n.getRepliesCount()){const e=n.getErrorMessage(),t=n.getErrorReason();throw new Error("Error fetching attachment: "+t+", "+e)}r=JSON.parse(n.getJSONReply(0)).encoding,t=n.getBinaryReply(0).slice(0)}}finally{le.FS.analyzePath(ce)?.exists&&le.FS.unlink(ce),n&&n.delete()}return[t,r]}async annotationsForPageIndex(e){const t=je("annotationsForPageIndex",e);return["rollover","down"].forEach((e=>{t.apstream_variants?.[e]?.forEach((n=>{const r=t.annotations.find((e=>e.pdfObjectId===n));r?r[e]=!0:t.annotations.push({pdfObjectId:n,[e]:!0})}))})),t.annotations}async getTabOrder(e){return ke("get_annotation_tab_order",{page:e})[0].order.map((e=>{const t=Object.entries(this._pdfObjectIdsForIds).find((t=>{let[n,r]=t;return r===e}));return{id:t?.[0]||String(e),pdfObjectId:e}}))}async setTabOrder(e,t){ke("set_annotation_tab_order",{page:e,order:t.map((e=>this._getPdfObjectIdForObject(e)))})}async createAnnotation(e,t){r(le,ue),r("number"==typeof e.pageIndex,"Annotation must have a pageIndex");const n=e.pdfObjectId,o=t?await B(t):null;let i;const a=new le.VectorUint8;try{if(null!=o)for(let e=0;e<o.byteLength;e++)a.push_back(o[e]);"pspdfkit/widget"===e.type&&(Le(!1),Je());const t=("pspdfkit/shape/ellipse"===e.type||"pspdfkit/shape/rectangle"===e.type)&&e.measurementScale?{...e,measurementBBox:e.bbox}:e;i=je("createAnnotation",JSON.stringify({...t,pdfObjectId:null}),a)}finally{a&&a.delete()}return"number"==typeof n&&"number"==typeof this._pdfObjectIdsForIds[n.toString()]&&delete this._pdfObjectIdsForIds[n.toString()],this._pdfObjectIdsForIds[e.id||i.pdfObjectId.toString()]=i.pdfObjectId,e&&this.canPreflightAnnotation(e)&&be&&await this.preflightAnnotation(e,i.pdfObjectId),i.pdfObjectId}async updateAnnotation(e){const t={...e,pdfObjectId:this._getPdfObjectIdForObject(e)};if(r(t.id,"Annotation must have an ID"),r("number"==typeof t.pageIndex,"Annotation must have a pageIndex"),"pspdfkit/widget"===t.type){const e=Ue(),n="number"==typeof t.pdfObjectId?t.pdfObjectId.toString():t.id;ze(e.map((e=>e.formField.annotationIds.includes(n)||e.formField.annotationIds.includes(String(t.pdfObjectId))?{...e,widgets:e.widgets.map((e=>e.id===n||String(e.pdfObjectId)===n?t:e))}:e)))}else e&&this.canPreflightAnnotation(e)&&be&&await this.preflightAnnotation(e,t.pdfObjectId),je("updateAnnotation",JSON.stringify(t),0,0)}async updateButtonIcon(e,t,n){ke("update_annotation",{annotation:{...e,pdfObjectId:this._getPdfObjectIdForObject(e),contentType:n}},t)}async deleteAnnotation(e){if(e.APStreamCache&&await this.updateAnnotation(e),"pspdfkit/widget"===e.type)try{const t=e.id;ze(Ue().map((n=>{if(n.formField.annotationIds.includes(t)||n.formField.annotationIds.includes(String(e.pdfObjectId))){let r,o=n.value;if(("pspdfkit/form-field/checkbox"===n.formField.type||"pspdfkit/form-field/radio"===n.formField.type)&&n.formField.options.length===n.formField.annotationIds.length){const i=n.formField.annotationIds.includes(t)?n.formField.annotationIds.indexOf(t):n.formField.annotationIds.indexOf(String(e.pdfObjectId));r=n.formField.options.filter(((e,t)=>t!==i)),r.some((e=>e.value===o))||(o="")}const i=n.widgets.filter((e=>t!==e.id)),a=n.formField.annotationIds.filter((n=>n!==t&&n!==String(e.pdfObjectId)));return i.length>0&&a.length>0?{...n,formField:{...n.formField,annotationIds:a,...r?{options:r}:null},widgets:i,value:o}:null}return n})).filter(Boolean))}catch(e){throw e}else try{ke("remove_annotations",{annotation_ids:[this._getPdfObjectIdForObject(e)]})}catch(t){i(`Removing annotation failed for annotation: ${JSON.stringify(e)}`)}delete this._pdfObjectIdsForIds[e.id||e.pdfObjectId?.toString()],we.delete(e.pdfObjectId)}async createFormField(e,t){const n=Ue().concat([{type:"pspdfkit/form-field-with-widgets",formField:e,widgets:t}]),r=Me;Me&&Le(!1),ze(n);const o=Ue();r&&Le(!0);const i=o.find((t=>t.formField.name===e.name));if(!i)throw new Error(`Error creating new form field in ${ae}: created form field not found. ${JSON.stringify({type:"pspdfkit/form-field-with-widgets",formField:e,widgets:t})}`);const a=i.widgets.map((e=>(this._pdfObjectIdsForIds[e.id]=e.pdfObjectId,e.pdfObjectId)));return"number"==typeof e.pdfObjectId&&"number"==typeof this._pdfObjectIdsForIds[e.pdfObjectId.toString()]&&delete this._pdfObjectIdsForIds[e.pdfObjectId.toString()],this._pdfObjectIdsForIds[e.id||i.formField.pdfObjectId.toString()]=i.formField.pdfObjectId,a}async updateFormField(e,t){let n={...e,pdfObjectId:this._pdfObjectIdsForIds[e.id]||this._getPdfObjectIdForObject(e)};const r=Ue(),o=r.find((t=>Ge(t.formField,n)||t.formField.name===e.name));if(!o)throw new Error(`Error updating form field with name "${e.name}" in ${ae}: form field not found. ${JSON.stringify(r)}`);const i=o.formField.name!==e.name;let a=null;if(i&&"pspdfkit/form-field/radio"===n.type){const o=e.name,i=r.find((e=>e.formField.name===o));i&&"pspdfkit/form-field/radio"===i.formField.type&&(n={...n,annotationIds:[...n.annotationIds,...i.formField.annotationIds],options:[...n.options,...i.formField.options]},t=[...t,...i.widgets],a=i)}ze(r.map((r=>{if(a&&a.formField.pdfObjectId===r.formField.pdfObjectId)return null;if(Ge(r.formField,n)||r.formField.name===e.name){const o={type:"pspdfkit/form-field-with-widgets",formField:{...r.formField,...n},widgets:t.reduce(((e,t)=>[...e,{...r.widgets.find((e=>e.id===t.id||e.pdfObjectId===t.pdfObjectId)),...t}]),[]),...void 0!==r.value?{value:r.value}:null};return e.flags||delete o.formField.flags,o}return r})).filter(Boolean));const s=Ue().find((t=>t.formField.name===e.name));if(!s)throw new Error(`Error updating form field "${e.name}" in ${ae}: updated form field not found. ${JSON.stringify({type:"pspdfkit/form-field-with-widgets",formField:e,widgets:t})}`);s.formField.pdfObjectId!==n.pdfObjectId&&(this._pdfObjectIdsForIds[n.id]=s.formField.pdfObjectId),o?.widgets.forEach((e=>{t.some((t=>t.id===e.id))||delete this._pdfObjectIdsForIds[e.id]}))}async deleteFormField(e){const t=Ue(),n=t.find((t=>t.formField.name===e.name));if(!n)return;ze(t.filter((t=>t.formField.name!==e.name)));const r=Ue().find((t=>t.formField.name===e.name));if(r)throw new Error(`Error deleting form field with name "${e.name}" in ${ae}: form field still present. ${JSON.stringify(r)}`);n.widgets.forEach((e=>{delete this._pdfObjectIdsForIds[e.id]}))}async deleteFormFieldValue(e){ze(Ue().map((t=>t.formField.name===e?{formField:t.formField,widgets:t.widgets,type:t.type}:t)))}canPreflightAnnotation(e){return"pspdfkit/text"===e.type||"pspdfkit/stamp"===e.type}async preflightAnnotation(e,t){if(!this.canPreflightAnnotation(e))return;const n="pspdfkit/stamp"===e.type?e.title:e.text?.value;"number"!=typeof t||n?n&&await this.preflightRenderAnnotationText(n,t,e.pageIndex,{...e,pdfObjectId:this._getPdfObjectIdForObject(e),pageIndex:0}):we.delete(t)}async preflightWidgetAnnotation(e,t,n){n||"number"!=typeof t?n&&await this.preflightRenderAnnotationText(n,t,e.pageIndex):we.delete(t)}async createBookmark(e){try{ke("append_bookmarks",{bookmarks:[e]})}catch(e){throw new Error(`Error creating new bookmark in ${ae}: ${e.message}`)}}async updateBookmark(e){try{ke("remove_bookmarks",{bookmarkIds:[e.id??e.pdfBookmarkId]}),ke("append_bookmarks",{bookmarks:[e]})}catch(e){throw new Error(`Error updating bookmark in ${ae}: ${e.message}`)}}async deleteBookmark(e){try{ke("remove_bookmarks",{bookmarkIds:[e]})}catch(e){throw new Error(`Error deleting bookmark in ${ae}: ${e.message}`)}}async getTextFromRects(e,t){return je("getTextFromRects",e,JSON.stringify(t.map((e=>[e.left,e.top,e.width,e.height])))).text}async search(e,t,n,r){return ke("search",{query:e,start_index:t,limit:n,case_sensitive:r,search_type:arguments.length>4&&void 0!==arguments[4]?arguments[4]:M})}async parseXFDF(e,t){try{return function(e){try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch(e){throw e}}(ke("convert_xfdf_to_instant_json",{ignore_page_rotation:t},e)[0])}catch(e){throw e}}async getEmbeddedFilesList(){return ke("list_embedded_files")[0].embeddedFiles||null}async getMeasurementSnappingPoints(e){const t=ke("get_snapping_points",{page:e});return t[0].snappingPoints?function(e){const t=[...e.endpoints,...e.intersections,...e.midpoints],n=[];for(let e=0;e<t.length;e+=2){const r=[t[e],t[e+1]];n.push(r)}return n.sort(((e,t)=>e[0]==t[0]?e[1]-t[1]:e[0]-t[0]))}(t[0].snappingPoints):null}async getSecondaryMeasurementUnit(){try{return ke("get_secondary_measurement_unit")[0]||null}catch(e){throw new Error(`Error getting secondary measurement: ${e.message}`)}}async setSecondaryMeasurementUnit(e){try{ke("set_secondary_measurement_unit",e?{unitTo:e?.unitTo,precision:e?.precision}:null)}catch(e){i("Error setting secondary measurement unit")}}async getMeasurementScales(){try{return ke("get_measurement_content_formats")[0]||null}catch(e){throw new Error(`Error getting measurement scales: ${e.message}`)}}async removeMeasurementScale(e){try{ke("remove_measurement_content_format",{measurementContentFormat:S(e)})}catch(t){throw new Error(`Error removing ${e.name} measurement scale: ${t.message}`)}}async addMeasurementScale(e){try{ke("add_measurement_content_format",{measurementContentFormat:S(e)})}catch(t){throw new Error(`Error adding ${e.name} measurement scale: ${t.message}`)}}async getAnnotationsByScale(e){try{return ke("get_annotations_for_measurement_content_format",{measurementContentFormat:S(e)})||null}catch(e){throw e}}async exportFile(e,t,n,o,i,a,s,c){let u,l={mimeType:"application/pdf",extension:"pdf"};try{const r=!1;u=ke("save_document",{file_path:ae,format:o,flatten_annotations:e,save_incrementally:t,apply_redactions:r,save_for_printing:n,remove_all_annotations:i,preserve_change_tracker_state:a,...s?{user_password:s.userPassword,owner_password:s.ownerPassword,document_permissions:Ke(s.documentPermissions)}:null}),c&&(c.forEach((e=>{let{pageIndex:t,id:n,pdfObjectId:r}=e;ke("electronic_signatures/flatten",{page:t,annotation_id:this._getPdfObjectIdForObject({id:n,pdfObjectId:r})})})),u=ke("save_document",{file_path:se,format:o,flatten_annotations:e,save_incrementally:t,apply_redactions:r,save_for_printing:n,remove_all_annotations:i,preserve_change_tracker_state:a,...s?{user_password:s.userPassword,owner_password:s.ownerPassword,document_permissions:Ke(s.documentPermissions)}:null}))}catch(e){throw new Error(`Error saving to ${se}: ${e.message}`)}const d=u[0];d.format&&(l={mimeType:d.format.mime_type,extension:d.format.extension}),r(le,ue);const p=le.FS.readFile(c?se:ae).buffer;return c&&(je("closeDocument"),je("openDocument",ae,JSON.stringify(he))),[p,l]}async importXFDF(e,t,n){ge.push({source:e,keepCurrentAnnotations:t}),t||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e.push("pspdfkit/widget"),je("removeAllAnnotations",JSON.stringify(e),JSON.stringify(t))}(),je("importXFDF",e,n)}async exportXFDF(e){return je("exportXFDF",[],[],e).XFDF}async importInstantJSON(e){je("importInstantDocumentJSON",JSON.stringify(e))}async exportInstantJSON(e){const t=Me;Me&&Le(!1);const n=je("exportInstantDocumentJSON","number"==typeof e?e:-1);return t&&Le(!0),JSON.parse(n.InstantDocumentJSON)}async getDocumentOutline(){const e=ke("get_outline");return r(1===e.length,"expected only one response for getDocumentOutline"),e[0].outline||[]}async setDocumentOutline(e){return ke("set_outline",{outline:e})}async getPageGlyphs(e){return ke("get_glyphs",{page:e})[0].glyphs||[]}async onKeystrokeEvent(e){const t=ke("on_keystroke_event",{pdf_javascript_event:e});r(1===t.length,"expected only one response for onKeystrokeEvent");const n=t[0].changes||[];return r(n.length>0&&4===n[0].change_type,"expected onKeystrokeEvent to return at least one JavaScript Event change."),n}async version(){return je("PSPDFKitVersion").version}getImportedXFDF(){return ge}async applyRedactions(){try{je("saveDocument",ae,!1,!1,!0,!1,"pdf",!1)}catch(e){throw new Error(`Error applying redactions and saving to ${ae}: ${e.message}`)}}async clearAPStreamCache(){je("clearAPStreamCache")}async setComparisonDocument(e,t){this.comparisonDocuments[e]=t||(await this.exportFile(!1,!1,!1,"pdf",!1,!1))[0]}async openComparisonDocument(e){return r(this.comparisonDocuments[e]),e===this.lastOpenedComparisonDocument||e===R&&null===this.lastOpenedComparisonDocument&&this.persistedOpenDocument instanceof ArrayBuffer?null:(this.lastOpenedComparisonDocument=e,this.openDocument(this.comparisonDocuments[e],this.persistedOpenDocument===e?this.persistedOpenDocumentConfiguration:me))}async documentCompareAndOpen(e){r(this.comparisonDocuments[R]&&this.comparisonDocuments[J],"One or both comparison input documents are missing.");const t=`${R}.pdf`,n=`${J}.pdf`;le.FS.writeFile(t,new Uint8Array(this.comparisonDocuments[R])),le.FS.writeFile(n,new Uint8Array(this.comparisonDocuments[J]));return ke("comparison",{documentA:{strokeColor:e.documentA.strokeColor,pageIndex:e.documentA.pageIndex,filePath:t},documentB:{strokeColor:e.documentB.strokeColor,pageIndex:e.documentB.pageIndex,filePath:n},options:{...e.options,outputFilePath:"output.pdf"}}),await this.closeDocument(),this.comparisonDocuments[L]=le.FS.readFile("output.pdf").buffer,this.lastOpenedComparisonDocument=L,this.openDocument(this.comparisonDocuments[L],me)}async persistOpenDocument(e){if(e)this.persistedOpenDocument=e;else try{this.persistedOpenDocument=(await this.exportFile(!1,!1,!1,"pdf",!1,!0))[0]}catch(e){throw new Error(`Error trying to persist a copy of the currently opened document: ${e.message}`)}this.persistedOpenDocumentConfiguration=he}async cleanupDocumentComparison(){r(this.persistedOpenDocument,"No persisted previous document key or array buffer is available.");const e=this.persistedOpenDocument instanceof ArrayBuffer?this.persistedOpenDocument:this.comparisonDocuments[this.persistedOpenDocument];r(e,"No persisted previous array buffer is available.");try{await this.closeDocument()}catch(e){throw new Error(`Error trying to close the current document: ${e.message}`)}const t=this.openDocument(e,this.persistedOpenDocumentConfiguration);return this.persistedOpenDocument=null,this.persistedOpenDocumentConfiguration=me,this.lastOpenedComparisonDocument=null,this.comparisonDocuments={},t}_getPdfObjectIdForObject(e){return"number"==typeof e.pdfObjectId?e.pdfObjectId:this._pdfObjectIdsForIds[e.id]}async getOCGs(){return ke("ocg/get_ocgs")[0].ocgs}async getOCGVisibilityState(){return{visibleLayerIds:ke("ocg/get_visibility_state")[0].state.visible}}async setOCGVisibilityState(e){return ke("ocg/set_visibility_state",{state:{visible:e.visibleLayerIds}})}async dispatchCommand(e){let t=null;Fe&&performance.mark("dispatchCommand");try{if(t=await le.dispatchCommand(e),null===t)throw Error("dispatchCommand returned null");if(t.hasError())return{success:!1,message:t.getErrorMessage(),code:t.getErrorReason()};const n={success:!0,values:[]};for(let e=0;e<t.getRepliesCount();e++)t.hasJSONReply(e)&&n.values.push(JSON.parse(t.getJSONReply(e))),t.hasBinaryReply(e)&&n.values.push(t.getBinaryReply(e).slice(0));if(Fe){const t=JSON.parse(e);xe.push({type:Se.Daemon,name:t.type,args:t,time:performance.measure("dispatchCommand","dispatchCommand").duration})}return n}finally{t&&t.delete()}}async getCoreCallRecording(){return xe}async enableCoreCallRecording(e){Fe=e}openFile(e,t){const n=le.FS.open(e,t);return this.files.set(this.fileDescriptor,n),Promise.resolve(this.fileDescriptor++)}closeFile(e){const t=this.files.get(e);return t&&(le.FS.close(t),this.files.delete(e)),Promise.resolve()}writeData(e,t,n){const r=this.files.get(e);if(!r)throw Error(`Trying to write to a file with descriptor ${e}, but the file is not open.`);return le.FS.write(r,new Uint8Array(t),0,t.byteLength,n),Promise.resolve()}recycle(){}destroy(){}},He=self;He.global=He,He.module={},He.onmessage=async e=>{let t,n,{data:r}=e;try{const e=await Ze[r.action](...r.args);if(t={id:r.id,result:e},Array.isArray(e)){const t=e.filter((e=>e instanceof ArrayBuffer));t.length>0&&(n=t)}e instanceof ArrayBuffer&&(n=[e])}catch(e){const o=[...r.args].filter((e=>e instanceof ArrayBuffer));o.length>0&&(n=o),t={id:r.id,error:e.message||e.toString(),callArgs:r.args}}He.postMessage(t,n)}})(),{}})()));
|
|
13
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.NutrientViewer=t():e.NutrientViewer=t()}(globalThis,(()=>(()=>{var e={24601:(e,t,n)=>{var r=n(78420),o=n(13838),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},73938:(e,t,n)=>{var r=n(65335),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},58186:(e,t,n)=>{var r=n(5476),o=n(6539),i=n(23493),a=function(e){return function(t,n,a){var s,c=r(t),u=i(c),l=o(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},29609:(e,t,n)=>{var r=n(30281);e.exports=r([].slice)},18569:(e,t,n)=>{var r=n(30281),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},84361:(e,t,n)=>{var r=n(36490),o=n(15816),i=n(97632),a=n(43610);e.exports=function(e,t,n){for(var s=o(t),c=a.f,u=i.f,l=0;l<s.length;l++){var d=s[l];r(e,d)||n&&r(n,d)||c(e,d,u(t,d))}}},97712:(e,t,n)=>{var r=n(65077),o=n(43610),i=n(66843);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},66843:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7485:(e,t,n)=>{var r=n(78420),o=n(43610),i=n(48218),a=n(59430);e.exports=function(e,t,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&i(n,u,s),s.global)c?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},59430:(e,t,n)=>{var r=n(30200),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},65077:(e,t,n)=>{var r=n(92074);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},96568:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},23262:(e,t,n)=>{var r=n(30200),o=n(65335),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},16874:e=>{e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},62050:(e,t,n)=>{var r=n(47061);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},75223:(e,t,n)=>{var r=n(18569),o=n(30200);e.exports="process"==r(o.process)},47061:(e,t,n)=>{var r=n(56492);e.exports=r("navigator","userAgent")||""},6845:(e,t,n)=>{var r,o,i=n(30200),a=n(47061),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},30290:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},51605:(e,t,n)=>{var r=n(30200),o=n(97632).f,i=n(97712),a=n(7485),s=n(59430),c=n(84361),u=n(84977);e.exports=function(e,t){var n,l,d,f,p,m=e.target,g=e.global,h=e.stat;if(n=g?r:h?r[m]||s(m,{}):(r[m]||{}).prototype)for(l in t){if(f=t[l],d=e.dontCallGetSet?(p=o(n,l))&&p.value:n[l],!u(g?l:m+(h?".":"#")+l,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,l,f,e)}}},92074:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},99070:(e,t,n)=>{var r=n(38823),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},46885:(e,t,n)=>{var r=n(43091),o=n(24601),i=n(38823),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},38823:(e,t,n)=>{var r=n(92074);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},72368:(e,t,n)=>{var r=n(38823),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},12071:(e,t,n)=>{var r=n(65077),o=n(36490),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},43091:(e,t,n)=>{var r=n(18569),o=n(30281);e.exports=function(e){if("Function"===r(e))return o(e)}},30281:(e,t,n)=>{var r=n(38823),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},56492:(e,t,n)=>{var r=n(30200),o=n(78420);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},46457:(e,t,n)=>{var r=n(24601),o=n(88406);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},30200:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},36490:(e,t,n)=>{var r=n(30281),o=n(92612),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},67708:e=>{e.exports={}},28890:(e,t,n)=>{var r=n(56492);e.exports=r("document","documentElement")},87694:(e,t,n)=>{var r=n(65077),o=n(92074),i=n(23262);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},48664:(e,t,n)=>{var r=n(30281),o=n(92074),i=n(18569),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},69965:(e,t,n)=>{var r=n(30281),o=n(78420),i=n(49310),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},99206:(e,t,n)=>{var r,o,i,a=n(8369),s=n(30200),c=n(65335),u=n(97712),l=n(36490),d=n(49310),f=n(25904),p=n(67708),m="Object already initialized",g=s.TypeError,h=s.WeakMap;if(a||d.state){var y=d.state||(d.state=new h);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw g(m);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var b=f("state");p[b]=!0,r=function(e,t){if(l(e,b))throw g(m);return t.facade=e,u(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},78420:(e,t,n)=>{var r=n(96568),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},84977:(e,t,n)=>{var r=n(92074),o=n(78420),i=/#|\.prototype\./,a=function(e,t){var n=c[s(e)];return n==l||n!=u&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},88406:e=>{e.exports=function(e){return null==e}},65335:(e,t,n)=>{var r=n(78420),o=n(96568),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},6926:e=>{e.exports=!1},32328:(e,t,n)=>{var r=n(56492),o=n(78420),i=n(47658),a=n(5225),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},23493:(e,t,n)=>{var r=n(33747);e.exports=function(e){return r(e.length)}},48218:(e,t,n)=>{var r=n(92074),o=n(78420),i=n(36490),a=n(65077),s=n(12071).CONFIGURABLE,c=n(69965),u=n(99206),l=u.enforce,d=u.get,f=Object.defineProperty,p=a&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),m=String(String).split("String"),g=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&i(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=l(e);return i(r,"source")||(r.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return o(this)&&d(this).source||c(this)}),"toString")},19830:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},43610:(e,t,n)=>{var r=n(65077),o=n(87694),i=n(94491),a=n(73938),s=n(86032),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=l(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},97632:(e,t,n)=>{var r=n(65077),o=n(72368),i=n(9304),a=n(66843),s=n(5476),c=n(86032),u=n(36490),l=n(87694),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=c(t),l)try{return d(e,t)}catch(e){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},64789:(e,t,n)=>{var r=n(16347),o=n(30290).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},18916:(e,t)=>{t.f=Object.getOwnPropertySymbols},47658:(e,t,n)=>{var r=n(30281);e.exports=r({}.isPrototypeOf)},16347:(e,t,n)=>{var r=n(30281),o=n(36490),i=n(5476),a=n(58186).indexOf,s=n(67708),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);for(;t.length>u;)o(r,n=t[u++])&&(~a(l,n)||c(l,n));return l}},9304:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},69751:(e,t,n)=>{var r=n(72368),o=n(78420),i=n(65335),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},15816:(e,t,n)=>{var r=n(56492),o=n(30281),i=n(64789),a=n(18916),s=n(73938),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?c(t,n(e)):t}},71229:(e,t,n)=>{var r=n(88406),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},18827:(e,t,n)=>{"use strict";var r,o=n(30200),i=n(99070),a=n(78420),s=n(16874),c=n(47061),u=n(29609),l=n(56589),d=o.Function,f=/MSIE .\./.test(c)||s&&((r=o.Bun.version.split(".")).length<3||0==r[0]&&(r[1]<3||3==r[1]&&0==r[2]));e.exports=function(e,t){var n=t?2:1;return f?function(r,o){var s=l(arguments.length,1)>n,c=a(r)?r:d(r),f=s?u(arguments,n):[],p=s?function(){i(c,this,f)}:c;return t?e(p,o):e(p)}:e}},25904:(e,t,n)=>{var r=n(50002),o=n(50665),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},49310:(e,t,n)=>{var r=n(30200),o=n(59430),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},50002:(e,t,n)=>{var r=n(6926),o=n(49310);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},82072:(e,t,n)=>{var r=n(6845),o=n(92074);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},74922:(e,t,n)=>{var r,o,i,a,s=n(30200),c=n(99070),u=n(46885),l=n(78420),d=n(36490),f=n(92074),p=n(28890),m=n(29609),g=n(23262),h=n(56589),y=n(62050),b=n(75223),w=s.setImmediate,v=s.clearImmediate,_=s.process,O=s.Dispatch,F=s.Function,S=s.MessageChannel,x=s.String,I=0,E={},A="onreadystatechange";try{r=s.location}catch(e){}var j=function(e){if(d(E,e)){var t=E[e];delete E[e],t()}},D=function(e){return function(){j(e)}},P=function(e){j(e.data)},k=function(e){s.postMessage(x(e),r.protocol+"//"+r.host)};w&&v||(w=function(e){h(arguments.length,1);var t=l(e)?e:F(e),n=m(arguments,1);return E[++I]=function(){c(t,void 0,n)},o(I),I},v=function(e){delete E[e]},b?o=function(e){_.nextTick(D(e))}:O&&O.now?o=function(e){O.now(D(e))}:S&&!y?(a=(i=new S).port2,i.port1.onmessage=P,o=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(k)?(o=k,s.addEventListener("message",P,!1)):o=A in g("script")?function(e){p.appendChild(g("script"))[A]=function(){p.removeChild(this),j(e)}}:function(e){setTimeout(D(e),0)}),e.exports={set:w,clear:v}},6539:(e,t,n)=>{var r=n(79328),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5476:(e,t,n)=>{var r=n(48664),o=n(71229);e.exports=function(e){return r(o(e))}},79328:(e,t,n)=>{var r=n(19830);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},33747:(e,t,n)=>{var r=n(79328),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},92612:(e,t,n)=>{var r=n(71229),o=Object;e.exports=function(e){return o(r(e))}},50874:(e,t,n)=>{var r=n(72368),o=n(65335),i=n(32328),a=n(46457),s=n(69751),c=n(31602),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,c=a(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},86032:(e,t,n)=>{var r=n(50874),o=n(32328);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},13838:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},50665:(e,t,n)=>{var r=n(30281),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},5225:(e,t,n)=>{var r=n(82072);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},94491:(e,t,n)=>{var r=n(65077),o=n(92074);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},56589:e=>{var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},8369:(e,t,n)=>{var r=n(30200),o=n(78420),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},31602:(e,t,n)=>{var r=n(30200),o=n(50002),i=n(36490),a=n(50665),s=n(82072),c=n(5225),u=o("wks"),l=r.Symbol,d=l&&l.for,f=c?l:l&&l.withoutSetter||a;e.exports=function(e){if(!i(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&i(l,e)?u[e]=l[e]:u[e]=c&&d?d(t):f(t)}return u[e]}},61857:(e,t,n)=>{var r=n(51605),o=n(30200),i=n(74922).clear;r({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},75417:(e,t,n)=>{n(61857),n(19708)},19708:(e,t,n)=>{var r=n(51605),o=n(30200),i=n(74922).set,a=n(18827),s=o.setImmediate?a(i,!1):i;r({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==s},{setImmediate:s})},55480:()=>{},95920:e=>{e.exports="8defba59cb1dc1a1"},41211:e=>{e.exports="71ed620203f4d1c5"}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);return(()=>{"use strict";n(75417);"object"==typeof window&&(window._babelPolyfill=!1);const e=function e(t){let n;return n=t instanceof Error?t:new Error(t),Object.setPrototypeOf(n,e.prototype),n};e.prototype=Object.create(Error.prototype,{name:{value:"PSPDFKitError",enumerable:!1}});const t=e;function r(e,n){if(!e)throw new t(`Assertion failed: ${n||"Condition not met"}\n\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}function o(e){console.log(e)}function i(){console.warn(...arguments)}function a(e){console.error(e)}["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}function u(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}new WeakMap;const l="function"==typeof Buffer,d=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder&&new TextEncoder,Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),f=(e=>{let t={};return e.forEach(((e,n)=>t[e]=n)),t})(d),p=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,m=String.fromCharCode.bind(String),g="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),h=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),y=e=>{let t,n,r,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=d[t>>18&63]+d[t>>12&63]+d[t>>6&63]+d[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},b=e=>{if(e=e.replace(/\s+/g,""),!p.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,o="";for(let i=0;i<e.length;)t=f[e.charAt(i++)]<<18|f[e.charAt(i++)]<<12|(n=f[e.charAt(i++)])<<6|(r=f[e.charAt(i++)]),o+=64===n?m(t>>16&255):64===r?m(t>>16&255,t>>8&255):m(t>>16&255,t>>8&255,255&t);return o},w="function"==typeof atob?e=>atob(h(e)):l?e=>Buffer.from(e,"base64").toString("binary"):b,v=l?e=>g(Buffer.from(e,"base64")):e=>g(w(e).split("").map((e=>e.charCodeAt(0)))),_=e=>v(O(e)),O=e=>h(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))),F=_;function S(e){return{name:e.name,scale:{unitFrom:e.scale.unitFrom,unitTo:e.scale.unitTo,from:Number(e.scale.fromValue),to:Number(e.scale.toValue)},precision:e.precision}}var x=n(95920),I=n.n(x),E=n(41211),A=n.n(E),j=n(55480),D=n.n(j);let P;P="object"==typeof process&&"object"==typeof process.versions&&void 0!==process.versions.node?D():function(e){return"object"==typeof window?new Promise(((t,n)=>{const o=document.createElement("script");o.type="text/javascript",o.async=!0,o.onload=()=>t(window.PSPDFModuleInit),o.onerror=n,o.src=e;const{documentElement:i}=document;r(i),i.appendChild(o)})):(self.importScripts(e),Promise.resolve(self.PSPDFModuleInit))};const k=P,C="nutrient-viewer-lib/",T=`${C}nutrient-viewer${"-"+A()}.wasm.js`,N=`${C}nutrient-viewer${"-"+I()}.wasm`;function $(e,t){let n,r,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:globalThis;return new Promise((async c=>{n=function(e,t){let n;if("object"==typeof e){n=e.wasm;return{wasmBinaryFile:N,locateFile:e=>e,wasmBinary:n}}const r={wasmBinaryFile:e+N,locateFile:e=>e,wasmBinary:n};{const e=fetch(r.wasmBinaryFile,{credentials:"same-origin"}),n=13947511;e.then((e=>{const t=e.headers.get("content-length");return t&&parseInt(t)>=n&&i("The WASM binary file is being served without compression. Due to its size, it's recommended to configure the server so application/wasm files are served with compression.\n\nFind more details in our Standalone performance guides: https://www.nutrient.io/guides/web/best-practices/caching-on-the-web/#gzip-and-brotli"),e})).catch((e=>{throw new Error(`Failed to load WASM binary file: ${e}`)})),r.instantiateWasm=(n,i)=>((async()=>{o(`Start ${r.wasmBinaryFile} download.`);const s=Date.now();let c,u;const l=!t&&"function"==typeof WebAssembly.instantiateStreaming;function d(){return e.then((e=>{if(!e.ok)throw new Error(`Error loading ${r.wasmBinaryFile}: ${e.statusText}`);return e.arrayBuffer()})).then((e=>(u=Date.now(),o(`Download complete, took: ${u-s}ms`),WebAssembly.instantiate(new Uint8Array(e),n))))}c=l?WebAssembly.instantiateStreaming(e,n).then((e=>(u=Date.now(),o(`Download and Instantiation complete, took: ${Date.now()-s}ms`),e))).catch((e=>{if(/mime.*type/i.test(e.message))return a(e.message),null;throw e})):d();let f=await c;null===f&&(a("Streaming instantiation failed! Falling back to classic instantiation. This might result in slower initialization time therefore we highly recommend to follow the troubleshooting instructions in our guides to fix this error: https://www.nutrient.io/guides/web/current/troubleshooting/common-issues/#response-has-unsupported-mime-type-error."),f=await d()),!l&&u&&o(`Compilation and Instantiation complete, took: ${Date.now()-u}ms`),i(f.instance,f.module)})(),{})}return r}(e,t),"string"==typeof e&&(r=await k(`${e}${T}`)),o("Using WASM method"),function(e){e.PSPDFLoggingServices={error(e,t){a(`[${e}] ${t}`)},warn(e,t){i(`[${e}] ${t}`)},info(e,t){0},debug(e,t){0},trace(e,t){0}},e.PSPDFUnicodeServices={stripDiacritics(e){const t={Á:"A",Ă:"A",Ắ:"A",Ặ:"A",Ằ:"A",Ẳ:"A",Ẵ:"A",Ǎ:"A",Â:"A",Ấ:"A",Ậ:"A",Ầ:"A",Ẩ:"A",Ẫ:"A",Ä:"A",Ǟ:"A",Ȧ:"A",Ǡ:"A",Ạ:"A",Ȁ:"A",À:"A",Ả:"A",Ȃ:"A",Ā:"A",Ą:"A",Å:"A",Ǻ:"A",Ḁ:"A",Ⱥ:"A",Ã:"A",Ꜳ:"AA",Æ:"AE",Ǽ:"AE",Ǣ:"AE",Ꜵ:"AO",Ꜷ:"AU",Ꜹ:"AV",Ꜻ:"AV",Ꜽ:"AY",Ḃ:"B",Ḅ:"B",Ɓ:"B",Ḇ:"B",Ƀ:"B",Ƃ:"B",Ć:"C",Č:"C",Ç:"C",Ḉ:"C",Ĉ:"C",Ċ:"C",Ƈ:"C",Ȼ:"C",Ď:"D",Ḑ:"D",Ḓ:"D",Ḋ:"D",Ḍ:"D",Ɗ:"D",Ḏ:"D",Dz:"D",Dž:"D",Đ:"D",Ƌ:"D",DZ:"DZ",DŽ:"DZ",É:"E",Ĕ:"E",Ě:"E",Ȩ:"E",Ḝ:"E",Ê:"E",Ế:"E",Ệ:"E",Ề:"E",Ể:"E",Ễ:"E",Ḙ:"E",Ë:"E",Ė:"E",Ẹ:"E",Ȅ:"E",È:"E",Ẻ:"E",Ȇ:"E",Ē:"E",Ḗ:"E",Ḕ:"E",Ę:"E",Ɇ:"E",Ẽ:"E",Ḛ:"E",Ꝫ:"ET",Ḟ:"F",Ƒ:"F",Ǵ:"G",Ğ:"G",Ǧ:"G",Ģ:"G",Ĝ:"G",Ġ:"G",Ɠ:"G",Ḡ:"G",Ǥ:"G",Ḫ:"H",Ȟ:"H",Ḩ:"H",Ĥ:"H",Ⱨ:"H",Ḧ:"H",Ḣ:"H",Ḥ:"H",Ħ:"H",Í:"I",Ĭ:"I",Ǐ:"I",Î:"I",Ï:"I",Ḯ:"I",İ:"I",Ị:"I",Ȉ:"I",Ì:"I",Ỉ:"I",Ȋ:"I",Ī:"I",Į:"I",Ɨ:"I",Ĩ:"I",Ḭ:"I",Ꝺ:"D",Ꝼ:"F",Ᵹ:"G",Ꞃ:"R",Ꞅ:"S",Ꞇ:"T",Ꝭ:"IS",Ĵ:"J",Ɉ:"J",Ḱ:"K",Ǩ:"K",Ķ:"K",Ⱪ:"K",Ꝃ:"K",Ḳ:"K",Ƙ:"K",Ḵ:"K",Ꝁ:"K",Ꝅ:"K",Ĺ:"L",Ƚ:"L",Ľ:"L",Ļ:"L",Ḽ:"L",Ḷ:"L",Ḹ:"L",Ⱡ:"L",Ꝉ:"L",Ḻ:"L",Ŀ:"L",Ɫ:"L",Lj:"L",Ł:"L",LJ:"LJ",Ḿ:"M",Ṁ:"M",Ṃ:"M",Ɱ:"M",Ń:"N",Ň:"N",Ņ:"N",Ṋ:"N",Ṅ:"N",Ṇ:"N",Ǹ:"N",Ɲ:"N",Ṉ:"N",Ƞ:"N",Nj:"N",Ñ:"N",NJ:"NJ",Ó:"O",Ŏ:"O",Ǒ:"O",Ô:"O",Ố:"O",Ộ:"O",Ồ:"O",Ổ:"O",Ỗ:"O",Ö:"O",Ȫ:"O",Ȯ:"O",Ȱ:"O",Ọ:"O",Ő:"O",Ȍ:"O",Ò:"O",Ỏ:"O",Ơ:"O",Ớ:"O",Ợ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ȏ:"O",Ꝋ:"O",Ꝍ:"O",Ō:"O",Ṓ:"O",Ṑ:"O",Ɵ:"O",Ǫ:"O",Ǭ:"O",Ø:"O",Ǿ:"O",Õ:"O",Ṍ:"O",Ṏ:"O",Ȭ:"O",Ƣ:"OI",Ꝏ:"OO",Ɛ:"E",Ɔ:"O",Ȣ:"OU",Ṕ:"P",Ṗ:"P",Ꝓ:"P",Ƥ:"P",Ꝕ:"P",Ᵽ:"P",Ꝑ:"P",Ꝙ:"Q",Ꝗ:"Q",Ŕ:"R",Ř:"R",Ŗ:"R",Ṙ:"R",Ṛ:"R",Ṝ:"R",Ȑ:"R",Ȓ:"R",Ṟ:"R",Ɍ:"R",Ɽ:"R",Ꜿ:"C",Ǝ:"E",Ś:"S",Ṥ:"S",Š:"S",Ṧ:"S",Ş:"S",Ŝ:"S",Ș:"S",Ṡ:"S",Ṣ:"S",Ṩ:"S",Ť:"T",Ţ:"T",Ṱ:"T",Ț:"T",Ⱦ:"T",Ṫ:"T",Ṭ:"T",Ƭ:"T",Ṯ:"T",Ʈ:"T",Ŧ:"T",Ɐ:"A",Ꞁ:"L",Ɯ:"M",Ʌ:"V",Ꜩ:"TZ",Ú:"U",Ŭ:"U",Ǔ:"U",Û:"U",Ṷ:"U",Ü:"U",Ǘ:"U",Ǚ:"U",Ǜ:"U",Ǖ:"U",Ṳ:"U",Ụ:"U",Ű:"U",Ȕ:"U",Ù:"U",Ủ:"U",Ư:"U",Ứ:"U",Ự:"U",Ừ:"U",Ử:"U",Ữ:"U",Ȗ:"U",Ū:"U",Ṻ:"U",Ų:"U",Ů:"U",Ũ:"U",Ṹ:"U",Ṵ:"U",Ꝟ:"V",Ṿ:"V",Ʋ:"V",Ṽ:"V",Ꝡ:"VY",Ẃ:"W",Ŵ:"W",Ẅ:"W",Ẇ:"W",Ẉ:"W",Ẁ:"W",Ⱳ:"W",Ẍ:"X",Ẋ:"X",Ý:"Y",Ŷ:"Y",Ÿ:"Y",Ẏ:"Y",Ỵ:"Y",Ỳ:"Y",Ƴ:"Y",Ỷ:"Y",Ỿ:"Y",Ȳ:"Y",Ɏ:"Y",Ỹ:"Y",Ź:"Z",Ž:"Z",Ẑ:"Z",Ⱬ:"Z",Ż:"Z",Ẓ:"Z",Ȥ:"Z",Ẕ:"Z",Ƶ:"Z",IJ:"IJ",Œ:"OE",ᴀ:"A",ᴁ:"AE",ʙ:"B",ᴃ:"B",ᴄ:"C",ᴅ:"D",ᴇ:"E",ꜰ:"F",ɢ:"G",ʛ:"G",ʜ:"H",ɪ:"I",ʁ:"R",ᴊ:"J",ᴋ:"K",ʟ:"L",ᴌ:"L",ᴍ:"M",ɴ:"N",ᴏ:"O",ɶ:"OE",ᴐ:"O",ᴕ:"OU",ᴘ:"P",ʀ:"R",ᴎ:"N",ᴙ:"R",ꜱ:"S",ᴛ:"T",ⱻ:"E",ᴚ:"R",ᴜ:"U",ᴠ:"V",ᴡ:"W",ʏ:"Y",ᴢ:"Z",á:"a",ă:"a",ắ:"a",ặ:"a",ằ:"a",ẳ:"a",ẵ:"a",ǎ:"a",â:"a",ấ:"a",ậ:"a",ầ:"a",ẩ:"a",ẫ:"a",ä:"a",ǟ:"a",ȧ:"a",ǡ:"a",ạ:"a",ȁ:"a",à:"a",ả:"a",ȃ:"a",ā:"a",ą:"a",ᶏ:"a",ẚ:"a",å:"a",ǻ:"a",ḁ:"a",ⱥ:"a",ã:"a",ꜳ:"aa",æ:"ae",ǽ:"ae",ǣ:"ae",ꜵ:"ao",ꜷ:"au",ꜹ:"av",ꜻ:"av",ꜽ:"ay",ḃ:"b",ḅ:"b",ɓ:"b",ḇ:"b",ᵬ:"b",ᶀ:"b",ƀ:"b",ƃ:"b",ɵ:"o",ć:"c",č:"c",ç:"c",ḉ:"c",ĉ:"c",ɕ:"c",ċ:"c",ƈ:"c",ȼ:"c",ď:"d",ḑ:"d",ḓ:"d",ȡ:"d",ḋ:"d",ḍ:"d",ɗ:"d",ᶑ:"d",ḏ:"d",ᵭ:"d",ᶁ:"d",đ:"d",ɖ:"d",ƌ:"d",ı:"i",ȷ:"j",ɟ:"j",ʄ:"j",dz:"dz",dž:"dz",é:"e",ĕ:"e",ě:"e",ȩ:"e",ḝ:"e",ê:"e",ế:"e",ệ:"e",ề:"e",ể:"e",ễ:"e",ḙ:"e",ë:"e",ė:"e",ẹ:"e",ȅ:"e",è:"e",ẻ:"e",ȇ:"e",ē:"e",ḗ:"e",ḕ:"e",ⱸ:"e",ę:"e",ᶒ:"e",ɇ:"e",ẽ:"e",ḛ:"e",ꝫ:"et",ḟ:"f",ƒ:"f",ᵮ:"f",ᶂ:"f",ǵ:"g",ğ:"g",ǧ:"g",ģ:"g",ĝ:"g",ġ:"g",ɠ:"g",ḡ:"g",ᶃ:"g",ǥ:"g",ḫ:"h",ȟ:"h",ḩ:"h",ĥ:"h",ⱨ:"h",ḧ:"h",ḣ:"h",ḥ:"h",ɦ:"h",ẖ:"h",ħ:"h",ƕ:"hv",í:"i",ĭ:"i",ǐ:"i",î:"i",ï:"i",ḯ:"i",ị:"i",ȉ:"i",ì:"i",ỉ:"i",ȋ:"i",ī:"i",į:"i",ᶖ:"i",ɨ:"i",ĩ:"i",ḭ:"i",ꝺ:"d",ꝼ:"f",ᵹ:"g",ꞃ:"r",ꞅ:"s",ꞇ:"t",ꝭ:"is",ǰ:"j",ĵ:"j",ʝ:"j",ɉ:"j",ḱ:"k",ǩ:"k",ķ:"k",ⱪ:"k",ꝃ:"k",ḳ:"k",ƙ:"k",ḵ:"k",ᶄ:"k",ꝁ:"k",ꝅ:"k",ĺ:"l",ƚ:"l",ɬ:"l",ľ:"l",ļ:"l",ḽ:"l",ȴ:"l",ḷ:"l",ḹ:"l",ⱡ:"l",ꝉ:"l",ḻ:"l",ŀ:"l",ɫ:"l",ᶅ:"l",ɭ:"l",ł:"l",lj:"lj",ſ:"s",ẜ:"s",ẛ:"s",ẝ:"s",ḿ:"m",ṁ:"m",ṃ:"m",ɱ:"m",ᵯ:"m",ᶆ:"m",ń:"n",ň:"n",ņ:"n",ṋ:"n",ȵ:"n",ṅ:"n",ṇ:"n",ǹ:"n",ɲ:"n",ṉ:"n",ƞ:"n",ᵰ:"n",ᶇ:"n",ɳ:"n",ñ:"n",nj:"nj",ó:"o",ŏ:"o",ǒ:"o",ô:"o",ố:"o",ộ:"o",ồ:"o",ổ:"o",ỗ:"o",ö:"o",ȫ:"o",ȯ:"o",ȱ:"o",ọ:"o",ő:"o",ȍ:"o",ò:"o",ỏ:"o",ơ:"o",ớ:"o",ợ:"o",ờ:"o",ở:"o",ỡ:"o",ȏ:"o",ꝋ:"o",ꝍ:"o",ⱺ:"o",ō:"o",ṓ:"o",ṑ:"o",ǫ:"o",ǭ:"o",ø:"o",ǿ:"o",õ:"o",ṍ:"o",ṏ:"o",ȭ:"o",ƣ:"oi",ꝏ:"oo",ɛ:"e",ᶓ:"e",ɔ:"o",ᶗ:"o",ȣ:"ou",ṕ:"p",ṗ:"p",ꝓ:"p",ƥ:"p",ᵱ:"p",ᶈ:"p",ꝕ:"p",ᵽ:"p",ꝑ:"p",ꝙ:"q",ʠ:"q",ɋ:"q",ꝗ:"q",ŕ:"r",ř:"r",ŗ:"r",ṙ:"r",ṛ:"r",ṝ:"r",ȑ:"r",ɾ:"r",ᵳ:"r",ȓ:"r",ṟ:"r",ɼ:"r",ᵲ:"r",ᶉ:"r",ɍ:"r",ɽ:"r",ↄ:"c",ꜿ:"c",ɘ:"e",ɿ:"r",ś:"s",ṥ:"s",š:"s",ṧ:"s",ş:"s",ŝ:"s",ș:"s",ṡ:"s",ṣ:"s",ṩ:"s",ʂ:"s",ᵴ:"s",ᶊ:"s",ȿ:"s",ɡ:"g",ᴑ:"o",ᴓ:"o",ᴝ:"u",ť:"t",ţ:"t",ṱ:"t",ț:"t",ȶ:"t",ẗ:"t",ⱦ:"t",ṫ:"t",ṭ:"t",ƭ:"t",ṯ:"t",ᵵ:"t",ƫ:"t",ʈ:"t",ŧ:"t",ᵺ:"th",ɐ:"a",ᴂ:"ae",ǝ:"e",ᵷ:"g",ɥ:"h",ʮ:"h",ʯ:"h",ᴉ:"i",ʞ:"k",ꞁ:"l",ɯ:"m",ɰ:"m",ᴔ:"oe",ɹ:"r",ɻ:"r",ɺ:"r",ⱹ:"r",ʇ:"t",ʌ:"v",ʍ:"w",ʎ:"y",ꜩ:"tz",ú:"u",ŭ:"u",ǔ:"u",û:"u",ṷ:"u",ü:"u",ǘ:"u",ǚ:"u",ǜ:"u",ǖ:"u",ṳ:"u",ụ:"u",ű:"u",ȕ:"u",ù:"u",ủ:"u",ư:"u",ứ:"u",ự:"u",ừ:"u",ử:"u",ữ:"u",ȗ:"u",ū:"u",ṻ:"u",ų:"u",ᶙ:"u",ů:"u",ũ:"u",ṹ:"u",ṵ:"u",ᵫ:"ue",ꝸ:"um",ⱴ:"v",ꝟ:"v",ṿ:"v",ʋ:"v",ᶌ:"v",ⱱ:"v",ṽ:"v",ꝡ:"vy",ẃ:"w",ŵ:"w",ẅ:"w",ẇ:"w",ẉ:"w",ẁ:"w",ⱳ:"w",ẘ:"w",ẍ:"x",ẋ:"x",ᶍ:"x",ý:"y",ŷ:"y",ÿ:"y",ẏ:"y",ỵ:"y",ỳ:"y",ƴ:"y",ỷ:"y",ỿ:"y",ȳ:"y",ẙ:"y",ɏ:"y",ỹ:"y",ź:"z",ž:"z",ẑ:"z",ʑ:"z",ⱬ:"z",ż:"z",ẓ:"z",ȥ:"z",ẕ:"z",ᵶ:"z",ᶎ:"z",ʐ:"z",ƶ:"z",ɀ:"z",ff:"ff",ffi:"ffi",ffl:"ffl",fi:"fi",fl:"fl",ij:"ij",œ:"oe",st:"st",ₐ:"a",ₑ:"e",ᵢ:"i",ⱼ:"j",ₒ:"o",ᵣ:"r",ᵤ:"u",ᵥ:"v",ₓ:"x"};if(!e.normalize)return e;const n=e.replace(/[^A-Za-z0-9[\] ]/g,(function(e){return t[e]||e}));return e.normalize("NFC").length==n.normalize("NFC").length?n:""},escapeRegExp:e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),match(e,t,n){const r=new RegExp(t,n?"g":"gi"),o=[];let i=r.exec(e);for(;null!=i;)o.push([i.index,i[0].length]),i=r.exec(e);return o},exec:(e,t)=>new RegExp(e).exec(t)}}(s);c({nativeModule:await r(n)})}))}function B(e){if("arrayBuffer"in e)return e.arrayBuffer().then((e=>new Uint8Array(e)));const t=new FileReader;return new Promise(((n,r)=>{t.onerror=e=>{r(new Error(e))},t.onload=e=>{n(new Uint8Array(e.target?.result))},t.readAsArrayBuffer(e)}))}const M="text",U="documentA",R="documentB",L="result";new Uint8Array(16);const J=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const z=function(e){return"string"==typeof e&&J.test(e)},W=[];for(let e=0;e<256;++e)W.push((e+256).toString(16).slice(1));function V(e,t=0){return W[e[t+0]]+W[e[t+1]]+W[e[t+2]]+W[e[t+3]]+"-"+W[e[t+4]]+W[e[t+5]]+"-"+W[e[t+6]]+W[e[t+7]]+"-"+W[e[t+8]]+W[e[t+9]]+"-"+W[e[t+10]]+W[e[t+11]]+W[e[t+12]]+W[e[t+13]]+W[e[t+14]]+W[e[t+15]]}const q=function(e){if(!z(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function K(e,t,n){function r(e,r,o,i){var a;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=q(r)),16!==(null===(a=r)||void 0===a?void 0:a.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let s=new Uint8Array(16+e.length);if(s.set(r),s.set(e,r.length),s=n(s),s[6]=15&s[6]|t,s[8]=63&s[8]|128,o){i=i||0;for(let e=0;e<16;++e)o[i+e]=s[e];return o}return V(s)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function G(e){return 14+(e+64>>>9<<4)+1}function Z(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function H(e,t,n,r,o,i){return Z((a=Z(Z(t,e),Z(r,i)))<<(s=o)|a>>>32-s,n);var a,s}function Y(e,t,n,r,o,i,a){return H(t&n|~t&r,e,t,o,i,a)}function X(e,t,n,r,o,i,a){return H(t&r|n&~r,e,t,o,i,a)}function Q(e,t,n,r,o,i,a){return H(t^n^r,e,t,o,i,a)}function ee(e,t,n,r,o,i,a){return H(n^(t|~r),e,t,o,i,a)}K("v3",48,(function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){const t=[],n=32*e.length,r="0123456789abcdef";for(let o=0;o<n;o+=8){const n=e[o>>5]>>>o%32&255,i=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[G(t)-1]=t;let n=1732584193,r=-271733879,o=-1732584194,i=271733878;for(let t=0;t<e.length;t+=16){const a=n,s=r,c=o,u=i;n=Y(n,r,o,i,e[t],7,-680876936),i=Y(i,n,r,o,e[t+1],12,-389564586),o=Y(o,i,n,r,e[t+2],17,606105819),r=Y(r,o,i,n,e[t+3],22,-1044525330),n=Y(n,r,o,i,e[t+4],7,-176418897),i=Y(i,n,r,o,e[t+5],12,1200080426),o=Y(o,i,n,r,e[t+6],17,-1473231341),r=Y(r,o,i,n,e[t+7],22,-45705983),n=Y(n,r,o,i,e[t+8],7,1770035416),i=Y(i,n,r,o,e[t+9],12,-1958414417),o=Y(o,i,n,r,e[t+10],17,-42063),r=Y(r,o,i,n,e[t+11],22,-1990404162),n=Y(n,r,o,i,e[t+12],7,1804603682),i=Y(i,n,r,o,e[t+13],12,-40341101),o=Y(o,i,n,r,e[t+14],17,-1502002290),r=Y(r,o,i,n,e[t+15],22,1236535329),n=X(n,r,o,i,e[t+1],5,-165796510),i=X(i,n,r,o,e[t+6],9,-1069501632),o=X(o,i,n,r,e[t+11],14,643717713),r=X(r,o,i,n,e[t],20,-373897302),n=X(n,r,o,i,e[t+5],5,-701558691),i=X(i,n,r,o,e[t+10],9,38016083),o=X(o,i,n,r,e[t+15],14,-660478335),r=X(r,o,i,n,e[t+4],20,-405537848),n=X(n,r,o,i,e[t+9],5,568446438),i=X(i,n,r,o,e[t+14],9,-1019803690),o=X(o,i,n,r,e[t+3],14,-187363961),r=X(r,o,i,n,e[t+8],20,1163531501),n=X(n,r,o,i,e[t+13],5,-1444681467),i=X(i,n,r,o,e[t+2],9,-51403784),o=X(o,i,n,r,e[t+7],14,1735328473),r=X(r,o,i,n,e[t+12],20,-1926607734),n=Q(n,r,o,i,e[t+5],4,-378558),i=Q(i,n,r,o,e[t+8],11,-2022574463),o=Q(o,i,n,r,e[t+11],16,1839030562),r=Q(r,o,i,n,e[t+14],23,-35309556),n=Q(n,r,o,i,e[t+1],4,-1530992060),i=Q(i,n,r,o,e[t+4],11,1272893353),o=Q(o,i,n,r,e[t+7],16,-155497632),r=Q(r,o,i,n,e[t+10],23,-1094730640),n=Q(n,r,o,i,e[t+13],4,681279174),i=Q(i,n,r,o,e[t],11,-358537222),o=Q(o,i,n,r,e[t+3],16,-722521979),r=Q(r,o,i,n,e[t+6],23,76029189),n=Q(n,r,o,i,e[t+9],4,-640364487),i=Q(i,n,r,o,e[t+12],11,-421815835),o=Q(o,i,n,r,e[t+15],16,530742520),r=Q(r,o,i,n,e[t+2],23,-995338651),n=ee(n,r,o,i,e[t],6,-198630844),i=ee(i,n,r,o,e[t+7],10,1126891415),o=ee(o,i,n,r,e[t+14],15,-1416354905),r=ee(r,o,i,n,e[t+5],21,-57434055),n=ee(n,r,o,i,e[t+12],6,1700485571),i=ee(i,n,r,o,e[t+3],10,-1894986606),o=ee(o,i,n,r,e[t+10],15,-1051523),r=ee(r,o,i,n,e[t+1],21,-2054922799),n=ee(n,r,o,i,e[t+8],6,1873313359),i=ee(i,n,r,o,e[t+15],10,-30611744),o=ee(o,i,n,r,e[t+6],15,-1560198380),r=ee(r,o,i,n,e[t+13],21,1309151649),n=ee(n,r,o,i,e[t+4],6,-145523070),i=ee(i,n,r,o,e[t+11],10,-1120210379),o=ee(o,i,n,r,e[t+2],15,718787259),r=ee(r,o,i,n,e[t+9],21,-343485551),n=Z(n,a),r=Z(r,s),o=Z(o,c),i=Z(i,u)}return[n,r,o,i]}(function(e){if(0===e.length)return[];const t=8*e.length,n=new Uint32Array(G(t));for(let r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))})),"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);function te(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function ne(e,t){return e<<t|e>>>32-t}K("v5",80,(function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const r=e.length/4+2,o=Math.ceil(r/16),i=new Array(o);for(let t=0;t<o;++t){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];i[t]=n}i[o-1][14]=8*(e.length-1)/Math.pow(2,32),i[o-1][14]=Math.floor(i[o-1][14]),i[o-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<o;++e){const r=new Uint32Array(80);for(let t=0;t<16;++t)r[t]=i[e][t];for(let e=16;e<80;++e)r[e]=ne(r[e-3]^r[e-8]^r[e-14]^r[e-16],1);let o=n[0],a=n[1],s=n[2],c=n[3],u=n[4];for(let e=0;e<80;++e){const n=Math.floor(e/20),i=ne(o,5)+te(n,a,s,c)+u+t[n]+r[e]>>>0;u=c,c=s,s=ne(a,30)>>>0,a=o,o=i}n[0]=n[0]+o>>>0,n[1]=n[1]+a>>>0,n[2]=n[2]+s>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+u>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}));const re="Maui_Android",oe="Maui_iOS",ie="Maui_MacCatalyst",ae="Maui_Windows",se="FlutterForWeb",ce="Electron",ue="cms",le="unableToShape",de="requiresMoreFonts";async function fe(e){try{const n=await fetch(e).catch((n=>{throw new t(`Error fetching dynamic fonts file ${e}. ${n}`)}));if(200!==n.status)throw new t(`Error fetching dynamic fonts file ${e}. Status code: ${n.status}`);return n}catch(e){throw e}}function pe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:globalThis.navigator?.userAgent??"";return e.indexOf("Trident/")>-1?"trident":e.indexOf("Edge/")>-1?"edge":e.indexOf("Chrome/")>-1?"blink":e.indexOf("AppleWebKit/")>-1?"webkit":e.indexOf("Gecko/")>-1?"gecko":"unknown"}function me(e,t){const n=new RegExp(` ${t}/(\\d+)\\.*`);let r;return(r=e.match(n))?Number(r[1]):0}function ge(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:globalThis.navigator?.userAgent??"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:globalThis.navigator?.platform??"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:globalThis.navigator?.maxTouchPoints??0;return t.indexOf("MacIntel")>-1&&n>1?"ios":e.indexOf("Win")>-1?"windows":e.indexOf("iPhone")>-1||e.indexOf("iPad")>-1||"iPad"===t?"ios":e.indexOf("Mac")>-1?"macos":e.indexOf("Android")>-1?"android":e.indexOf("Linux")>-1?"linux":"unknown"}pe();const he=ge(),ye=(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:globalThis.navigator?.userAgent;switch(pe(e)){case"trident":return me(e,"Trident");case"edge":return me(e,"Edge");case"blink":return me(e,"Chrome");case"webkit":return me(e,"Version");case"gecko":return me(e,"Firefox");default:;}}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ge(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pe();"ios"===e||"android"===e||be(t)}(),"ios"===he||be(),"ios"===he);function be(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pe();return("undefined"==typeof window||!window.PSPDFKIT_PLAYWRIGHT_TEST)&&("webkit"===e&&"undefined"!=typeof TouchEvent)}let we;"undefined"!=typeof window&&(window.addEventListener("mousemove",(function e(){we=!1,window.removeEventListener("mousemove",e)})),window.addEventListener("pointermove",(function e(t){"mouse"!==t.pointerType&&"pen"!==t.pointerType||(we=!1),window.removeEventListener("pointermove",e)})));/Mac/i.test(globalThis.navigator?.platform);function ve(){return"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron/")>=0}const _e="/create.pdf",Oe="/save.pdf",Fe="/embedded.pdf",Se="WebAssembly module not loaded.";let xe=null,Ie=!1,Ee=!1,Ae=null;const je={password:void 0,initialPageIndex:void 0};let De=[],Pe=je,ke=null,Ce=null;const Te=new Set,Ne="/fonts";let $e="";const Be=new Set;let Me=!1;var Ue=function(e){return e[e.Daemon=0]="Daemon",e[e.WASM=1]="WASM",e}(Ue||{});const Re=[];function Le(e){return Array.isArray(e)&&0===e.length}const Je=["configurePDFJavaScriptSupport","closeDocument","setFormValues","openDocument","saveDocument","importXFDF","importInstantDocumentJSON"],ze={annotationsAndForms:"annotations_and_forms",assemble:"assemble",extract:"extract",extractAccessibility:"extract_accessibility",fillForms:"fill_forms",modification:"modification",printHighQuality:"print_high_quality",printing:"printing"};function We(e){r(xe,"WebAssembly module not loaded."),Me&&performance.mark("exec");for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];const i=n.map((e=>Le(e)?JSON.stringify(e):e));Je.includes(e)&&tt();const a=xe[e](...i)||'{ "success": true }',s=JSON.parse(a);if(Me&&Re.push({type:Ue.WASM,name:e,args:i,time:performance.measure("exec - RECORD_CALLS","exec").duration}),!s.success)throw new Error(s.error);return s}function Ve(e){r(xe,"WebAssembly module not loaded."),Me&&performance.mark("execBinary");for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];Je.includes(e)&&tt();const i=n.map((e=>Le(e)?JSON.stringify(e):e)),a=xe[e](...i);return Me&&Re.push({type:Ue.WASM,name:e,args:i,time:performance.measure("execBinary: RECORD_CALLS","execBinary").duration}),a}const qe=["run_pdf_formatting_scripts","run_pdf_javascript","set_form_values_get_script_changes","edit_document","prepare_sign","sign","on_keystroke_event","save_document","update_annotation"];function Ke(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;r(xe,"WebAssembly module not loaded.");const o=JSON.stringify({type:e,...t});let i;if(Me&&performance.mark("daemonExec"),qe.includes(e)&&tt(),n)try{const e="string"==typeof n?new Uint8Array(function(e){const t=new ArrayBuffer(2*e.length),n=new Uint16Array(t);for(let t=0,r=e.length;t<r;t++)n[t]=e.charCodeAt(t);return t}(n)):new Uint8Array(n),t=xe.allocateMemory(e.byteLength);try{t.view.set(e);const n=xe.memoryHandleToVector(t);try{i=xe.dispatchCommandWithBinary(o,n)}finally{n.delete()}}finally{t.delete()}}catch(e){throw e}else i=xe.dispatchCommand(o);if(i.hasError()){const t=new Error(i.getErrorMessage()||"There was an error while executing the command: "+e);throw i.delete(),t}const a=[];for(let e=0;e<i.getRepliesCount();e++)i.hasJSONReply(e)&&a.push(JSON.parse(i.getJSONReply(e))),i.hasBinaryReply(e)&&a.push(i.getBinaryReply(e).slice(0));return Me&&Re.push({type:Ue.Daemon,name:e,args:[o],time:performance.measure("daemonExec: RECORD_CALLS","daemonExec").duration}),i.delete(),a}function Ge(e,t){return`${e}/${t}.pdf`}async function Ze(e,t){const n=Math.random().toString(36).slice(-5),o=await Promise.all(Object.entries(t).map((async t=>{let[r,o]=t;return e.forEach((e=>{"document"in e&&e.document===r&&"importDocument"===e.type?(!1===e.treatImportedDocumentAsOnePage&&(e.treatImportedDocumentAsOnePage=void 0),e.document=Ge(n,r)):("dataFilePath"in e&&e.dataFilePath===r&&"applyInstantJson"===e.type||"dataFilePath"in e&&e.dataFilePath===r&&"applyXfdf"===e.type)&&(e.dataFilePath=Ge(n,r))})),{basename:r,buffer:await B(o)}})));return o.forEach((e=>{!function(e,t,n){r(xe,Se),xe.FS.analyzePath(e).exists||xe.FS.mkdir(e),xe.FS.writeFile(Ge(e,t),n)}(n,e.basename,e.buffer)})),function(){o.forEach((e=>{!function(e,t){r(xe,Se),xe.FS.unlink(Ge(e,t))}(n,e.basename)}))}}function He(){Ee=!0;const e=We("configurePDFJavaScriptSupport",!0);return r(e.success,"An error occurred while executing the document level JavaScript."),e.changes||[]}function Ye(e,t){try{Ke("edit_document",{save_path:t,operations:e})}catch(e){throw new Error(`Error applying operations to document: ${e.message}`)}}let Xe=null,Qe=!1,et=!1;function tt(){Qe||(Xe=null,et=!1)}function nt(e){Qe&&!e&&(Qe=!1,Xe&&ot(Xe)),Qe=e}function rt(){return null===Xe&&(Xe=Ke("read_form_json_objects",{include_line_height_factor:!1}),et=!1),Xe}function ot(e){if(Qe){if(null===e)throw Qe=!1,new Error("Error enqueuing form JSON objects: form fields JSON is null.");return Xe&&!et&&(et=!0),void(Xe=e)}if(et||!Qe)try{tt(),Ke("apply_form_json_objects",{form_fields_with_widgets:e})}catch(e){throw new Error("Error applying form JSON objects to "+_e+": "+e.message)}}function it(e,t,n,o,i,a,s){const c=st(i,{width:n,height:o});if(r("number"==typeof e.pageIndex,"Annotation must have a pageIndex"),!Te.has(e.pdfObjectId))try{r("number"==typeof e.pdfObjectId,"Cannot call renderAnnotation() for an annotation without pdfObjectId.");const t=Ke("render_annotation",{page:e.pageIndex,annotation_id:e.pdfObjectId,format:c,bitmap_width:n,bitmap_height:o,appearance_stream_type:a||"normal",render_form_highlight:s??!0});if("bitmap"===c)return t[0];{const e=new Blob([t[0]],{type:`image/${c}`});return URL.createObjectURL(e)}}catch(e){return void 0}}const at={SharePoint:"SPO",Salesforce:"SF",[oe]:"MauiIOS",[re]:"MauiAndroid",[ie]:"MauiMacCatalyst",[ae]:"MauiWindows",[se]:"FlutterForWeb",NodeJS:"NodeJS",Electron:"Electron"};function st(e,t){let{width:n,height:r}=t;return"webp"===e&&(n>16383||r>16383)||ye&&n*r>16777216&&"bitmap"===e?"png":e}function ct(e){return e.map((e=>ze[e]))}function ut(e,t){return e.pdfObjectId===t.pdfObjectId}const lt=new class{constructor(){u(this,"_pdfObjectIdsForIds",{}),u(this,"comparisonDocuments",{}),u(this,"lastOpenedComparisonDocument",null),u(this,"persistedOpenDocument",null),u(this,"persistedOpenDocumentConfiguration",je),u(this,"files",new Map),u(this,"fileDescriptor",0)}loadNativeModule(e,t){let{disableWebAssemblyStreaming:n,enableAutomaticLinkExtraction:r,overrideMemoryLimit:o}=t;return ke=Date.now(),Ie=r,Ae=o,$(e,n).then((e=>{let{nativeModule:t}=e;xe=t;const n=We("PSPDFKitVersion").version;if(1!==n)throw new Error(`Native version mismatch. Please update the dependencies. Expected 1 but got ${n}.`)}))}corePBProtoBridge(e,t,n){const r=xe.allocateMemory(n.byteLength);let o=null,i=null;try{r.view.set(n),o=xe.corePBProtoBridge(e,t,r),i=o.result;const a={success:o.success,result:i.view.slice()};return Promise.resolve(a)}finally{r.delete(),o?.result?.delete(),o?.delete(),i?.delete()}}async writeFile(e,t){r(xe,Se),xe.FS.writeFile(e,new Uint8Array(t))}async deleteFile(e){r(xe,Se),xe.FS.unlink(e)}async readFile(e){return r(xe,Se),xe.FS.readFile(e)}async renderLinearized(e){const t=xe.allocateMemory(e.byteLength);let n=null;try{return t.view.set(e),n=xe.renderLinearized(t),Promise.resolve(n.view.slice())}finally{t.delete(),n?.delete()}}async load(e,t,n){let i,{mainThreadOrigin:a,customFonts:s,dynamicFonts:c,productId:u,featureFlags:l}=n;r(xe,Se);try{if(xe.FS.analyzePath(Ne).exists||xe.FS.mkdir(Ne),$e=s?`${Ne}/custom-fonts`:"",s&&!xe.FS.analyzePath($e).exists&&function(e,t){r(xe,Se),xe.FS.analyzePath(t).exists||xe.FS.mkdir(t),xe.FS.mount(xe.FS.filesystems.WORKERFS,{blobs:e},t)}(s,$e),ve()&&(r(null==u||u===ce,`PSPDFKit is running on Electron, but has been setup to be used with ${u}Please contact support to resolve the issue.`),u=ce),i=xe.initPSPDFKit(null==t?"":t,a,Ne,"",u&&void 0!==at[u]?at[u]:"",JSON.stringify(l??[])),c){const e=await fe(c);Ke("dynamic_font_loading/set_metadata_file",void 0,await e.arrayBuffer()),Ce=c.split("/").slice(0,-1).join("/")}}catch(e){throw e}const d=JSON.parse(i);if(ke&&o(`Native initialization complete, took: ${Date.now()-ke}ms`),!d.success)throw new Error("Failed to initialize PSPDFKit: "+d.error);return d}getNativeModule(){return xe}async openDocument(e,t){try{return r(xe,Se),null!==Ae&&We("overrideMemoryLimit",Ae),xe.FS.writeFile(_e,new Uint8Array(e)),this.openAndReturnDocumentInfo(t??je)}finally{this._pdfObjectIdsForIds={}}}async openCreateFilePathDocument(e){try{return null!==Ae&&We("overrideMemoryLimit",Ae),this.openAndReturnDocumentInfo(e??je)}finally{this._pdfObjectIdsForIds={}}}async getSuggestedLineHeightFactor(e,t){return Ke("get_suggested_line_height_factor",{annotation_ids:[e],page:t})[0].line_height_factors[e.toString()]}async getAvailableFontFaces(e){if(!e)return[];const t=Ke("get_available_font_faces");return t[0]?.font_faces.reduce(((t,n)=>{const r=e.find((e=>e.name===n.path.replace(`${$e}/`,"")));return r?t.concat({readableName:n.fullName,name:r.name}):t}),[])}async setFontSubstitutions(e){try{Ke("set_font_substitutions",{substitutions:e})}catch(e){throw new Error("Error setting fonts substitutions: "+e.message)}}async getClosestSnapPoint(e,t){return Ke("get_closest_snap",{q:[e,t]})[0]}async configureSnapper(e){Ke("configure_snapper",{page:e})}async reloadDocument(){try{return nt(!1),We("closeDocument"),this.openAndReturnDocumentInfo(Pe)}finally{this._pdfObjectIdsForIds={}}}async openAndReturnDocumentInfo(e){Pe=e,We("openDocument",_e,JSON.stringify(e)),Ee&&He(),We("automaticLinkExtraction",Ie);const t=We("getDocumentInfo").documentInfo;if(t.pageCount<=0)return t;let n=[];if("number"==typeof e?.initialPageIndex){const r=await this.getPageInfo(e.initialPageIndex);for(let o=0;o<t.pageCount;o++){const t={...r,pageIndex:o,pageLabel:e.initialPageIndex===o?r.pageLabel:String(o+1)};n.push(t)}}else n=await this.getAllPageInfos(t.pageCount);return t.pages=n,t}async getPageInfo(e){try{const t=Ke("page_info",{query:"page_info",page:e});r(1===t.length,"expected page_info result to return 1 result when specifying index.");const n=(new TextDecoder).decode(t[0]);return JSON.parse(n).pageInfo}catch(t){return a(`Dimensional information for page ${e} unavailable, page will not be displayed.`),{height:0,matrix:[0,0,0,0,0,0],pageLabel:"",reverseMatrix:[0,0,0,0,0,0],transformedBBox:[0,0,0,0],untransformedBBox:[0,0,0,0],width:0,pageIndex:e,rawPdfBoxes:{bleedBox:null,cropBox:null,mediaBox:null,trimBox:null}}}}async preflightRenderAnnotationText(e,t,n,o){const i=()=>"number"==typeof t&&"number"==typeof n?Ke("dynamic_font_loading/preflight_annotation",{text:e,annotation_id:t,page:n})[0]:(r(o,`annotation not set: ${o}`),Ke("dynamic_font_loading/preflight_annotation",{text:e,annotation_json:o})[0]);try{let e=i();e.preflight_result===de&&(await this.addDynamicFonts(e.required_fonts),e=i()),"number"==typeof t&&(e.preflight_result===le?Te.add(t):Te.delete(t))}catch(n){a(`There was an error testing rendering for annotation ${t} of this text: ${e}: ${n.message}`)}}async addDynamicFonts(e){let t=[];try{t=e.filter((e=>!Be.has(e)));!function(e){r(xe,Se),e.forEach((e=>{xe.FS.analyzePath(`${Ne}/${e.name}`).exists||xe.FS.writeFile(`${Ne}/${e.name}`,new Uint8Array(e.data))}))}((await Promise.all(t.map((e=>fetch(`${Ce}/${e}`).then((e=>e.arrayBuffer())))))).map(((e,n)=>({name:t[n],data:e})))),t.forEach((e=>{Be.add(e)}))}catch(e){t.forEach((e=>{Be.delete(e)})),a(`There was an error loading a font: ${e}`)}await Ke("dynamic_font_loading/notify_fonts_added",{added_fonts:t.map((e=>({remote_file_path:e,local_file_name:e})))})}async getAllPageInfos(e){const t=[];try{const n=Ke("page_info",{query:"page_info",page:"all"});r(n.length===e,"expected the same length of page info response to page count.");for(let e=0;e<n.length;e++){const r=(new TextDecoder).decode(n[e]),o=JSON.parse(r);t.push(o.pageInfo)}}catch(n){a("There was an error retrieving page information for all pages from core. Reverting to individual queries.");for(let n=0;n<e;n++)try{const e=Ke("page_info",{query:"page_info",page:n});r(1===e.length,"expected page_info result to return 1 result when specifying index.");const o=(new TextDecoder).decode(e[0]),i=JSON.parse(o);t.push(i.pageInfo)}catch(e){a(`Dimensional information for page ${n} unavailable, page will not be displayed.`);const r={height:0,matrix:[0,0,0,0,0,0],pageLabel:"",reverseMatrix:[0,0,0,0,0,0],transformedBBox:[0,0,0,0],untransformedBBox:[0,0,0,0],width:0,pageIndex:n,rawPdfBoxes:{bleedBox:null,cropBox:null,mediaBox:null,trimBox:null}};t.push(r)}}return t}async enablePDFJavaScriptSupport(){return He()}async runPDFFormattingScripts(e,t){let n;r(Ee,"PDF Formatting Scripts can only run after JavaScript is enabled.");try{n=Ke("run_pdf_formatting_scripts",{form_fqns:e,only_if_no_ap_stream:t})}catch(e){throw new Error("An error occurred while executing the document level JavaScript formatting.\n\n"+e.message)}return n[0].changes||[]}async openDocumentAt(){throw new Error("Should never be called")}async getBookmarks(){const e=Ke("get_bookmarks");return r(1===e.length,"expected only one response for getBookmarks"),e[0].bookmarks||[]}async getFormJSON(){return We("getFormJSON").formJSON}async getFormValues(){return We("getFormValues").formValues}async setFormValues(e){const t=rt();let n=!1;const r=[],o=t.map((t=>{const o=e.find((e=>e.name===t.formField.name));return o?o.value===t.value||Array.isArray(o.value)&&Array.isArray(t.value)&&o.value.every(((e,n)=>e===t.value[n]))?t:("string"==typeof o.value&&o.value.length>0?r.push({widgets:t.widgets,text:o.value}):t.widgets.forEach((e=>{"number"==typeof e.pdfObjectId&&Te.delete(e.pdfObjectId)})),n=!0,{...t,value:o.value}):t}));if(n){if(Ce)for(let e=0;e<r.length;e++){const t=r[e].widgets;for(let n=0;n<t.length;n++)await this.preflightWidgetAnnotation(t[n],t[n].pdfObjectId,r[e].text)}ot(o)}}async setFormFieldValue(e){await this.setFormValues([e])}async applyOperations(e,t){const n=await Ze(e,t);Ye(e,_e),n()}async exportPDFWithOperations(e,t){const n=await Ze(e,t);let o;r(xe,Se);try{Ye(e,Oe),o=xe.FS.readFile(Oe).buffer}catch(e){throw new Error("Error applying operations: "+e.message)}return n(),o}async getSignaturesInfo(){try{return Ke("get_signatures",{certificate_check_time:"current_time"})[0]}catch(e){throw new Error(`Error getting signatures info: ${e.message}`)}}async getComments(){try{return Ke("get_comments")}catch(e){throw new Error(`Error getting comments: ${e.message}`)}}async applyComments(e){try{return Ke("apply_comments",{comments:e})}catch(e){throw new Error(`Error applying comments: ${e.message}`)}}async prepareSign(e,t,n,o,i,a){let s;const c=!1,u=!1;try{s=Ke("get_signatures",{certificate_check_time:"current_time"})[0];const e="not_signed"!==s.status;We("saveDocument",Oe,!1,e,c,u,"pdf",!1),We("openDocument",Oe,JSON.stringify(Pe))}catch(e){throw new Error(`Error saving document backup for invisible signing: ${e}`)}try{const e=!n&&"not_signed"!==s.status;We("saveDocument",_e,n,e,c,u,"pdf",!1),n&&(We("openDocument",_e,JSON.stringify(Pe)),Ee&&He())}catch(e){throw new Error(`Error saving document for invisible signing: ${e}`)}let l;try{l=Ke("prepare_sign",{signer_data_source:{...e,field_name:o,position:i,appearance:a,type:"pspdfkit/signer-data-source"},signature_metadata:{...t,type:"pspdfkit/signature-metadata"}})}catch(e){throw new Error(`Error preparing document for signing: ${e}`)}r(xe,Se);let d=null;return e&&e?.signatureType!==ue||(d=xe.FS.readFile(l[0].result.file_contents).buffer),xe.FS.unlink(l[0].result.file_contents),{file:l[0].result.file,hash:l[0].result.hash,signatureFormFieldName:l[0].result.signature_form_fqn,dataToBeSigned:l[0].result.data_to_be_signed,fileContents:d}}async getTimestampRequest(e,t){try{const[n]=Ke("get_timestamp_http_request",{timestamp_authority_info:{url:t.url,authenticationInfo:{username:t.username,password:t.password}},data_to_timestamp:e});return{url:n.url,method:n.method,requestData:n.request_data,contentType:n.content_type,token:n.token,username:n.user,password:n.password}}catch(e){throw new Error(`Error getting timestamp request: ${e.message}`)}}async getRevocationRequests(e){try{return Ke("get_revocation_http_requests",{signing_certificates:e})}catch(e){throw new Error(`Error getting revocations requests: ${e.message}`)}}async setSignaturesLTV(e){try{const t=Ke("get_signatures",{certificate_check_time:"current_time",revocation_responses:e})[0];return We("saveDocument",_e,!1,!0,!1,!1,"pdf",!1),t}catch(e){throw new Error(`Error getting signatures info: ${e.message}`)}}async sign(e,t,n,r,o,i,a,s,c){let u;try{let l;const d=F(o).buffer,f=a?"pkcs7"===a:function(e){try{const t=new Uint8Array(e);return!!t.length&&48===t[0]}catch(e){throw new Error(`Error checking if the signature is in PKCS#7 format: ${e.message}`)}}(d);f||(l=Ke("create_signature",{signatureType:r,hash:n,signed_data:o,certificates:i,timestamp_response:s})),u=Ke("sign",{password:Pe?.password,save_path:_e,file_path:e,signature_form_fqn:t,pkcs7_container:l?.[0].result||o,revocation_responses:c??[]}),We("openDocument",_e,JSON.stringify(Pe)),Ee&&He()}catch(e){throw new Error(`Error signing document: ${e}`)}return u[0].result}async restoreToOriginalState(){try{We("openDocument",Oe,JSON.stringify(Pe)),Ee&&He();const e="not_signed"!==Ke("get_signatures",{certificate_check_time:"current_time"})[0].status;We("saveDocument",_e,!1,e,!1,!1,"pdf",!1),We("openDocument",_e,JSON.stringify(Pe)),Ee&&He()}catch(e){throw new Error(`Could not restore backup document: ${e}`)}}async evalFormValuesActions(e){const t=rt().reduce(((t,n)=>e.find((e=>{let{name:t}=e;return n.formField.name===t}))&&"pspdfkit/form-field/text"===n.formField.type?t.concat(n):t),[]);if(Ce)for(let n=0;n<t.length;n++){const r=t[n].widgets;for(let n=0;n<r.length;n++)await this.preflightWidgetAnnotation(r[n],r[n].pdfObjectId,e.find((e=>t[n].formField.name===e.name))?.value)}const n=Ke("set_form_values_get_script_changes",{form_values:e});return r(1===n.length,"expected only one response for evalFormValuesActions"),this._processChanges(n[0].changes)}async readFormJSONObjects(){return rt()}async setFormJSONUpdateBatchMode(e){await nt(e)}_processChanges(e){return e.map((e=>"pspdfkit/javascript/effects/importIcon"===e.object.type?{...e,object:{...e.object,id:Object.entries(this._pdfObjectIdsForIds).find((t=>{let[,n]=t;return n===e.object.annotationID}))?.[0]}}:e))}async evalScript(e,t,n){const o=Ke("run_pdf_javascript",{pdf_javascript_contents:e,pdf_javascript_trigger_event:t,pdf_javascript_form_fqn:n});return r(1===o.length,"expected only one response for evalScript"),this._processChanges(o[0].changes)}async closeDocument(){try{return De=[],Pe={password:void 0,initialPageIndex:void 0},Ee=!1,Xe=null,Qe=!1,et=!1,We("closeDocument")}finally{this._pdfObjectIdsForIds={}}}async renderAnnotation(e,t,n,r,o,i,a){return it({...e,pdfObjectId:this._getPdfObjectIdForObject(e)},t&&await B(t),n,r,o,i,a)}async renderPageAnnotations(e,t,n,r,o){return t.map(((t,i)=>it({pdfObjectId:t,pageIndex:e},0,n[i],r[i],st(o,{width:n[i],height:r[i]}))))}async renderDetachedAnnotation(e,t,n,o,i){r(xe,Se),!Ce||"pspdfkit/stamp"!==e.type&&"pspdfkit/text"!==e.type||await this.preflightAnnotation(e,e.pdfObjectId);const a=t?await B(t):null,s=t?t.type:null;let c,u;const l=new xe.VectorUint8;try{if(null!=a)for(let e=0;e<a.byteLength;e++)l.push_back(a[e]);if(u=Ve("renderDetachedAnnotation",i,JSON.stringify({...e,pdfObjectId:this._getPdfObjectIdForObject(e),pageIndex:0}),0,n,o,l,s||""),u.hasError()||1!==u.getRepliesCount()){const e=u.getErrorMessage(),t=u.getErrorReason();throw new Error(t+": "+e)}c=u.getBinaryReply(0).slice(0).buffer}finally{l&&l.delete(),u&&u.delete()}return c}async loadCertificates(e){if(Ke("load_certificates",{certificates:e}).length>0)throw new t("Internal error while loading certificates")}async getAttachment(e){let t,n,r;const o=await this.getEmbeddedFilesList(),i=o?.map((e=>e.id)),a=i?.includes(e);try{if(a)Ke("extract_embedded_file",{id:e,file_path:Fe}),t=xe.FS.readFile(Fe).buffer;else{if(n=Ve("getAnnotationAttachment",e),n.hasError()||1!==n.getRepliesCount()){const e=n.getErrorMessage(),t=n.getErrorReason();throw new Error("Error fetching attachment: "+t+", "+e)}r=JSON.parse(n.getJSONReply(0)).encoding,t=n.getBinaryReply(0).slice(0)}}finally{xe.FS.analyzePath(Fe)?.exists&&xe.FS.unlink(Fe),n&&n.delete()}return[t,r]}async annotationsForPageIndex(e){const t=We("annotationsForPageIndex",e);return["rollover","down"].forEach((e=>{t.apstream_variants?.[e]?.forEach((n=>{const r=t.annotations.find((e=>e.pdfObjectId===n));r?r[e]=!0:t.annotations.push({pdfObjectId:n,[e]:!0})}))})),t.annotations}async getTabOrder(e){return Ke("get_annotation_tab_order",{page:e})[0].order.map((e=>{const t=Object.entries(this._pdfObjectIdsForIds).find((t=>{let[n,r]=t;return r===e}));return{id:t?.[0]||String(e),pdfObjectId:e}}))}async setTabOrder(e,t){Ke("set_annotation_tab_order",{page:e,order:t.map((e=>this._getPdfObjectIdForObject(e)))})}async createAnnotation(e,t){r(xe,Se),r("number"==typeof e.pageIndex,"Annotation must have a pageIndex");const n=e.pdfObjectId,o=t?await B(t):null;let i;const a=new xe.VectorUint8;try{if(null!=o)for(let e=0;e<o.byteLength;e++)a.push_back(o[e]);"pspdfkit/widget"===e.type&&(nt(!1),tt());const t=("pspdfkit/shape/ellipse"===e.type||"pspdfkit/shape/rectangle"===e.type)&&e.measurementScale?{...e,measurementBBox:e.bbox}:e;i=We("createAnnotation",JSON.stringify({...t,pdfObjectId:null}),a)}finally{a&&a.delete()}return"number"==typeof n&&"number"==typeof this._pdfObjectIdsForIds[n.toString()]&&delete this._pdfObjectIdsForIds[n.toString()],this._pdfObjectIdsForIds[e.id||i.pdfObjectId.toString()]=i.pdfObjectId,e&&this.canPreflightAnnotation(e)&&Ce&&await this.preflightAnnotation(e,i.pdfObjectId),i.pdfObjectId}async updateAnnotation(e){const t={...e,pdfObjectId:this._getPdfObjectIdForObject(e)};if(r(t.id,"Annotation must have an ID"),r("number"==typeof t.pageIndex,"Annotation must have a pageIndex"),"pspdfkit/widget"===t.type){const e=rt(),n="number"==typeof t.pdfObjectId?t.pdfObjectId.toString():t.id;ot(e.map((e=>e.formField.annotationIds.includes(n)||e.formField.annotationIds.includes(String(t.pdfObjectId))?{...e,widgets:e.widgets.map((e=>e.id===n||String(e.pdfObjectId)===n?t:e))}:e)))}else e&&this.canPreflightAnnotation(e)&&Ce&&await this.preflightAnnotation(e,t.pdfObjectId),We("updateAnnotation",JSON.stringify(t),0,0)}async updateButtonIcon(e,t,n){Ke("update_annotation",{annotation:{...e,pdfObjectId:this._getPdfObjectIdForObject(e),contentType:n}},t)}async deleteAnnotation(e){if(e.APStreamCache&&await this.updateAnnotation(e),"pspdfkit/widget"===e.type)try{const t=e.id;ot(rt().map((n=>{if(n.formField.annotationIds.includes(t)||n.formField.annotationIds.includes(String(e.pdfObjectId))){let r,o=n.value;if(("pspdfkit/form-field/checkbox"===n.formField.type||"pspdfkit/form-field/radio"===n.formField.type)&&n.formField.options.length===n.formField.annotationIds.length){const i=n.formField.annotationIds.includes(t)?n.formField.annotationIds.indexOf(t):n.formField.annotationIds.indexOf(String(e.pdfObjectId));r=n.formField.options.filter(((e,t)=>t!==i)),r.some((e=>e.value===o))||(o="")}const i=n.widgets.filter((e=>t!==e.id)),a=n.formField.annotationIds.filter((n=>n!==t&&n!==String(e.pdfObjectId)));return i.length>0&&a.length>0?{...n,formField:{...n.formField,annotationIds:a,...r?{options:r}:null},widgets:i,value:o}:null}return n})).filter(Boolean))}catch(e){throw e}else try{Ke("remove_annotations",{annotation_ids:[this._getPdfObjectIdForObject(e)]})}catch(t){i(`Removing annotation failed for annotation: ${JSON.stringify(e)}`)}delete this._pdfObjectIdsForIds[e.id||e.pdfObjectId?.toString()],Te.delete(e.pdfObjectId)}async createFormField(e,t){const n=rt().concat([{type:"pspdfkit/form-field-with-widgets",formField:e,widgets:t}]),r=Qe;Qe&&nt(!1),ot(n);const o=rt();r&&nt(!0);const i=o.find((t=>t.formField.name===e.name));if(!i)throw new Error(`Error creating new form field in ${_e}: created form field not found. ${JSON.stringify({type:"pspdfkit/form-field-with-widgets",formField:e,widgets:t})}`);const a=i.widgets.map((e=>(this._pdfObjectIdsForIds[e.id]=e.pdfObjectId,e.pdfObjectId)));return"number"==typeof e.pdfObjectId&&"number"==typeof this._pdfObjectIdsForIds[e.pdfObjectId.toString()]&&delete this._pdfObjectIdsForIds[e.pdfObjectId.toString()],this._pdfObjectIdsForIds[e.id||i.formField.pdfObjectId.toString()]=i.formField.pdfObjectId,a}async updateFormField(e,t){let n={...e,pdfObjectId:this._pdfObjectIdsForIds[e.id]||this._getPdfObjectIdForObject(e)};const r=rt(),o=r.find((t=>ut(t.formField,n)||t.formField.name===e.name));if(!o)throw new Error(`Error updating form field with name "${e.name}" in ${_e}: form field not found. ${JSON.stringify(r)}`);const i=o.formField.name!==e.name;let a=null;if(i&&"pspdfkit/form-field/radio"===n.type){const o=e.name,i=r.find((e=>e.formField.name===o));i&&"pspdfkit/form-field/radio"===i.formField.type&&(n={...n,annotationIds:[...n.annotationIds,...i.formField.annotationIds],options:[...n.options,...i.formField.options]},t=[...t,...i.widgets],a=i)}ot(r.map((r=>{if(a&&a.formField.pdfObjectId===r.formField.pdfObjectId)return null;if(ut(r.formField,n)||r.formField.name===e.name){const o={type:"pspdfkit/form-field-with-widgets",formField:{...r.formField,...n},widgets:t.reduce(((e,t)=>[...e,{...r.widgets.find((e=>e.id===t.id||e.pdfObjectId===t.pdfObjectId)),...t}]),[]),...void 0!==r.value?{value:r.value}:null};return e.flags||delete o.formField.flags,o}return r})).filter(Boolean));const s=rt().find((t=>t.formField.name===e.name));if(!s)throw new Error(`Error updating form field "${e.name}" in ${_e}: updated form field not found. ${JSON.stringify({type:"pspdfkit/form-field-with-widgets",formField:e,widgets:t})}`);s.formField.pdfObjectId!==n.pdfObjectId&&(this._pdfObjectIdsForIds[n.id]=s.formField.pdfObjectId),o?.widgets.forEach((e=>{t.some((t=>t.id===e.id))||delete this._pdfObjectIdsForIds[e.id]}))}async deleteFormField(e){const t=rt(),n=t.find((t=>t.formField.name===e.name));if(!n)return;ot(t.filter((t=>t.formField.name!==e.name)));const r=rt().find((t=>t.formField.name===e.name));if(r)throw new Error(`Error deleting form field with name "${e.name}" in ${_e}: form field still present. ${JSON.stringify(r)}`);n.widgets.forEach((e=>{delete this._pdfObjectIdsForIds[e.id]}))}async deleteFormFieldValue(e){ot(rt().map((t=>t.formField.name===e?{formField:t.formField,widgets:t.widgets,type:t.type}:t)))}canPreflightAnnotation(e){return"pspdfkit/text"===e.type||"pspdfkit/stamp"===e.type}async preflightAnnotation(e,t){if(!this.canPreflightAnnotation(e))return;const n="pspdfkit/stamp"===e.type?e.title:e.text?.value;"number"!=typeof t||n?n&&await this.preflightRenderAnnotationText(n,t,e.pageIndex,{...e,pdfObjectId:this._getPdfObjectIdForObject(e),pageIndex:0}):Te.delete(t)}async preflightWidgetAnnotation(e,t,n){n||"number"!=typeof t?n&&await this.preflightRenderAnnotationText(n,t,e.pageIndex):Te.delete(t)}async createBookmark(e){try{Ke("append_bookmarks",{bookmarks:[e]})}catch(e){throw new Error(`Error creating new bookmark in ${_e}: ${e.message}`)}}async updateBookmark(e){try{Ke("remove_bookmarks",{bookmarkIds:[e.id??e.pdfBookmarkId]}),Ke("append_bookmarks",{bookmarks:[e]})}catch(e){throw new Error(`Error updating bookmark in ${_e}: ${e.message}`)}}async deleteBookmark(e){try{Ke("remove_bookmarks",{bookmarkIds:[e]})}catch(e){throw new Error(`Error deleting bookmark in ${_e}: ${e.message}`)}}async getTextFromRects(e,t){return We("getTextFromRects",e,JSON.stringify(t.map((e=>[e.left,e.top,e.width,e.height])))).text}async search(e,t,n,r){return Ke("search",{query:e,start_index:t,limit:n,case_sensitive:r,search_type:arguments.length>4&&void 0!==arguments[4]?arguments[4]:M})}async parseXFDF(e,t){try{return function(e){try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch(e){throw e}}(Ke("convert_xfdf_to_instant_json",{ignore_page_rotation:t},e)[0])}catch(e){throw e}}async getEmbeddedFilesList(){return Ke("list_embedded_files")[0].embeddedFiles||null}async getMeasurementSnappingPoints(e){const t=Ke("get_snapping_points",{page:e});return t[0].snappingPoints?function(e){const t=[...e.endpoints,...e.intersections,...e.midpoints],n=[];for(let e=0;e<t.length;e+=2){const r=[t[e],t[e+1]];n.push(r)}return n.sort(((e,t)=>e[0]==t[0]?e[1]-t[1]:e[0]-t[0]))}(t[0].snappingPoints):null}async getSecondaryMeasurementUnit(){try{return Ke("get_secondary_measurement_unit")[0]||null}catch(e){throw new Error(`Error getting secondary measurement: ${e.message}`)}}async setSecondaryMeasurementUnit(e){try{Ke("set_secondary_measurement_unit",e?{unitTo:e?.unitTo,precision:e?.precision}:null)}catch(e){i("Error setting secondary measurement unit")}}async getMeasurementScales(){try{return Ke("get_measurement_content_formats")[0]||null}catch(e){throw new Error(`Error getting measurement scales: ${e.message}`)}}async removeMeasurementScale(e){try{Ke("remove_measurement_content_format",{measurementContentFormat:S(e)})}catch(t){throw new Error(`Error removing ${e.name} measurement scale: ${t.message}`)}}async addMeasurementScale(e){try{Ke("add_measurement_content_format",{measurementContentFormat:S(e)})}catch(t){throw new Error(`Error adding ${e.name} measurement scale: ${t.message}`)}}async getAnnotationsByScale(e){try{return Ke("get_annotations_for_measurement_content_format",{measurementContentFormat:S(e)})||null}catch(e){throw e}}async exportFile(e,t,n,o,i,a,s,c){let u,l={mimeType:"application/pdf",extension:"pdf"};try{const r=!1;u=Ke("save_document",{file_path:_e,format:o,flatten_annotations:e,save_incrementally:t,apply_redactions:r,save_for_printing:n,remove_all_annotations:i,preserve_change_tracker_state:a,...s?{user_password:s.userPassword,owner_password:s.ownerPassword,document_permissions:ct(s.documentPermissions)}:null}),c&&(c.forEach((e=>{let{pageIndex:t,id:n,pdfObjectId:r}=e;Ke("electronic_signatures/flatten",{page:t,annotation_id:this._getPdfObjectIdForObject({id:n,pdfObjectId:r})})})),u=Ke("save_document",{file_path:Oe,format:o,flatten_annotations:e,save_incrementally:t,apply_redactions:r,save_for_printing:n,remove_all_annotations:i,preserve_change_tracker_state:a,...s?{user_password:s.userPassword,owner_password:s.ownerPassword,document_permissions:ct(s.documentPermissions)}:null}))}catch(e){throw new Error(`Error saving to ${Oe}: ${e.message}`)}const d=u[0];d.format&&(l={mimeType:d.format.mime_type,extension:d.format.extension}),r(xe,Se);const f=xe.FS.readFile(c?Oe:_e).buffer;return c&&(We("closeDocument"),We("openDocument",_e,JSON.stringify(Pe))),[f,l]}async importXFDF(e,t,n){De.push({source:e,keepCurrentAnnotations:t}),t||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e.push("pspdfkit/widget"),We("removeAllAnnotations",JSON.stringify(e),JSON.stringify(t))}(),We("importXFDF",e,n)}async exportXFDF(e){return We("exportXFDF",[],[],e).XFDF}async importInstantJSON(e){We("importInstantDocumentJSON",JSON.stringify(e))}async exportInstantJSON(e){const t=Qe;Qe&&nt(!1);const n=We("exportInstantDocumentJSON","number"==typeof e?e:-1);return t&&nt(!0),JSON.parse(n.InstantDocumentJSON)}async getDocumentOutline(){const e=Ke("get_outline");return r(1===e.length,"expected only one response for getDocumentOutline"),e[0].outline||[]}async setDocumentOutline(e){return Ke("set_outline",{outline:e})}async getPageGlyphs(e){return Ke("get_glyphs",{page:e})[0].glyphs||[]}async onKeystrokeEvent(e){const t=Ke("on_keystroke_event",{pdf_javascript_event:e});r(1===t.length,"expected only one response for onKeystrokeEvent");const n=t[0].changes||[];return r(n.length>0&&4===n[0].change_type,"expected onKeystrokeEvent to return at least one JavaScript Event change."),n}async version(){return We("PSPDFKitVersion").version}getImportedXFDF(){return De}async applyRedactions(){try{We("saveDocument",_e,!1,!1,!0,!1,"pdf",!1)}catch(e){throw new Error(`Error applying redactions and saving to ${_e}: ${e.message}`)}}async clearAPStreamCache(){We("clearAPStreamCache")}async setComparisonDocument(e,t){this.comparisonDocuments[e]=t||(await this.exportFile(!1,!1,!1,"pdf",!1,!1))[0]}async openComparisonDocument(e){return r(this.comparisonDocuments[e]),e===this.lastOpenedComparisonDocument||e===U&&null===this.lastOpenedComparisonDocument&&this.persistedOpenDocument instanceof ArrayBuffer?null:(this.lastOpenedComparisonDocument=e,this.openDocument(this.comparisonDocuments[e],this.persistedOpenDocument===e?this.persistedOpenDocumentConfiguration:je))}async documentCompareAndOpen(e){r(this.comparisonDocuments[U]&&this.comparisonDocuments[R],"One or both comparison input documents are missing.");const t=`${U}.pdf`,n=`${R}.pdf`;xe.FS.writeFile(t,new Uint8Array(this.comparisonDocuments[U])),xe.FS.writeFile(n,new Uint8Array(this.comparisonDocuments[R]));return Ke("comparison",{documentA:{strokeColor:e.documentA.strokeColor,pageIndex:e.documentA.pageIndex,filePath:t},documentB:{strokeColor:e.documentB.strokeColor,pageIndex:e.documentB.pageIndex,filePath:n},options:{...e.options,outputFilePath:"output.pdf"}}),await this.closeDocument(),this.comparisonDocuments[L]=xe.FS.readFile("output.pdf").buffer,this.lastOpenedComparisonDocument=L,this.openDocument(this.comparisonDocuments[L],je)}async persistOpenDocument(e){if(e)this.persistedOpenDocument=e;else try{this.persistedOpenDocument=(await this.exportFile(!1,!1,!1,"pdf",!1,!0))[0]}catch(e){throw new Error(`Error trying to persist a copy of the currently opened document: ${e.message}`)}this.persistedOpenDocumentConfiguration=Pe}async cleanupDocumentComparison(){r(this.persistedOpenDocument,"No persisted previous document key or array buffer is available.");const e=this.persistedOpenDocument instanceof ArrayBuffer?this.persistedOpenDocument:this.comparisonDocuments[this.persistedOpenDocument];r(e,"No persisted previous array buffer is available.");try{await this.closeDocument()}catch(e){throw new Error(`Error trying to close the current document: ${e.message}`)}const t=this.openDocument(e,this.persistedOpenDocumentConfiguration);return this.persistedOpenDocument=null,this.persistedOpenDocumentConfiguration=je,this.lastOpenedComparisonDocument=null,this.comparisonDocuments={},t}_getPdfObjectIdForObject(e){return"number"==typeof e.pdfObjectId?e.pdfObjectId:this._pdfObjectIdsForIds[e.id]}async getOCGs(){return Ke("ocg/get_ocgs")[0].ocgs}async getOCGVisibilityState(){return{visibleLayerIds:Ke("ocg/get_visibility_state")[0].state.visible}}async setOCGVisibilityState(e){return Ke("ocg/set_visibility_state",{state:{visible:e.visibleLayerIds}})}async dispatchCommand(e){let t=null;Me&&performance.mark("dispatchCommand");try{if(t=await xe.dispatchCommand(e),null===t)throw Error("dispatchCommand returned null");if(t.hasError())return{success:!1,message:t.getErrorMessage(),code:t.getErrorReason()};const n={success:!0,values:[]};for(let e=0;e<t.getRepliesCount();e++)t.hasJSONReply(e)&&n.values.push(JSON.parse(t.getJSONReply(e))),t.hasBinaryReply(e)&&n.values.push(t.getBinaryReply(e).slice(0));if(Me){const t=JSON.parse(e);Re.push({type:Ue.Daemon,name:t.type,args:t,time:performance.measure("dispatchCommand","dispatchCommand").duration})}return n}finally{t&&t.delete()}}async getCoreCallRecording(){return Re}async enableCoreCallRecording(e){Me=e}openFile(e,t){const n=xe.FS.open(e,t);return this.files.set(this.fileDescriptor,n),Promise.resolve(this.fileDescriptor++)}closeFile(e){const t=this.files.get(e);return t&&(xe.FS.close(t),this.files.delete(e)),Promise.resolve()}writeData(e,t,n){const r=this.files.get(e);if(!r)throw Error(`Trying to write to a file with descriptor ${e}, but the file is not open.`);return xe.FS.write(r,new Uint8Array(t),0,t.byteLength,n),Promise.resolve()}recycle(){}destroy(){}},dt=self;dt.global=dt,dt.module={},dt.onmessage=async e=>{let t,n,{data:r}=e;try{const e=await lt[r.action](...r.args);if(t={id:r.id,result:e},Array.isArray(e)){const t=e.filter((e=>e instanceof ArrayBuffer));t.length>0&&(n=t)}e instanceof ArrayBuffer&&(n=[e])}catch(e){const o=[...r.args].filter((e=>e instanceof ArrayBuffer));o.length>0&&(n=o),t={id:r.id,error:e.message||e.toString(),callArgs:r.args}}dt.postMessage(t,n)}})(),{}})()));
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|