@nutrient-sdk/viewer 1.2.0 → 1.3.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.
Files changed (730) hide show
  1. package/ACKNOWLEDGEMENTS.md +15161 -0
  2. package/dist/index.d.ts +4768 -4549
  3. package/dist/nutrient-viewer-lib/{chunk-848-c4af4b1235565d89.js → chunk-848-c1a454667ef1a49d.js} +1 -1
  4. package/dist/nutrient-viewer-lib/chunk-core-worker-03b1d838c9d81b9b.js +13 -0
  5. package/dist/nutrient-viewer-lib/chunk-gdpicture-5f6c81c0782b9387.js +13 -0
  6. package/dist/nutrient-viewer-lib/{chunk-gdpicture-worker-39bda307513c184d.js → chunk-gdpicture-worker-f7632d25d31da821.js} +2 -2
  7. package/dist/nutrient-viewer-lib/{chunk-lazy-sha-a9b27c62e7bb8b18.js → chunk-lazy-sha-af437e05184bbb17.js} +1 -1
  8. package/dist/nutrient-viewer-lib/{chunk-locale-cs-0f2312ee065af99f.js → chunk-locale-cs-a94f85bafdcdd11a.js} +1 -1
  9. package/dist/nutrient-viewer-lib/{chunk-locale-cy-8818d31d15d29abd.js → chunk-locale-cy-f31180c963f81d93.js} +1 -1
  10. package/dist/nutrient-viewer-lib/{chunk-locale-da-2a36988656c76746.js → chunk-locale-da-b7a9dc29e8dc46e1.js} +1 -1
  11. package/dist/nutrient-viewer-lib/{chunk-locale-de-3df11d899f4b4a69.js → chunk-locale-de-ff8cb4c984cd5456.js} +1 -1
  12. package/dist/nutrient-viewer-lib/{chunk-locale-el-3b27f39d9a0882a8.js → chunk-locale-el-ef16273686d9a9e9.js} +1 -1
  13. package/dist/nutrient-viewer-lib/{chunk-locale-en-GB-581ca4b7bf8977cf.js → chunk-locale-en-GB-cb03f1e2fef52218.js} +1 -1
  14. package/dist/nutrient-viewer-lib/{chunk-locale-es-4214e9efa89d2549.js → chunk-locale-es-f18ca29d63f7b697.js} +1 -1
  15. package/dist/nutrient-viewer-lib/{chunk-locale-fi-8c07dbac89f3184a.js → chunk-locale-fi-1360dafdb1a64a51.js} +1 -1
  16. package/dist/nutrient-viewer-lib/{chunk-locale-fr-CA-12434fe18290da1f.js → chunk-locale-fr-CA-f6fcfedac7e4932d.js} +1 -1
  17. package/dist/nutrient-viewer-lib/{chunk-locale-fr-8536295fe59bfaea.js → chunk-locale-fr-b3f838d10b83ff7d.js} +1 -1
  18. package/dist/nutrient-viewer-lib/{chunk-locale-hr-f6b56cc87a274564.js → chunk-locale-hr-6435dea3d3f14f53.js} +1 -1
  19. package/dist/nutrient-viewer-lib/{chunk-locale-id-8ab614958f05000e.js → chunk-locale-id-e9ec588df584cf62.js} +1 -1
  20. package/dist/nutrient-viewer-lib/{chunk-locale-it-706552bf6e90b5c1.js → chunk-locale-it-251f3ec1bbd51a80.js} +1 -1
  21. package/dist/nutrient-viewer-lib/{chunk-locale-ja-0b7280dfcbb50f2a.js → chunk-locale-ja-e5184dbd76fd15a1.js} +1 -1
  22. package/dist/nutrient-viewer-lib/{chunk-locale-ko-4f717a9875a6e990.js → chunk-locale-ko-d3cc49ac86d0e823.js} +1 -1
  23. package/dist/nutrient-viewer-lib/{chunk-locale-ms-b758c034d23cabfa.js → chunk-locale-ms-5b16aafdc3a68a10.js} +1 -1
  24. package/dist/nutrient-viewer-lib/{chunk-locale-nb-NO-b0217d811df79416.js → chunk-locale-nb-NO-1ee82afb70a74345.js} +1 -1
  25. package/dist/nutrient-viewer-lib/{chunk-locale-nl-96cc62475932df82.js → chunk-locale-nl-2e874b4493918563.js} +1 -1
  26. package/dist/nutrient-viewer-lib/{chunk-locale-pl-6561e81b13ff675c.js → chunk-locale-pl-3f7eeead1201f230.js} +1 -1
  27. package/dist/nutrient-viewer-lib/{chunk-locale-pt-PT-c5e7c9c00d80d425.js → chunk-locale-pt-PT-0c52eb3d881504da.js} +1 -1
  28. package/dist/nutrient-viewer-lib/{chunk-locale-pt-676a6d152411b45a.js → chunk-locale-pt-cdad8e33dca91548.js} +1 -1
  29. package/dist/nutrient-viewer-lib/{chunk-locale-ru-f477d7cd24a461ec.js → chunk-locale-ru-26f8401597536238.js} +1 -1
  30. package/dist/nutrient-viewer-lib/{chunk-locale-sk-9879069332ed1f1f.js → chunk-locale-sk-c3d794b5f5907ae9.js} +1 -1
  31. package/dist/nutrient-viewer-lib/{chunk-locale-sl-806a57a81b0ff895.js → chunk-locale-sl-0f8767483045ee38.js} +1 -1
  32. package/dist/nutrient-viewer-lib/{chunk-locale-sv-1ffceca8a7f05243.js → chunk-locale-sv-20238aa085b5bfab.js} +1 -1
  33. package/dist/nutrient-viewer-lib/{chunk-locale-th-ea4cdfba00f25ac9.js → chunk-locale-th-f21882268e9b59aa.js} +1 -1
  34. package/dist/nutrient-viewer-lib/{chunk-locale-tr-cd18d1bf4794476d.js → chunk-locale-tr-02fdf8aeb5d9a48e.js} +1 -1
  35. package/dist/nutrient-viewer-lib/{chunk-locale-uk-d881259d317e9c5c.js → chunk-locale-uk-5296f80585953c87.js} +1 -1
  36. package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hans-ccc31eb1eeeb32ca.js → chunk-locale-zh-Hans-0d687ab1f58d3611.js} +1 -1
  37. package/dist/nutrient-viewer-lib/{chunk-locale-zh-Hant-617b7eef3d47c487.js → chunk-locale-zh-Hant-f63dfc79f0e60d91.js} +1 -1
  38. package/dist/nutrient-viewer-lib/chunk-server-b8f30456c49bbbb9.js +13 -0
  39. package/dist/nutrient-viewer-lib/chunk-server-instant-89f668695ceaadb7.js +13 -0
  40. package/dist/nutrient-viewer-lib/{chunk-server-rest-7df53a3d8111e271.js → chunk-server-rest-54305e03ef7fa54e.js} +1 -1
  41. package/dist/nutrient-viewer-lib/chunk-standalone-20dbb21ca1b71ad7.js +13 -0
  42. package/dist/nutrient-viewer-lib/chunk-standalone-server-eefede1c9792f417.js +13 -0
  43. package/dist/nutrient-viewer-lib/core-worker.js +2 -2
  44. package/dist/nutrient-viewer-lib/dark-1139dca3c446e0c1.css +1 -1
  45. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/DocumentFormat.OpenXml.wasm +0 -0
  46. package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.14.API.wasm +0 -0
  47. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.CAD.DWG.wasm +0 -0
  48. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.CAD.wasm +0 -0
  49. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.Common.wasm +0 -0
  50. package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.14.Document.wasm +0 -0
  51. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.Email.wasm +0 -0
  52. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.HTML.wasm +0 -0
  53. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.Imaging.Formats.Conversion.wasm +0 -0
  54. package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
  55. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.Imaging.Rendering.wasm +0 -0
  56. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.Imaging.wasm +0 -0
  57. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.MSOfficeBinary.wasm +0 -0
  58. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.OpenDocument.wasm +0 -0
  59. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.14.OpenXML.Templating.wasm +0 -0
  60. package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.14.OpenXML.wasm +0 -0
  61. package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.14.PDF.wasm +0 -0
  62. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.RTF.wasm +0 -0
  63. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.SVG.wasm +0 -0
  64. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.barcode.1d.writer.wasm +0 -0
  65. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.14.barcode.2d.writer.wasm +0 -0
  66. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/GdPicture.NET.JsonApi.wasm +0 -0
  67. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.PSPDFKit.Wasm.runtimeconfig.json +1 -1
  68. package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
  69. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/GdPicture.NET.Wasm.wasm +0 -0
  70. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/Microsoft.CSharp.wasm +0 -0
  71. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Collections.Concurrent.wasm +0 -0
  72. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Collections.Immutable.wasm +0 -0
  73. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Collections.NonGeneric.wasm +0 -0
  74. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Collections.Specialized.wasm +0 -0
  75. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Collections.wasm +0 -0
  76. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.ComponentModel.EventBasedAsync.wasm +0 -0
  77. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.ComponentModel.Primitives.wasm +0 -0
  78. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.ComponentModel.TypeConverter.wasm +0 -0
  79. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.ComponentModel.wasm +0 -0
  80. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Console.wasm +0 -0
  81. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Data.Common.wasm +0 -0
  82. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Diagnostics.DiagnosticSource.wasm +0 -0
  83. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Diagnostics.Process.wasm +0 -0
  84. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Diagnostics.TraceSource.wasm +0 -0
  85. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Drawing.Primitives.wasm +0 -0
  86. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Drawing.wasm +0 -0
  87. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Formats.Asn1.wasm +0 -0
  88. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.IO.Compression.ZipFile.wasm +0 -0
  89. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.IO.Compression.wasm +0 -0
  90. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Linq.Expressions.wasm +0 -0
  91. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Linq.wasm +0 -0
  92. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Memory.wasm +0 -0
  93. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.Http.wasm +0 -0
  94. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Net.Mail.wasm +0 -0
  95. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Net.Primitives.wasm +0 -0
  96. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.Requests.wasm +0 -0
  97. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.Security.wasm +0 -0
  98. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.ServicePoint.wasm +0 -0
  99. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.Sockets.wasm +0 -0
  100. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.WebHeaderCollection.wasm +0 -0
  101. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.WebSockets.Client.wasm +0 -0
  102. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Net.WebSockets.wasm +0 -0
  103. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.ObjectModel.wasm +0 -0
  104. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Private.CoreLib.wasm +0 -0
  105. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Private.Uri.wasm +0 -0
  106. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Private.Xml.Linq.wasm +0 -0
  107. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Private.Xml.wasm +0 -0
  108. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Runtime.InteropServices.JavaScript.wasm +0 -0
  109. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Runtime.Numerics.wasm +0 -0
  110. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Runtime.Serialization.Formatters.wasm +0 -0
  111. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Runtime.Serialization.Primitives.wasm +0 -0
  112. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Security.Cryptography.wasm +0 -0
  113. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Text.Encoding.CodePages.wasm +0 -0
  114. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Text.Encodings.Web.wasm +0 -0
  115. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Text.Json.wasm +0 -0
  116. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Text.RegularExpressions.wasm +0 -0
  117. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.Threading.Tasks.Parallel.wasm +0 -0
  118. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Xml.Linq.wasm +0 -0
  119. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/System.wasm +0 -0
  120. package/dist/nutrient-viewer-lib/gdpicture-774a5212/aot/blazor.boot.json +114 -0
  121. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/dotnet.js +1 -1
  122. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/dotnet.js.map +1 -1
  123. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/dotnet.native.js +1 -1
  124. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/dotnet.native.wasm +0 -0
  125. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/dotnet.runtime.js +1 -1
  126. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/dotnet.runtime.js.map +1 -1
  127. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/jit → gdpicture-774a5212/aot}/resources/list.json +202 -202
  128. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/DocumentFormat.OpenXml.wasm +0 -0
  129. package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.14.API.wasm +0 -0
  130. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.CAD.DWG.wasm +0 -0
  131. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.CAD.wasm +0 -0
  132. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.Common.wasm +0 -0
  133. package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.14.Document.wasm +0 -0
  134. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.Email.wasm +0 -0
  135. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.HTML.wasm +0 -0
  136. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.Imaging.Formats.Conversion.wasm +0 -0
  137. package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
  138. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.Imaging.Rendering.wasm +0 -0
  139. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.Imaging.wasm +0 -0
  140. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.MSOfficeBinary.wasm +0 -0
  141. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.OpenDocument.wasm +0 -0
  142. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.14.OpenXML.Templating.wasm +0 -0
  143. package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.14.OpenXML.wasm +0 -0
  144. package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.14.PDF.wasm +0 -0
  145. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.RTF.wasm +0 -0
  146. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.SVG.wasm +0 -0
  147. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.barcode.1d.writer.wasm +0 -0
  148. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.14.barcode.2d.writer.wasm +0 -0
  149. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/GdPicture.NET.JsonApi.wasm +0 -0
  150. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.PSPDFKit.Wasm.runtimeconfig.json +1 -1
  151. package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
  152. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/GdPicture.NET.Wasm.wasm +0 -0
  153. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/Microsoft.CSharp.wasm +0 -0
  154. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Collections.Concurrent.wasm +0 -0
  155. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Collections.Immutable.wasm +0 -0
  156. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Collections.NonGeneric.wasm +0 -0
  157. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Collections.Specialized.wasm +0 -0
  158. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Collections.wasm +0 -0
  159. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.ComponentModel.EventBasedAsync.wasm +0 -0
  160. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.ComponentModel.Primitives.wasm +0 -0
  161. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.ComponentModel.TypeConverter.wasm +0 -0
  162. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.ComponentModel.wasm +0 -0
  163. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Console.wasm +0 -0
  164. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Data.Common.wasm +0 -0
  165. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Diagnostics.DiagnosticSource.wasm +0 -0
  166. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Diagnostics.Process.wasm +0 -0
  167. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Diagnostics.TraceSource.wasm +0 -0
  168. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Drawing.Primitives.wasm +0 -0
  169. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Drawing.wasm +0 -0
  170. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Formats.Asn1.wasm +0 -0
  171. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.IO.Compression.ZipFile.wasm +0 -0
  172. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.IO.Compression.wasm +0 -0
  173. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Linq.Expressions.wasm +0 -0
  174. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Linq.wasm +0 -0
  175. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Memory.wasm +0 -0
  176. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.Http.wasm +0 -0
  177. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Net.Mail.wasm +0 -0
  178. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Net.Primitives.wasm +0 -0
  179. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.Requests.wasm +0 -0
  180. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.Security.wasm +0 -0
  181. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.ServicePoint.wasm +0 -0
  182. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.Sockets.wasm +0 -0
  183. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.WebHeaderCollection.wasm +0 -0
  184. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.WebSockets.Client.wasm +0 -0
  185. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Net.WebSockets.wasm +0 -0
  186. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.ObjectModel.wasm +0 -0
  187. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Private.CoreLib.wasm +0 -0
  188. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Private.Uri.wasm +0 -0
  189. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Private.Xml.Linq.wasm +0 -0
  190. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Private.Xml.wasm +0 -0
  191. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Runtime.InteropServices.JavaScript.wasm +0 -0
  192. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Runtime.Numerics.wasm +0 -0
  193. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Runtime.Serialization.Formatters.wasm +0 -0
  194. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Runtime.Serialization.Primitives.wasm +0 -0
  195. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Security.Cryptography.wasm +0 -0
  196. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Text.Encoding.CodePages.wasm +0 -0
  197. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Text.Encodings.Web.wasm +0 -0
  198. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Text.Json.wasm +0 -0
  199. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Text.RegularExpressions.wasm +0 -0
  200. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.Threading.Tasks.Parallel.wasm +0 -0
  201. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Xml.Linq.wasm +0 -0
  202. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/System.wasm +0 -0
  203. package/dist/nutrient-viewer-lib/gdpicture-774a5212/jit/blazor.boot.json +114 -0
  204. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/dotnet.js +1 -1
  205. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/dotnet.js.map +1 -1
  206. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/dotnet.native.js +1 -1
  207. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/dotnet.native.wasm +0 -0
  208. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/dotnet.runtime.js +1 -1
  209. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/dotnet.runtime.js.map +1 -1
  210. package/dist/nutrient-viewer-lib/{gdpicture-7e5da953/aot → gdpicture-774a5212/jit}/resources/list.json +202 -202
  211. package/dist/nutrient-viewer-lib/gdpicture-worker.js +2 -2
  212. package/dist/nutrient-viewer-lib/{nutrient-viewer-1.2.0.css → nutrient-viewer-1.3.0.css} +293 -226
  213. package/dist/nutrient-viewer-lib/{nutrient-viewer-8defba59cb1dc1a1.wasm → nutrient-viewer-206cfd18aec89db9.wasm} +0 -0
  214. package/dist/nutrient-viewer-lib/{nutrient-viewer-71ed620203f4d1c5.wasm.js → nutrient-viewer-4166d50b2ca4755b.wasm.js} +2 -2
  215. package/dist/nutrient-viewer.js +2 -2
  216. package/package.json +1 -1
  217. package/dist/nutrient-viewer-lib/chunk-core-worker-d7d350018422b676.js +0 -13
  218. package/dist/nutrient-viewer-lib/chunk-gdpicture-6cf91306092a5071.js +0 -13
  219. package/dist/nutrient-viewer-lib/chunk-server-a10bab718b2ed3ff.js +0 -13
  220. package/dist/nutrient-viewer-lib/chunk-server-instant-ece7fa9e68705b77.js +0 -13
  221. package/dist/nutrient-viewer-lib/chunk-standalone-8d8da2a8de3e9cdf.js +0 -13
  222. package/dist/nutrient-viewer-lib/chunk-standalone-server-f642e099f889f38f.js +0 -13
  223. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.API.wasm +0 -0
  224. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.Document.wasm +0 -0
  225. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
  226. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.OpenXML.wasm +0 -0
  227. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.14.PDF.wasm +0 -0
  228. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
  229. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/aot/blazor.boot.json +0 -114
  230. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.API.wasm +0 -0
  231. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.Document.wasm +0 -0
  232. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.Imaging.Formats.wasm +0 -0
  233. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.OpenXML.wasm +0 -0
  234. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.14.PDF.wasm +0 -0
  235. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/GdPicture.NET.PSPDFKit.Wasm.wasm +0 -0
  236. package/dist/nutrient-viewer-lib/gdpicture-7e5da953/jit/blazor.boot.json +0 -114
  237. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/BouncyCastle.Cryptography.wasm +0 -0
  238. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/DocumentFormat.OpenXml.Framework.wasm +0 -0
  239. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/Newtonsoft.Json.wasm +0 -0
  240. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/OpenMcdf.wasm +0 -0
  241. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/RtfPipe.wasm +0 -0
  242. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.IO.Packaging.wasm +0 -0
  243. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Net.Http.Formatting.wasm +0 -0
  244. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Security.Cryptography.Pkcs.wasm +0 -0
  245. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/System.Windows.Extensions.wasm +0 -0
  246. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/icudt_CJK.dat +0 -0
  247. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/icudt_EFIGS.dat +0 -0
  248. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/icudt_no_CJK.dat +0 -0
  249. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/initDotnet.js +0 -0
  250. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/package.json +0 -0
  251. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/protobuf-net.Core.wasm +0 -0
  252. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/protobuf-net.wasm +0 -0
  253. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resourceLoader.js +0 -0
  254. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-EUC-H.dat +0 -0
  255. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-EUC-V.dat +0 -0
  256. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-H.dat +0 -0
  257. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-RKSJ-H.dat +0 -0
  258. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-RKSJ-V.dat +0 -0
  259. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78-V.dat +0 -0
  260. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78ms-RKSJ-H.dat +0 -0
  261. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_78ms-RKSJ-V.dat +0 -0
  262. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_83pv-RKSJ-H.dat +0 -0
  263. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90ms-RKSJ-H.dat +0 -0
  264. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90ms-RKSJ-UCS2.dat +0 -0
  265. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90ms-RKSJ-V.dat +0 -0
  266. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90msp-RKSJ-H.dat +0 -0
  267. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90msp-RKSJ-V.dat +0 -0
  268. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90pv-RKSJ-H.dat +0 -0
  269. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90pv-RKSJ-UCS2.dat +0 -0
  270. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90pv-RKSJ-UCS2C.dat +0 -0
  271. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_90pv-RKSJ-V.dat +0 -0
  272. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Add-H.dat +0 -0
  273. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Add-RKSJ-H.dat +0 -0
  274. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Add-RKSJ-V.dat +0 -0
  275. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Add-V.dat +0 -0
  276. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-0.dat +0 -0
  277. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-1.dat +0 -0
  278. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-2.dat +0 -0
  279. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-3.dat +0 -0
  280. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-4.dat +0 -0
  281. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-5.dat +0 -0
  282. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-6.dat +0 -0
  283. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-7.dat +0 -0
  284. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-B5pc.dat +0 -0
  285. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-ETenms-B5.dat +0 -0
  286. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-H-CID.dat +0 -0
  287. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-H-Host.dat +0 -0
  288. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-H-Mac.dat +0 -0
  289. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-CNS1-UCS2.dat +0 -0
  290. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-0.dat +0 -0
  291. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-1.dat +0 -0
  292. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-2.dat +0 -0
  293. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-3.dat +0 -0
  294. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-4.dat +0 -0
  295. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-5.dat +0 -0
  296. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-GB1-UCS2.dat +0 -0
  297. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-0.dat +0 -0
  298. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-1.dat +0 -0
  299. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-2.dat +0 -0
  300. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-3.dat +0 -0
  301. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-4.dat +0 -0
  302. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-5.dat +0 -0
  303. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-6.dat +0 -0
  304. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-90ms-RKSJ.dat +0 -0
  305. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-90pv-RKSJ.dat +0 -0
  306. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-H-CID.dat +0 -0
  307. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-H-Host.dat +0 -0
  308. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-H-Mac.dat +0 -0
  309. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan1-UCS2.dat +0 -0
  310. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Japan2-0.dat +0 -0
  311. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-0.dat +0 -0
  312. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-1.dat +0 -0
  313. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-2.dat +0 -0
  314. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-H-CID.dat +0 -0
  315. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-H-Host.dat +0 -0
  316. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-H-Mac.dat +0 -0
  317. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-KSCms-UHC.dat +0 -0
  318. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-KSCpc-EUC.dat +0 -0
  319. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Adobe-Korea1-UCS2.dat +0 -0
  320. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5-H.dat +0 -0
  321. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5-V.dat +0 -0
  322. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5pc-H.dat +0 -0
  323. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5pc-UCS2.dat +0 -0
  324. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5pc-UCS2C.dat +0 -0
  325. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_B5pc-V.dat +0 -0
  326. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS-EUC-H.dat +0 -0
  327. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS-EUC-V.dat +0 -0
  328. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS1-H.dat +0 -0
  329. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS1-V.dat +0 -0
  330. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS2-H.dat +0 -0
  331. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CNS2-V.dat +0 -0
  332. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_CourierStdToNew.dat +0 -0
  333. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_DefaultCMYK.icc +0 -0
  334. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_DroidSansFallbackFull.ttf +0 -0
  335. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_DroidSansMono.ttf +0 -0
  336. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETHK-B5-H.dat +0 -0
  337. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETHK-B5-V.dat +0 -0
  338. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETen-B5-H.dat +0 -0
  339. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETen-B5-UCS2.dat +0 -0
  340. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETen-B5-V.dat +0 -0
  341. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETenms-B5-H.dat +0 -0
  342. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ETenms-B5-V.dat +0 -0
  343. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_EUC-H.dat +0 -0
  344. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_EUC-V.dat +0 -0
  345. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Ext-H.dat +0 -0
  346. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Ext-RKSJ-H.dat +0 -0
  347. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Ext-RKSJ-V.dat +0 -0
  348. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Ext-V.dat +0 -0
  349. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GB-EUC-H.dat +0 -0
  350. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GB-EUC-V.dat +0 -0
  351. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GB-H.dat +0 -0
  352. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GB-V.dat +0 -0
  353. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBK-EUC-H.dat +0 -0
  354. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBK-EUC-UCS2.dat +0 -0
  355. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBK-EUC-V.dat +0 -0
  356. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBK2K-H.dat +0 -0
  357. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBK2K-V.dat +0 -0
  358. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBKp-EUC-H.dat +0 -0
  359. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBKp-EUC-V.dat +0 -0
  360. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBT-EUC-H.dat +0 -0
  361. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBT-EUC-V.dat +0 -0
  362. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBT-H.dat +0 -0
  363. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBT-V.dat +0 -0
  364. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBTpc-EUC-H.dat +0 -0
  365. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBTpc-EUC-V.dat +0 -0
  366. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBpc-EUC-H.dat +0 -0
  367. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBpc-EUC-UCS2C.dat +0 -0
  368. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GBpc-EUC-V.dat +0 -0
  369. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_GdPictureOCRFont.ttf +0 -0
  370. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_H.dat +0 -0
  371. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKdla-B5-H.dat +0 -0
  372. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKdla-B5-V.dat +0 -0
  373. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKdlb-B5-H.dat +0 -0
  374. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKdlb-B5-V.dat +0 -0
  375. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKgccs-B5-H.dat +0 -0
  376. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKgccs-B5-V.dat +0 -0
  377. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKm314-B5-H.dat +0 -0
  378. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKm314-B5-V.dat +0 -0
  379. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKm471-B5-H.dat +0 -0
  380. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKm471-B5-V.dat +0 -0
  381. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKscs-B5-H.dat +0 -0
  382. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_HKscs-B5-V.dat +0 -0
  383. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hankaku.dat +0 -0
  384. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hiragana.dat +0 -0
  385. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hojo-EUC-H.dat +0 -0
  386. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hojo-EUC-V.dat +0 -0
  387. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hojo-H.dat +0 -0
  388. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Hojo-V.dat +0 -0
  389. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Identity-H.dat +0 -0
  390. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Identity-V.dat +0 -0
  391. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-EUC-H.dat +0 -0
  392. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-EUC-V.dat +0 -0
  393. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-H.dat +0 -0
  394. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-Johab-H.dat +0 -0
  395. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-Johab-V.dat +0 -0
  396. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSC-V.dat +0 -0
  397. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCms-UHC-H.dat +0 -0
  398. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCms-UHC-HW-H.dat +0 -0
  399. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCms-UHC-HW-V.dat +0 -0
  400. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCms-UHC-UCS2.dat +0 -0
  401. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCms-UHC-V.dat +0 -0
  402. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCpc-EUC-H.dat +0 -0
  403. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCpc-EUC-UCS2C.dat +0 -0
  404. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_KSCpc-EUC-V.dat +0 -0
  405. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Katakana.dat +0 -0
  406. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_NWP-H.dat +0 -0
  407. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_NWP-V.dat +0 -0
  408. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_OutputIntent.icc +0 -0
  409. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_PDFA-XMP.4.2.3 +0 -0
  410. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_RKSJ-H.dat +0 -0
  411. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_RKSJ-V.dat +0 -0
  412. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Roman.dat +0 -0
  413. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Symbol.ttf +0 -0
  414. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-90ms-RKSJ.dat +0 -0
  415. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-90pv-RKSJ.dat +0 -0
  416. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-B5pc.dat +0 -0
  417. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-ETen-B5.dat +0 -0
  418. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-GBK-EUC.dat +0 -0
  419. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-GBpc-EUC.dat +0 -0
  420. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-KSCms-UHC.dat +0 -0
  421. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UCS2-KSCpc-EUC.dat +0 -0
  422. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UCS2-H.dat +0 -0
  423. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UCS2-V.dat +0 -0
  424. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF16-H.dat +0 -0
  425. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF16-V.dat +0 -0
  426. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF32-H.dat +0 -0
  427. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF32-V.dat +0 -0
  428. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF8-H.dat +0 -0
  429. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniCNS-UTF8-V.dat +0 -0
  430. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UCS2-H.dat +0 -0
  431. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UCS2-V.dat +0 -0
  432. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF16-H.dat +0 -0
  433. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF16-V.dat +0 -0
  434. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF32-H.dat +0 -0
  435. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF32-V.dat +0 -0
  436. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF8-H.dat +0 -0
  437. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniGB-UTF8-V.dat +0 -0
  438. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UCS2-H.dat +0 -0
  439. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UCS2-V.dat +0 -0
  440. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF16-H.dat +0 -0
  441. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF16-V.dat +0 -0
  442. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF32-H.dat +0 -0
  443. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF32-V.dat +0 -0
  444. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF8-H.dat +0 -0
  445. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniHojo-UTF8-V.dat +0 -0
  446. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UCS2-H.dat +0 -0
  447. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UCS2-HW-H.dat +0 -0
  448. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UCS2-HW-V.dat +0 -0
  449. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UCS2-V.dat +0 -0
  450. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF16-H.dat +0 -0
  451. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF16-V.dat +0 -0
  452. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF32-H.dat +0 -0
  453. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF32-V.dat +0 -0
  454. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF8-H.dat +0 -0
  455. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS-UTF8-V.dat +0 -0
  456. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF16-H.dat +0 -0
  457. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF16-V.dat +0 -0
  458. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF32-H.dat +0 -0
  459. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF32-V.dat +0 -0
  460. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF8-H.dat +0 -0
  461. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJIS2004-UTF8-V.dat +0 -0
  462. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISPro-UCS2-HW-V.dat +0 -0
  463. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISPro-UCS2-V.dat +0 -0
  464. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISPro-UTF8-V.dat +0 -0
  465. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISX0213-UTF32-H.dat +0 -0
  466. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISX0213-UTF32-V.dat +0 -0
  467. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISX02132004-UTF32-H.dat +0 -0
  468. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniJISX02132004-UTF32-V.dat +0 -0
  469. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UCS2-H.dat +0 -0
  470. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UCS2-V.dat +0 -0
  471. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF16-H.dat +0 -0
  472. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF16-V.dat +0 -0
  473. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF32-H.dat +0 -0
  474. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF32-V.dat +0 -0
  475. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF8-H.dat +0 -0
  476. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_UniKS-UTF8-V.dat +0 -0
  477. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_V.dat +0 -0
  478. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_WP-Symbol.dat +0 -0
  479. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_Wingding.ttf +0 -0
  480. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_ZapfDingbats.ttf +0 -0
  481. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_fontsubst.dat +0 -0
  482. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/resources/_times.ttf +0 -0
  483. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/aot/supportFiles/0_runtimeconfig.bin +0 -0
  484. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/BouncyCastle.Cryptography.wasm +0 -0
  485. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/DocumentFormat.OpenXml.Framework.wasm +0 -0
  486. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/Newtonsoft.Json.wasm +0 -0
  487. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/OpenMcdf.wasm +0 -0
  488. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/RtfPipe.wasm +0 -0
  489. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.IO.Packaging.wasm +0 -0
  490. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Net.Http.Formatting.wasm +0 -0
  491. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Security.Cryptography.Pkcs.wasm +0 -0
  492. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/System.Windows.Extensions.wasm +0 -0
  493. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/icudt_CJK.dat +0 -0
  494. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/icudt_EFIGS.dat +0 -0
  495. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/icudt_no_CJK.dat +0 -0
  496. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/initDotnet.js +0 -0
  497. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/package.json +0 -0
  498. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/protobuf-net.Core.wasm +0 -0
  499. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/protobuf-net.wasm +0 -0
  500. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resourceLoader.js +0 -0
  501. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-EUC-H.dat +0 -0
  502. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-EUC-V.dat +0 -0
  503. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-H.dat +0 -0
  504. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-RKSJ-H.dat +0 -0
  505. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-RKSJ-V.dat +0 -0
  506. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78-V.dat +0 -0
  507. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78ms-RKSJ-H.dat +0 -0
  508. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_78ms-RKSJ-V.dat +0 -0
  509. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_83pv-RKSJ-H.dat +0 -0
  510. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90ms-RKSJ-H.dat +0 -0
  511. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90ms-RKSJ-UCS2.dat +0 -0
  512. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90ms-RKSJ-V.dat +0 -0
  513. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90msp-RKSJ-H.dat +0 -0
  514. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90msp-RKSJ-V.dat +0 -0
  515. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90pv-RKSJ-H.dat +0 -0
  516. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90pv-RKSJ-UCS2.dat +0 -0
  517. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90pv-RKSJ-UCS2C.dat +0 -0
  518. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_90pv-RKSJ-V.dat +0 -0
  519. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Add-H.dat +0 -0
  520. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Add-RKSJ-H.dat +0 -0
  521. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Add-RKSJ-V.dat +0 -0
  522. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Add-V.dat +0 -0
  523. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-0.dat +0 -0
  524. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-1.dat +0 -0
  525. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-2.dat +0 -0
  526. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-3.dat +0 -0
  527. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-4.dat +0 -0
  528. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-5.dat +0 -0
  529. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-6.dat +0 -0
  530. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-7.dat +0 -0
  531. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-B5pc.dat +0 -0
  532. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-ETenms-B5.dat +0 -0
  533. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-H-CID.dat +0 -0
  534. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-H-Host.dat +0 -0
  535. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-H-Mac.dat +0 -0
  536. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-CNS1-UCS2.dat +0 -0
  537. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-0.dat +0 -0
  538. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-1.dat +0 -0
  539. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-2.dat +0 -0
  540. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-3.dat +0 -0
  541. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-4.dat +0 -0
  542. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-5.dat +0 -0
  543. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-GB1-UCS2.dat +0 -0
  544. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-0.dat +0 -0
  545. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-1.dat +0 -0
  546. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-2.dat +0 -0
  547. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-3.dat +0 -0
  548. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-4.dat +0 -0
  549. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-5.dat +0 -0
  550. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-6.dat +0 -0
  551. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-90ms-RKSJ.dat +0 -0
  552. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-90pv-RKSJ.dat +0 -0
  553. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-H-CID.dat +0 -0
  554. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-H-Host.dat +0 -0
  555. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-H-Mac.dat +0 -0
  556. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan1-UCS2.dat +0 -0
  557. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Japan2-0.dat +0 -0
  558. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-0.dat +0 -0
  559. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-1.dat +0 -0
  560. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-2.dat +0 -0
  561. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-H-CID.dat +0 -0
  562. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-H-Host.dat +0 -0
  563. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-H-Mac.dat +0 -0
  564. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-KSCms-UHC.dat +0 -0
  565. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-KSCpc-EUC.dat +0 -0
  566. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Adobe-Korea1-UCS2.dat +0 -0
  567. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5-H.dat +0 -0
  568. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5-V.dat +0 -0
  569. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5pc-H.dat +0 -0
  570. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5pc-UCS2.dat +0 -0
  571. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5pc-UCS2C.dat +0 -0
  572. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_B5pc-V.dat +0 -0
  573. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS-EUC-H.dat +0 -0
  574. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS-EUC-V.dat +0 -0
  575. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS1-H.dat +0 -0
  576. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS1-V.dat +0 -0
  577. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS2-H.dat +0 -0
  578. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CNS2-V.dat +0 -0
  579. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_CourierStdToNew.dat +0 -0
  580. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_DefaultCMYK.icc +0 -0
  581. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_DroidSansFallbackFull.ttf +0 -0
  582. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_DroidSansMono.ttf +0 -0
  583. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETHK-B5-H.dat +0 -0
  584. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETHK-B5-V.dat +0 -0
  585. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETen-B5-H.dat +0 -0
  586. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETen-B5-UCS2.dat +0 -0
  587. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETen-B5-V.dat +0 -0
  588. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETenms-B5-H.dat +0 -0
  589. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ETenms-B5-V.dat +0 -0
  590. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_EUC-H.dat +0 -0
  591. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_EUC-V.dat +0 -0
  592. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Ext-H.dat +0 -0
  593. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Ext-RKSJ-H.dat +0 -0
  594. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Ext-RKSJ-V.dat +0 -0
  595. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Ext-V.dat +0 -0
  596. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GB-EUC-H.dat +0 -0
  597. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GB-EUC-V.dat +0 -0
  598. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GB-H.dat +0 -0
  599. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GB-V.dat +0 -0
  600. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBK-EUC-H.dat +0 -0
  601. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBK-EUC-UCS2.dat +0 -0
  602. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBK-EUC-V.dat +0 -0
  603. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBK2K-H.dat +0 -0
  604. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBK2K-V.dat +0 -0
  605. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBKp-EUC-H.dat +0 -0
  606. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBKp-EUC-V.dat +0 -0
  607. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBT-EUC-H.dat +0 -0
  608. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBT-EUC-V.dat +0 -0
  609. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBT-H.dat +0 -0
  610. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBT-V.dat +0 -0
  611. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBTpc-EUC-H.dat +0 -0
  612. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBTpc-EUC-V.dat +0 -0
  613. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBpc-EUC-H.dat +0 -0
  614. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBpc-EUC-UCS2C.dat +0 -0
  615. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GBpc-EUC-V.dat +0 -0
  616. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_GdPictureOCRFont.ttf +0 -0
  617. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_H.dat +0 -0
  618. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKdla-B5-H.dat +0 -0
  619. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKdla-B5-V.dat +0 -0
  620. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKdlb-B5-H.dat +0 -0
  621. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKdlb-B5-V.dat +0 -0
  622. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKgccs-B5-H.dat +0 -0
  623. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKgccs-B5-V.dat +0 -0
  624. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKm314-B5-H.dat +0 -0
  625. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKm314-B5-V.dat +0 -0
  626. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKm471-B5-H.dat +0 -0
  627. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKm471-B5-V.dat +0 -0
  628. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKscs-B5-H.dat +0 -0
  629. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_HKscs-B5-V.dat +0 -0
  630. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hankaku.dat +0 -0
  631. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hiragana.dat +0 -0
  632. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hojo-EUC-H.dat +0 -0
  633. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hojo-EUC-V.dat +0 -0
  634. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hojo-H.dat +0 -0
  635. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Hojo-V.dat +0 -0
  636. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Identity-H.dat +0 -0
  637. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Identity-V.dat +0 -0
  638. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-EUC-H.dat +0 -0
  639. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-EUC-V.dat +0 -0
  640. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-H.dat +0 -0
  641. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-Johab-H.dat +0 -0
  642. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-Johab-V.dat +0 -0
  643. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSC-V.dat +0 -0
  644. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCms-UHC-H.dat +0 -0
  645. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCms-UHC-HW-H.dat +0 -0
  646. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCms-UHC-HW-V.dat +0 -0
  647. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCms-UHC-UCS2.dat +0 -0
  648. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCms-UHC-V.dat +0 -0
  649. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCpc-EUC-H.dat +0 -0
  650. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCpc-EUC-UCS2C.dat +0 -0
  651. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_KSCpc-EUC-V.dat +0 -0
  652. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Katakana.dat +0 -0
  653. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_NWP-H.dat +0 -0
  654. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_NWP-V.dat +0 -0
  655. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_OutputIntent.icc +0 -0
  656. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_PDFA-XMP.4.2.3 +0 -0
  657. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_RKSJ-H.dat +0 -0
  658. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_RKSJ-V.dat +0 -0
  659. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Roman.dat +0 -0
  660. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Symbol.ttf +0 -0
  661. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-90ms-RKSJ.dat +0 -0
  662. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-90pv-RKSJ.dat +0 -0
  663. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-B5pc.dat +0 -0
  664. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-ETen-B5.dat +0 -0
  665. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-GBK-EUC.dat +0 -0
  666. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-GBpc-EUC.dat +0 -0
  667. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-KSCms-UHC.dat +0 -0
  668. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UCS2-KSCpc-EUC.dat +0 -0
  669. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UCS2-H.dat +0 -0
  670. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UCS2-V.dat +0 -0
  671. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF16-H.dat +0 -0
  672. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF16-V.dat +0 -0
  673. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF32-H.dat +0 -0
  674. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF32-V.dat +0 -0
  675. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF8-H.dat +0 -0
  676. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniCNS-UTF8-V.dat +0 -0
  677. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UCS2-H.dat +0 -0
  678. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UCS2-V.dat +0 -0
  679. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF16-H.dat +0 -0
  680. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF16-V.dat +0 -0
  681. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF32-H.dat +0 -0
  682. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF32-V.dat +0 -0
  683. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF8-H.dat +0 -0
  684. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniGB-UTF8-V.dat +0 -0
  685. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UCS2-H.dat +0 -0
  686. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UCS2-V.dat +0 -0
  687. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF16-H.dat +0 -0
  688. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF16-V.dat +0 -0
  689. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF32-H.dat +0 -0
  690. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF32-V.dat +0 -0
  691. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF8-H.dat +0 -0
  692. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniHojo-UTF8-V.dat +0 -0
  693. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UCS2-H.dat +0 -0
  694. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UCS2-HW-H.dat +0 -0
  695. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UCS2-HW-V.dat +0 -0
  696. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UCS2-V.dat +0 -0
  697. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF16-H.dat +0 -0
  698. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF16-V.dat +0 -0
  699. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF32-H.dat +0 -0
  700. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF32-V.dat +0 -0
  701. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF8-H.dat +0 -0
  702. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS-UTF8-V.dat +0 -0
  703. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF16-H.dat +0 -0
  704. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF16-V.dat +0 -0
  705. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF32-H.dat +0 -0
  706. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF32-V.dat +0 -0
  707. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF8-H.dat +0 -0
  708. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJIS2004-UTF8-V.dat +0 -0
  709. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISPro-UCS2-HW-V.dat +0 -0
  710. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISPro-UCS2-V.dat +0 -0
  711. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISPro-UTF8-V.dat +0 -0
  712. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISX0213-UTF32-H.dat +0 -0
  713. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISX0213-UTF32-V.dat +0 -0
  714. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISX02132004-UTF32-H.dat +0 -0
  715. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniJISX02132004-UTF32-V.dat +0 -0
  716. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UCS2-H.dat +0 -0
  717. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UCS2-V.dat +0 -0
  718. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF16-H.dat +0 -0
  719. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF16-V.dat +0 -0
  720. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF32-H.dat +0 -0
  721. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF32-V.dat +0 -0
  722. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF8-H.dat +0 -0
  723. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_UniKS-UTF8-V.dat +0 -0
  724. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_V.dat +0 -0
  725. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_WP-Symbol.dat +0 -0
  726. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_Wingding.ttf +0 -0
  727. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_ZapfDingbats.ttf +0 -0
  728. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_fontsubst.dat +0 -0
  729. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/resources/_times.ttf +0 -0
  730. /package/dist/nutrient-viewer-lib/{gdpicture-7e5da953 → gdpicture-774a5212}/jit/supportFiles/0_runtimeconfig.bin +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutrient-sdk/viewer",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "View and annotate PDF files in your web app. Full support for mobile and desktop. Runs in the browser using WASM.",
5
5
  "keywords": [
6
6
  "pdf",
@@ -1,13 +0,0 @@
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([[329],{11005:(e,t,n)=>{n.d(t,{default:()=>i});var r=n(55512),o=n.n(r);function i(){return o()('/*!\n * Nutrient Web SDK 1.2.0 (https://www.nutrient.io/sdk/web)\n *\n * Copyright (c) 2016-2025 PSPDFKit GmbH. All rights reserved.\n *\n * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW\n * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.\n * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.\n * This notice may not be removed from this file.\n *\n * PSPDFKit uses several open source third-party components: https://www.nutrient.io/legal/acknowledgements/web-acknowledgements/\n */(()=>{var e={4601:(e,t,n)=>{var r=n(8420),o=n(3838),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},3938:(e,t,n)=>{var r=n(5335),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},8186:(e,t,n)=>{var r=n(5476),o=n(6539),i=n(3493),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)}},9609:(e,t,n)=>{var r=n(281);e.exports=r([].slice)},8569:(e,t,n)=>{var r=n(281),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},4361:(e,t,n)=>{var r=n(6490),o=n(5816),i=n(7632),a=n(3610);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))}}},7712:(e,t,n)=>{var r=n(5077),o=n(3610),i=n(6843);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},6843: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(8420),o=n(3610),i=n(8218),a=n(9430);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}},9430:(e,t,n)=>{var r=n(200),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}},5077:(e,t,n)=>{var r=n(2074);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6568:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},3262:(e,t,n)=>{var r=n(200),o=n(5335),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},6874:e=>{e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},2050:(e,t,n)=>{var r=n(7061);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5223:(e,t,n)=>{var r=n(8569),o=n(200);e.exports="process"==r(o.process)},7061:(e,t,n)=>{var r=n(6492);e.exports=r("navigator","userAgent")||""},6845:(e,t,n)=>{var r,o,i=n(200),a=n(7061),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},290:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1605:(e,t,n)=>{var r=n(200),o=n(7632).f,i=n(7712),a=n(7485),s=n(9430),c=n(4361),u=n(4977);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)}}},2074:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},9070:(e,t,n)=>{var r=n(8823),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)})},6885:(e,t,n)=>{var r=n(3091),o=n(4601),i=n(8823),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)}}},8823:(e,t,n)=>{var r=n(2074);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2368:(e,t,n)=>{var r=n(8823),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},2071:(e,t,n)=>{var r=n(5077),o=n(6490),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}},3091:(e,t,n)=>{var r=n(8569),o=n(281);e.exports=function(e){if("Function"===r(e))return o(e)}},281:(e,t,n)=>{var r=n(8823),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)}}},6492:(e,t,n)=>{var r=n(200),o=n(8420);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},6457:(e,t,n)=>{var r=n(4601),o=n(8406);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},200:(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")()},6490:(e,t,n)=>{var r=n(281),o=n(2612),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},7708:e=>{e.exports={}},8890:(e,t,n)=>{var r=n(6492);e.exports=r("document","documentElement")},7694:(e,t,n)=>{var r=n(5077),o=n(2074),i=n(3262);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8664:(e,t,n)=>{var r=n(281),o=n(2074),i=n(8569),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},9965:(e,t,n)=>{var r=n(281),o=n(8420),i=n(9310),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},9206:(e,t,n)=>{var r,o,i,a=n(8369),s=n(200),c=n(5335),u=n(7712),l=n(6490),d=n(9310),f=n(5904),p=n(7708),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}}}},8420:(e,t,n)=>{var r=n(6568),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4977:(e,t,n)=>{var r=n(2074),o=n(8420),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},8406:e=>{e.exports=function(e){return null==e}},5335:(e,t,n)=>{var r=n(8420),o=n(6568),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},2328:(e,t,n)=>{var r=n(6492),o=n(8420),i=n(7658),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))}},3493:(e,t,n)=>{var r=n(3747);e.exports=function(e){return r(e.length)}},8218:(e,t,n)=>{var r=n(2074),o=n(8420),i=n(6490),a=n(5077),s=n(2071).CONFIGURABLE,c=n(9965),u=n(9206),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")},9830:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},3610:(e,t,n)=>{var r=n(5077),o=n(7694),i=n(4491),a=n(3938),s=n(6032),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}},7632:(e,t,n)=>{var r=n(5077),o=n(2368),i=n(9304),a=n(6843),s=n(5476),c=n(6032),u=n(6490),l=n(7694),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])}},4789:(e,t,n)=>{var r=n(6347),o=n(290).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},8916:(e,t)=>{t.f=Object.getOwnPropertySymbols},7658:(e,t,n)=>{var r=n(281);e.exports=r({}.isPrototypeOf)},6347:(e,t,n)=>{var r=n(281),o=n(6490),i=n(5476),a=n(8186).indexOf,s=n(7708),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},9751:(e,t,n)=>{var r=n(2368),o=n(8420),i=n(5335),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")}},5816:(e,t,n)=>{var r=n(6492),o=n(281),i=n(4789),a=n(8916),s=n(3938),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}},1229:(e,t,n)=>{var r=n(8406),o=TypeError;e.exports=function(e){if(r(e))throw o("Can\'t call method on "+e);return e}},8827:(e,t,n)=>{"use strict";var r,o=n(200),i=n(9070),a=n(8420),s=n(6874),c=n(7061),u=n(9609),l=n(6589),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}},5904:(e,t,n)=>{var r=n(2),o=n(665),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},9310:(e,t,n)=>{var r=n(200),o=n(9430),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2:(e,t,n)=>{var r=n(6926),o=n(9310);(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"})},2072:(e,t,n)=>{var r=n(6845),o=n(2074);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},4922:(e,t,n)=>{var r,o,i,a,s=n(200),c=n(9070),u=n(6885),l=n(8420),d=n(6490),f=n(2074),p=n(8890),m=n(9609),g=n(3262),h=n(6589),y=n(2050),b=n(5223),w=s.setImmediate,v=s.clearImmediate,_=s.process,O=s.Dispatch,F=s.Function,S=s.MessageChannel,I=s.String,x=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(I(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[++x]=function(){c(t,void 0,n)},o(x),x},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(9328),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(8664),o=n(1229);e.exports=function(e){return r(o(e))}},9328:(e,t,n)=>{var r=n(9830);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},3747:(e,t,n)=>{var r=n(9328),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},2612:(e,t,n)=>{var r=n(1229),o=Object;e.exports=function(e){return o(r(e))}},874:(e,t,n)=>{var r=n(2368),o=n(5335),i=n(2328),a=n(6457),s=n(9751),c=n(1602),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)}},6032:(e,t,n)=>{var r=n(874),o=n(2328);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},3838:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},665:(e,t,n)=>{var r=n(281),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(2072);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4491:(e,t,n)=>{var r=n(5077),o=n(2074);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},6589: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(200),o=n(8420),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},1602:(e,t,n)=>{var r=n(200),o=n(2),i=n(6490),a=n(665),s=n(2072),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]}},1857:(e,t,n)=>{var r=n(1605),o=n(200),i=n(4922).clear;r({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},5417:(e,t,n)=>{n(1857),n(9708)},9708:(e,t,n)=>{var r=n(1605),o=n(200),i=n(4922).set,a=n(8827),s=o.setImmediate?a(i,!1):i;r({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==s},{setImmediate:s})},5480:()=>{},5920:e=>{e.exports="8defba59cb1dc1a1"},1211: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),(()=>{"use strict";n(5417);"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 I=n(5920),x=n.n(I),E=n(1211),A=n.n(E),j=n(5480),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${"-"+x()}.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 Ie=null,xe=!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(Ie,"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=Ie[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(Ie,"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=Ie[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(Ie,"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=Ie.allocateMemory(e.byteLength);try{t.view.set(e);const n=Ie.memoryHandleToVector(t);try{i=Ie.dispatchCommandWithBinary(o,n)}finally{n.delete()}}finally{t.delete()}}catch(e){throw e}else i=Ie.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(Ie,Se),Ie.FS.analyzePath(e).exists||Ie.FS.mkdir(e),Ie.FS.writeFile(Ge(e,t),n)}(n,e.basename,e.buffer)})),function(){o.forEach((e=>{!function(e,t){r(Ie,Se),Ie.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(),xe=r,Ae=o,$(e,n).then((e=>{let{nativeModule:t}=e;Ie=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=Ie.allocateMemory(n.byteLength);let o=null,i=null;try{r.view.set(n),o=Ie.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(Ie,Se),Ie.FS.writeFile(e,new Uint8Array(t))}async deleteFile(e){r(Ie,Se),Ie.FS.unlink(e)}async readFile(e){return r(Ie,Se),Ie.FS.readFile(e)}async renderLinearized(e){const t=Ie.allocateMemory(e.byteLength);let n=null;try{return t.view.set(e),n=Ie.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(Ie,Se);try{if(Ie.FS.analyzePath(Ne).exists||Ie.FS.mkdir(Ne),$e=s?`${Ne}/custom-fonts`:"",s&&!Ie.FS.analyzePath($e).exists&&function(e,t){r(Ie,Se),Ie.FS.analyzePath(t).exists||Ie.FS.mkdir(t),Ie.FS.mount(Ie.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=Ie.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 Ie}async openDocument(e,t){try{return r(Ie,Se),null!==Ae&&We("overrideMemoryLimit",Ae),Ie.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",xe);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(Ie,Se),e.forEach((e=>{Ie.FS.analyzePath(`${Ne}/${e.name}`).exists||Ie.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(Ie,Se);try{Ye(e,Oe),o=Ie.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(Ie,Se);let d=null;return e&&e?.signatureType!==ue||(d=Ie.FS.readFile(l[0].result.file_contents).buffer),Ie.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(Ie,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 Ie.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=Ie.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{Ie.FS.analyzePath(Fe)?.exists&&Ie.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(Ie,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 Ie.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(Ie,Se);const f=Ie.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`;Ie.FS.writeFile(t,new Uint8Array(this.comparisonDocuments[U])),Ie.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]=Ie.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 Ie.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=Ie.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&&(Ie.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 Ie.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)}})()})();',"Worker",void 0,void 0)}},55512:e=>{e.exports=function(e,t,n,r){var o=self||window;try{try{var i;try{i=new o.Blob([e])}catch(t){(i=new(o.BlobBuilder||o.WebKitBlobBuilder||o.MozBlobBuilder||o.MSBlobBuilder)).append(e),i=i.getBlob()}var a=o.URL||o.webkitURL,s=a.createObjectURL(i),c=new o[t](s,n);return a.revokeObjectURL(s),c}catch(r){return new o[t]("data:application/javascript,".concat(encodeURIComponent(e)),n)}}catch(e){if(!r)throw Error("Inline worker is not supported");return new o[t](r,n)}}}}]);
@@ -1,13 +0,0 @@
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([[860],{60919:(e,t,s)=>{s.r(t),s.d(t,{Conformance:()=>a,GdPicture:()=>w,GdPictureWorker:()=>_,getBrowserSpawner:()=>g});var r=s(85409),n=s(25030);let a=function(e){return e[e.pdf_a_1a=0]="pdf_a_1a",e[e.pdf_a_1b=1]="pdf_a_1b",e[e.pdf_a_2a=2]="pdf_a_2a",e[e.pdf_a_2u=3]="pdf_a_2u",e[e.pdf_a_2b=4]="pdf_a_2b",e[e.pdf_a_3a=5]="pdf_a_3a",e[e.pdf_a_3u=6]="pdf_a_3u",e[e.pdf_a_3b=7]="pdf_a_3b",e[e.pdf_a_4=8]="pdf_a_4",e[e.pdf_a_4e=9]="pdf_a_4e",e[e.pdf_a_4f=10]="pdf_a_4f",e}({});const o="/create.pdf",i="/save.pdf",l="/create.docx",d="/save.docx",u="/templateData.json",c="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope;let f=null,p=null;function m(e){let t;(0,r.V1)(p,"GdPicture WebAssembly is not loaded.");for(var s=arguments.length,n=new Array(s>1?s-1:0),a=1;a<s;a++)n[a-1]=arguments[a];for(const e of n)t=Object.assign(n[0],e);const o=JSON.stringify({type:e,...t}),i=JSON.parse(p.CommandHandler(o));if(!i.success)throw new Error(i.errorReason+": "+i.errorMessage+"\n"+i.error);return i}class w{_mountCustomFonts(e,t){(0,r.V1)(f,"WebAssembly module not loaded."),f.FS.mkdir(t);{const s=c?f.FS.filesystems.WORKERFS:f.FS.filesystems.MEMFS;f.FS.mount(s,{blobs:e},t)}}async loadModule(e,t,s,r,a,o,i){const{Assemblies:l,Module:d}=await async function(e,t){if("string"==typeof e){const s="nutrient-viewer-lib/",r=`${s}gdpicture-7e5da953/jit`,n=`${s}gdpicture-7e5da953/aot`;let a,o;t?(a=`${e}${n}/initDotnet.js`,o=`${e}${n}`):(a=`${e}${r}/initDotnet.js`,o=`${e}${r}`);const{initDotnet:i}=await import(a);return i(o,((e,t,s,r,n)=>"blazor.boot.json"===t?fetch(s,{credentials:"same-origin"}):null))}throw new Error("GdPicture WASM loader not implemented")}(e,t);p=l.GdPictureWasm.API,f=d,m("gdpicture/setLicense",{origin:s},{licenseKey:r||"DEMO_PSPDFKIT_WEB"});const u=a?"/fonts":"";if(a&&!f.FS.analyzePath(u).exists&&(this._mountCustomFonts(a,u),m("gdpicture/setFonts",{fontPaths:[u]})),o){const e=await(0,n.sw)(o);m("gdpicture/setDynamicFontLoading",{baseUrl:o.split("/").slice(0,-1).join("/"),allowedFonts:e.availableFonts,v:1})}i&&m("gdpicture/setFontSubstitutions",{fontSubstitutions:i})}toPdf(e,t){f.FS.writeFile(o,new Uint8Array(e));const s={file:i,format:"pdf",conformance:t&&t in a?t:void 0};try{return m("gdpicture/process",{input:{file:o},output:s}),f.FS.readFile(i).buffer}finally{try{f.FS.unlink(i)}catch(e){}}}toOffice(e,t){f.FS.writeFile(o,new Uint8Array(e));const s=`/save.${t}`;try{return m("gdpicture/process",{input:{file:o},output:{file:s,format:t}}),f.FS.readFile(s).buffer}finally{try{f.FS.unlink(s)}catch(e){console.log(e.message)}}}async populateDocumentTemplate(e,t){let s;f.FS.writeFile(l,new Uint8Array(e));try{s=JSON.stringify(t,null,2)}catch(e){throw new Error("Invalid config data")}f.FS.writeFile(u,s);try{return m("gdpicture/process-office-template",{inputFile:l,modelAndConfigFile:u,outputFile:d}),f.FS.readFile(d).buffer}finally{try{f.FS.unlink(d),f.FS.unlink(u)}catch(e){console.log(e.message)}}}}var h=s(67136);const _=class{constructor(e){let{baseUrl:t,aot:s,mainThreadOrigin:n,licenseKey:a,customFonts:o,dynamicFonts:i,fontSubstitutions:l,workerSpawner:d,wasmLoaderPath:u}=e;(0,h.A)(this,"requests",new Map),(0,h.A)(this,"nextRequestId",1),(0,h.A)(this,"handleMessage",(e=>{const t=e.data,s=this.requests.get(t.id);(0,r.V1)(s,`No request was made for id ${t.id}.`);const{resolve:n,reject:a}=s;if(this.requests.delete(t.id),t.error){const e=new r.uE(t.error);e.callArgs=t.callArgs,a(e)}else n(t.result)})),this.workerSpawner=d,this.workerSpawner.setMessageHandler(this.handleMessage),this.moduleLoadPromise=this.sendRequest("loadModule",[u?{baseUrl:t,wasmLoaderPath:u}:t,s,n,a,o,i,l])}toOffice(e,t){return this.sendRequest("toOffice",[e,t])}toPdf(e,t){let s;return t&&(s=t.replace("pdf","pdf_").replaceAll("-","_")),this.sendRequest("toPdf",[e,s])}async populateDocumentTemplate(e,t){return this.sendRequest("populateDocumentTemplate",[e,t])}destroy(){this.workerSpawner?.terminate(),this.workerSpawner=null}async sendRequest(e,t){(0,r.V1)(this.workerSpawner,"GdPictureClient has been destroyed"),this.moduleLoadPromise&&await this.moduleLoadPromise;const s=this.workerSpawner;return new Promise(((r,n)=>{const a=this.assignId(),o=[...t].filter((e=>e instanceof ArrayBuffer));s.postMessage({id:a,action:e,args:t},o),this.requests=this.requests.set(a,{resolve:r,reject:n})}))}assignId(){const e=this.nextRequestId;return this.nextRequestId=this.nextRequestId+1,e}};const g=async function(){let e;if(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]){const{default:t}=await s.e(11).then(s.bind(s,37979));e=new t}else e=new Worker(new URL(s.p+s.u(374),s.b));return{setMessageHandler(t){(0,r.V1)(e,"Worker is null"),e.onmessage=t},postMessage(t,s){e?.postMessage(t,s)},terminate(){e?.terminate(),e=null}}}}}]);
@@ -1,13 +0,0 @@
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
- (globalThis.webpackChunkNutrientViewer=globalThis.webpackChunkNutrientViewer||[]).push([[750],{1033:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>z});var r=n(67136),s=n(49568),i=n(85409),o=n(45646),a=n(6163),l=n(99589),h=n(2752),c=n(55994),u=n(34551),d=n(47159),p=n(5293),m=n(97881),f=n(14631),g=n(54781),E=n(85553);class v extends(s.mS({authPayload:null,serverUrl:null,hostedBaseUrl:null,documentId:null,layerName:null,sourcePdfSha256:null,backendPermissions:null,documentURL:null,imageToken:null,instantSettings:null,token:null,features:(0,s.B8)(),signatureFeatureAvailability:E.g.NONE,isFormsEnabled:!0,minSearchQueryLength:1,documentHandle:null,isDocumentHandleOutdated:!1,digitalSignatures:null,defaultGroup:void 0,hasCollaborationPermissions:!1,forceLegacySignaturesFeature:!1,disableWebAssemblyStreaming:!1,overrideMemoryLimit:null,baseCoreUrl:null,useDeprecatedRestProvider:!1})){}var w=n(14511),y=n(15168),$=n(28650),R=n(85410),S=n(9627);const I="The image can not be rendered because of an unknown error.";class P{constructor(e){let{identifier:t,url:n,token:r,payload:s,doNotRequestWebP:i=!1}=e;this.identifier=t,this.url=n,this.token=r,this.payload=s,this.doNotRequestWebP=i}abort(){this.httpRequest?.abort()}request(){return new Promise(((e,t)=>{const n=new XMLHttpRequest;this.httpRequest=n,n.open(this.payload?"POST":"GET",this.url,!0),n.setRequestHeader("X-PSPDFKit-Image-Token",this.token),n.setRequestHeader("PSPDFKit-Platform","web"),n.setRequestHeader("PSPDFKit-Version",(0,R._q)()),y.xd&&!this.doNotRequestWebP&&n.setRequestHeader("Accept","image/webp,*/*"),n.responseType="blob",n.onreadystatechange=(async()=>{if(4!==n.readyState)return;if(n.response&&n.response.type.startsWith("application/json")){const r=new FileReader;return r.onload=n=>{const r=JSON.parse(n.target?.result);r.attachments_not_found?e({attachmentsNotFound:r.attachments_not_found}):r.error?"initialization_error"===r.error?e(null):t(new i.uE(`The server could not render the requested image (${r.error})`)):t(new i.uE(I))},r.onerror=()=>t(new i.uE(I)),void r.readAsText(n.response)}if(!(0,w.Nk)(n.status))return void t(new i.uE(I));const r=n.response,s=URL.createObjectURL(r),o=new Image;o.onerror=()=>t(new i.uE(I)),o.src=s;const a=o.decode();try{await a}catch(e){if(!S.H8)throw new i.uE(`The image could not be decoded: ${e.message}`);await new Promise((e=>setTimeout(e,200)))}e(new $.A(o,(()=>URL.revokeObjectURL(s))))}).bind(this),n.send(this.payload)}))}}var b=n(37361),A=n(89574),_=n(41477),N=n(51946),T=n(30026);async function L(e,t,n){const r=await fetch(`${e}/auth`,{method:"POST",headers:{"Content-Type":"application/json","PSPDFKit-Platform":"web","PSPDFKit-Version":(0,R._q)()},body:JSON.stringify({jwt:t.jwt,password:n}),credentials:"include"});return r.ok?r.json():r.text().then((e=>{throw"INVALID_PASSWORD"===e?new i.uE(e):new i.uE(`An error occurred while connecting to Nutrient Document Engine: ${e||r.statusText}`)}))}var O=n(25888),x=n(4824),F=n(12219),D=n(37094),C=n(72262),U=n(40927),j=n(9939),k=n(83720),M=n(64337),G=n(89055),B=n(20546),V=n(37506),X=n(26175),q=n(77270),H=n(20873);class z extends C.K{constructor(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;super(),t=this,(0,r.A)(this,"_password",null),(0,r.A)(this,"type","SERVER"),(0,r.A)(this,"_requestRenderAnnotation",((e,n,r,s,o,l)=>{const h=`${this._state.documentURL}/render_annotation`,c=`render-annotation-${l?(0,a.Z0)():e.id}`,u=JSON.stringify({data:(0,m.eq)(e),width:s,height:o,detached:l||void 0,formFieldValue:n?(0,m.cA)(n):void 0});let d=!1,p=[];const f=(0,q.yl)();let g;if((0,A.cu)(e)){if(g=(0,A.sS)(e),this.isVisuallyIdenticalAnnotationCached({annotation:e,providedVisualAnnotationIndex:g,width:s,height:o}))return this.cachedRenderedAnnotationDiscardablePromise(g,f);this._addCachedRenderedAnnotation(g,{width:s,height:o,noZoom:e.noZoom,APStreamPromise:f.promise})}const E=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const a=new FormData;a.append("render",u),n.length>0&&"imageAttachmentId"in e&&e.imageAttachmentId&&r&&a.append(e.imageAttachmentId,r);const l=new P({identifier:c,url:h,token:t._state.imageToken,payload:a,doNotRequestWebP:s>b.HI||o>b.HI}),m=t._requestQueue.enqueue(l,!1);m.promise.then((n=>{if(!d)if(n?.attachmentsNotFound)E(n.attachmentsNotFound);else{if(!n?.attachmentsNotFound)return(0,A.cu)(e)&&t._makeEnqueuedRelease(n,g),f.resolve(n),n;f.reject(new i.uE("Attachment could not be found."))}})).catch((e=>{const n=t._cachedRenderedAnnotations.get(g);n&&n.timeout&&clearTimeout(n.timeout),t._cachedRenderedAnnotations.delete(g),d?f.resolve(void 0):f.reject(e)})),p.push(m)};return E(),{promise:f.promise,cancel:()=>{d=!0,p.forEach((e=>{e.cancel()}))}}})),(0,r.A)(this,"_requestRenderAnnotations",((e,t,n,r,s)=>{const i=`${this._state.documentURL}/render_annotations`,o=JSON.stringify({annotations:t.map(((t,s)=>({pageIndex:e,pdfObjectId:t,width:n[s],height:r[s]}))),formFieldValues:s});let a,l,h=!1;const c=new Promise(((e,t)=>{a=e,l=t}));return this._fetch(i,{method:"post",body:o,credentials:"include",headers:{"X-PSPDFKit-Image-Token":this._state.imageToken,"Content-Type":"application/json",Accept:"multipart/form-data"}}).then((e=>e.formData())).then((e=>{h||a(Array.from(e.values()))})).catch((e=>{h||l(e)})),{promise:c,cancel:()=>{h=!0}}})),(0,r.A)(this,"handleDocumentHandleConflict",(()=>{this._state=this._state.set("isDocumentHandleOutdated",!0),this.cancelRequests(),this._destroyProvider()}));let s=null;if("session"in e){if("string"!=typeof e.session)throw new i.uE("The supplied session token is invalid. Must be a string.");s={jwt:e.session},e.instant=!("instant"in e)||"boolean"!=typeof e.instant&&!(0,i.Qd)(e.instant)||e.instant}else"authPayload"in e&&(s=e.authPayload);if("object"!=typeof s)throw new i.uE("authPayload must be an object that contains the `jwt`. For example: `authPayload: { jwt: 'xxx.xxx.xxx'}`");const l=s?.accessToken;let h=null,c=null,u="documentId"in e?e.documentId:null,d=null;if(l)d=e.hostedBaseUrl||"https://api.pspdfkit.com/",(0,w.Me)(d),(0,f.P1)(l);else{if(!s||"object"!=typeof s||!("jwt"in s)||"string"!=typeof s.jwt)throw new i.uE("authPayload must be an object that contains the `jwt`. For example: `authPayload: { jwt: 'xxx.xxx.xxx'}`");const{serverUrl:t,documentId:r}=(0,f.Gm)(s.jwt);if(h=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;const r=e.serverUrl||t||(0,R.$_)(n.document);if("/"!==r.substr(-1))throw new i.uE("`serverUrl` must have a slash at the end (e.g. `https://pspdfkit.example.com/`).");if(!e.serverUrl&&r===(0,w.ln)(n.location.origin))throw new i.uE('PSPDFKit automatically infers the URL of Nutrient Document Engine from the current `<script>` tag.\nIn the current case, this URL is set to the same as the current browser\'s location.\nThis can happen when you bundle nutrient-viewer.js with your custom JavaScript for example.\n\nTo make sure everything works as expected, please set the `serverUrl` to the URL of Nutrient Document Engine:\n\nPSPDFKit.load({\n serverUrl: "https://pspdfkit-server.example.com/",\n ...,\n});');return r}(e,t,n),u=u||r,"string"!=typeof u)throw new i.uE("`documentId` must be of type string.");c=`${h}i/d/${u}`}!function(e){let t="";if("boolean"!=typeof e&&((0,i.Qd)(e)?(e.hasOwnProperty("clientsPresenceEnabled")&&"boolean"!=typeof e.clientsPresenceEnabled&&(t+="`clientsPresenceEnabled` in instance settings is not valid. Must be `true` or `false`.\n"),e.hasOwnProperty("listenToServerChangesEnabled")&&"boolean"!=typeof e.listenToServerChangesEnabled&&(t+="`listenToServerChangesEnabled` in instance settings is not valid. Must be `true` or `false`.\n")):t="`instant` flag must either be set to `true` or `false`\n",t))throw new i.uE(`${t}\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/`)}(e.instant);let p=null;if(e.instant)if((0,i.Qd)(e.instant)){const t=e.instant;p={clientsPresenceEnabled:!1!==t.clientsPresenceEnabled,listenToServerChangesEnabled:!1!==t.listenToServerChangesEnabled}}else p=x.S;this._requestQueue=new o.L(b.LB);const g=!!e.electronicSignatures&&Boolean(e.electronicSignatures.forceLegacySignaturesFeature),E=e.baseUrl||(0,R.$_)(window.document),y=e.baseCoreUrl||E;this._state=new v({serverUrl:h,hostedBaseUrl:d,documentId:u,instantSettings:p,documentURL:c,authPayload:s,isFormsEnabled:!e.disableForms,forceLegacySignaturesFeature:g,disableWebAssemblyStreaming:e.disableWebAssemblyStreaming,overrideMemoryLimit:e.overrideMemoryLimit,baseCoreUrl:y,useDeprecatedRestProvider:e.useDeprecatedRestProvider}),"trustedCAsCallback"in e&&e.trustedCAsCallback&&(0,i.R8)("PSPDFKit.Configuration#trustedCAsCallback is only used on Standalone deployments. On a Server-Backed deployment, please follow the instructions at https://pspdfkit.com/guides/web")}isUsingInstantProvider(){return!this._state.useDeprecatedRestProvider}hasClientsPresence(){const e=this._state.instantSettings;return null!=e&&!1!==e.clientsPresenceEnabled}async load(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};await this.tryAuthenticateHostedViewer();const{imageToken:t,token:n,permissions:r,features:o,signatureFeatureAvailability:a,hasPassword:u,minSearchQueryLength:d,layerHandle:p,allowedTileScales:f,digitalSignatures:g,defaultGroup:v,collaborationPermissions:w,creatorName:y,documentEngineVersion:$,layerName:S,sourcePdfSha256:I}=await L(`${this._state.serverUrl}i/d/${this._state.documentId}`,this._state.authPayload,e.password);this._password=e.password;const P=(0,l.valid)((0,l.coerce)($));if(this.documentEngineVersion=P,!this.satisfiesDocumentEngineVersion(">=1.5.6"))throw new i.uE(`Document Engine version ${$} does not meet minimum required version requirement >=1.5.6.`);if(this._state.instantSettings&&!o.includes(M.Y.INSTANT))throw new i.uE("Instant feature is not enabled on this server. Please set `instant` to `false`.\n\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/");if(this._state.useDeprecatedRestProvider&&this._state.instantSettings)throw new i.uE("Instant feature can't be enabled together with using deprecated REST provider. Please set either `instant` or `useDeprecatedRestProvider` to `false`.\n\nFor more information about PSPDFKit Instant please visit:\nhttps://pspdfkit.com/guides/web/current/instant/overview/");const b=!o.includes(M.Y.INSTANT)&&!this.satisfiesDocumentEngineVersion(">=1.7.0"),A=a===E.g.ELECTRONIC_SIGNATURES&&(0,G.UX)(o)&&this._state.forceLegacySignaturesFeature?E.g.LEGACY_SIGNATURES:a;this._state=this._state.withMutations((e=>e.set("imageToken",t).set("token",n).set("features",(0,s.B8)(o)).set("signatureFeatureAvailability",A).set("backendPermissions",new T.A({readOnly:-1===r.indexOf("write"),downloadingAllowed:r.indexOf("download")>=0})).set("documentURL",`${this._state.serverUrl}i/d/${this._state.documentId}/h/${p}`).set("documentHandle",p).set("isDocumentHandleOutdated",!1).set("digitalSignatures",(0,m.N5)(g)).set("layerName",S).set("sourcePdfSha256",I).set("useDeprecatedRestProvider",b||e.useDeprecatedRestProvider)));if(this.corePDFBridge=new X.D(h.MX.createServerContext({url:this._state.serverUrl,token:this._state.token,imageToken:this._state.imageToken,documentId:this._state.documentId,layerHandle:p,headers:{"PSPDFKit-Platform":"web","PSPDFKit-Version":(0,R._q)()}},(async()=>{const t=H.mG.checkOut().object,n=(0,R.f)(null),r=await L(`${this._state.serverUrl}i/d/${this._state.documentId}`,this._state.authPayload,e.password);return(0,i.V1)(r.wasmToken,"No wasmToken was returned from the server."),(0,i.V1)(this._state.baseCoreUrl),await t.loadNativeModule(this._state.baseCoreUrl,{mainThreadOrigin:n,disableWebAssemblyStreaming:this._state.disableWebAssemblyStreaming,enableAutomaticLinkExtraction:!1,overrideMemoryLimit:this._state.overrideMemoryLimit,workerSpawnerFn:()=>c.pj(!0)}).then((async()=>t.load("",r.wasmToken,{mainThreadOrigin:n,productId:null}))),t}),(e=>this.satisfiesDocumentEngineVersion(e)))),w&&!this._state.instantSettings)throw new i.uE("Collaboration Permissions is not supported when `instant` is disabled. Please make sure `configuration#instant` is set to `true`.");return this._state=this._state.withMutations((e=>{e.defaultGroup=v,e.hasCollaborationPermissions=Boolean(w)})),this.provider&&this.provider.destroy(),this.provider=await this._initProvider(),{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:u,password:this._password,minSearchQueryLength:d,allowedTileScales:f,creatorName:y,defaultGroup:v}}satisfiesDocumentEngineVersion(e){return!!this.documentEngineVersion&&(0,l.satisfies)(this.documentEngineVersion,e)}async tryAuthenticateHostedViewer(){if("accessToken"in this._state.authPayload){const{hostedBaseUrl:e}=this._state,t=this._state.authPayload.accessToken,{serverUrl:n,serverId:r,jwt:s}=await async function(e,t){const n=await fetch(`${e}i/documents/auth`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json","PSPDFKit-Platform":"web","PSPDFKit-Version":"cloud-protocol=1, server-protocol=5, client=1.2.0, client-git=a58562548c"},body:JSON.stringify({accessToken:t})});if(n.ok)return n.json();throw new Error(`An error occurred while connecting to PSPDFKit API: ${await n.text()}`)}(e,t);this._state=this._state.withMutations((e=>{e.set("serverUrl",n).set("documentId",r).set("documentURL",`${n}i/d/${r}`).set("authPayload",{jwt:s})}))}}async _initProvider(){if(this._state.useDeprecatedRestProvider){const e=this._state.isFormsEnabled&&this._state.features.includes(M.Y.FORMS),{RESTProvider:t}=await n.e(269).then(n.bind(n,33393));return new t(this._state.documentURL,{token:this._state.token},{isFormsEnabled:e})}{const e=`${this._state.serverUrl}i/d/${this._state.documentId}/h/${this._state.documentHandle}`,{InstantProvider:t}=await n.e(534).then(n.bind(n,15124)),r=new t(`${this._state.serverUrl}i/d/${this._state.documentId}`,e,{auth_token:this._state.token},this._state.instantSettings||x.z);return r.setDocumentHandleConflictCallback(this.handleDocumentHandleConflict),r}}destroy(){this._destroyProvider(),this._requestQueue&&this._requestQueue.destroy()}documentInfo(){return this._fetch(`${this._state.documentURL}/document.json`).then((e=>e.json())).then((e=>e.data))}getFormJSON(){return this._fetch(`${this._state.documentURL}/form.json`).then((e=>403===e.status?{v:1,type:"pspdfkit/form",annotations:[],fields:[]}:e.json().then((e=>e.data))))}async evalFormValuesActions(){throw new Error("not implemented")}async evalScript(){throw new Error("not implemented")}async setFormJSONUpdateBatchMode(){throw new Error("not implemented")}compareDocuments(){throw new Error("not implemented")}updateButtonIcon(){throw new Error("not implemented")}permissions(){return Promise.resolve(this._state.backendPermissions)}getDefaultGroup(){return this._state.defaultGroup}isCollaborationPermissionsEnabled(){return this._state.hasCollaborationPermissions}textForPageIndex(e){return this.corePDFBridge.getTextLines(e)}async getSuggestedLineHeightFactor(){return 1}async getAnnotationsByScale(){return[]}getAvailableFontFaces(){throw new i.uE("Custom fonts need to be mounted on the server in Server-Backed deployments.")}getContentTreeForPageIndex(e){return this.corePDFBridge.getContentTree(e)}getTextFromRects(e,t){const n=encodeURIComponent(JSON.stringify(t.map(p.w).toArray()));return this._fetch(`${this._state.documentURL}/page-${e}-highlighted?rects=${n}`).then((e=>e.json())).then((e=>e.text))}_getJSONRequestHandler(){return g.A}renderAnnotation(e,t,n,r,s){return this._requestRenderAnnotation(e,t,n,r,s)}async renderPageAnnotations(e,t,n){const r=this.provider,s=t.some((e=>e instanceof N.sb));s&&await r._setReadStateCallbacksPromise;const i=[],o=t.filter((e=>{const t=s?r._readStateCallbacks.getAnnotationWithFormField(e.id):null,n=t?.formField,o=(0,A.lG)(e,n);if(o&&n&&"number"==typeof e.pdfObjectId){i.find((e=>e.name===n.name))||i.push((0,m.cA)((0,k.Af)(n)))}return o&&"number"==typeof e.pdfObjectId}));if(0===o.size&&0===i.length)return Promise.resolve();const a=new Promise(((t,r)=>{const s=o.filter((e=>0!==Math.floor(e.boundingBox.width*n)&&0!==Math.floor(e.boundingBox.height*n))),{promise:a,cancel:l}=this._requestRenderAnnotations(e,s.map((e=>e.pdfObjectId)).toArray(),s.map((e=>Math.floor(e.boundingBox.width*n))).toArray(),s.map((e=>Math.floor(e.boundingBox.height*n))).toArray(),i);a.then((e=>{const n=e.map((e=>e&&(0,j.BJ)(e)));n.forEach((async(e,t)=>{const n=await e,r=s.get(t);if(r){const e=this.annotationAPStreamPromises.get(r.id);e&&(this.annotationAPStreamPromises=this.annotationAPStreamPromises.delete(r.id),e(n)),n&&this.cacheAPStream(n,r)}})),Promise.all(n).then((()=>t()))})).catch((e=>{l(),r(e)}))}));return this.pageAPStreamsPromises=this.pageAPStreamsPromises.set(e,a),a}renderDetachedAnnotation(e,t,n,r){return this._requestRenderAnnotation(e,null,t,n,r,!0)}async getAttachment(e){try{const t=await this._fetch(`${this._state.documentURL}/attachments/${e}`);switch(t.status){case 404:throw new i.uE("Attachment not Found.");case 200:return await t.blob();default:throw new i.uE("Bad Request.")}}catch(e){throw new i.uE(`Could not fetch attachment from Nutrient Document Engine. ${e}`)}}async search(e,t,n,r){let s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:D.n.TEXT;const o=`q=${i===D.n.PRESET?e.replace(/_/g,"-"):encodeURIComponent(e)}&start=${t}&limit=${n}&type=${i}&include_annotations=${s.toString()}&case_sensitive=${r.toString()}`,a=`${this._state.documentURL}/search?${o}`,l=await new g.A(a,this._state.token).request();return(0,d.g)(l.data)}async getMeasurementSnappingPoints(e){}async searchAndRedact(e,t){const{searchType:n,annotationPreset:r,searchInAnnotations:i,caseSensitive:o,startPageIndex:a,pageRange:l}=t,{color:h,fillColor:c,outlineColor:u,...d}=r,p=await this._fetch(`${this._state.documentURL}/redactions`,{method:"post",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({strategy:n,strategyOptions:{[n]:n===D.n.PRESET?e.replace(/_/g,"-"):e,includeAnnotations:i,caseSensitive:o,...void 0!==a&&{start:a},...void 0!==l&&{limit:l}},content:{...d,color:h&&h.toHex(),fillColor:c&&c.toHex(),outlineColor:u&&u.toHex()}})}),{data:m}=await p.json(),f=(0,s.B8)(m.annotations?.filter((e=>!!e.content)).map((e=>F.A.fromJSON(e.id,e.content)))||[]);if(f.size){const e=this._state.instantSettings;!this.isUsingInstantProvider()||e&&e.listenToServerChangesEnabled||await this.syncChanges()}return f}exportPDF(){let{flatten:e=!1,includeComments:t=!0,excludeAnnotations:n=!1,outputFormat:r=!1,optimize:s=!1,flattenElectronicSignatures:o=e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e&&!1===o)throw new i.uE("Cannot set `flattenElectronicSignatures` to `false` when `flatten` is set to `true`.");const a=`${this._state.documentURL}/pdf?token=${this._state.token}${e?`&flatten=${String(e)}`:""}&comments=${String(t)}&render_ap_streams=${String(!e)}&remove_annotations=${String(n)}${e?"":`&keep_signatures=${!o}`}`;if(s){const e={documentFormat:"pdf",grayscaleText:!1,grayscaleGraphics:!1,grayscaleFormFields:!1,grayscaleAnnotations:!1,grayscaleImages:!1,disableImages:!1,mrcCompression:!1,imageOptimizationQuality:2,linearize:!1};let t;if("boolean"!=typeof s){t={...e,...s}}else t=e;const{documentFormat:n,grayscaleText:r,grayscaleGraphics:i,grayscaleFormFields:o,grayscaleAnnotations:l,grayscaleImages:h,disableImages:c,mrcCompression:u,imageOptimizationQuality:d,linearize:p}=t;return fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:n,grayscaleText:r,grayscaleGraphics:i,grayscaleFormFields:o,grayscaleAnnotations:l,grayscaleImages:h,disableImages:c,mrcCompression:u,imageOptimizationQuality:d,linearize:p}}),credentials:"include"}).then((e=>e.arrayBuffer()))}if(r){const e={conformance:B.o.PDFA_2B,vectorization:!0,rasterization:!0};let t;if("boolean"!=typeof r){t={...e,...r}}else t=e;const{conformance:n,vectorization:s,rasterization:i}=t;return fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:"pdfa",conformance:n,vectorization:s,rasterization:i}}),credentials:"include"}).then((e=>e.arrayBuffer()))}return fetch(a,{method:"GET",credentials:"include"}).then((e=>e.arrayBuffer()))}exportOffice(e){let{format:t}=e;const n=`${this._state.documentURL}/build`;return this._fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({parts:[{document:{id:"#self"}}],output:{type:t.toLowerCase()}}),credentials:"include"}).then((e=>e.arrayBuffer())).catch((e=>{throw new i.uE(`Exporting to Office failed: ${e.message}`)}))}exportXFDF(){return this._fetch(`${this._state.documentURL}/document.xfdf`).then((e=>e.text()))}exportInstantJSON(e){return this._fetch(`${this._state.documentURL}/instant.json${"number"==typeof e?`?version=${e}`:""}`).then((e=>e.json()))}getPDFURL(){let{includeComments:e=!0,excludeAnnotations:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{promise:Promise.resolve(`${this._state.documentURL}/pdf?token=${this._state.token}&flatten=true&comments=${String(e)}&remove_annotations=${String(t)}`),revoke:()=>{}}}generatePDFObjectURL(){let e,{includeComments:t=!0,excludeAnnotations:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!1;return{promise:new Promise((s=>{this.exportPDF({flatten:!0,includeComments:t,excludeAnnotations:n}).then((t=>{if(r)return;const n=new Blob([t],{type:"application/pdf"});e=window.URL.createObjectURL(n),s(e)}))})),revoke:()=>{e&&window.URL.revokeObjectURL(e),r=!0}}}async getDocumentOutline(){let e;try{e=(await this._fetch(`${this._state.documentURL}/outline.json`).then((e=>e.json()))).data}catch(t){e={}}const t=Array.isArray(e.outline)?e.outline:[];return(0,s.B8)(t.map(_.r))}async setDocumentOutline(){throw new i.uE("Not implemented in Server backend.")}async getPageGlyphs(){throw new i.uE("Not implemented in Server backend.")}onKeystrokeEvent(){throw new Error("not implemented")}async getMeasurementScales(){let e;try{return e=(await this._fetch(`${this._state.documentURL}/measurement_content_formats`).then((e=>e.json()))).data,e}catch(e){throw new i.uE(`Fetching measurement scales failed: ${e}`)}}async getSecondaryMeasurementUnit(){let e;try{return e=(await this._fetch(`${this._state.documentURL}/secondary_measurement_unit`).then((e=>e.json()))).data,e}catch(e){throw new i.uE(`Fetching secondary measurement unit failed: ${e}`)}}async setSecondaryMeasurementUnit(e){try{const t=JSON.stringify({unitTo:e?e.unitTo:null,precision:e?e.precision:null});await this._fetch(`${this._state.documentURL}/secondary_measurement_unit`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Setting secondary measurement unit failed: ${e}`)}}async addMeasurementScale(e){try{const t=JSON.stringify((0,u.U)(e));await this._fetch(`${this._state.documentURL}/measurement_content_formats`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Adding a new measurement scale failed: ${e}`)}}async removeMeasurementScale(e){try{const t=JSON.stringify((0,u.U)(e));await this._fetch(`${this._state.documentURL}/measurement_content_formats/delete`,{method:"post",body:t,credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Removing scale failed: ${e}`)}}async applyOperationsAndReload(e){try{const t=await J(e);this._destroyProvider(),await this._fetch(`${this._state.documentURL}/apply-operations`,{method:"post",body:t,credentials:"include"})}catch(e){throw new i.uE(`Applying operations failed: ${e}`)}return this.reloadDocument()}async applyRedactionsAndReload(){try{return this._destroyProvider(),await this._fetch(`${this._state.documentURL}/redact`,{method:"post",credentials:"include"}),this.reloadDocument()}catch(e){throw this.provider.load(),new i.uE(`Applying redactions failed: ${e}`)}}async reloadDocument(){this.clearRenderedAnnotationsCache();try{return await this.load({password:this._password})}catch(e){throw new i.uE(`Reloading the document failed: ${e}`)}}async exportPDFWithOperations(e){try{const t=await J(e);return this._fetch(`${this._state.documentURL}/pdf-with-operations`,{method:"post",body:t,credentials:"include"}).then((e=>e.arrayBuffer()))}catch(e){throw new i.uE(`Exporting PDF with operations failed: ${e}`)}}async setSignaturesLTV(e){throw new Error("not implemented")}async getSignaturesInfo(){return this._refreshSignaturesInfoPromise&&await this._refreshSignaturesInfoPromise,this._state.digitalSignatures}refreshSignaturesInfo(){return this._refreshSignaturesInfoPromise||(this._refreshSignaturesInfoPromise=new Promise(((e,t)=>{this._fetch(`${this._state.documentURL}/signatures`,{method:"get",credentials:"include"}).then((e=>e.json())).then((t=>{let{data:n}=t;this._state=this._state.set("digitalSignatures",(0,m.N5)(n)),this._refreshSignaturesInfoPromise=null,e()})).catch((e=>{this._state=this._state.set("digitalSignatures",null),this._refreshSignaturesInfoPromise=null,t(e)}))}))),this._refreshSignaturesInfoPromise}async signDocumentAndReload(e,t){(0,i.V1)(void 0===t||"object"==typeof t,"Signing service data must be an object if specified.");try{if(void 0!==t&&"object"!=typeof t)throw new i.uE("Signing service data must be an object if specified.");(0,V.r6)(e);const n=e?{..."placeholderSize"in e?{estimatedSize:e.placeholderSize}:null,..."flatten"in e?{flatten:e.flatten}:null,...e?.signatureMetadata?{signatureMetadata:(0,m.sZ)(e.signatureMetadata)}:null,..."position"in e?{position:(0,m.qN)(e.position)}:null,..."appearance"in e?{appearance:await(0,m.z8)(e.appearance)}:null,..."formFieldName"in e?{formFieldName:e.formFieldName}:null,...void 0!==e?.signingData&&"signatureContainer"in e.signingData?{signatureContainer:e.signingData.signatureContainer}:null,...void 0!==e?.signingData&&"signatureType"in e.signingData?{signatureType:m.xz[e.signingData.signatureType]}:null}:null,r=e?.appearance?.watermarkImage||null,s=e?.appearance?.graphicImage||null,o={...t?{signingToken:t.signingToken}:null,...n},a=new FormData;if(a.append("data",JSON.stringify(o)),r&&a.append("image",r),s&&a.append("graphicImage",s),this._destroyProvider(),await this._fetch(`${this._state.documentURL}/sign`,{method:"post",body:a,credentials:"include"}),await this.reloadDocument(),e?.formFieldName)return e.formFieldName}catch(e){throw this.provider.load(),new i.uE(`Adding digital signature failed: ${e.message||e}`)}}async setFontSubstitutions(e){try{const t=`${this._state.documentURL}/font-substitutions`;await this._fetch(t,{method:"put",body:JSON.stringify({fontSubstitutions:e}),credentials:"include",headers:{"Content-Type":"application/json"}})}catch(e){throw new i.uE(`Error setting font substitution: ${e.message}`)}}getDocumentHandle(){return this._state.documentHandle}async getEmbeddedFiles(){const e=await this._fetch(`${this._state.documentURL}/embedded-files`,{method:"get",credentials:"include"}),{data:t}=await e.json();return(0,s.B8)(t?.embeddedFiles?.map((e=>{let{id:t,content:n}=e;return(0,U.r)(t,n)}))||[])}cancelRequests(){this._requestQueue.cancelAll()}_destroyProvider(){this.provider&&(this.provider._clients&&this.provider._clients.disconnect(),this.provider.destroy())}async _fetch(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"X-PSPDFKit-Token":this._state.token,"PSPDFKit-Platform":"web","PSPDFKit-Version":(0,R._q)()}});if(!n.ok){let e=await function(e){return e.clone().json().catch((()=>e.text()))}(n);e="object"==typeof e?e.reason:e;const t=e||`${n.status} ${n.statusText}`;throw new i.uE(t)}return n}syncChanges(){return this.provider.syncChanges()}async clearAPStreamCache(){}async runPDFFormattingScripts(){return[]}async runPDFFormattingScriptsFromWidgets(){return this.runPDFFormattingScripts()}async lazyLoadPages(){}async contentEditorReload(){return this._destroyProvider(),this.reloadDocument()}getOCGs(){throw new Error("not implemented")}getOCGVisibilityState(){throw new Error("not implemented")}setOCGVisibilityState(){throw new Error("not implemented")}async timestampData(e,t){throw new Error("not implemented")}async waitUntilFullyLoaded(e){throw new Error("not implemented")}}async function J(e){const t={},n=new WeakMap,r=await Promise.all(e.map((async(e,r)=>{if("importDocument"===e.type){const s=e.document;return(0,i.V1)(s instanceof File||s instanceof Blob,"Wrong `importDocument` operation `document` value: it must be a File or a Blob"),(0,O.g)(n,t,s,e,r,"document")}if("applyInstantJson"===e.type){const s=e.instantJson;(0,i.V1)("object"==typeof s&&null!==s,"Wrong `applyInstantJson` operation `instantJson` value: it must be an object");const o=JSON.stringify(s),a=new Blob([o],{type:"application/json"});return(0,O.g)(n,t,a,e,r,"dataFilePath")}if("applyXfdf"===e.type){const s=e.xfdf;(0,i.V1)("string"==typeof s,"Wrong `applyXfdf` operation `xfdf` value: it must be a string");const o=new Blob([s],{type:"application/vnd.adobe.xfdf"});return(0,O.g)(n,t,o,e,r,"dataFilePath")}return e}))),s=new FormData;s.append("operations",JSON.stringify({operations:r}));for(const e in t)s.append(e,t[e]);return s}},4824:(e,t,n)=>{"use strict";n.d(t,{S:()=>r,z:()=>s});const r={clientsPresenceEnabled:!0,listenToServerChangesEnabled:!0},s={clientsPresenceEnabled:!1,listenToServerChangesEnabled:!1}},93904:(e,t,n)=>{const r=Symbol("SemVer ANY");class s{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof s){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),h("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,h("comp",this)}parse(e){const t=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(h("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):(!(t=i(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=s;const i=n(98587),{safeRe:o,t:a}=n(99718),l=n(72111),h=n(57272),c=n(53908),u=n(78311)},78311:(e,t,n)=>{class r{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof o)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&E(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&m)|(this.options.loose&&f))+":"+e,n=s.get(t);if(n)return n;const r=this.options.loose,i=r?h[c.HYPHENRANGELOOSE]:h[c.HYPHENRANGE];e=e.replace(i,N(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(h[c.COMPARATORTRIM],u),a("comparator trim",e),e=e.replace(h[c.TILDETRIM],d),a("tilde trim",e),e=e.replace(h[c.CARETTRIM],p),a("caret trim",e);let l=e.split(" ").map((e=>w(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options)));r&&(l=l.filter((e=>(a("loose invalid filter",e,this.options),!!e.match(h[c.COMPARATORLOOSE]))))),a("range list",l);const E=new Map,v=l.map((e=>new o(e,this.options)));for(const e of v){if(g(e))return[e];E.set(e.value,e)}E.size>1&&E.has("")&&E.delete("");const y=[...E.values()];return s.set(t,y),y}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>v(n,t)&&e.set.some((e=>v(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(T(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const s=new(n(38357))({max:1e3}),i=n(98587),o=n(93904),a=n(57272),l=n(53908),{safeRe:h,t:c,comparatorTrimReplace:u,tildeTrimReplace:d,caretTrimReplace:p}=n(99718),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:f}=n(94493),g=e=>"<0.0.0-0"===e.value,E=e=>""===e.value,v=(e,t)=>{let n=!0;const r=e.slice();let s=r.pop();for(;n&&r.length;)n=r.every((e=>s.intersects(e,t))),s=r.pop();return n},w=(e,t)=>(a("comp",e,t),e=S(e,t),a("caret",e),e=$(e,t),a("tildes",e),e=P(e,t),a("xrange",e),e=A(e,t),a("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,$=(e,t)=>e.trim().split(/\s+/).map((e=>R(e,t))).join(" "),R=(e,t)=>{const n=t.loose?h[c.TILDELOOSE]:h[c.TILDE];return e.replace(n,((t,n,r,s,i)=>{let o;return a("tilde",e,t,n,r,s,i),y(n)?o="":y(r)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:y(s)?o=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(a("replaceTilde pr",i),o=`>=${n}.${r}.${s}-${i} <${n}.${+r+1}.0-0`):o=`>=${n}.${r}.${s} <${n}.${+r+1}.0-0`,a("tilde return",o),o}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>I(e,t))).join(" "),I=(e,t)=>{a("caret",e,t);const n=t.loose?h[c.CARETLOOSE]:h[c.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,s,i,o)=>{let l;return a("caret",e,t,n,s,i,o),y(n)?l="":y(s)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:y(i)?l="0"===n?`>=${n}.${s}.0${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.0${r} <${+n+1}.0.0-0`:o?(a("replaceCaret pr",o),l="0"===n?"0"===s?`>=${n}.${s}.${i}-${o} <${n}.${s}.${+i+1}-0`:`>=${n}.${s}.${i}-${o} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${i}-${o} <${+n+1}.0.0-0`):(a("no pr"),l="0"===n?"0"===s?`>=${n}.${s}.${i}${r} <${n}.${s}.${+i+1}-0`:`>=${n}.${s}.${i}${r} <${n}.${+s+1}.0-0`:`>=${n}.${s}.${i} <${+n+1}.0.0-0`),a("caret return",l),l}))},P=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>b(e,t))).join(" ")),b=(e,t)=>{e=e.trim();const n=t.loose?h[c.XRANGELOOSE]:h[c.XRANGE];return e.replace(n,((n,r,s,i,o,l)=>{a("xRange",e,n,r,s,i,o,l);const h=y(s),c=h||y(i),u=c||y(o),d=u;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",h?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(c&&(i=0),o=0,">"===r?(r=">=",c?(s=+s+1,i=0,o=0):(i=+i+1,o=0)):"<="===r&&(r="<",c?s=+s+1:i=+i+1),"<"===r&&(l="-0"),n=`${r+s}.${i}.${o}${l}`):c?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:u&&(n=`>=${s}.${i}.0${l} <${s}.${+i+1}.0-0`),a("xRange return",n),n}))},A=(e,t)=>(a("replaceStars",e,t),e.trim().replace(h[c.STAR],"")),_=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(h[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),N=e=>(t,n,r,s,i,o,a,l,h,c,u,d,p)=>`${n=y(r)?"":y(s)?`>=${r}.0.0${e?"-0":""}`:y(i)?`>=${r}.${s}.0${e?"-0":""}`:o?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=y(h)?"":y(c)?`<${+h+1}.0.0-0`:y(u)?`<${h}.${+c+1}.0-0`:d?`<=${h}.${c}.${u}-${d}`:e?`<${h}.${c}.${+u+1}-0`:`<=${l}`}`.trim(),T=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(a(e[n].semver),e[n].semver!==o.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},53908:(e,t,n)=>{const r=n(57272),{MAX_LENGTH:s,MAX_SAFE_INTEGER:i}=n(94493),{safeRe:o,t:a}=n(99718),l=n(98587),{compareIdentifiers:h}=n(61123);class c{constructor(e,t){if(t=l(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>s)throw new TypeError(`version is longer than ${s} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],s=e.prerelease[t];if(r("prerelease compare",t,n,s),void 0===n&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===n)return-1;if(n!==s)return h(n,s)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const n=this.build[t],s=e.build[t];if(r("prerelease compare",t,n,s),void 0===n&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===n)return-1;if(n!==s)return h(n,s)}while(++t)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===h(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},57414:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},72111:(e,t,n)=>{const r=n(94641),s=n(13999),i=n(35580),o=n(54089),a=n(7059),l=n(25200);e.exports=(e,t,n,h)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,h);case"!=":return s(e,n,h);case">":return i(e,n,h);case">=":return o(e,n,h);case"<":return a(e,n,h);case"<=":return l(e,n,h);default:throw new TypeError(`Invalid operator: ${t}`)}}},46170:(e,t,n)=>{const r=n(53908),s=n(30144),{safeRe:i,t:o}=n(99718);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=i[o.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),i[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[o.COERCERTL].lastIndex=-1}else n=e.match(i[o.COERCE]);return null===n?null:s(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},40909:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n)=>{const s=new r(e,n),i=new r(t,n);return s.compare(i)||s.compareBuild(i)}},11763:(e,t,n)=>{const r=n(50560);e.exports=(e,t)=>r(e,t,!0)},50560:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},51832:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e,null,!0),s=r(t,null,!0),i=n.compare(s);if(0===i)return null;const o=i>0,a=o?n:s,l=o?s:n,h=!!a.prerelease.length;if(!!l.prerelease.length&&!h)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";const c=h?"pre":"";return n.major!==s.major?c+"major":n.minor!==s.minor?c+"minor":n.patch!==s.patch?c+"patch":"prerelease"}},94641:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>0===r(e,t,n)},35580:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)>0},54089:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)>=0},93007:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n,s,i)=>{"string"==typeof n&&(i=s,s=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,s,i).version}catch(e){return null}}},7059:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)<0},25200:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(e,t,n)<=0},32938:(e,t,n)=>{const r=n(53908);e.exports=(e,t)=>new r(e,t).major},46254:(e,t,n)=>{const r=n(53908);e.exports=(e,t)=>new r(e,t).minor},13999:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>0!==r(e,t,n)},30144:(e,t,n)=>{const r=n(53908);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},24493:(e,t,n)=>{const r=n(53908);e.exports=(e,t)=>new r(e,t).patch},31729:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},9970:(e,t,n)=>{const r=n(50560);e.exports=(e,t,n)=>r(t,e,n)},74277:(e,t,n)=>{const r=n(40909);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},97638:(e,t,n)=>{const r=n(78311);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},43927:(e,t,n)=>{const r=n(40909);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},56953:(e,t,n)=>{const r=n(30144);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},99589:(e,t,n)=>{const r=n(99718),s=n(94493),i=n(53908),o=n(61123),a=n(30144),l=n(56953),h=n(57414),c=n(93007),u=n(51832),d=n(32938),p=n(46254),m=n(24493),f=n(31729),g=n(50560),E=n(9970),v=n(11763),w=n(40909),y=n(43927),$=n(74277),R=n(35580),S=n(7059),I=n(94641),P=n(13999),b=n(54089),A=n(25200),_=n(72111),N=n(46170),T=n(93904),L=n(78311),O=n(97638),x=n(77631),F=n(19628),D=n(270),C=n(41261),U=n(13874),j=n(97075),k=n(75571),M=n(5342),G=n(76780),B=n(72525),V=n(75032);e.exports={parse:a,valid:l,clean:h,inc:c,diff:u,major:d,minor:p,patch:m,prerelease:f,compare:g,rcompare:E,compareLoose:v,compareBuild:w,sort:y,rsort:$,gt:R,lt:S,eq:I,neq:P,gte:b,lte:A,cmp:_,coerce:N,Comparator:T,Range:L,satisfies:O,toComparators:x,maxSatisfying:F,minSatisfying:D,minVersion:C,validRange:U,outside:j,gtr:k,ltr:M,intersects:G,simplifyRange:B,subset:V,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},94493:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},57272:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},61123:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),s=t.test(n);return r&&s&&(e=+e,n=+n),e===n?0:r&&!s?-1:s&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},98587:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},99718:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:i}=n(94493),o=n(57272),a=(t=e.exports={}).re=[],l=t.safeRe=[],h=t.src=[],c=t.t={};let u=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[d,s]],m=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),s=u++;o(e,s,t),c[e]=s,h[s]=t,a[s]=new RegExp(t,n?"g":void 0),l[s]=new RegExp(r,n?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${h[c.NUMERICIDENTIFIER]})\\.(${h[c.NUMERICIDENTIFIER]})\\.(${h[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${h[c.NUMERICIDENTIFIERLOOSE]})\\.(${h[c.NUMERICIDENTIFIERLOOSE]})\\.(${h[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${h[c.NUMERICIDENTIFIER]}|${h[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${h[c.NUMERICIDENTIFIERLOOSE]}|${h[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${h[c.PRERELEASEIDENTIFIER]}(?:\\.${h[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${h[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${h[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${h[c.BUILDIDENTIFIER]}(?:\\.${h[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${h[c.MAINVERSION]}${h[c.PRERELEASE]}?${h[c.BUILD]}?`),m("FULL",`^${h[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${h[c.MAINVERSIONLOOSE]}${h[c.PRERELEASELOOSE]}?${h[c.BUILD]}?`),m("LOOSE",`^${h[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${h[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${h[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${h[c.XRANGEIDENTIFIER]})(?:\\.(${h[c.XRANGEIDENTIFIER]})(?:\\.(${h[c.XRANGEIDENTIFIER]})(?:${h[c.PRERELEASE]})?${h[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${h[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[c.XRANGEIDENTIFIERLOOSE]})(?:${h[c.PRERELEASELOOSE]})?${h[c.BUILD]}?)?)?`),m("XRANGE",`^${h[c.GTLT]}\\s*${h[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${h[c.GTLT]}\\s*${h[c.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),m("COERCERTL",h[c.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${h[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${h[c.LONETILDE]}${h[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${h[c.LONETILDE]}${h[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${h[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${h[c.LONECARET]}${h[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${h[c.LONECARET]}${h[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${h[c.GTLT]}\\s*(${h[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${h[c.GTLT]}\\s*(${h[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${h[c.GTLT]}\\s*(${h[c.LOOSEPLAIN]}|${h[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${h[c.XRANGEPLAIN]})\\s+-\\s+(${h[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${h[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${h[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},38357:(e,t,n)=>{"use strict";const r=n(4927),s=Symbol("max"),i=Symbol("length"),o=Symbol("lengthCalculator"),a=Symbol("allowStale"),l=Symbol("maxAge"),h=Symbol("dispose"),c=Symbol("noDisposeOnSet"),u=Symbol("lruList"),d=Symbol("cache"),p=Symbol("updateAgeOnGet"),m=()=>1;const f=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[a])return}else n&&(e[p]&&(r.value.now=Date.now()),e[u].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},E=e=>{if(e[i]>e[s])for(let t=e[u].tail;e[i]>e[s]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[h]&&e[h](n.key,n.value),e[i]-=n.length,e[d].delete(n.key),e[u].removeNode(t)}};class w{constructor(e,t,n,r,s){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=s||0}}const y=(e,t,n,r)=>{let s=n.value;g(e,s)&&(v(e,n),e[a]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[s]=e.max||1/0;const t=e.length||m;if(this[o]="function"!=typeof t?m:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[h]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[p]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[s]=e||1/0,E(this)}get max(){return this[s]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,E(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=m),e!==this[o]&&(this[o]=e,this[i]=0,this[u].forEach((e=>{e.length=this[o](e.value,e.key),this[i]+=e.length}))),E(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let n=this[u].tail;null!==n;){const r=n.prev;y(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[u].head;null!==n;){const r=n.next;y(this,e,n,t),n=r}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){this[h]&&this[u]&&this[u].length&&this[u].forEach((e=>this[h](e.key,e.value))),this[d]=new Map,this[u]=new r,this[i]=0}dump(){return this[u].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,a=this[o](t,e);if(this[d].has(e)){if(a>this[s])return v(this,this[d].get(e)),!1;const o=this[d].get(e).value;return this[h]&&(this[c]||this[h](e,o.value)),o.now=r,o.maxAge=n,o.value=t,this[i]+=a-o.length,o.length=a,this.get(e),E(this),!0}const p=new w(e,t,a,r,n);return p.length>this[s]?(this[h]&&this[h](e,t),!1):(this[i]+=p.length,this[u].unshift(p),this[d].set(e,this[u].head),E(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!g(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[u].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],s=r.e||0;if(0===s)this.set(r.k,r.v);else{const e=s-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>f(this,t,!1)))}}},50723:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},4927:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,s=arguments.length;n<s;n++)t.push(arguments[n]);return t}function s(e,t,n){var r=t===e.head?new a(n,null,t,e):new a(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function i(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,n,r){if(!(this instanceof a))return new a(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=a,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,s=this.head;null!==s;)n.push(e.call(t,s.value,this)),s=s.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,s=this.tail;null!==s;)n.push(e.call(t,s.value,this)),s=s.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var s=0;null!==r;s++)n=e(n,r.value,s),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var s=this.length-1;null!==r;s--)n=e(n,r.value,s),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=0,i=this.head;null!==i&&s<e;s++)i=i.next;for(;null!==i&&s<t;s++,i=i.next)n.push(i.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=this.length,i=this.tail;null!==i&&s>t;s--)i=i.prev;for(;null!==i&&s>e;s--,i=i.prev)n.push(i.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;var o=[];for(r=0;i&&r<t;r++)o.push(i.value),i=this.removeNode(i);null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(r=0;r<n.length;r++)i=s(this,i,n[r]);return o},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(50723)(r)}catch(e){}},75571:(e,t,n)=>{const r=n(97075);e.exports=(e,t,n)=>r(e,t,">",n)},76780:(e,t,n)=>{const r=n(78311);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},5342:(e,t,n)=>{const r=n(97075);e.exports=(e,t,n)=>r(e,t,"<",n)},19628:(e,t,n)=>{const r=n(53908),s=n(78311);e.exports=(e,t,n)=>{let i=null,o=null,a=null;try{a=new s(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==o.compare(e)||(i=e,o=new r(i,n)))})),i}},270:(e,t,n)=>{const r=n(53908),s=n(78311);e.exports=(e,t,n)=>{let i=null,o=null,a=null;try{a=new s(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==o.compare(e)||(i=e,o=new r(i,n)))})),i}},41261:(e,t,n)=>{const r=n(53908),s=n(78311),i=n(35580);e.exports=(e,t)=>{e=new s(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const s=e.set[t];let o=null;s.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!i(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||n&&!i(n,o)||(n=o)}return n&&e.test(n)?n:null}},97075:(e,t,n)=>{const r=n(53908),s=n(93904),{ANY:i}=s,o=n(78311),a=n(97638),l=n(35580),h=n(7059),c=n(25200),u=n(54089);e.exports=(e,t,n,d)=>{let p,m,f,g,E;switch(e=new r(e,d),t=new o(t,d),n){case">":p=l,m=c,f=h,g=">",E=">=";break;case"<":p=h,m=u,f=l,g="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let o=null,a=null;if(r.forEach((e=>{e.semver===i&&(e=new s(">=0.0.0")),o=o||e,a=a||e,p(e.semver,o.semver,d)?o=e:f(e.semver,a.semver,d)&&(a=e)})),o.operator===g||o.operator===E)return!1;if((!a.operator||a.operator===g)&&m(e,a.semver))return!1;if(a.operator===E&&f(e,a.semver))return!1}return!0}},72525:(e,t,n)=>{const r=n(97638),s=n(50560);e.exports=(e,t,n)=>{const i=[];let o=null,a=null;const l=e.sort(((e,t)=>s(e,t,n)));for(const e of l){r(e,t,n)?(a=e,o||(o=e)):(a&&i.push([o,a]),a=null,o=null)}o&&i.push([o,null]);const h=[];for(const[e,t]of i)e===t?h.push(e):t||e!==l[0]?t?e===l[0]?h.push(`<=${t}`):h.push(`${e} - ${t}`):h.push(`>=${e}`):h.push("*");const c=h.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return c.length<u.length?c:t}},75032:(e,t,n)=>{const r=n(78311),s=n(93904),{ANY:i}=s,o=n(97638),a=n(50560),l=[new s(">=0.0.0-0")],h=[new s(">=0.0.0")],c=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?l:h}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=h}const r=new Set;let s,c,p,m,f,g,E;for(const t of e)">"===t.operator||">="===t.operator?s=u(s,t,n):"<"===t.operator||"<="===t.operator?c=d(c,t,n):r.add(t.semver);if(r.size>1)return null;if(s&&c){if(p=a(s.semver,c.semver,n),p>0)return null;if(0===p&&(">="!==s.operator||"<="!==c.operator))return null}for(const e of r){if(s&&!o(e,String(s),n))return null;if(c&&!o(e,String(c),n))return null;for(const r of t)if(!o(e,String(r),n))return!1;return!0}let v=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver,w=!(!s||n.includePrerelease||!s.semver.prerelease.length)&&s.semver;v&&1===v.prerelease.length&&"<"===c.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(E=E||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,s)if(w&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===w.major&&e.semver.minor===w.minor&&e.semver.patch===w.patch&&(w=!1),">"===e.operator||">="===e.operator){if(m=u(s,e,n),m===e&&m!==s)return!1}else if(">="===s.operator&&!o(s.semver,String(e),n))return!1;if(c)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(f=d(c,e,n),f===e&&f!==c)return!1}else if("<="===c.operator&&!o(c.semver,String(e),n))return!1;if(!e.operator&&(c||s)&&0!==p)return!1}return!(s&&g&&!c&&0!==p)&&(!(c&&E&&!s&&0!==p)&&(!w&&!v))},u=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,n)=>{if(!e)return t;const r=a(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let s=!1;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,n);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}},77631:(e,t,n)=>{const r=n(78311);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},13874:(e,t,n)=>{const r=n(78311);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}}}]);
@@ -1,13 +0,0 @@
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([[534],{15124:(e,t,s)=>{s.d(t,{InstantProvider:()=>D});var i=s(67136),n=s(49568),o=s(85409),a=s(97881),r=s(82987),c=s(78236);class l extends(n.mS({clientId:"",userId:null,presenceContent:{}})){}class d extends(n.mS({status:"offline",currentClient:null,clients:(0,n.T5)()})){}var h=s(85410),u=s(38119);class m{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=null,this.tries=0}reset(){this.tries=0,this.timer&&clearTimeout(this.timer)}scheduleTimeout(){this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.tries=this.tries+1,this.callback()}),this.timerCalc(this.tries+1))}}var p=s(75675);const _="0.0.1",f=0,C=1,k=2,g={name:"PSPDFKit-Web"},b=e=>[1e3,2e3][e-1]||5e3;class y{constructor(e,t){let{reconnectTimerCalc:s=b,enableReconnect:i=!0,events:o=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.eventEmitter=new u.A(["connect","disconnect","error"].concat(o)),this.serverURL=e,this.authPayload=t,this.socket=null,this.lastRequestId=0,this.requestsWaitingForAnswers=(0,n.T5)(),i&&(this.reconnectTimer=new m((()=>{this.socket&&(this.socket.close(),this.socket=null),this.connect()}),s)),this.clearAuthenticationInformation()}registerEvents(e){this.eventEmitter.events.push(...e)}connect(){if(this.socket)return;const e=new WebSocket(this.serverURL);e.onopen=this.onOpen.bind(this),e.onmessage=this.onMessage.bind(this),e.onerror=()=>{this.socket=null,this.eventEmitter.emit("error",`Failed to create the WebSocket connection to ${this.serverURL}. Please check your firewall or proxy settings.`)},this.socket=e}disconnect(){this.socket&&(this.socket.onclose=()=>{},this.socket.close(),this.clearAuthenticationInformation(),this.abortOpenRequests(),this.eventEmitter.emit("disconnect"))}get connectionState(){switch(this.socket&&this.socket.readyState){case f:return"connecting";case C:return"open";case k:return"closing";default:return"closed"}}get isAuthenticated(){return""!==this.clientId}sendRequest(e,t){return new Promise(((s,i)=>{if(!this.isAuthenticated||!this.socket)return void i(new o.uE("Cannot send request when the connection is not authenticated"));const n=this.nextRequestId(),a=JSON.stringify(t);this.requestsWaitingForAnswers=this.requestsWaitingForAnswers.set(n,{resolve:s,reject:i});this.socket.send(`${n}:${e}:${a}`)}))}on(e,t){this.eventEmitter.on(e,t)}off(e,t){this.eventEmitter.off(e,t)}onOpen(){const e=this.socket;e&&(e.onerror=this.onError.bind(this),e.onclose=this.onClose.bind(this))}onMessage(e){const t=e.data;if(this.isAuthenticated){const e=this.parseFrame(t);if(e.requestId){const t=e.requestId;(0,p.V)(this.requestsWaitingForAnswers.has(t),"Received a reply with an unknown request ID.");const s=this.requestsWaitingForAnswers.get(t);switch((0,p.V)(s),e.action){case"ok":s.resolve(e.payload);break;case"error":s.reject(new o.uE(e.payload.reason||"Unknown error"));break;default:(0,p.V)(!1,`${e.action} is not a valid request reply`)}this.requestsWaitingForAnswers=this.requestsWaitingForAnswers.delete(t)}else this.eventEmitter.events.includes(e.action)&&this.eventEmitter.emit(e.action,e.payload),this.log("incoming info message",e)}else{const e=this.parseUnauthenticatedFrame(t);switch(e.action){case"hello":this.onHello(e.payload);break;case"authenticated":this.onAuthenticated(e.payload);break;case"error":this.eventEmitter.emit("error",e.payload.reason||"Unknown error")}}}onClose(e){this.clearAuthenticationInformation(),this.abortOpenRequests(),this.reconnectTimer&&this.reconnectTimer.scheduleTimeout(),this.eventEmitter.emit("disconnect"),this.log("close",e)}onError(e){this.reconnectTimer&&this.reconnectTimer.scheduleTimeout(),this.log("error",e)}nextRequestId(){const e=this.lastRequestId+1;return this.lastRequestId=e,e}onHello(e){const t=this.socket;if(2===e.protocol_version){const e={protocol_version:2,client_version:_,client_info:g,auth_payload:this.authPayload};t.send(`hello_web:${JSON.stringify(e)}`)}else t.send(`handshake_failed:${JSON.stringify({reason:"protocol_mismatch",protocol_version:2,client_version:_,client_info:g})}`),this.eventEmitter.emit("error","protocol_mismatch")}onAuthenticated(e){(0,p.V)(e.client_id,"`authenticated` message has no `client_id`"),this.clientId=e.client_id,this.userId=e.user_id||null,this.eventEmitter.emit("connect",{clientId:this.clientId,userId:this.userId})}log(){if("development"===(0,h.uc)()){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];console.log("SYNCConnection",...t)}}parseFrame(e){const[,t,s,i]=/^(\d+|info):([a-zA-Z-_]+):(.+)$/.exec(e.toString());let n=null;"info"!==t&&(n=parseInt(t));return{requestId:n,action:s,payload:JSON.parse(i)}}parseUnauthenticatedFrame(e){const[,t,s]=/^(hello|authenticated|error):(.+)$/.exec(e.toString());return{action:t,payload:JSON.parse(s)}}abortOpenRequests(){this.requestsWaitingForAnswers.forEach((e=>{e.reject(new o.uE("request aborted"))})),this.requestsWaitingForAnswers=(0,n.T5)()}clearAuthenticationInformation(){this.clientId="",this.userId=null}}function F(e){return(0,o.V1)("string"==typeof e.client_id,"The client payload must have a `client_id`"),(0,o.V1)("object"==typeof e.presence,"The client payload must have a `presence`"),new l({clientId:e.client_id,userId:e.user_id,presenceContent:e.presence})}class w{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new d,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y;this.state=e,this.connectionClass=t}load(e,t,s){return new Promise(((i,n)=>{this.setState=e=>{this.state=e},this.connection=new this.connectionClass(e,t,{events:["client_presence"]}),this.connection.on("connect",(e=>{const t=new l({clientId:e.clientId,userId:e.userId,presenceContent:s});this.setState(this.state.set("status","online").set("currentClient",t)),this.populateClients(s).then((()=>{i(this)})).catch(n)})),this.connection.on("error",(e=>{n(new o.uE(e.toString()))})),this.connection.on("client_presence",(e=>this.onInfoClientPresence(e))),this.connection.connect()}))}populateClients(e){return new Promise(((t,s)=>{this.connection.sendRequest("enter_layer",{presence:e}).then((e=>{this.setState(function(e,t){return(0,o.V1)(t.clients,"The payload must have a `clients` list"),e.withMutations((s=>{(0,o.V1)(e.currentClient);const i=(0,n.T5)(t.clients.map((e=>F(e))).map((e=>[e.clientId,e]))).set(e.currentClient.clientId,e.currentClient);s.set("clients",i)}))}(this.state,e)),t()})).catch(s)}))}onInfoClientPresence(e){if(this.setState(function(e,t){(0,p.V)("object"==typeof t.clients,"The payload must have `clients`");const s=e.clients.withMutations((s=>{if(t.clients.entered)for(const i of t.clients.entered){if(e.clients.has(i.client_id))throw new o.uE("The client marked as entered is already known");const t=F(i);s.set(t.clientId,t)}if(t.clients.updated)for(const i of t.clients.updated){(0,p.V)("string"==typeof i.client_id,"The client payload must have a `client_id`"),(0,p.V)("object"==typeof i.presence,"The client payload must have a `presence`");const t=e.clients.get(i.client_id);if(!t)throw new o.uE("The client marked as updated is not known");s.set(t.clientId,t.set("presenceContent",i.presence))}if(t.clients.left)for(const i of t.clients.left){if(!e.clients.has(i))throw new o.uE("The client marked as left is not known");s.delete(i)}}));return e.set("clients",s)}(this.state,e)),this.shouldFireClientUpdatesCallback){let t=(0,n.T5)();if(e.clients.entered){const s=e.clients.entered.map((e=>e.client_id));t=this.state.clients.filter((e=>-1!==s.indexOf(e.clientId))).toMap()}let s=(0,n.T5)();if(e.clients.updated){const t=e.clients.updated.map((e=>e.client_id));s=this.state.clients.filter((e=>-1!==t.indexOf(e.clientId))).toMap()}let i=(0,n.B8)();e.clients.updated&&(i=(0,n.B8)(e.clients.left)),this.clientUpdatesCallback(t,s,i)}}disconnect(){"offline"!==this.getStatus()&&(this.setState(this.state.set("status","offline")),this.connection.disconnect())}getStatus(){return this.state.status}getCurrentClient(){return this.state.currentClient}getClients(){return this.shouldFireClientUpdatesCallback=!0,this.state.clients}updatePresence(e){return new Promise(((t,s)=>{if("online"!==this.getStatus())return s(new o.uE("ClientsPresence is not connected"));this.connection.sendRequest("update_client_presence",{presence:e}).then((()=>{this.setState(function(e,t){return e.setIn(["currentClient","presenceContent"],t).setIn(["clients",e.currentClient?.clientId,"presenceContent"],t)}(this.state,e)),t(!0)}),(()=>{s(new o.uE("Unable to update presence"))}))}))}onClientUpdates(e){if("function"!=typeof e)throw new TypeError("callback must be a function");this.clientUpdatesCallback=e}}var I=s(6807);class v extends(n.mS({content:null,attachments:null,id:null,type:null,isAnonymous:void 0,group:void 0,resolve:()=>{},reject:()=>{}})){}var R=s(33728);class A extends(n.mS({requestInfo:null,status:"offline",currentClient:null,localRecordsContents:(0,n.uY)(),localRecordsChanges:(0,n.B8)(),stagedRecordsChanges:(0,n.B8)(),localRecordsRev:0,requiredAttachmentIds:(0,n.NZ)(),clients:(0,n.T5)()})){}var V=s(84192);class x{getRecords(){return this._shouldFireRecordsUpdateCallback=!0,this._state.localRecordsContents.map(((e,t)=>{const{content:s,permissions:i,group:n,isAnonymous:o}=e;return{content:s,permissions:i,group:n,id:t,isAnonymous:o}})).toList()}createRecord(e,t,s,i,n){return new Promise(((o,a)=>{const r=new v({id:e,content:t,attachments:s,group:i,type:"created",isAnonymous:n,resolve:o,reject:a});this.enqueueChangeRequest(r)}))}updateRecord(e,t,s,i){return new Promise(((n,a)=>{if(!this.isKnownRecordId(e))return a(new o.uE(`Record with ID: ${e} not found.`));const r=new v({id:e,content:t,group:s,type:"updated",isAnonymous:i,resolve:n,reject:a});this.enqueueChangeRequest(r)}))}deleteRecord(e){return new Promise(((t,s)=>{if(!this.isKnownRecordId(e))return s(new o.uE(`Record with ID: ${e} not found.`));const i=new v({id:e,type:"deleted",resolve:t,reject:s});this.enqueueChangeRequest(i)}))}onRecordsUpdates(e,t){if("function"!=typeof e)throw new TypeError("recordsUpdateCallback must be a function");if("function"!=typeof t)throw new TypeError("acceptedRecordsCallback must be a function");this._recordsUpdatesCallback=e,this._acceptedRecordsResponseCallback=t}destroy(){this._cycle&&this._cycle.destroy()}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new A,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R.Ay;(0,i.A)(this,"_recordsUpdatesCallback",(()=>{})),(0,i.A)(this,"_acceptedRecordsResponseCallback",(()=>{})),(0,i.A)(this,"_shouldFireRecordsUpdateCallback",!1),(0,i.A)(this,"onChanges",(e=>{if(this._shouldFireRecordsUpdateCallback){const{created:t,updated:s,deleted:i}=e;this._recordsUpdatesCallback((0,n.B8)(t),(0,n.B8)(s),(0,n.B8)(i))}})),(0,i.A)(this,"onAcceptedRecords",(e=>{if(this._shouldFireRecordsUpdateCallback){const{created:t,updated:s,deleted:i}=e;this._acceptedRecordsResponseCallback((0,n.B8)(t),(0,n.B8)(s),(0,n.B8)(i))}})),(0,i.A)(this,"setOnDocumentHandleConflictCallback",(e=>{if("function"!=typeof e)throw new TypeError("callback must be a function");this._cycle.setOnDocumentHandleConflictCallback(e)})),(0,i.A)(this,"syncChanges",(0,V.A)((()=>this._cycle.nextCycle()))),this._state=e,this._CycleClass=t}load(e,t){let s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return new Promise(((i,n)=>{const o=this.setState.bind(this);this.setState(this._state.set("requestInfo",{serverURL:e,authPayload:t})),this._cycle=new this._CycleClass({getState:()=>this._state,setState:o,onChanges:this.onChanges,onAcceptedRecords:this.onAcceptedRecords,longPollingTimeout:s?R.jL:0}),this._cycle.nextCycle(0).then((()=>{i(this)})).catch(n)}))}setState(e){this._state=e}enqueueChangeRequest(e){const t=(0,I.e)({oldChanges:this._state.localRecordsChanges,newChanges:(0,n.B8)([e])});this.setState(this._state.set("localRecordsChanges",t))}isKnownRecordId(e){function t(t){return"created"===t.type&&t.id===e}const s=this._state.localRecordsContents.has(e),i=!!this._state.localRecordsChanges.find(t),n=!!this._state.stagedRecordsChanges.find(t);return s||i||n}}var S=s(4824),E=s(60156);function T(e,t){const s=e.get("annotations"),i=e.get("formFields"),n=e.get("comments"),o=e.get("formattedFormFieldValues");let a;return t.id.startsWith("form-field-value/")&&(a=t.id.split("/")[1]),s.get(t.id)||i.find((e=>e.id===t.id))||n.get(t.id)||(a?o.get(a):void 0)}function B(e,t){return Boolean(T(e,t))}var q=s(22372),P=s(90310),U=s(84445),N=s(78531),O=s(89055),z=s(36899),$=s(76117),W=s(45374);class D{constructor(e,t,s){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:S.S;(0,i.A)(this,"_existingBookmarksIds",(0,n.NZ)()),(0,i.A)(this,"_existingFormFieldsIds",(0,n.NZ)()),(0,i.A)(this,"_existingFormFieldValuesIds",(0,n.NZ)()),(0,i.A)(this,"_existingCommentIds",(0,n.NZ)()),(0,i.A)(this,"_documentHandleConflictCallback",(()=>{})),(0,i.A)(this,"canCreateBackendOrphanWidgets",!0),(0,i.A)(this,"setDocumentHandleConflictCallback",(e=>{this._documentHandleConflictCallback=e})),(0,i.A)(this,"setDocumentHandleOutdated",(e=>{this._setDocumentHandleOutdatedCallback=e})),(0,i.A)(this,"onDocumentHandleConflict",(()=>{this._documentHandleConflictCallback&&this._documentHandleConflictCallback(),this._setDocumentHandleOutdatedCallback&&this._setDocumentHandleOutdatedCallback(!0)})),this._serverURL=e,this._documentURL=t,this._authPayload=s,this._settings=o,this._hasLoadedInitialRecords=!1,this._setReadStateCallbacksPromise=new Promise((e=>{this._setReadStateCallbacksPromiseResolve=e}))}load(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w;const s=[];return this._sync=new e,s.push(this._sync.load(`${this._documentURL}/sync`,this._authPayload,this._settings.listenToServerChangesEnabled).catch(o.z3)),this._sync.setOnDocumentHandleConflictCallback(this.onDocumentHandleConflict),this._settings.clientsPresenceEnabled&&(this._clients=new t,s.push(this._clients.load(`${this._serverURL.replace(/^http/i,"ws")}/websocket`,this._authPayload,{}).then((()=>{const e=this._clients;null!=e&&(e.onClientUpdates((()=>this._onClientsChange(e.getClients()))),this._onClientsChange(e.getClients()))})).catch((e=>{(0,o.R8)("PSPDFKit: An error occurred while initializing the connected clients module. This might be due to a lack of support for WebSockets or a related failure.\n\nFailure details:\n\n"+e.message)})))),Promise.all(s).then((()=>this)).catch((e=>{throw new o.uE(`Initialization of PSPDFKit Instant failed:\n${e.message}`)}))}destroy(){this._sync&&this._sync.destroy()}setFormsEnabledInConfig(e){this._formsEnabledInConfig=e}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}createAnnotation(e,t){const{id:s,...i}=(0,a.eq)(e),{group:n,permissions:r,...c}=i;return(0,o.V1)(s,"Annotation id must be defined."),this._sync.createRecord(s,c,(0,a.L)(t),n)}createComment(e){const{id:t,...s}=(0,W.z)(e,e.rootId),{group:i,permissions:n,isAnonymous:a,...r}=s;return(0,o.V1)(t,"Comment id must be defined."),this._existingCommentIds=this._existingCommentIds.add(t),this._sync.createRecord(t,r,{},i,!!a)}async updateComment(e){try{await this.updateRecord((0,W.z)(e,e.rootId))}catch(e){if(!(e instanceof o.uE))throw e}}deleteComment(e){return this._existingCommentIds=this._existingCommentIds.delete(e),this._sync.deleteRecord(e).then((()=>{}))}setStateGetter(e){this._getState=e}async updateRecord(e){const{id:t,permissions:s,isAnonymous:i,group:n,...a}="pspdfkit/comment"===e.type||"pspdfkit/comment-marker"===e.type?e:{...e,isAnonymous:void 0};return(0,o.V1)(t,"Record id must be defined."),this._getState?.()?.backend?.isCollaborationPermissionsEnabled()?((0,o.V1)(s,"Permissions must be defined."),this._sync.updateRecord(t,s.edit?a:void 0,s.setGroup?n??void 0:void 0,i??void 0)):this._sync.updateRecord(t,a,n??void 0,i??void 0)}async updateAnnotation(e){try{await this.updateRecord((0,a.eq)(e))}catch(e){if(!(e instanceof o.uE))throw e}}deleteAnnotation(e){return this._sync.deleteRecord(e.id).then((()=>{}))}createBookmark(e){const{id:t,...s}=(0,r.U)(e);return this._existingBookmarksIds=this._existingBookmarksIds.add(t),this._sync.createRecord(t,s,{})}async updateBookmark(e){const{id:t,...s}=(0,r.U)(e);try{await this._sync.updateRecord(t,s)}catch(e){if(!(e instanceof o.uE))throw e}}deleteBookmark(e){return this._sync.deleteRecord(e).then((()=>{this._existingBookmarksIds=this._existingBookmarksIds.delete(e)}))}createFormField(e){const{group:t,permissions:s,id:i,...n}=(0,a.T7)(e);return this._existingFormFieldsIds=this._existingFormFieldsIds.add(i),this._sync.createRecord(i,n,{},t)}async updateFormField(e){try{await this.updateRecord((0,a.T7)(e))}catch(e){if(!(e instanceof o.uE))throw e}}deleteFormField(e){return this._sync.deleteRecord(e.id).then((()=>{this._existingFormFieldsIds=this._existingFormFieldsIds.delete(e.id)}))}loadFormFields(){return this.loadAnnotationsForPageIndex()}createFormFieldValue(e){const t=(0,a.cA)(e),s=(0,E.B)(e);return this._existingFormFieldValuesIds=this._existingFormFieldValuesIds.add(s),this._sync.createRecord(s,t,{})}async setFormFieldValue(e){const t=(0,a.cA)(e);try{await this._sync.updateRecord((0,E.B)(e),t)}catch(e){if(!(e instanceof o.uE))throw e}}deleteFormFieldValue(e){return this._sync.deleteRecord(e).then((()=>{this._existingFormFieldValuesIds=this._existingFormFieldValuesIds.delete(e)}))}loadAnnotationsForPageIndex(){return this._loadPromise||(this._loadPromise=new Promise((e=>setTimeout(e,0))).then((()=>{this._hasLoadedInitialRecords||(this._sync.onRecordsUpdates(((e,t,s)=>this._onRecordsUpdates(e,t,s,c.N)),((e,t,s)=>this._onAcceptedRecords(e,t,s))),this._onRecordsUpdates(this._sync.getRecords(),(0,n.B8)(),(0,n.B8)(),c.n),this._hasLoadedInitialRecords=!0)}))),this._loadPromise}async loadBookmarks(){}syncChanges(){return this._sync.syncChanges()}_filterRecords(e){return e.filter((e=>{let{content:t}=e;return this._formsEnabledInConfig||!t||!(0,a.cy)(t)}))}_onRecordsUpdates(e,t,s,i){let c=(0,n.B8)();const l=[];let d=(0,n.B8)(),h=(0,n.B8)(),u=(0,n.NZ)(),m=(0,n.NZ)(),p=(0,n.NZ)(),_=(0,n.NZ)(),f=(0,n.NZ)();const C=this._getState?this._getState():void 0;let k=e,g=t,b=s;if(C&&C.backend&&C.backend.isCollaborationPermissionsEnabled()){k=k.filter((e=>{let{content:t}=e;return!!t}));const e=[];t.forEach(((t,s)=>{t.content?B(C,t)||(k=k.push(t),e.push(s)):B(C,t)?(b=b.push(t.id),e.push(s)):e.push(s)})),g=g.filter(((t,s)=>!e.includes(s))),b=b.filter((e=>C.annotations.has(e)||this._existingFormFieldValuesIds.has(e)||this._existingFormFieldsIds.has(e)||this._existingCommentIds.has(e)||this._existingBookmarksIds.has(e)))}let y=(0,n.B8)().withMutations((e=>{this._filterRecords(k).forEach((t=>{let{id:s,content:i,permissions:n,group:u,isAnonymous:m}=t;const p={permissions:n,group:u,isAnonymous:m};try{(0,o.V1)(i),(0,a.cy)(i)?(l.push((0,a.mh)(s,i,p)),this._existingFormFieldsIds=this._existingFormFieldsIds.add(s)):(0,a.UR)(i)?(d=d.push((0,a.R5)(i)),this._existingFormFieldValuesIds=this._existingFormFieldValuesIds.add(s)):(0,a.fW)(i)?(c=c.push((0,r.r)(s,i)),this._existingBookmarksIds=this._existingBookmarksIds.add(s)):(0,a.Eh)(i)?(this._existingCommentIds=this._existingCommentIds.add(s),h=h.push((0,W._)(s,i,p))):(0,a.Tg)(i)||(0,a.LK)(i)||e.push((0,a.h8)(s,i,p))}catch(e){(0,o.pq)(`Skipped creating record #${s} from payload because an error occurred while deserializing.`,i),(0,o.pq)(e)}}))}));const F=!C||(0,O.cY)(C.features,C.signatureFeatureAvailability);l.length>0&&((0,o.V1)(this._formFieldCallbacks),C&&!F?this._formFieldCallbacks.createFormFields((0,n.B8)(l.filter((e=>!(e instanceof z.Vw)))),i):this._formFieldCallbacks.createFormFields((0,n.B8)(l),i)),y.size>0&&((0,o.V1)(this._annotationCallbacks),C&&!F&&(y=y.filter((e=>{if(!(e instanceof $.sb))return e;const t=l.find((t=>t.name===e.formFieldName))||C.formFields.get(e.formFieldName);return!(t&&t instanceof z.Vw)}))),this._annotationCallbacks.createAnnotations(y,(0,n.T5)(),i)),d.size>0&&((0,o.V1)(this._formFieldValueCallbacks),C&&!F&&(d=d.filter((e=>{const t=l.find((t=>t.name===e.name))||C.formFields.get(e.formFieldName);return!(t&&t instanceof z.Vw)}))),this._formFieldValueCallbacks.createFormFieldValues((0,n.B8)(d),i)),h.size>0&&((0,o.V1)(this._commentCallbacks),this._commentCallbacks.createComments(h,i)),c.size>0&&((0,o.V1)(this._bookmarkCallbacks),this._bookmarkCallbacks.createBookmarks(c,i));const w=(0,n.B8)().asMutable(),I=[],v=[],R=[],A=(0,n.B8)().withMutations((e=>{this._filterRecords(g).forEach((t=>{let{id:s,content:i,group:n,permissions:c,isAnonymous:l}=t;const d={permissions:c,group:n,isAnonymous:l};try{if((0,o.V1)(i),(0,a.cy)(i))try{I.push((0,a.mh)(s,i,d))}catch(e){p=p.add(s),(0,o.pq)(`Skipped updating form field #${s} from payload because an error occurred while deserializing. To avoid issues, we have removed the previous version from the application state.`,i),(0,o.pq)(e)}else if((0,a.UR)(i))try{v.push((0,a.R5)(i))}catch(e){_=_.add(s),(0,o.pq)(`Skipped updating form field value #${s} from payload because an error occurred while deserializing. To avoid issues, we have removed the previous version from the application state.`,i),(0,o.pq)(e)}else if((0,a.fW)(i))try{w.push((0,r.r)(s,i))}catch(e){m=m.add(s),(0,o.pq)(`Skipped updating bookmark #${s} from payload because an error occurred while deserializing. To avoid issues, we have removed the previous version from the application state.`,i),(0,o.pq)(e)}else if((0,a.Eh)(i))try{R.push((0,W._)(s,i,d))}catch(e){f=f.add(s),(0,o.pq)(`Skipped updating comment #${s} from payload because an error occurred while deserializing. To avoid issues, we have removed the previous version from the application state.`,i,e)}else e.push((0,a.h8)(s,i,d))}catch(e){u=u.add(s),(0,o.pq)(`Skipped updating annotation #${s} from payload because an error occurred while deserializing. To avoid issues, we have removed the previous version from the application state.`,i),(0,o.pq)(e)}}))}));A.size>0&&((0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.updateAnnotations(A)),w.size>0&&((0,o.V1)(this._bookmarkCallbacks),this._bookmarkCallbacks.updateBookmarks(w)),I.length>0&&((0,o.V1)(this._formFieldCallbacks),this._formFieldCallbacks.updateFormFields((0,n.B8)(I))),v.length>0&&((0,o.V1)(this._formFieldValueCallbacks),this._formFieldValueCallbacks.setFormFieldValues((0,n.B8)(v))),R.length>0&&((0,o.V1)(this._commentCallbacks),this._commentCallbacks.updateComments((0,n.B8)(R))),u=u.concat(b.filter((e=>!(this._existingBookmarksIds.has(e)||this._existingFormFieldsIds.has(e)||this._existingFormFieldValuesIds.has(e)||this._existingCommentIds.has(e)))).toSet()),u.size>0&&((0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.deleteAnnotations(u)),m=m.concat(b.filter((e=>{const t=this._existingBookmarksIds.has(e);return t&&(this._existingBookmarksIds=this._existingBookmarksIds.delete(e)),t})).toSet()),m.size>0&&((0,o.V1)(this._bookmarkCallbacks),this._bookmarkCallbacks.deleteBookmarks(m)),p=p.concat(b.filter((e=>{const t=this._existingFormFieldsIds.has(e);return t&&(this._existingFormFieldsIds=this._existingFormFieldsIds.delete(e)),t})).toSet()),p.size>0&&((0,o.V1)(this._formFieldCallbacks),this._formFieldCallbacks.deleteFormFields(p)),_=_.concat(b.filter((e=>{const t=this._existingFormFieldValuesIds.has(e);return t&&(this._existingFormFieldValuesIds=this._existingFormFieldValuesIds.delete(e)),t})).toSet()),_.size>0&&((0,o.V1)(this._formFieldValueCallbacks),this._formFieldValueCallbacks.deleteFormFieldValues(_)),f=f.concat(b.filter((e=>{const t=this._existingCommentIds.has(e);return t&&(this._existingCommentIds=this._existingCommentIds.delete(e)),t})).toSet()),f.size>0&&((0,o.V1)(this._commentCallbacks),this._commentCallbacks.deleteComments(f))}_onAcceptedRecords(e,t){const s=this._getState?this._getState():void 0;if(!s||!s.backend||!s.backend.isCollaborationPermissionsEnabled())return;const i=[],a=[],r=[],c=[],l=[],d=[];function h(e){const t={permissions:e.permissions,group:e.group};let n=T(s,e);if(n&&"string"!=typeof n){(0,N.Tr)(t);const e=(0,N.ah)(t);n=n.merge(e),n instanceof q.A?t.permissions&&t.permissions.view?i.push(n):c.push(n.id):n instanceof P.Ay?t.permissions&&t.permissions.view?a.push(n):((0,o.V1)(n.id),l.push(n.id)):n instanceof U.Ay&&(t.permissions&&t.permissions.view?r.push(n):d.push(n.id))}}e.isEmpty()||e.forEach(h),t.isEmpty()||t.forEach(h),i.length>0&&((0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.updateAnnotations((0,n.B8)(i),!0)),a.length>0&&((0,o.V1)(this._commentCallbacks),this._commentCallbacks.updateComments((0,n.B8)(a))),r.length>0&&((0,o.V1)(this._formFieldCallbacks),this._formFieldCallbacks.updateFormFields((0,n.B8)(r))),c.length>0&&((0,o.V1)(this._annotationCallbacks),this._annotationCallbacks.deleteAnnotations((0,n.NZ)(c),!0)),l.length>0&&((0,o.V1)(this._commentCallbacks),this._commentCallbacks.deleteComments((0,n.NZ)(l))),d.length>0&&((0,o.V1)(this._formFieldCallbacks),this._formFieldCallbacks.deleteFormFields((0,n.NZ)(d)))}onClientsChange(e){if("function"!=typeof e)throw new TypeError("Callback must be a function");this.onClientsChangeCallback=e}_onClientsChange(e){this.onClientsChangeCallback.call(null,e)}async updateTabOrder(){throw new o.uE("setTabOrder is not supported on this backend.")}async setTabOrder(){throw new o.uE("setTabOrder is not supported on this backend.")}}}}]);
@@ -1,13 +0,0 @@
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([[362],{63993:(t,e,a)=>{a.r(e),a.d(e,{corePool:()=>l.mG,customFontsPromiseRef:()=>_,default:()=>b,loadModule:()=>F,normalizeCoreOptions:()=>l.DO,validateStandaloneConfiguration:()=>l.mn});var s=a(49568),i=a(85409),n=a(55994),o=a(41204),r=a(85410),l=a(20873),u=a(37506),c=a(85553),d=a(89055),h=a(68322),m=a(24934),f=a(84318);async function p(t,e){const a=await fetch(t,{credentials:"same-origin"}).finally((()=>{e?.()}));return{isFullyAvailable:!0,fullDocument:await a.arrayBuffer()}}async function g(t,e,a,s){if(t instanceof ArrayBuffer)return{isFullyAvailable:!0,fullDocument:t};(0,i.V1)("string"==typeof t,"Document is not a string");let n=!1;const{linearizedInstance:o,serverSupportsRangeRequests:r}=await(async()=>{if(a&&function(t){try{const e=new URL(t);return"http:"===e.protocol||"https:"===e.protocol}catch(t){return!1}}(t)){const a=e.initializeLinearizedInstance();return{linearizedInstance:a,serverSupportsRangeRequests:await a.initialize(t)}}return{linearizedInstance:null,serverSupportsRangeRequests:!1}})();try{if(!r)return n=!0,p(t,s);(0,i.V1)(o,"Loader is not available"),o.kickStartDownload();if(!await o.waitUntilIsLinearizedIsKnown())return o.destroy(),n=!0,p(t,s);s?.();const e=await o.waitUntilDocumentInfoAvailable();return e?(s?.(),{isFullyAvailable:!1,documentResponse:e}):(o.destroy(),n=!0,p(t,s))}catch(e){if(o?.destroy(),n)throw e;return p(t,s)}}var y=a(33075);let w;class b extends l.Ay{constructor(t){const e=t.baseUrl||(0,r.$_)(window.document),a=t.baseCoreUrl||e,s=t.baseProcessorEngineUrl||e,n={...t,baseUrl:e,baseCoreUrl:a,baseProcessorEngineUrl:s};if("string"!=typeof n.baseUrl)throw new i.uE("`baseUrl` is mandatory and must be a valid URL, e.g. `https://example.com/`");if("string"!=typeof n.document&&!(n.document instanceof ArrayBuffer))throw new i.uE("document must be either an URL to a supported document type (PDF and images), e.g. `https://example.com/document.pdf`, or an `ArrayBuffer`");if(w&&w!==n.licenseKey)throw new i.uE("Trying to re-use instance with a different licenseKey.\nUnfortunately we only allow one licenseKey per instance.\nPlease contact support for further assistance.");if("string"==typeof n.licenseKey&&n.licenseKey.startsWith("TRIAL-"))throw new i.uE("You're using the npm key instead of the license key. This key is used to download the PSPDFKit for Web package via the node package manager.\n\nLeave out the license key to activate as a trial.");super(n),this.destroyed=!1,this.activeConfiguration=t}async load(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=.2;t.progressCallback&&t.progressCallback("loading",e),this._isPDFJavaScriptEnabled=t.isPDFJavaScriptEnabled,"string"==typeof this._state.document&&(0,y.XC)(this._state.baseUrl,this._state.document,this._state.productId);const a=await F(this.client,this._state).finally((()=>{e+=.3,t.progressCallback&&t.progressCallback("loading",e)})),n=g(this._state.document,this.corePDFBridge,this._state.allowLinearizedLoading,(()=>{e+=.3,t.progressCallback&&t.progressCallback("loading",e)}));(0,i.V1)(a);const{features:r,signatureFeatureAvailability:l,capabilities:u}=a;if(this._state.productId===h.v.SharePoint&&"string"==typeof this._state.document&&Array.isArray(a.afu)){const t=new URL(this._state.document,this._state.baseUrl);if(!a.afu.some((e=>t.hostname.match(e))))throw new i.uE(`The document origin ${t.hostname} is not authorized.`)}const f=l===c.g.ELECTRONIC_SIGNATURES&&(0,d.UX)(r)&&this._state.forceLegacySignaturesFeature?c.g.LEGACY_SIGNATURES:l;this._state=this._state.set("features",(0,s.B8)(r)).set("signatureFeatureAvailability",f),w=this._state.licenseKey;const p=await n;let b=null;if(p.isFullyAvailable){let e=p.fullDocument.slice(0);try{this.destroyed?(e=null,b=await new Promise((()=>{}))):(b=await this.client.openDocument(p.fullDocument,{password:t.password,initialPageIndex:"number"==typeof t.initialPageIndex?t.initialPageIndex:0,formsConfiguration:this._formsConfiguration}),e=null)}catch(a){if("INVALID_PASSWORD"===a.message&&this._state.document instanceof ArrayBuffer&&(this._state=this._state.set("document",a.callArgs[0])),"IMAGE_DOCUMENTS_NOT_LICENSED"===a.message&&(a.message="The image documents feature is not enabled for your license key. Please contact support or sales to purchase the UI module for your product."),!(u?.includes("GdPictureWASM")&&a instanceof i.uE&&a.message.includes("File not in PDF format or corrupted.")))throw a;{(0,i.V1)(e);let s,n=(0,m.jU)();try{n||(n=(0,m.NY)({baseUrl:this._state.baseProcessorEngineUrl,mainThreadOrigin:this._state.appName||(0,o.D5)()||window.location.origin,licenseKey:this._state.licenseKey||void 0,customFonts:this._state.customFonts||void 0,dynamicFonts:this._state.dynamicFonts||void 0,fontSubstitutions:this._state.fontSubstitutions,processorEngine:this._state.processorEngine}),(0,m.Pm)(n)),s=await n,(0,i.V1)(s);const a=await s.toPdf(e);b=await this.client.openDocument(a,{password:t.password,initialPageIndex:"number"==typeof t.initialPageIndex?t.initialPageIndex:0,formsConfiguration:this._formsConfiguration})}catch(t){throw"INVALID_PASSWORD"===t.message&&this._state.document instanceof ArrayBuffer&&(this._state=this._state.set("document",a.callArgs[0])),"IMAGE_DOCUMENTS_NOT_LICENSED"===t.message&&(t.message="The image documents feature is not enabled for your license key. Please contact support or sales to purchase the UI module for your product."),t}finally{e=null,s?.destroy(),(0,m.Pm)(null)}}}(0,i.V1)(b),await this.afterDocumentLoaded(b)}else b=p.documentResponse;return this._state=this._state.set("documentResponse",b),{features:this._state.features,signatureFeatureAvailability:this._state.signatureFeatureAvailability,hasPassword:!!t.password,password:t.password,allowedTileScales:"all",evaluation:a.evaluation,linearizedLoading:!p.isFullyAvailable,documentResponse:b}}destroy(){this.destroyed=!0,super.destroy()}getCustomFontsPromise(){return _}async afterDocumentLoaded(t){if(this._isPDFJavaScriptEnabled&&(this._initialChanges=await this.client.enablePDFJavaScriptSupport()),this._XFDF&&await this.client.importXFDF(this._XFDF.source,this._XFDF.keepCurrentAnnotations,this._XFDF.ignorePageRotation),this._instantJSON&&this._instantJSON.pdfId&&t.ID.permanent){const e=this._instantJSON.pdfId,a=t.ID;if(e.permanent!==a.permanent)throw new i.uE("Could not instantiate from Instant JSON: Permanent PDF ID mismatch.\nPlease use the same PDF document that was used to create this Instant JSON.\nFor more information, please visit: https://www.nutrient.io/guides/web/importing-exporting/instant-json/");if(e.changing!==a.changing)throw new i.uE("Could not instantiate from Instant JSON: Changing PDF ID mismatch.\nPlease use the same revision of this PDF document that was used to create this Instant JSON.\nFor more information, please visit: https://www.nutrient.io/guides/web/importing-exporting/instant-json/")}if(this._trustedCAsCallback)try{const t=await this._trustedCAsCallback();if(!Array.isArray(t))throw new i.uE("Certificates response must be an array");if(t.some((t=>!(t instanceof ArrayBuffer)&&"string"!=typeof t)))throw new i.uE("All certificates must be passed as ArrayBuffer (DER) or string (PEM)");await this.client.loadCertificates(t.map(u.PI))}catch(t){throw new i.uE(`Could not retrieve certificates for digital signatures validation: ${t.message}.`)}}async waitUntilFullyLoaded(t){(0,i.V1)(this.corePDFBridge.linearizedInstance,"Linearized loader is not available");return this.corePDFBridge.linearizedInstance.waitUntilDownloaded().then((async()=>{await this.corePDFBridge.normallyOpenLinearizedDocument(this,{password:t,initialPageIndex:0,formsConfiguration:this._formsConfiguration}),await this.afterDocumentLoaded(this._state.documentResponse)}))}async getDocumentBytes(){if(this._state.document instanceof ArrayBuffer)return this._state.document;if("string"==typeof this._state.document){const t=await fetch(this._state.document);if(!t.ok)throw new i.uE(`Failed to fetch document: ${t.statusText}`);return t.arrayBuffer()}throw new i.uE("Document bytes are not available")}}const _={current:void 0};async function F(t,e){_.current=_.current||(e.customFonts?(0,f.eY)(e.customFonts):void 0);const a=(0,r.f)(e.appName);return t.loadNativeModule(e.baseCoreUrl,{mainThreadOrigin:a,disableWebAssemblyStreaming:e.disableWebAssemblyStreaming,enableAutomaticLinkExtraction:e.enableAutomaticLinkExtraction,overrideMemoryLimit:e.overrideMemoryLimit,workerSpawnerFn:()=>(0,n.pj)(e.inlineWorkers)}).then((async()=>t.load(e.baseCoreUrl,e.licenseKey,{mainThreadOrigin:a,..._.current?{customFonts:await _.current}:null,dynamicFonts:e.dynamicFonts,productId:e.productId,featureFlags:e.enableCoreUnifiedComments?["UnifiedComments"]:void 0})))}}}]);